agent-bios 0.19.3 → 0.20.0
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/DEPENDENCIES.md +62 -20
- package/INSTALL.md +1 -1
- package/README.md +16 -21
- package/claude/agents/frontier.md +1 -1
- package/claude/agents/sweep.md +2 -1
- package/claude/agents/workhorse.md +2 -2
- package/claude/guides/claude-prompting.md +494 -167
- package/claude/guides/cli-multi-model-workflow.md +8 -7
- package/claude/guides/gpt-prompting.md +241 -111
- package/claude/guides/session-distill-workflow.md +93 -43
- package/claude/guides/tooling-gotchas.md +3 -1
- package/codex/agents/reviewer.toml +2 -2
- package/codex/agents/sweep.toml +1 -1
- package/codex/agents/workhorse.toml +2 -2
- package/codex/guides/claude-prompting.md +494 -167
- package/codex/guides/cli-multi-model-workflow.md +8 -7
- package/codex/guides/gpt-prompting.md +241 -111
- package/codex/guides/session-distill-workflow.md +93 -43
- package/codex/guides/tooling-gotchas.md +3 -1
- package/compose/assemble.py +4 -1
- package/compose/canary.sh +8 -6
- package/compose/host_platform.py +158 -15
- package/compose/instructions-state.py +183 -41
- package/compose/instructions_app.py +2 -2
- package/compose/instructions_install.py +222 -27
- package/compose/instructions_session.py +250 -75
- package/compose/instructions_setup.py +6 -6
- package/compose/instructions_setup_cli.py +2 -36
- package/compose/instructions_setup_i18n.py +3 -3
- package/compose/instructions_store.py +160 -3
- package/compose/instructions_transaction.py +29 -5
- package/compose/instructions_ui_runtime.py +2 -2
- package/compose/setup/START.md +1 -1
- package/docs/advanced-launch.md +4 -0
- package/docs/releases/0.19.4.md +99 -0
- package/docs/releases/0.20.0.md +102 -0
- package/docs/setup.md +4 -4
- package/install.sh +54 -20
- package/launch/agent-launch.py +171 -22
- package/launch/agent-launch.toml +64 -29
- package/launch/agent-launch.zsh +104 -13
- package/launch/claude_subcommands.py +179 -0
- package/launch/provision-venv.sh +1 -1
- package/launch/shell_integration.py +7 -1
- package/learn/collect-learning.py +60 -9
- package/learn/migrate-learnings.py +70 -4
- package/learn/redact.py +2 -1
- package/package.json +37 -4
- package/provenance.json +1 -1
- package/session-cost.py +141 -18
- package/session-distill/coverage.json +6 -0
- package/session-distill/distill.py +2575 -0
- package/session-distill/grammar/__init__.py +0 -0
- package/session-distill/grammar/owner_lines.py +874 -0
- package/session-distill/originators.json +9 -0
- package/session-distill/packets/cross_review.md +31 -0
- package/session-distill/packets/form.md +86 -0
- package/session-distill/packets/judge.md +81 -0
- package/session-distill/packets/placement_contract.md +90 -0
- package/session-distill/packets/propose.md +124 -0
- package/session-distill/packets/read.md +57 -0
- package/session-distill/packets/reconsider.md +53 -0
- package/session-distill/packets/s7b.md +65 -0
- package/session-distill/packets/s9b.md +39 -0
- package/session-distill/packets/stitch.md +35 -0
- package/session-distill/packets/sweep.md +33 -0
- package/session-distill/runlib/__init__.py +0 -0
- package/session-distill/runlib/bound.py +1102 -0
- package/session-distill/runlib/breaker.py +467 -0
- package/session-distill/runlib/census.py +2347 -0
- package/session-distill/runlib/claims.py +420 -0
- package/session-distill/runlib/controls.py +902 -0
- package/session-distill/runlib/coverage.py +881 -0
- package/session-distill/runlib/declare.py +888 -0
- package/session-distill/runlib/delivery_evidence.py +1145 -0
- package/session-distill/runlib/derive.py +812 -0
- package/session-distill/runlib/destinations.py +3072 -0
- package/session-distill/runlib/dispatch.py +7939 -0
- package/session-distill/runlib/drift.py +1077 -0
- package/session-distill/runlib/entry.py +401 -0
- package/session-distill/runlib/evidence.py +890 -0
- package/session-distill/runlib/exposure.py +1162 -0
- package/session-distill/runlib/gate.py +2727 -0
- package/session-distill/runlib/gitread.py +79 -0
- package/session-distill/runlib/inventory.py +19624 -0
- package/session-distill/runlib/journal.py +1919 -0
- package/session-distill/runlib/ledger.py +3210 -0
- package/session-distill/runlib/ledger_compat.py +101 -0
- package/session-distill/runlib/ledger_migration.py +190 -0
- package/session-distill/runlib/lifecycle_intake.py +693 -0
- package/session-distill/runlib/lineage.py +454 -0
- package/session-distill/runlib/measures.py +249 -0
- package/session-distill/runlib/monitor.py +1180 -0
- package/session-distill/runlib/operations.py +522 -0
- package/session-distill/runlib/packet.py +838 -0
- package/session-distill/runlib/placement.py +1769 -0
- package/session-distill/runlib/projection.py +4090 -0
- package/session-distill/runlib/ranking.py +740 -0
- package/session-distill/runlib/receipts.py +200 -0
- package/session-distill/runlib/records.py +1965 -0
- package/session-distill/runlib/search.py +249 -0
- package/session-distill/runlib/sequencing.py +829 -0
- package/session-distill/runlib/sources.py +641 -0
- package/session-distill/runlib/stage_adjudicate.py +845 -0
- package/session-distill/runlib/stage_apply.py +1378 -0
- package/session-distill/runlib/stage_approvals.py +758 -0
- package/session-distill/runlib/stage_close.py +1220 -0
- package/session-distill/runlib/stage_confirm.py +929 -0
- package/session-distill/runlib/stage_delivery.py +3080 -0
- package/session-distill/runlib/stage_form.py +2576 -0
- package/session-distill/runlib/stage_judge.py +4248 -0
- package/session-distill/runlib/stage_propose.py +3307 -0
- package/session-distill/runlib/stage_read.py +5179 -0
- package/session-distill/runlib/stage_render.py +2739 -0
- package/session-distill/runlib/stage_retrieve.py +924 -0
- package/session-distill/runlib/stage_review_korean.py +1002 -0
- package/session-distill/runlib/stage_review_proposals.py +1292 -0
- package/session-distill/runlib/stagelock.py +412 -0
- package/session-distill/runlib/stop.py +1061 -0
- package/session-distill/runlib/targets.py +809 -0
- package/session-distill/runlib/usage.py +280 -0
- package/session-distill/runlib/validate.py +319 -0
- package/session-distill/runlib/views.py +4327 -0
- package/session-distill/schemas/adjudication.schema.json +35 -0
- package/session-distill/schemas/approval.schema.json +35 -0
- package/session-distill/schemas/census.schema.json +128 -0
- package/session-distill/schemas/checks.schema.json +207 -0
- package/session-distill/schemas/claim.schema.json +16 -0
- package/session-distill/schemas/confirmation.schema.json +24 -0
- package/session-distill/schemas/coverage.schema.json +66 -0
- package/session-distill/schemas/cross_review.schema.json +24 -0
- package/session-distill/schemas/event.schema.json +20 -0
- package/session-distill/schemas/evidence.schema.json +20 -0
- package/session-distill/schemas/expected_observation.schema.json +18 -0
- package/session-distill/schemas/form.schema.json +103 -0
- package/session-distill/schemas/intake.schema.json +71 -0
- package/session-distill/schemas/inventory.schema.json +872 -0
- package/session-distill/schemas/judge.schema.json +77 -0
- package/session-distill/schemas/ledger.schema.json +313 -0
- package/session-distill/schemas/observation.schema.json +16 -0
- package/session-distill/schemas/propose.schema.json +555 -0
- package/session-distill/schemas/read.schema.json +76 -0
- package/session-distill/schemas/reconsider.schema.json +122 -0
- package/session-distill/schemas/run.schema.json +150 -0
- package/session-distill/schemas/s7b.schema.json +200 -0
- package/session-distill/schemas/s9b.schema.json +28 -0
- package/session-distill/schemas/stitch.schema.json +25 -0
- package/session-distill/schemas/sweep.schema.json +25 -0
- package/session-distill/seats.json +149 -0
- package/session-distill/tables/allowed_pairs.json +257 -0
- package/session-distill/tables/controls.json +30 -0
- package/session-distill/tables/delivery_evidence.json +36 -0
- package/session-distill/tables/delivery_evidence_fixtures.json +731 -0
- package/session-distill/tables/destinations.json +684 -0
- package/session-distill/tables/drift_layers.json +68 -0
- package/session-distill/tables/exposure_rules.json +192 -0
- package/session-distill/tables/placement_rules.json +148 -0
- package/session-distill/tables/propose_fixtures.json +154 -0
- package/session-distill/tables/ranking.json +194 -0
- package/session-distill/tables/redundancy.json +10 -0
- package/session-distill/tables/structural_rules.json +44 -0
- package/session-distill/tables/transition_fixtures.json +398 -0
- package/session-distill/tables/transitions.json +69 -0
- package/session-distill/tables/unit_outcome.json +67 -0
- package/session-distill/tables/unit_outcome_fixtures.json +2364 -0
- package/wrappers/claude-run.sh +481 -33
- package/wrappers/claude_hermetic_evidence.py +1423 -0
- package/wrappers/codex-helm.sh +44 -13
- package/wrappers/codex-run.sh +183 -20
- package/wrappers/codex_frame_filter.py +1199 -0
- package/wrappers/codex_protocol.py +737 -0
- package/wrappers/jsonl_lines.py +65 -0
package/DEPENDENCIES.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Dependencies
|
|
2
2
|
|
|
3
3
|
This file owns the dependency inventory, required capabilities, and the observed local
|
|
4
|
-
versions below
|
|
4
|
+
versions below, including the declared Python floor stated under Runtime tools. Other
|
|
5
|
+
required minimums come from the code that enforces them. The Textual
|
|
5
6
|
root pin and optional learning-validator pin belong to `launch/provision-venv.sh`.
|
|
6
7
|
`gates/build-ui-runtime.py` derives the exact shipped wheel inventory in
|
|
7
8
|
`compose/ui_runtime/manifest.json` from `TEXTUAL_PIN`; setup reads that inventory and
|
|
@@ -15,6 +16,16 @@ The verification column states the scope of each check.
|
|
|
15
16
|
|
|
16
17
|
## Runtime tools
|
|
17
18
|
|
|
19
|
+
**Python floor: 3.12** — the single owner of this value. Every shipped and author-side
|
|
20
|
+
Python file must parse under a real interpreter of that version, and every other
|
|
21
|
+
statement of the floor in this repository restates this line.
|
|
22
|
+
`gates/check-python-floor.py` reads the floor here, compiles both file sets with a real
|
|
23
|
+
floor interpreter, and fails on any declaration that disagrees. The floor is 3.12 rather
|
|
24
|
+
than 3.11 because shipped `launch/agent-launch.py` has used PEP 701 f-strings since
|
|
25
|
+
2026-09-11, so releases from v0.19.0 already required it while every document said 3.11.
|
|
26
|
+
Author-side work therefore needs a 3.12 interpreter present (`uv python install 3.12`);
|
|
27
|
+
without one the gate blocks rather than reporting a clean judgement of nothing.
|
|
28
|
+
|
|
18
29
|
The supported operating systems are macOS and Linux (`package.json` `os`). Private
|
|
19
30
|
transactions, instruction capture and app registration use POSIX file locks, file
|
|
20
31
|
descriptors and symlinks. The JSON setup protocol, machine-mode instructions operations,
|
|
@@ -26,10 +37,11 @@ have separate runtime requirements below.
|
|
|
26
37
|
|
|
27
38
|
| Tool | Required by | Required capability | Verified |
|
|
28
39
|
| --- | --- | --- | --- |
|
|
29
|
-
| `python3` | `compose/instructions*.py`, app bridge helper, `session-cost.py`, `launch/agent-launch.py` | Python 3.
|
|
40
|
+
| `python3` | `compose/instructions*.py`, app bridge helper, `session-cost.py`, `launch/agent-launch.py`, `session-distill/distill.py` and `session-distill/runlib/` | Python 3.12+ (`tomllib`) for the private store, offline installer UI loader, import evidence, app receipts, native session adapter and the session-distill driver | 3.14.7 · version report · 2026-11-11 |
|
|
30
41
|
| `bash` | `install.sh`, shell adapters, provisioner and app helper command dispatch | Bash arrays and argument-preserving execution; macOS system Bash is supported | 3.2.57 · version report · 2026-09-12 |
|
|
31
|
-
| `git` | conversation source acquisition, clone updates
|
|
42
|
+
| `git` | conversation source acquisition, clone updates, version-control workflows and `session-distill/runlib/gitread.py` | clone and detached checkout for a fixed source commit; worktrees and modern revision operations for development; `git show <rev>:<path>` for the driver's comparison of a tracked file's committed bytes against the working tree, where a path absent at a revision is a measurement and not an error. No Git checkout is required to use an installed npm package, and the driver asks git only for a run that compares commits | 2.50.1 · version report · 2026-11-11 |
|
|
32
43
|
| `zsh` | `launch/agent-launch.zsh`, optional `launch/shell_integration.py` connection | shell functions, TTY checks and argument-preserving dispatch. Used by the explicit private shell connection as well as compatibility installation; it is not required for ordinary private storage or app context use | 5.9 · version report · 2026-09-12 |
|
|
44
|
+
| `zstd` | `session-distill/runlib/census.py` and `session-distill/runlib/sources.py` | reading a compressed session capture the host wrote: the driver declares the binary it used (`declare.py` requires a `zstd` entry) rather than assuming one, and a census without it refuses by name (`ZSTD_UNAVAILABLE`) instead of reporting fewer sessions | 1.5.7 · version report · 2026-11-11 |
|
|
33
45
|
| `mktemp`, `cp` | wrapper temporary homes and shell utilities | BSD or GNU command interfaces | local inventory checks command availability; no package-version claim |
|
|
34
46
|
| `ioreg`, `ps` | conversation setup machine/process identity on macOS | local OS identity probes. Linux uses machine-id and `/proc`; machine identity has a host/filesystem fallback, while missing process evidence leaves a running attempt unconfirmed | source-defined probes; no separate tool version pin |
|
|
35
47
|
| Node.js | npm delivery, optional npm host installation and selected slide jobs | `package.json` requires Node >=18 for npm package delivery. The optional Claude npm recipe requires Node >=22; Codex npm installation and slide runtimes retain their own requirements. The Python instructions runtime does not require Node | 26.0.0 · version report · 2026-09-12 |
|
|
@@ -39,11 +51,11 @@ have separate runtime requirements below.
|
|
|
39
51
|
| Bundled Textual UI runtime | interactive `install`/`onboard`, package/current-checkout Instructions Studio TTY entrypoint, private/current-checkout launcher rich entrypoint | pure-Python wheels shipped under `compose/ui_runtime/`; the loader verifies and extracts them temporarily before UI imports. No system/managed Textual, pip installation or runtime network access is needed | manifest versions/hashes/licenses; offline clean-interpreter, TTY and backend-handoff checks · 2026-09-12 |
|
|
40
52
|
| Managed `textual` | standalone compatibility launcher copies, retained in-process APIs and author tests | optional environment at `${AGENT_LAUNCH_VENV:-$HOME/.local/share/agent-launch/venv}`. Its installation target is `TEXTUAL_PIN`; current package CLI UI paths use the shipped bundle | 8.2.8 · clean-venv installation/import, `pip check` and UI tests · 2026-09-12 |
|
|
41
53
|
| `rich` | Textual clients | included with the installer UI bundle and otherwise provided transitively by Textual; not a separate setup choice. Plain editing needs no optional syntax-highlighting packages | managed Textual environment and UI tests · 2026-09-12; bundled version belongs to the manifest |
|
|
42
|
-
| `jsonschema` | `learn/collect-learning.py`, `learn/check-learning.py` | Draft 2020-12 validation for user learning capture and
|
|
54
|
+
| `jsonschema` | `learn/collect-learning.py`, `learn/check-learning.py`, `session-distill/runlib/validate.py` | Draft 2020-12 validation for user learning capture, author verification and every document the session-distill driver writes or reads (`validate.py` refuses by name — `JSONSCHEMA_MISSING`, `JSONSCHEMA_VERSION_MISMATCH`, `JSONSCHEMA_PIN_UNREADABLE` — rather than validating with an unverified version). `learn` uses a usable system validator, otherwise the configured managed interpreter. Installation target is `JSONSCHEMA_PIN` in the provisioner; `--learning-only` installs it without adding Textual | 4.26.0 · clean-venv installation/import and `pip check` 2026-09-12; import of the module the driver loads, equal to `JSONSCHEMA_PIN`, 2026-11-11 |
|
|
43
55
|
|
|
44
56
|
`agent-bios install` and `onboard` are interactive unless `--non-interactive` is explicit.
|
|
45
57
|
Selection flags seed the UI, and a non-TTY default call fails before writes. Python
|
|
46
|
-
3.
|
|
58
|
+
3.12+ is still required. `compose/instructions_ui_runtime.py` validates the shipped bundle
|
|
47
59
|
before UI imports and uses one process-owned temporary extraction, cleaned on normal
|
|
48
60
|
exit and released by the launcher before backend `execve`. It creates no persistent UI
|
|
49
61
|
package installation. Missing, damaged or conflicting bundle state produces repair
|
|
@@ -58,7 +70,7 @@ probes, not another instructions language or persisted host setting. Locale vari
|
|
|
58
70
|
a starting choice; the user still sees the chooser. The JSON setup protocol accepts an
|
|
59
71
|
explicit review language while retaining its stable field names and exact values.
|
|
60
72
|
|
|
61
|
-
`agent-bios setup` needs Python 3.
|
|
73
|
+
`agent-bios setup` needs Python 3.12+ and Bash, with no TTY, Textual, model SDK or new
|
|
62
74
|
server. It reuses `SetupController` for inspection, reviewed plans and fixed dependency
|
|
63
75
|
actions. Only explicit Apply runs selected actions; its durable receipts use private
|
|
64
76
|
state. `status` and `resume` inspect or prepare further review without executing
|
|
@@ -77,14 +89,15 @@ steps; absence of an optional route does not make the local instructions store u
|
|
|
77
89
|
Manager recipes are offered only after their version probe succeeds. Creating a new
|
|
78
90
|
managed environment requires the selected Python venv/ensurepip bootstrap; an existing
|
|
79
91
|
managed interpreter does not need to bootstrap again. The provisioner checks Python
|
|
80
|
-
3.
|
|
92
|
+
3.12+ before modifying the environment.
|
|
81
93
|
|
|
82
94
|
## Host agent CLIs
|
|
83
95
|
|
|
84
96
|
| CLI | Required by | Required capability | Verification |
|
|
85
97
|
| --- | --- | --- | --- |
|
|
86
|
-
| Claude Code | native Claude sessions
|
|
87
|
-
|
|
|
98
|
+
| Claude Code | native Claude sessions, Claude worker/review routes and the session-distill driver's own calls (`session-distill/runlib/dispatch.py`) | `--model`, `--effort`, `--agents`, per-call `--append-system-prompt`, `--session-id`, `--resume`, `--mcp-config`, `--plugin-dir`, and the selected permission mode; native global/project loading remains native | 2.1.268 · 2026-09-12 |
|
|
99
|
+
| Claude Code, hermetic profile | `wrappers/claude-run.sh --profile hermetic` and `wrappers/claude_hermetic_evidence.py` | `--safe-mode`, `--setting-sources ""`, `--strict-mcp-config`, `--disable-slash-commands`, `--tools`, `--allowedTools`, `--permission-mode dontAsk`, `--json-schema`, `--session-id`, `--append-system-prompt-file`, `--output-format stream-json --verbose --include-partial-messages`; login through `CLAUDE_CODE_OAUTH_TOKEN` (`--bare` reads no token); `CLAUDE_CODE_MAX_OUTPUT_TOKENS`; session transcripts under `CLAUDE_CONFIG_DIR/projects` in the record shapes the helper reads | 2.1.317 versioned binary · `--help` · 2026-11-04 (A-1 re-pin: six hermetic calls, record kinds measured; earlier 2.1.304 · 2026-10-21); the isolation effect of the flag set measured on 2.1.304 · 2026-10-20; the producing profile's `dontAsk` refusal not yet measured |
|
|
100
|
+
| Codex CLI | `compose/instructions_session.py`, launcher, Codex worker/review adapters and the session-distill driver's own calls (`session-distill/runlib/dispatch.py`) | per-call `-c`; cwd-aware `app-server --stdio` `config/read`; durable `thread/start`, `thread/inject_items`, `thread/read`; `codex resume`; `codex exec` and agent-config projection | local 0.153.4; isolated compatibility 0.154.0 · 2026-09-12 |
|
|
88
101
|
|
|
89
102
|
The Claude row reports the installed command version. The Codex row distinguishes the
|
|
90
103
|
installed runtime from the newer isolated compatibility check. Native protocol and
|
|
@@ -213,6 +226,16 @@ Agent-bios does not install credentials or infer a model account from dependency
|
|
|
213
226
|
`codex-helm.sh` and `claude-run.sh` from the selected package. Their command paths,
|
|
214
227
|
binding, reach and fallback are declared in the launch contract. An unavailable or
|
|
215
228
|
unauthenticated opposite-family route is reported, not credited as a completed review.
|
|
229
|
+
- **Codex capture** — `codex-run --capture DIR` records one call's evidence through
|
|
230
|
+
`wrappers/codex_frame_filter.py` (standard-library Python 3), resolved beside the adapter.
|
|
231
|
+
It reads codex-cli's trace frames, which appear only under the caller's
|
|
232
|
+
`RUST_LOG=tungstenite::protocol=trace,codex_otel.log_only=info,codex_core::responses_retry=warn`;
|
|
233
|
+
the channel is unsupported and version-bound, so a capture without it attests no model. The
|
|
234
|
+
frame shape was verified on codex-cli 0.163.0; session distill pins 0.167.0 since 2026-11-12, and
|
|
235
|
+
its first 0.167.0 capture is what confirms the shape there. A capture refuses a codex whose
|
|
236
|
+
version is not `CODEX_RUN_VERSION` (`HOST_VERSION_MISMATCH`), and every exit the adapter takes
|
|
237
|
+
before it starts codex names its code (`codex-run: CODE ...`), which the distill driver records
|
|
238
|
+
as the call's `runner_refused`.
|
|
216
239
|
<!-- mcp-inventory:start -->
|
|
217
240
|
<!-- facts: {"bundlers": {"compose/app_desktop/server.py": ["compose/instructions_app.py"]}, "capabilities": [], "servers": ["compose/app_desktop/server.py"]} -->
|
|
218
241
|
- **MCP servers** — derived from source by `gates/check-mcp-inventory.py`.
|
|
@@ -268,18 +291,36 @@ python3 gates/build-ui-runtime.py --self-test
|
|
|
268
291
|
```
|
|
269
292
|
|
|
270
293
|
Only the builder's explicit `--build` path fetches packages; do not hand-edit wheel
|
|
271
|
-
archives or their manifest.
|
|
272
|
-
|
|
273
|
-
machine
|
|
294
|
+
archives or their manifest.
|
|
295
|
+
|
|
296
|
+
Author-side work needs an interpreter of the declared floor on the machine, which is a
|
|
297
|
+
prerequisite of the gates rather than of the package: `gates/check-python-floor.py`
|
|
298
|
+
compiles every shipped and author-side Python with it, and blocks when it is absent,
|
|
299
|
+
because a run with no floor interpreter has judged nothing about parsing. Install one
|
|
300
|
+
with `uv python install 3.12`, or name an existing one in `AGENT_BIOS_FLOOR_PYTHON`; the
|
|
301
|
+
gate verifies that interpreter's own version against the floor before using it. A
|
|
302
|
+
compile under whatever `python3` resolves to is not a substitute — on a machine whose
|
|
303
|
+
`python3` is newer than the floor it accepts syntax the floor rejects, which is how
|
|
304
|
+
v0.19.0-v0.19.3 shipped code needing 3.12 under a documented 3.11.
|
|
305
|
+
|
|
306
|
+
Discovery follows `$HOME`: it looks on `PATH`, at the running interpreter, and under
|
|
307
|
+
`$HOME/.local/share/uv/python`. Under a substituted HOME — a sandbox, a fixture tree, an
|
|
308
|
+
audit harness — none of those resolve, so the gate finds no floor interpreter and blocks
|
|
309
|
+
instead of passing. That is the declared behavior rather than a defect, so a caller that
|
|
310
|
+
runs the gate with its own HOME must name the interpreter in `AGENT_BIOS_FLOOR_PYTHON`.
|
|
311
|
+
No umbrella path reaches that state: `gates/check-parity.sh` never sets HOME, and the one
|
|
312
|
+
caller that does substitute one, `gates/test-install-guides.sh`, always sets
|
|
313
|
+
`AGENT_BIOS_IN_INSTALL_TEST=1` alongside it, under which `install.sh`'s `cmd_verify` skips
|
|
314
|
+
the umbrella and announces the skip.
|
|
315
|
+
|
|
316
|
+
The full author umbrella also exercises compatibility clients and can provision its
|
|
317
|
+
managed test environment, so it is not a read-only machine inventory:
|
|
274
318
|
|
|
275
319
|
```bash
|
|
276
|
-
python3 -
|
|
277
|
-
import pathlib
|
|
278
|
-
paths = list(pathlib.Path('compose').glob('instructions*.py')) + [pathlib.Path('launch/agent-launch.py')]
|
|
279
|
-
for path in paths:
|
|
280
|
-
compile(path.read_text(), str(path), 'exec')
|
|
281
|
-
PY
|
|
320
|
+
python3 gates/check-python-floor.py
|
|
282
321
|
bash -n install.sh launch/provision-venv.sh wrappers/codex-run.sh wrappers/codex-helm.sh wrappers/claude-run.sh
|
|
322
|
+
python3 wrappers/claude_hermetic_evidence.py --self-test
|
|
323
|
+
python3 wrappers/codex_frame_filter.py --self-test
|
|
283
324
|
zsh -n launch/agent-launch.zsh
|
|
284
325
|
./gates/check-parity.sh
|
|
285
326
|
```
|
|
@@ -288,12 +329,13 @@ zsh -n launch/agent-launch.zsh
|
|
|
288
329
|
|
|
289
330
|
| Owner | Owns |
|
|
290
331
|
| --- | --- |
|
|
291
|
-
| `DEPENDENCIES.md` | required capability inventory
|
|
332
|
+
| `DEPENDENCIES.md` | required capability inventory, scoped local version observations, and the declared Python floor every other statement of it restates |
|
|
333
|
+
| `gates/check-python-floor.py` | reading that floor, compiling both Python sets with a real interpreter of it, and the licensed asymmetries that may differ |
|
|
292
334
|
| `launch/provision-venv.sh` | Textual root pin, `JSONSCHEMA_PIN` and explicit managed package installation |
|
|
293
335
|
| `gates/build-ui-runtime.py` | author-side bundle generation and offline check/self-test |
|
|
294
336
|
| `compose/ui_runtime/manifest.json` | generated exact UI wheel inventory, versions, hashes and licenses |
|
|
295
337
|
| `compose/instructions_ui_runtime.py` | offline verification, process-lifetime extraction and release |
|
|
296
338
|
| `compose/instructions_setup.py` | shared SetupController, local inventory and reviewed dependency recipes |
|
|
297
|
-
| `package.json` and runtime validators | supported platforms and
|
|
339
|
+
| `package.json` and runtime validators | supported platforms, the Node minimum, and the runtime validators that enforce the Python floor stated above rather than restating it |
|
|
298
340
|
| guide `Environment Binding` and launch profile | role/model bindings and feature-specific host evidence |
|
|
299
341
|
| guide `Evidence Base` | measured behavior and numeric defaults |
|
package/INSTALL.md
CHANGED
|
@@ -83,7 +83,7 @@ provide conversational setup. Stop this installation route and report the checke
|
|
|
83
83
|
revision. Do not run an older `install`, enable compatibility mode, or claim that
|
|
84
84
|
unpublished checkout features are available from the public repository.
|
|
85
85
|
|
|
86
|
-
Bash and Python 3.
|
|
86
|
+
Bash and Python 3.12 or newer are required. Check them after the language choice.
|
|
87
87
|
If missing, explain the prerequisite and help resolve it through documented
|
|
88
88
|
platform instructions within the user's authorization. This route does not need
|
|
89
89
|
Codex CLI, another model login, Node/npm or Textual. Do not borrow an undocumented
|
package/README.md
CHANGED
|
@@ -5,31 +5,26 @@
|
|
|
5
5
|
Build an instruction library you can inspect, edit, and reuse. Choose what each
|
|
6
6
|
CLI session or Codex app task uses, while preserving your existing global instruction files.
|
|
7
7
|
|
|
8
|
-
[0.
|
|
8
|
+
[0.20.0 release notes](docs/releases/0.20.0.md)
|
|
9
9
|
|
|
10
10
|
## Purpose
|
|
11
11
|
|
|
12
12
|
<!-- product-purpose:start -->
|
|
13
|
-
agent-bios exists to let
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
not require identical outputs or erase personal, team, and organizational boundaries.
|
|
13
|
+
agent-bios exists to let a worker keep one library of Instructions — rules,
|
|
14
|
+
guides, and procedures for LLM agents — and choose what each Claude Code or
|
|
15
|
+
Codex session uses, so the work follows the standards and context the worker
|
|
16
|
+
has chosen.
|
|
17
|
+
|
|
18
|
+
The goal is efficient work and continuity. Instructions are reusable defaults
|
|
19
|
+
that the worker adapts to each repository and personal working need; they are
|
|
20
|
+
not a mechanism for enforcing uniform working methods.
|
|
21
|
+
|
|
22
|
+
The worker should be able to read and edit what each instruction says, adopt
|
|
23
|
+
instructions others publish as packages, and continue the work when the model,
|
|
24
|
+
session, or host changes. Adopted instructions do not require identical outputs
|
|
25
|
+
or erase personal and organizational boundaries.
|
|
27
26
|
<!-- product-purpose:end -->
|
|
28
27
|
|
|
29
|
-
The current service provides the Instructions library and host launch/delivery
|
|
30
|
-
integration. Shared environment editions, Domain knowledge, and Decision memory
|
|
31
|
-
are the design direction; this purpose statement does not claim they are shipped.
|
|
32
|
-
|
|
33
28
|
[Quick start](#quick-start) · [Instructions Studio](#your-instruction-library) · [How it works](#how-sessions-work) · [Understand!](#understand-the-reasoning) · [Documentation](#documentation) · [한국어](ko/README.md)
|
|
34
29
|
|
|
35
30
|

|
|
@@ -86,7 +81,7 @@ release is an unsigned preview, which is what the trailing flag accepts:
|
|
|
86
81
|
powershell -NoProfile -ExecutionPolicy Bypass -Command "iwr 'https://kangminlee-maker.github.io/agent-bios/install.ps1' -UseBasicParsing -OutFile (Join-Path ([IO.Path]::GetTempPath()) 'agent-bios-install.ps1') -ErrorAction Stop; & (Join-Path ([IO.Path]::GetTempPath()) 'agent-bios-install.ps1') -AcceptUnsignedPreview"
|
|
87
82
|
```
|
|
88
83
|
|
|
89
|
-
On **macOS or Linux**, where **Python 3.
|
|
84
|
+
On **macOS or Linux**, where **Python 3.12+** and **Node.js 18+ with npm** must
|
|
90
85
|
already be present:
|
|
91
86
|
|
|
92
87
|
```text
|
|
@@ -137,7 +132,7 @@ source. From the obtained repository folder, run:
|
|
|
137
132
|
bash install.sh install
|
|
138
133
|
```
|
|
139
134
|
|
|
140
|
-
This route needs Bash and Python 3.
|
|
135
|
+
This route needs Bash and Python 3.12+; Node/npm are not acquisition prerequisites.
|
|
141
136
|
Keep using `bash install.sh <command>` from that source for management. A global
|
|
142
137
|
`agent-bios` command can belong to a different npm version.
|
|
143
138
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: frontier
|
|
3
3
|
description: FRONTIER tier — bounded hardest decisions, first-of-kind design, triage gates, and final verdicts. Spawn when the Escalation gate fires — an irreversible or authority-changing action ahead, two failed attempts, or two persisting design alternatives — with a blind packet (evidence, constraints, rubric, neutral alternatives; no draft conclusion) and a pre-noted change condition.
|
|
4
|
-
model: claude-fable-5-
|
|
4
|
+
model: claude-fable-5-2
|
|
5
5
|
effort: max
|
|
6
6
|
disallowedTools: [Edit, Write, NotebookEdit]
|
|
7
7
|
---
|
package/claude/agents/sweep.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sweep
|
|
3
3
|
description: SWEEP tier — read-only checks applying one explicit rule to each item. Ambiguity returns as an exception, never resolved.
|
|
4
|
-
model: claude-haiku-
|
|
4
|
+
model: claude-haiku-5-5
|
|
5
|
+
effort: medium
|
|
5
6
|
tools: [Read, Glob, Grep]
|
|
6
7
|
disallowedTools: [Edit, Write, NotebookEdit]
|
|
7
8
|
---
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: workhorse
|
|
3
3
|
description: WORKHORSE tier — bounded implementation, fixes, tests, and per-item judgment. Spawn decision-complete work with frozen scope/interfaces and a machine-checkable done-when; two or more independent items spawn in parallel.
|
|
4
|
-
model: claude-sonnet-5
|
|
5
|
-
effort:
|
|
4
|
+
model: claude-sonnet-5-5
|
|
5
|
+
effort: high
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
Complete one bounded implementation, fix, or per-item judgment from a packet naming objective, frozen scope and inputs, allowed actions, output, done-when, and verification. Preserve out-of-scope behavior; batch independent reads; escalate missing decisions or authority instead of resolving them. Stage output for the main's acceptance — no external irreversible actions (push, install, credential, or remote mutation). Run the narrowest reliable changed-path check. Report: status, files_or_items_touched, evidence, verification or gap, risks_or_escalations.
|