Skip to content

feat(platform): guard repairs from settled agent reviews - #4100

Merged
yannickmonney merged 1 commit into
mainfrom
feat/guarded-review-repair-main
Oct 2, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
feat/guarded-review-repair-main

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Managers can start a repair from a settled native request-changes decision using tagged resumeFrom: { kind: "review_repair", approvalId, runId }. The server binds admission to the captured implementer and saved feedback, rechecks current task state and delegation authority, and records one durable admission for reconciliation. task_get.reviewDecision exposes the latest validated native decision. A verdict itself launches no repair.

The existing two-key pending-question resume remains unchanged. EN/DE/FR automation and API documentation cover guarded repair, stale refusals and historical receipts; generated OpenAPI and the manual automation register are updated. Independent review accepted the final 27-file change and its composition with #4012.

Validation on head 7cddd6d7734082c8127797639d8220ef4fba97a4 and its identical-tree test merge:

  • All seven applicable hosted workflows succeeded: Checks, E2E, SAST, CLI, Build, Commitlint and the exact-head Security run.
  • Backend integration actually ran all 217 lanes: 1,470/1,470, including 34 guarded-repair cases, without filtered or skipped lanes.
  • Unit ran 25/25 tasks without cache; platform 81,392 passed with two configured skips. UI ran 5,178 tests across 567 files without cache. Hosted Knip passed.
  • All 18 Playwright jobs and their diagnostics steps passed; no retry/failure report artifact was produced. CLI builds, container smoke, image validation and platform image scan passed.
  • Local focused tests, selected real-Postgres lanes, canonical OpenAPI, manual/conflict/format guards and rendered EN/DE/FR repair instructions also passed.

Limits retained: earlier local full-check PID-marker failures and baseline Knip diagnostics remain in the evidence, while their corresponding fresh hosted gates passed. SAST reported no findings with its parser, exclusion and timeout limits recorded. Security high/critical gates passed; two pre-existing moderate dependencies are tracked in #4102 and #4103. GitHub's separate Trivy comparison is neutral because nine historical main configurations are absent; this is not a zero-findings claim for every historical image.

Deployment and the native review grant are separate steps. This PR neither enables the grant nor changes recurring schedules.

Closes #4092.

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.

feat(tasks): guard repair admission and recover review receipts

1 participant