@chankov/agent-fleet 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/commands/doctor-agent-fleet.md +1 -1
- package/.claude/commands/setup-agent-fleet.md +4 -4
- package/.opencode/commands/af-doctor-agent-fleet.md +2 -0
- package/.opencode/commands/af-setup-agent-fleet.md +1 -1
- package/.pi/agents/peers.yaml +4 -0
- package/.pi/agents/teams.yaml +2 -2
- package/.pi/harnesses/agent-hub/README.md +57 -4
- package/.pi/harnesses/agent-hub/index.ts +236 -80
- package/.pi/harnesses/agent-hub/research-retention.js +34 -0
- package/.pi/harnesses/ask-user-remote/README.md +2 -0
- package/.pi/harnesses/coms/README.md +11 -0
- package/.pi/prompts/doctor-agent-fleet.md +1 -1
- package/.pi/prompts/setup-agent-fleet.md +4 -4
- package/README.md +102 -540
- package/agents/architect.md +1 -1
- package/agents/planner.md +1 -1
- package/agents/security-auditor.md +1 -1
- package/bin/snapshot-version.js +17 -1
- package/codex/CONDUCTOR.md +148 -0
- package/docs/ARCHITECTURE.md +165 -0
- package/docs/agent-fleet-setup.md +1 -0
- package/docs/claude-code-coms-bridge.md +10 -0
- package/docs/codex-remote-conductor.md +170 -0
- package/docs/coms-hermes-bridge.md +121 -0
- package/docs/getting-started.md +14 -0
- package/docs/npm-install.md +2 -0
- package/docs/pi-setup.md +2 -0
- package/hermes/README.md +48 -0
- package/hermes/skills/hub-conductor/SKILL.md +84 -0
- package/hermes/skills/hub-liaison/SKILL.md +84 -0
- package/justfile +100 -13
- package/package.json +10 -3
- package/scripts/codex-conductor.ts +41 -0
- package/scripts/codex-remote-control.ts +167 -0
- package/scripts/coms-cli.ts +311 -199
- package/scripts/coms-hermes-bridge.ts +2 -2
- package/scripts/lib/codex-conductor.ts +88 -0
- package/scripts/lib/codex-remote-control.ts +480 -0
- package/scripts/lib/coms-envelope.ts +51 -6
- package/scripts/lib/herdr-layout.ts +18 -3
- package/scripts/lib/hermes-bridge-core.ts +4 -4
- package/scripts/lib/team-project.ts +85 -1
- package/scripts/team-up.ts +77 -18
- package/skills/guided-workspace-setup/SKILL.md +123 -97
- package/skills/guided-workspace-setup/companion-manifest.json +33 -0
- package/skills/peer-coms/SKILL.md +9 -0
- package/systemd/user/agent-fleet-codex-remote-control.service.in +23 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"description": "Runtime closure refreshed with any pi harness selection. Paths are repository-relative and contain no user configuration or credentials.",
|
|
4
|
+
"directories": [
|
|
5
|
+
"codex",
|
|
6
|
+
"hermes",
|
|
7
|
+
"systemd"
|
|
8
|
+
],
|
|
9
|
+
"files": [
|
|
10
|
+
"justfile",
|
|
11
|
+
"docs/ARCHITECTURE.md",
|
|
12
|
+
"docs/codex-remote-conductor.md",
|
|
13
|
+
"docs/coms-hermes-bridge.md",
|
|
14
|
+
"scripts/codex-conductor.ts",
|
|
15
|
+
"scripts/codex-remote-control.ts",
|
|
16
|
+
"scripts/coms-claude-bridge.ts",
|
|
17
|
+
"scripts/coms-cli.ts",
|
|
18
|
+
"scripts/coms-hermes-bridge.ts",
|
|
19
|
+
"scripts/peer-banner.ts",
|
|
20
|
+
"scripts/team-snapshot.ts",
|
|
21
|
+
"scripts/team-up.ts",
|
|
22
|
+
"scripts/lib/claude-bridge-core.ts",
|
|
23
|
+
"scripts/lib/codex-conductor.ts",
|
|
24
|
+
"scripts/lib/codex-remote-control.ts",
|
|
25
|
+
"scripts/lib/coms-envelope.ts",
|
|
26
|
+
"scripts/lib/herdr-layout.ts",
|
|
27
|
+
"scripts/lib/hermes-bridge-core.ts",
|
|
28
|
+
"scripts/lib/persona-banner.ts",
|
|
29
|
+
"scripts/lib/spawn-stagger.ts",
|
|
30
|
+
"scripts/lib/team-project.ts",
|
|
31
|
+
"scripts/lib/team-snapshot.ts"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -55,6 +55,15 @@ is returned to the sender automatically (the Stop hook + bridge handle delivery)
|
|
|
55
55
|
the request like any user instruction, scoped to what was asked; keep the final message
|
|
56
56
|
self-contained (the peer sees only that text).
|
|
57
57
|
|
|
58
|
+
## Legacy spool migration
|
|
59
|
+
|
|
60
|
+
Project-scoped CLI queues live at `~/.pi/coms/cli/projects/<project>/<name>/`.
|
|
61
|
+
If the CLI refuses because `~/.pi/coms/cli/<name>/` exists, stop commands for
|
|
62
|
+
that identity, inspect the old `pending`, `responses`, and `inbound` queues,
|
|
63
|
+
identify their owning project, and move the complete name directory under that
|
|
64
|
+
project. Never delete pending data or merge ambiguous queues just to clear the
|
|
65
|
+
error. `projects` is a reserved identity name.
|
|
66
|
+
|
|
58
67
|
## Common Rationalizations
|
|
59
68
|
|
|
60
69
|
- *"I'll just do it myself, asking a peer is overhead"* — a researcher peer with the
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Managed by agent-fleet codex remote-control
|
|
2
|
+
[Unit]
|
|
3
|
+
Description=Agent Fleet Codex remote-control requested state
|
|
4
|
+
|
|
5
|
+
[Service]
|
|
6
|
+
Type=oneshot
|
|
7
|
+
RemainAfterExit=yes
|
|
8
|
+
WorkingDirectory={{WORKING_DIRECTORY}}
|
|
9
|
+
Environment="AGENT_FLEET_REPO_ROOT={{AGENT_FLEET_REPO_ROOT}}"
|
|
10
|
+
Environment="PI_COMS_DIR={{PI_COMS_DIR}}"
|
|
11
|
+
Environment="COMS_CLI_PROJECT={{COMS_CLI_PROJECT}}"
|
|
12
|
+
Environment="COMS_CLI_NAME={{COMS_CLI_NAME}}"
|
|
13
|
+
Environment="COMS_CLI_TIMEOUT_MS={{COMS_CLI_TIMEOUT_MS}}"
|
|
14
|
+
Environment="AGENT_FLEET_CODEX_CONTRACT_PATH={{AGENT_FLEET_CODEX_CONTRACT_PATH}}"
|
|
15
|
+
Environment="AGENT_FLEET_CODEX_CONTRACT_IDENTITY={{AGENT_FLEET_CODEX_CONTRACT_IDENTITY}}"
|
|
16
|
+
Environment="AGENT_FLEET_CONDUCTOR_BACKEND={{AGENT_FLEET_CONDUCTOR_BACKEND}}"
|
|
17
|
+
ExecStart="{{NODE_BIN}}" --experimental-strip-types "{{SCRIPT_PATH}}" unit-start --config "{{CONFIG_PATH}}"
|
|
18
|
+
# ExecStopPost also runs after a failed ExecStart, so a partially started
|
|
19
|
+
# remote-control host gets the same capability-checked cleanup path.
|
|
20
|
+
ExecStopPost="{{NODE_BIN}}" --experimental-strip-types "{{SCRIPT_PATH}}" unit-stop --config "{{CONFIG_PATH}}"
|
|
21
|
+
|
|
22
|
+
[Install]
|
|
23
|
+
WantedBy=default.target
|