Skip to content

docs(agents): hand worker validation to CI - #5103

Merged
thymikee merged 6 commits into
mainfrom
docs/agent-worker-validation-budget
Nov 25, 2026
Merged

thymikee merged 6 commits into
mainfrom
docs/agent-worker-validation-budget

Conversation

@thymikee

@thymikee thymikee commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Delegated workers spent most of their time on local setup and validation that CI repeats. Across seven worker threads (45–90 min each), about 79 minutes went to local gates, project-wide unit runs and coverage, and about 132 more to diagnosing and rerunning them. AGENTS.md and testing.md told every agent to run check:affected before a push and to build each new worktree, which overrode briefs that gave validation to CI.

This adds a worker handoff to AGENTS.md: for a delegated task CI owns validation, a worker runs at most the test file it writes, pushes, reports the head SHA with checks pending, and does not wait for CI. Routing starts at the owner the task names. The pre-push gate in testing.md is labelled as a maintainer step. The maintainer validation docs are otherwise unchanged.

Before / after

No observable change: agent docs only.

Validation

Docs only; no runtime tests apply. The agent-guidance budget test passes locally. CI pending.

🤖 Generated with Claude Code

thymikee and others added 3 commits November 25, 2026 11:59

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed against the latest diff

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread docs/agents/testing.md Resolved
Comment thread docs/agents/device-verification.md Resolved
Comment thread docs/agents/code-ownership.md Resolved
Comment thread docs/agents/test-authoring.md Resolved
Comment thread docs/agents/test-authoring.md Resolved
Comment thread docs/agents/pull-requests.md Resolved
Comment thread docs/agents/testing.md Resolved
Comment thread docs/agents/testing.md Resolved
Comment thread docs/agents/testing.md Resolved
Comment thread AGENTS.md Resolved
thymikee and others added 2 commits November 25, 2026 12:08
…to the worker handoff

Restores docs/agents from main and keeps only the worker handoff, the
owner-first routing, and the maintainer label on the pre-push gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

This comment has been minimized.

@thymikee

Copy link
Copy Markdown
Member Author

The PR is ready at 7be6556.

Not blocking: these can be taken or left: scope the local commands in docs/agents/testing.md:5 to non-delegated tasks, since the other local-run steps there and in the pull request and device verification docs still read as applying to everyone; keep "Wait for a live owner to finish" and "Do not remove the lock manually" in that file, as the removal at AGENTS.md:56 drops the second rule from the docs checked; restore the "Before you push" condition at docs/agents/testing.md:6 as one instruction (commit first, if the task is not delegated); put a condition on "Push the change" and reword "To write a test" as "If you write a test" from AGENTS.md:11, so tasks that must not publish do not push; and restore "Apple runner or device-facing changes" in the routing row at AGENTS.md:37 (or move the definition into the pull request doc), so the device-facing definition still has an instruction attached.

CI is green, including the "Ownership and context budgets" check that covers both changed files.

Nothing blocks the merge.

@thymikee thymikee added the ready-for-human Valid work that needs human implementation, judgment, or maintainer merge label Nov 25, 2026
…the lock rules

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apex-sentinel-staging

Copy link
Copy Markdown

Apex Sentinel · ✅ Approve · review of 92a4f1a

Since the review of 7be6556: 0 new · 0 still open · 0 no longer raised

No open findings.

Not in the reviewers' prompt (2 files)
  • AGENTS.md: no reviewer was selected for this change
  • docs/agents/testing.md: no reviewer was selected for this change

Reviewed with this repository's own Sentinel configuration (1c96b454527d).

💬 Talking to Sentinel

In a finding's thread, reply with:

Command What it does
@apex-sentinel-staging note <context> Adds context; Sentinel re-checks the cited code
@apex-sentinel-staging pivot <why> Says the finding is wrong; Sentinel re-checks the cited code
@apex-sentinel-staging like Marks the finding as useful
@apex-sentinel-staging dislike <why> Marks it as not useful, so it is not raised again

On this conversation, comment @apex-sentinel-staging review to run a full review once again.

@thymikee
thymikee merged commit a693083 into main Nov 25, 2026
9 checks passed
@thymikee
thymikee deleted the docs/agent-worker-validation-budget branch November 25, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Valid work that needs human implementation, judgment, or maintainer merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant