8000 gate-supervisor-scope: the supervisor never writes an agent's output.md block by adeelahmad · Pull Request #52 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

gate-supervisor-scope: the supervisor never writes an agent's output.md block - #52

Merged
adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9
Oct 18, 2026
Merged

adeelahmad merged 1 commit into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: in live run 29, the final gate's report was lost and the supervisor appended a final-gate sign-off block to output.md itself. #50 made the final gate's own stop check its block and added a prose rule to SKILL.md, but nothing stopped the supervisor from writing an agent's report.

After: gate-supervisor-scope blocks the supervisor's Write/Edit to any docs/agents/**/output.md, and its shell redirect or tee into one while a sprint is live. The block message names the way out: re-dispatch the agent. These still pass: reading output.md, appending init.md, a dispatched agent's append, and a worker's shell in its linked task worktree (Codex and OpenCode send no agent_type).

How: a path case beside the planning-artifact block, and a per-segment redirect/tee check in the main-agent Bash branch that skips linked worktrees, mirroring the never-commit-on-main check. supervisor-scope.test.py goes from 15 to 20 checks; make test-hosts and make conformance (76/76) are green locally.


Generated by Claude Code

…md block

Live run 29: after the final gate's report was lost, the supervisor appended a
final-gate block to output.md itself. SKILL.md's prose rule (#50) is now a gate,
for Write/Edit and for a shell redirect or tee during a live sprint. Reads,
init.md appends, dispatched agents and workers in a linked task worktree pass.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad merged commit b33c932 into master Oct 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0