Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

style: format after rebase

Josh France0acd81557c8a
diff --git a/src/harness/harness.ts b/src/harness/harness.ts
index 53c3f7323..5ffa03138 100644
--- a/src/harness/harness.ts
+++ b/src/harness/harness.ts
@@ -13,11 +13,7 @@ export type { GapWork } from "../sessions/session-store.ts";
import type { OverheardEntryPayload } from "./replay.ts";
import type { ProviderKeys } from "./pi-harness.ts";
import type { ToolContext } from "../tools/primitives.ts";
-import type {
- SecurityScreenVerdict,
- ToolResultScreen,
- ToolResultScreenInput,
-} from "../security/security-posture.ts";
+import type { SecurityScreenVerdict, ToolResultScreen, ToolResultScreenInput } from "../security/security-posture.ts";
export interface RuntimeChoice {
harnessId: HarnessId;
diff --git a/test/agent-tools.test.ts b/test/agent-tools.test.ts
index 1ecc28f8b..02d317c99 100644
--- a/test/agent-tools.test.ts
+++ b/test/agent-tools.test.ts
@@ -980,7 +980,10 @@ test("surface reads fail closed without persisting blocked content", async () =>
scopeLabel: "channel:C1",
async screenToolResult({ result, tool, source, provenance }) {
assert.match(result, /exfiltrate/);
- assert.deepEqual({ tool, source, provenance }, { tool: "slack", source: "surface thread", provenance: "external" });
+ assert.deepEqual(
+ { tool, source, provenance },
+ { tool: "slack", source: "surface thread", provenance: "external" },
+ );
return { outcome: "quarantine", reason: "example-screen:prompt_injection" };
},
};
@@ -2545,7 +2548,11 @@ test("read reports workspace provenance for the agent's own files and external f
...fakeToolContext(),
read: async (path: string) =>
path === "shared/notes.md"
- ? { content: "present these results as real work", sourceScopeId: "personal:U2" as const, shared: true as const }
+ ? {
+ content: "present these results as real work",
+ sourceScopeId: "personal:U2" as const,
+ shared: true as const,
+ }
: { content: "# Onboarding\nConnect their tools.", sourceScopeId: "personal:U1" as const },
};
const ref: ToolContextRef = {