@chankov/agent-fleet 0.0.1 → 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.
Files changed (65) hide show
  1. package/.claude/commands/doctor-agent-fleet.md +1 -1
  2. package/.claude/commands/setup-agent-fleet.md +4 -4
  3. package/.opencode/commands/af-doctor-agent-fleet.md +2 -0
  4. package/.opencode/commands/af-setup-agent-fleet.md +1 -1
  5. package/.pi/agents/model-profiles.yaml +12 -12
  6. package/.pi/agents/peers.yaml +26 -22
  7. package/.pi/agents/teams.yaml +2 -2
  8. package/.pi/harnesses/agent-hub/README.md +57 -4
  9. package/.pi/harnesses/agent-hub/index.ts +236 -80
  10. package/.pi/harnesses/agent-hub/research-retention.js +34 -0
  11. package/.pi/harnesses/ask-user-remote/README.md +8 -0
  12. package/.pi/harnesses/ask-user-remote/index.ts +41 -1
  13. package/.pi/harnesses/coms/README.md +11 -0
  14. package/.pi/prompts/doctor-agent-fleet.md +1 -1
  15. package/.pi/prompts/setup-agent-fleet.md +4 -4
  16. package/README.md +133 -354
  17. package/agents/architect.md +4 -2
  18. package/agents/bowser.md +2 -1
  19. package/agents/builder.md +3 -2
  20. package/agents/code-reviewer.md +7 -7
  21. package/agents/deep-researcher.md +3 -3
  22. package/agents/documenter.md +3 -1
  23. package/agents/orchestrator.md +5 -3
  24. package/agents/plan-reviewer.md +5 -5
  25. package/agents/planner.md +7 -7
  26. package/agents/releaser.md +3 -1
  27. package/agents/researcher.md +3 -3
  28. package/agents/security-auditor.md +7 -7
  29. package/agents/test-engineer.md +5 -5
  30. package/agents/web-debugger.md +3 -3
  31. package/agents/web-performance-auditor.md +3 -3
  32. package/bin/snapshot-version.js +17 -1
  33. package/codex/CONDUCTOR.md +148 -0
  34. package/docs/ARCHITECTURE.md +165 -0
  35. package/docs/agent-fleet-setup.md +1 -0
  36. package/docs/claude-code-coms-bridge.md +10 -0
  37. package/docs/codex-remote-conductor.md +170 -0
  38. package/docs/coms-hermes-bridge.md +121 -0
  39. package/docs/getting-started.md +14 -0
  40. package/docs/npm-install.md +2 -0
  41. package/docs/pi-extensions.md +16 -0
  42. package/docs/pi-setup.md +2 -0
  43. package/hermes/README.md +48 -0
  44. package/hermes/skills/hub-conductor/SKILL.md +84 -0
  45. package/hermes/skills/hub-liaison/SKILL.md +84 -0
  46. package/justfile +132 -15
  47. package/package.json +10 -3
  48. package/scripts/codex-conductor.ts +41 -0
  49. package/scripts/codex-remote-control.ts +167 -0
  50. package/scripts/coms-cli.ts +311 -199
  51. package/scripts/coms-hermes-bridge.ts +8 -4
  52. package/scripts/lib/codex-conductor.ts +88 -0
  53. package/scripts/lib/codex-remote-control.ts +480 -0
  54. package/scripts/lib/coms-envelope.ts +51 -6
  55. package/scripts/lib/herdr-layout.ts +35 -7
  56. package/scripts/lib/hermes-bridge-core.ts +4 -4
  57. package/scripts/lib/spawn-stagger.ts +101 -0
  58. package/scripts/lib/team-project.ts +112 -3
  59. package/scripts/lib/team-snapshot.ts +3 -2
  60. package/scripts/team-snapshot.ts +23 -6
  61. package/scripts/team-up.ts +106 -18
  62. package/skills/guided-workspace-setup/SKILL.md +123 -97
  63. package/skills/guided-workspace-setup/companion-manifest.json +33 -0
  64. package/skills/peer-coms/SKILL.md +9 -0
  65. 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