7 Commits

Author SHA1 Message Date
Bo 62cc3b6ee0 Clear the operations-layer alignment residuals (#1054)
Closes out the six residual items #1051 disclosed: terminology residue
on non-authority surfaces, the eval command-surface fixture that failed
when executed (#{3,4} -> #{3,5}), the vacuous retrieval-quality canary
and the nightly job that ran it, the consumer-free dream config block
and its exclusive helpers, the remaining knowledge-shaped writers moved
to the scratch tier, and the MEMORY.md consumer audit.

bin/ralph still resumes legacy .agents/ralph/ checkpoints so the
documented backwards-compat contract holds without a migration; both
paths and the outside-both refusal are now tested.

Fresh author-distinct validation returned PASS with empty not_checked,
after an earlier revision failed on a dangling nightly invoker and a
back-compat test regression that were fixed and independently
re-verified.

Test-Removal-Reason: the dream config subsystem was deleted with its tests (operations-layer residuals)
2026-08-08 14:34:14 -04:00
Bo dee7a35023 fix(runtime): disable Claude print team-runner path (ag-eli0.1 #team-runner-law0) (#834)
## Summary

- Make `lib/scripts/team-runner.sh` Codex-only and reject `runtime:
"claude"` before worker spawn.
- Tighten `lib/schemas/team-spec.json` to `runtime: codex` and update
team-runner fixtures/tests.
- Rewrite the headless invocation contract around LAW 0 and the Codex
runner path.
- Carry current-main CI drift repairs: markdownlint style fixes for
ag-qidx docs and regenerated `registry.json` for `ao refinery`.

Closes-scenario: ag-eli0.1#team-runner-law0
Bounded-context: BC5-Runtime
Evidence: shellcheck

## Test plan

- [x] `bash -n lib/scripts/team-runner.sh
lib/scripts/watch-codex-stream.sh lib/scripts/watch-claude-stream.sh
tests/team-runner/test-runner-dry-run.sh
tests/team-runner/test-schemas.sh`
- [x] `shellcheck lib/scripts/team-runner.sh
tests/team-runner/test-runner-dry-run.sh
tests/team-runner/test-schemas.sh`
- [x] `bash tests/team-runner/run-all.sh`
- [x] `bash /Users/bo/acfs/skill-pipeline/scripts/no-api-print-scan.sh
"$PWD/skills" "$PWD/scripts" "$PWD/hooks" "$PWD/lib"
"$PWD/tests/team-runner"`
- [x] `bash scripts/check-registry-drift.sh`
- [x] `markdownlint-cli2 docs/handoffs/2026-06-07-ag-qidx-postmortem.md
docs/runbooks/bushido-refinery.md
docs/contracts/headless-invocation-standards.md`
- [x] `git diff --check`
- [x] fast pre-push gate passed locally except AP#7 before this Evidence
trailer correction
2026-06-07 12:30:13 -04:00
Boden Fuller 55ded76d0b fix(codex-spawn): bypass intent-echo on team-runner + smoke + validate scripts + tests
Substrate fix for the intent-echo hook trap. The Mac codex install ships
~/.codex/hooks.json with intent-echo.sh on UserPromptSubmit; long prompts
containing destructive verbs or scope-limiters trigger a HIGH-STAKES
preamble that captures as the assistant message. Non-interactive `codex
exec` then produces no real output.

team-runner.sh:226 is the load-bearing dispatcher behind /swarm, /crank,
/evolve, /codex-team, /red-team — patching it once propagates the fix to
every team-runtime skill. Mirror on the dry-run echo at :195.

smoke-test-codex-skills.sh prompts contain "only" (line 175); validate
prompt contains "only" (line 61). Both trigger today.
test-sandbox-mode.sh and test-structured-output.sh patched defensively
for drift resistance.

See .agents/findings/registry.jsonl entries f-2026-05-02-002 and
f-2026-05-02-003.
2026-05-02 12:34:56 -04:00
Boden Fuller 2484d5f67b fix(team-runner): surface claude process failures 2026-04-12 11:56:23 -04:00
Boden Fuller 7ac8a29b56 feat(ci): shift 9 CI-only checks to pre-push gate
Add doc-release, contract-compatibility, hook-preflight, hooks-doc-parity,
ci-policy-parity, shellcheck, symlink-rejection, learning-coherence, and
orphan-hooks checks to pre-push-gate.sh (checks 25-33). Add fast-mode
detection for docs/shell/learning file categories so new checks only run
when relevant files change.

Also fix shellcheck warnings in task-validation-gate.sh (SC2053 glob
directives) and remove unused error_msg in watch-codex-stream.sh.
2026-03-31 15:19:50 -04:00
Test e0d4a8a55d feat: add headless Claude team backend 2026-03-09 13:34:36 -04:00
Boden Fuller 37d4b5b2ae Merge branch 'codex/rpi-supervisor-cli' into main 2026-02-21 19:41:50 -05:00