@aisac/cli 0.4.0-beta.21 → 0.4.0-beta.22
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/README.md +32 -1
- package/dist/assets/codex-context-compaction.mjs +603 -9
- package/dist/assets/jev-paid-pilot-terminal.mjs +6 -1
- package/dist/claude-observation.mjs +1 -1
- package/dist/cli.mjs +61 -4
- package/dist/engineering-pack.mjs +21 -4
- package/dist/extensions-catalog.mjs +18 -1
- package/dist/guardrails/guards.mjs +1144 -36
- package/dist/launch.mjs +132 -20
- package/dist/manager/bus.mjs +1921 -0
- package/dist/manager/delegation.mjs +354 -0
- package/dist/manager/hooks.mjs +918 -0
- package/dist/manager/launch-role.mjs +476 -0
- package/dist/manager/mcp-stdio.mjs +463 -0
- package/dist/manager/messages.mjs +791 -0
- package/dist/manager/reserve.mjs +2166 -0
- package/dist/manager/room.mjs +106 -0
- package/dist/manager/server.mjs +1792 -0
- package/dist/manager/status.mjs +118 -0
- package/dist/manager/watch.mjs +87 -0
- package/dist/manager/worker.mjs +2793 -0
- package/dist/manager/workers-cli.mjs +1403 -0
- package/dist/package.json +1 -1
- package/dist/release-manifest.json +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,7 +73,8 @@ Guide: [`aisac scan`](../../docs/how-to/aisac-scan.md).
|
|
|
73
73
|
|
|
74
74
|
Licensed `aisac claude` sessions also load guardrail hooks as the session plugin
|
|
75
75
|
`aisac-guardrails`.
|
|
76
|
-
- **Default on:** `secrets-guard` refuses secret files by name
|
|
76
|
+
- **Default on:** `secrets-guard` refuses secret files by name, and `bus-guard`
|
|
77
|
+
keeps the agent's tools out of the manager bus directory. Four more hooks
|
|
77
78
|
keep continuity: a repository snapshot at start and after a compaction, a
|
|
78
79
|
docs reminder, and the NOTES/spec/CHANGELOG pass.
|
|
79
80
|
- **Default off:** `git-guard`, `destructive-guard` and `format-on-edit`.
|
|
@@ -99,6 +100,36 @@ AISAC Creatives Studio, from client `0.4.0-beta.15`).
|
|
|
99
100
|
- **Login:** the host does it (`/mcp` in Claude Code, `aisac mcp login <id>` for Codex)
|
|
100
101
|
and keeps it in its own store. No token reaches `~/.aibrain` or AISAC.
|
|
101
102
|
|
|
103
|
+
Manager and workers (licensed accounts, from client `0.4.0-beta.22`): `aisac claude --manager` and
|
|
104
|
+
`aisac codex --worker <name>`, opened in the same repository (or with the same
|
|
105
|
+
`--room <name>`), let one Claude Code session coordinate up to 16 Codex sessions on this
|
|
106
|
+
machine. You talk only to the manager; it sends each worker a task and reads the reply
|
|
107
|
+
through its `manager_*` tools. `aisac workers` lists the room.
|
|
108
|
+
- **Workers stay terminals:** you watch them, type in them and answer their approval
|
|
109
|
+
prompts there. A manager message is labelled as not typed by you, carries no approval
|
|
110
|
+
and never changes a worker's sandbox or approval policy. What you type into a turn the
|
|
111
|
+
manager started goes back to it with the answer; turns you start yourself do not.
|
|
112
|
+
- **Hosts:** the worker role is offered only on the Codex versions the client was measured
|
|
113
|
+
with; `aisac doctor` shows it on its `manager` line. Otherwise, or without an active
|
|
114
|
+
license, the host starts without the role and says why in one line.
|
|
115
|
+
- **Sends ask you:** Claude Code asks before the first `manager_send`; allow it for the
|
|
116
|
+
session or the project from that prompt.
|
|
117
|
+
- **Overnight:** `aisac workers delegate --for 8h`, typed in your own terminal with a
|
|
118
|
+
confirmation, lets the manager answer approval prompts one request at a time until the
|
|
119
|
+
grant ends (`--off` ends it early). Secrets, pushes to `main` or `master`, force pushes
|
|
120
|
+
and pushes that do not name their destination, destructive commands, publishing,
|
|
121
|
+
deploying, infrastructure, remote databases, merges, releases, `sudo`, commands the
|
|
122
|
+
client cannot fully read, wider permissions and writes outside the repository always
|
|
123
|
+
wait for you. The reserve reads the command line, not what a script does.
|
|
124
|
+
`aisac workers decisions` shows every delegated decision.
|
|
125
|
+
- **Privacy:** messages are private files under `~/.aibrain/bus/`, deleted once taken and
|
|
126
|
+
swept after 24 hours; no telemetry carries them and nothing is written to the AI Brain.
|
|
127
|
+
The text does cross providers: a manager message enters the worker's Codex context and
|
|
128
|
+
its reply enters the manager's Claude Code context. The decision record keeps the text
|
|
129
|
+
of each delegated request for 30 days.
|
|
130
|
+
|
|
131
|
+
Guide: [manager and workers](../../docs/how-to/aisac-manager.md).
|
|
132
|
+
|
|
102
133
|
On Linux/WSL, Codex capture also requires the `flock` utility from `util-linux`,
|
|
103
134
|
normally included. On macOS it uses `/usr/bin/perl`, `/usr/sbin/sysctl` and
|
|
104
135
|
`/bin/ps` instead. The launcher and doctor check availability before a
|