From 2c62674c7c4f5b40caa6a4c8a0e63c9b98853800 Mon Sep 17 00:00:00 2001 From: Agent Date: Tue, 31 Mar 2026 20:09:52 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20chore(26c):=20update=20AGENTS.md=20and?= =?UTF-8?q?=20docs=20=E2=80=94=20remove=20action-agent=20references=20(#67?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 6 +++--- dev/AGENTS.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 7fe6be8..2871dd3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -6,7 +6,8 @@ Disinto is an autonomous code factory. It manages seven agents (dev, review, gardener, supervisor, planner, predictor, vault) that pick up issues from forge, implement them, review PRs, plan from the vision, gate dangerous actions, and -keep the system healthy — all via cron and `claude -p`. +keep the system healthy — all via cron and `claude -p`. The dispatcher +executes formula-based operational tasks. See `README.md` for the full architecture and `disinto-factory/SKILL.md` for setup. @@ -113,7 +114,6 @@ Issues flow: `backlog` → `in-progress` → PR → CI → review → merge → | `prediction/unreviewed` | Unprocessed prediction filed by predictor. | predictor-run.sh | | `prediction/dismissed` | Prediction triaged as DISMISS — planner disagrees, closed with reason. | Planner (triage-predictions step) | | `prediction/actioned` | Prediction promoted or dismissed by planner. | Planner (triage-predictions step) | -| `action` | Operational task for the dispatcher to execute via formula. | Planner, humans | ### Dependency conventions @@ -158,7 +158,7 @@ Humans write these. Agents read and enforce them. | ID | Decision | Rationale | |---|---|---| -| AD-001 | Nervous system runs from cron, not action issues. | Planner, predictor, gardener, supervisor run directly via `*-run.sh`. They create work, they don't become work. (See PR #474 revert.) | +| AD-001 | Nervous system runs from cron, not PR-based actions. | Planner, predictor, gardener, supervisor run directly via `*-run.sh`. They create work, they don't become work. (See PR #474 revert.) | | AD-002 | Single-threaded pipeline per project. | One dev issue at a time. No new work while a PR awaits CI or review. Prevents merge conflicts and keeps context clear. | | AD-003 | The runtime creates and destroys, the formula preserves. | Runtime manages worktrees/sessions/temp. Formulas commit knowledge to git before signaling done. | | AD-004 | Event-driven > polling > fixed delays. | Never `waitForTimeout` or hardcoded sleep. Use phase files, webhooks, or poll loops with backoff. | diff --git a/dev/AGENTS.md b/dev/AGENTS.md index ccfe0c7..2b787f1 100644 --- a/dev/AGENTS.md +++ b/dev/AGENTS.md @@ -14,7 +14,7 @@ in-progress issues are also picked up. The direct-merge scan runs before the loc check so approved PRs get merged even while a dev-agent session is active. **Key files**: -- `dev/dev-poll.sh` — Cron scheduler: finds next ready issue, handles merge/rebase of approved PRs, tracks CI fix attempts. Formula guard skips issues labeled `formula`, `action`, `prediction/dismissed`, or `prediction/unreviewed` (replaced `prediction/backlog` — that label no longer exists) +- `dev/dev-poll.sh` — Cron scheduler: finds next ready issue, handles merge/rebase of approved PRs, tracks CI fix attempts. Formula guard skips issues labeled `formula`, `prediction/dismissed`, or `prediction/unreviewed` (replaced `prediction/backlog` — that label no longer exists) - `dev/dev-agent.sh` — Orchestrator: claims issue, creates worktree + tmux session with interactive `claude`, monitors phase file, injects CI results and review feedback, merges on approval - `dev/phase-handler.sh` — Phase callback functions: `post_refusal_comment()`, `_on_phase_change()`, `build_phase_protocol_prompt()`. `do_merge()` detects already-merged PRs on HTTP 405 (race with dev-poll's pre-lock scan) and returns success instead of escalating. Sources `lib/mirrors.sh` and calls `mirror_push()` after every successful merge. - `dev/phase-test.sh` — Integration test for the phase protocol