Repository navigation
Description
Problem Statement
The instruction surfaces that agents read (AGENTS.md, its two pointer stubs, CONTRIBUTING.md, docs/SDLC.md, docs/SELF_IMPROVEMENT.md, two knowledge-base files under it_domains/ that reach agents through retrieval, and the ai/instruction_generator.py template that mirrors AGENTS.md) state things that are not true at the release/v0.2.25 tip. Line numbers below are at HEAD on that branch.
Gate count. devops ci reports 13 rows (src/devops_cli/commands/ci.py:325 python_version; :376-468 test, lint, format, typecheck, audit, security, actionlint, docs, uv_check, lockfile, outdated; :477 coverage), but these places say 10:
AGENTS.md:60,:61,:199. The list at:60names ten and omitsuv_check,lockfileandoutdated.CONTRIBUTING.md:63.docs/SDLC.md:51,:342.docs/SELF_IMPROVEMENT.md:329.src/devops_cli/models/ci.py:21("empty for all 10 checks").src/devops_cli/ai/knowledge_base/it_domains/tools/ruff_mypy_pytest.md:30andit_domains/topics/continuous_integration_and_progressive_verification.md:5,42,70,86("10-point" at:5,42; "all 10" at:70,86).
AGENTS.md:75 itself forbids numbering gates. Under src/devops_cli/ai/knowledge_base/**, #920 owns every wording fix (owner answer (b) to #920's third key question, 2026-10-02), including the lines named here; this item keeps its rg acceptance criterion over it_domains/, so it removes the counts that criterion matches in the two it_domains/ files, lands before #920, and #920 owns whatever wording is left on those lines. #843 (v0.2.26) adds a devcontainer row to devops ci before this item starts, which is one more reason no surface may carry a number.
Issue templates. AGENTS.md:326 names security_advisory.yml and task.yml. .github/ISSUE_TEMPLATE/ holds only bug_report.yml, config.yml and feature_request.yml.
Copilot review. AGENTS.md:263, docs/SDLC.md:281 and src/devops_cli/ai/instruction_generator.py:379 say marking a PR ready triggers a Copilot review. Automatic Copilot review runs only for PRs into main; nearly all PRs target release/* and get none (owner decision D6, below). AGENTS.md:264-294, docs/SDLC.md:283-289 and instruction_generator.py:403 then tell agents to wait for that review to settle.
Review personas and calibration.
docs/SELF_IMPROVEMENT.md:39listsperformanceandsrepersonas.Persona(src/devops_cli/ai/personas/__init__.py:19-24) hasdevsecops,architect,pm,auditor,qa,challenger.src/devops_cli/ai/knowledge_base/it_domains/topics/agentic_ai_and_code_reviews.md:31claims "multi-persona agreement, adversarial debate (challenger), and deterministic AST/lockfile checks calibrate finding confidence scores". What exists: each selected persona reviews independently with its own system prompt (src/devops_cli/ai/review/pipeline.py:2205-2215); the stage named "adversarial debate" (src/devops_cli/ai/review/stages/adversarial_debate.py:34-67, called atpipeline.py:2871-2875) is a two-rule keyword filter that invalidates findings with verdict sourcedebate, calls no model, runs no persona and changes no confidence score;confidence_scoreis copied from the verification stage's result (pipeline.py:2692). Nothing compares personas' findings or feeds them tochallenger. The rewrite of that line is fix(ai): the knowledge base names only commands, options and components that exist #920's (same owner answer (b)); the fact it must state is recorded in step 2 below.
The regenerate instruction destroys AGENTS.md.
CLAUDE.md:7-8and.github/copilot-instructions.md:7-8say "Regenerate both viadevops ai agents".devops ai agents(src/devops_cli/commands/ai.py:849-920) has only--repo,--template,--fileand writes every target unconditionally (write_text_file(dest, content)at:919), from an LLM unless--templateis given.generate_instruction_content(src/devops_cli/ai/instruction_generator.py:412-427) returns the shortgenerate_agents_mdtemplate forAGENTS.md, so one run replaces the curated 98 KB file.- The committed stubs differ from
generate_pointer_stub(instruction_generator.py:132-159) by one phrase: the generator writes "active alpha software" (:142), the stubs say "alpha software" (CLAUDE.md:10,.github/copilot-instructions.md:10). src/devops_cli/commands/ai.py:311-321holds_pointer_stub, a second stub generator with no callers (rg _pointer_stub src testsmatches only its definition).scaffold_agent_instructions(instruction_generator.py:433-480) already takesforceand skips existing files when it is false, but onlydevops devcontainercalls it (commands/devcontainer.py:180,887,1133);devops ai agentsdoes not go through it.- The knowledge base already teaches a
--forceoption that does not exist:src/devops_cli/ai/knowledge_base/devops_cli/tasks/agent_instructions_scaffolding.md:36showsdevops ai agents --repo ... --force. This item makes that line true; fix(ai): the knowledge base names only commands, options and components that exist #920, which lands after it, keeps the example as this item defines the option.
More AGENTS.md claims that are false (fact-check of 2026-10-02, re-checked at HEAD; the comment's numbers are one line low).
:120: tells agents to add items todocs/ROADMAP.md"under the appropriate active milestone (v0.2.20), upcoming milestones (v0.2.21,v0.2.22,v0.2.23)". Those releases shipped, anddocs/ROADMAP.mdis never edited in an item PR (docs/agent/tasks/README.md:13;devops pr check-readinessblocks it).:143: "docs/github-pages.config.yamlinstead of root_config.yaml" misleads:devops gh pages verify(commands/gh.py:933) readsdocs/github-pages.config.yaml(github/pages.py:109-110,157), and Jekyll needsdocs/_config.yml; both exist.:169:devops gh project status"inspects board status and views". It prints the local template (commands/gh.py:433-450), as does FastMCPgh_project_status(ai/mcp/server.py:1557-1562); live board state comes fromdevops gh project audit(commands/gh.py:692).:171:devops gh project sync"moves the card toIn Progress".plan_item_changes(src/devops_cli/github/projects.py:951-967) sets Status only when unset, from astatus/*label, and_forced_status(:916-930) forcesIn Reviewwhen any open PR links the issue; a person moves a card toIn Progress.:190: sync makes "custom fields reflect taxonomy labels (type/*,priority/*)". It fills unset Status and Priority only; Value and Effort are never inferred (projects.py:961-962).:195: "10 IT domain topic guides and 20 integrated tool manuals". The tree has 11 and 29.:204:devops review export-feedbackexports "verified" feedback. Verified is the default--status; the full set needs--status ALL(commands/review.py:2267-2287).:217: Project Sync row says "Synchronize task items and provision fields". Sync reads no task files (docs/agent/tasks/README.md:14).:256: names "FastMCPpr_create". The MCP server'spr_*tools (ai/mcp/server.py:2099-2321) have nopr_create.:299: namesdevops pr comment.commands/pr.pyhas no such command.:323: "mirror the bug tracking entry in a task file ... anddocs/ROADMAP.mdunder active defects". Task files are written only in the delivering commit (tasks/README.md:11) anddocs/ROADMAP.mdis never edited in an item PR (:13).:348: Sprint Kanban "filtered strictly to the active release milestone". The template filter isno:milestone or milestone:"current"(.github/project-template.json, viewSprint Kanban).:360:In Reviewmeans "marked ready for review"._forced_statussetsIn Reviewfor any open linked PR, draft included (_extract_linked_issue_numbersfilters on state only).:362: at HEAD this line saysStatusandPriorityare "data-driven and automatically populated", notCategory/Value/Effortas the fact-check quotes. It is only imprecise: sync fills them when unset. NoCategoryfield exists in.github/project-template.json.:413:k8s/kustomization.yaml"aggregatesargocd/,llm/,monitoring/,otel/". It listsnamespaces.yaml,cloudflared,registry,monitoring/service-aliases.yaml,monitoring/dashboards(k8s/kustomization.yaml:4-11).:16: "everyassert expr... adding +1 to McCabe cyclomatic complexity". Owner decision D1 removes it. RuffC901/mccabe is not configured inpyproject.tomlat HEAD, so no surface may claim C901 enforcement; the ceiling itself is feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586.
Proposed Solution
- Gate count. Replace every count above with "every check
devops ciruns" (or theGatedwordingAGENTS.md:75requires).AGENTS.md:60lists no gate names;models/ci.py:21reads "empty for every check"; in the twoit_domains/files only the count words ("10-point", "all 10") go, which is what the first acceptance criterion matches; every other wording fix in those files is fix(ai): the knowledge base names only commands, options and components that exist #920's. The wording stays true after refactor(ci): github ci runs the gate throughdevops cifrom one check table #843 adds itsdevcontainerrow. - Templates and personas.
AGENTS.md:326namesbug_report.ymlandfeature_request.yml.docs/SELF_IMPROVEMENT.md:39names the sixPersonavalues. Foragentic_ai_and_code_reviews.md:31, which fix(ai): the knowledge base names only commands, options and components that exist #920 rewrites after this item lands, the fact to state is: each selected persona reviews independently; a rule-based false-positive filter (stages/adversarial_debate.py) invalidates known phantom findings; the verification stage sets each finding's confidence; no persona agreement or debate is computed. fix(ai): the knowledge base names only commands, options and components that exist #920'schallengerdescription ("contests other personas' findings", itsarchitecture.md:95replacement) must say the same. - Copilot (D6).
AGENTS.md:262-294,docs/SDLC.md:278-291andinstruction_generator.py:379,403say: automatic Copilot review runs on PRs intomainonly, because reviewing every PR used the monthly token budget halfway through the month, so each release PR intomainis the reviewed gate. Marking arelease/*PR ready triggers CI and CodeQL, not Copilot; agents never wait for a Copilot review on arelease/*PR. The "Copilot settled" wording in the monitoring and merge-readiness rules is scoped to PRs that get one.devops pr monitorbehavior does not change here (fix(github): pr monitor reports copilot as idle or completed when its timeline or reviews read fails #806). - Fact-check corrections. Apply, using CONTEXT.md vocabulary:
:120: "file it as a candidate issue (devops gh issues create); intake places it in the current release, a planned release or the backlog.docs/ROADMAP.mdis written at the cut and is never edited in an item PR.":143: "(e.g.docs/github-pages.config.yaml, read bydevops gh pages verify; Jekyll itself requiresdocs/_config.yml, which keeps that name)".:169: "Inspect the board's live items withdevops gh project audit(devops gh project statusand FastMCPgh_project_statusprint the local template)".:171: "...and move its project card toIn Progresson the board yourself.devops gh project syncsets Status only on a card that has none, from itsstatus/*label, and forcesIn Reviewonce any open PR, draft included, links the issue.":190: "...to add new issues to the board and fill unset Status and Priority fromstatus/*andpriority/*labels.ValueandEffortare set by hand.":195: drop the counts.:204: "devops review export-feedback --status ALL→feedback_dataset.jsonl".:217: "Provision the board from its template, add open issues, and reconcile Status, Priority and Milestone.":256: "(devops pr create --draft; there is no MCP tool for creating a pull request)".:299: drop "(devops pr comment)".:323: "The issue is the record. The task file is written in the delivering pull request;docs/ROADMAP.mdis written at the cut.":348: "filtered to the current release milestone and items with no milestone".:360: "In Review: an open pull request, draft or ready, links the issue. This state lives only on the card.":362: "...so that sync fills an unsetStatusandPriorityfrom them.ValueandEffortare set by hand on the board; sync never infers them.":413: "(k8s/kustomization.yaml, which aggregatesnamespaces.yaml,cloudflared/,registry/and parts ofmonitoring/across several namespaces)".:16(D1): delete the McCabe sentence; the rest of:14-17stays for feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586.
devops ai agentsguard. Add--force. WhenAGENTS.mdis among the targets, exists in the target repo, and--forceis absent, the command prints why it refuses, still writes the pointer stubs, leavesAGENTS.mdbyte-identical and exits non-zero. The check runs before anyLLMClientis built, so a refused run spends nothing. A run whose--filelist excludesAGENTS.mdis unaffected. With--force, today's behavior. Routing the stub targets throughscaffold_agent_instructions(which already hasforce) is the natural seam, with the LLM path kept forAGENTS.mdonly. This is step (0) of the roadmap regime-block item (docs/ROADMAP.md:930-931); its marker-block steps (1)-(3) stay for later. The option name is--force, matchingtasks/agent_instructions_scaffolding.md:36, so that knowledge-base line needs no edit.- Stubs. Delete
_pointer_stub(commands/ai.py:311-321). Change the last sentence ofgenerate_pointer_stub(instruction_generator.py:157-158) to "devops ai agentsregenerates this stub and leaves an existing AGENTS.md alone unless--forceis given; do not duplicate content here." RegenerateCLAUDE.mdand.github/copilot-instructions.mdfrom it (this also brings in "active alpha software"), and add a test that keeps both committed stubs equal to the generator's output for this repository. - Mirror. Each AGENTS.md wording change above is mirrored in
ai/instruction_generator.pywhere a counterpart exists (Copilot at:379,403; project sync at:406; no counterpart exists for the gate count, templates or personas).
Scope
One pull request: documentation edits across the surfaces named above, the --force guard on devops ai agents, the _pointer_stub deletion, both regenerated stubs, generator mirror edits, four offline tests, changelog.d/840.md, and docs/agent/tasks/task-840-instruction-surfaces-true.md. tests/test_ai_cmd.py:49-55, which runs agents --template twice into the same directory and expects exit 0 both times, is updated to pass --force on the second run; tests/test_ai_cmd.py:184, :263 and tests/test_instruction_generator.py:243 run into directories with no AGENTS.md or with AGENTS.md absent from --file, and need no change.
Under src/devops_cli/ai/knowledge_base/, this item touches only the count words in it_domains/tools/ruff_mypy_pytest.md:30 and it_domains/topics/continuous_integration_and_progressive_verification.md:5,42,70,86; every other knowledge-base wording fix, including agentic_ai_and_code_reviews.md:31, is #920's.
Sequencing in v0.2.27: this item lands after #874 (same file, src/devops_cli/commands/ai.py, different functions) and before #985, #920 and #841. #843 ships in v0.2.26, so the branch starts from its instruction_generator.py and its 14-row devops ci.
Key Questions
- Should the release ruleset get Copilot review so the original claim becomes true? Answered (D6, owner, 2026-10-01): no. Automatic Copilot review stays on PRs into
mainonly; AGENTS.md gives the token-budget reason and says agents never wait for a Copilot review on arelease/*PR. - Does the McCabe sentence at
AGENTS.md:16belong here or to feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586? Answered (D1, owner, 2026-10-01, later than the constraint): delete that one sentence here; the rest of:14-17stays with feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586. RuffC901is not configured at HEAD, so this item claims no C901 enforcement. - Does this item land before docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841? Answered (D7): yes, AGENTS.md must be true before docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841 trims it.
- Do the fact-check corrections ship in this PR or in a second item? Answered: this PR. They are wording edits to the same file, the item's title covers them, and splitting would put two PRs on
AGENTS.mdin the same release. - Who owns the knowledge-base lines this item names? Answered (owner, 2026-10-02, answer (b) to fix(ai): the knowledge base names only commands, options and components that exist #920's third key question): fix(ai): the knowledge base names only commands, options and components that exist #920 owns every wording fix under
src/devops_cli/ai/knowledge_base/**, including the four lines named here (it_domains/tools/ruff_mypy_pytest.md:30,it_domains/topics/continuous_integration_and_progressive_verification.md:70,86,it_domains/topics/agentic_ai_and_code_reviews.md:31). This item keeps itsrgacceptance criterion, so it removes the count words that criterion matches in the twoit_domains/files and nothing else there; it lands before fix(ai): the knowledge base names only commands, options and components that exist #920, which owns whatever wording is left on those lines and the:31rewrite (step 2 records the fact).tasks/agent_instructions_scaffolding.md:36already shows--forceand becomes true when this item merges; fix(ai): the knowledge base names only commands, options and components that exist #920 keeps that example as this item defines the option. - What replaces "Regenerate both via
devops ai agents; do not duplicate content here." in the stubs? Answered (recorded during refinement; the owner applied the refined body, global Q4): "devops ai agentsregenerates this stub and leaves an existing AGENTS.md alone unless--forceis given; do not duplicate content here." It states exactly what the guarded command does, so the stub-equality test guards a true sentence. Dropping the sentence entirely would leave agents with no instruction on how the stubs are maintained. - Which item lands first on
src/devops_cli/commands/ai.py, this one or fix(ai): streameddevops ai chatturns send the user's message #874? Answered (cross-check, owner 2026-10-02): fix(ai): streameddevops ai chatturns send the user's message #874 first (low effort, nearly ready; it edits_stream_interactive_chat_turnat:926-953and the chat loop at:1060-1115), this item next (agentsat:849-920), feat(ai): pinned invariants survive memory summarization, lead every system prompt and recur on a cadence #985 after both. Different functions, so the rebase is mechanical.
Acceptance Criteria
-
rg -n '10 gates|10 quality gates|10/10|all 10 (checks|quality|local)|10-point' AGENTS.md CONTRIBUTING.md docs src/devops_cli/ai/knowledge_base/it_domains src/devops_cli/models src/devops_cli/ai/instruction_generator.py -g '!docs/agent/**' -g '!docs/ROADMAP.md'prints nothing. -
tests/test_agents_md_claims.py(new, offline) asserts that every.github/ISSUE_TEMPLATE/*.ymlname mentioned inAGENTS.mdexists on disk, and that every persona named indocs/SELF_IMPROVEMENT.mdis aPersonavalue. - The same test asserts
CLAUDE.mdand.github/copilot-instructions.mdare byte-equal togenerate_instruction_content(target, parse_project_metadata(repo_root)). -
rg -n 'triggers automated GitHub Copilot|Regenerate both via' AGENTS.md docs/SDLC.md CLAUDE.md .github/copilot-instructions.md src/devops_cli/ai/instruction_generator.pyprints nothing, andrg -n 'release/\*' AGENTS.md docs/SDLC.md src/devops_cli/ai/instruction_generator.pyshows the main-only Copilot statement with the token-budget reason in all three. - A test in
tests/test_instruction_generator.pywrites apyproject.tomland anAGENTS.mdintotmp_path, runsagents --repo tmp_path --template, and asserts exit code non-zero,AGENTS.mdbytes unchanged, both stubs present; a second run with--forceoverwritesAGENTS.md; a third run with--file CLAUDE.mdand no--forceexits 0. A case withLLMClientpatched asserts the client is never constructed on a refused run. -
rg -n '_pointer_stub' src testsmatches onlygenerate_pointer_stub. -
rg -n 'performance|sre' docs/SELF_IMPROVEMENT.mdmatches no persona list, andrg -n 'security_advisory|task\.yml' AGENTS.mdprints nothing. -
rg -n 'pr_create|devops pr comment|v0\.2\.2[0-3]\b' AGENTS.mdprints nothing except the branch-name examples at:64and:224(or those examples are made version-free). -
git diff --stat -- src/devops_cli/ai/knowledge_baseon the PR lists onlyit_domains/tools/ruff_mypy_pytest.mdandit_domains/topics/continuous_integration_and_progressive_verification.md;agentic_ai_and_code_reviews.md:31andtasks/agent_instructions_scaffolding.md:36are unchanged (fix(ai): the knowledge base names only commands, options and components that exist #920 owns them). -
uv run devops ai agents --helplists--force. - New tests hit no network, DNS or scanner and assert no wall-clock ceiling (fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858).
-
uv run devops cipasses;changelog.d/840.mdand the task file exist;CHANGELOG.mdanddocs/ROADMAP.mdare untouched (devops pr check-readiness).
Out of Scope
- Marker-block rendering,
devops ai agents --checkand theREGIMEblock (roadmap regime-block item,docs/ROADMAP.md:930-931, steps (1)-(3)). - Trimming AGENTS.md or making Claude Code load it (docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841).
AGENTS.md:14-17other than the D1 sentence, and any C901 ceiling (feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586).- Knowledge-base wording fixes other than the count words the first acceptance criterion matches in the two
it_domains/files: fix(ai): the knowledge base names only commands, options and components that exist #920 owns every wording fix undersrc/devops_cli/ai/knowledge_base/**, including theagentic_ai_and_code_reviews.md:31rewrite (step 2 records the fact it must state) and the--forceexample attasks/agent_instructions_scaffolding.md:36, and lands after this item. - Pinned invariants that quote the AGENTS.md hard rules this item makes true (feat(ai): pinned invariants survive memory summarization, lead every system prompt and recur on a cadence #985).
- Rulesets, required checks and the Copilot ruleset itself (feat(ci):
devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984, chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842; D6 keeps main-only). pr monitorCopilot-state reading (fix(github): pr monitor reports copilot as idle or completed when its timeline or reviews read fails #806).- The PR template (feat(github): pr readiness requires an issue-linked, completed task file #704, delivered in e739c40).
- The CI check table and the
nosecmarkers ininstruction_generator.py(refactor(ci): github ci runs the gate throughdevops cifrom one check table #843). - Phantom references outside the surfaces named here (none found in AGENTS.md beyond the list above; other docs are candidates for intake, not this item).
Dependencies
- refactor(ci): github ci runs the gate through
devops cifrom one check table #843 (v0.2.26): ships before this item starts; it adds anosecafter the closing"""atsrc/devops_cli/ai/instruction_generator.py:409and adevcontainerrow todevops ci, and names docs(agents): instruction surfaces state only what is true, anddevops ai agentsnever overwrites AGENTS.md #840 as owner of the AGENTS.md gate list andmodels/ci.py:21; this item rebases onto it and edits:379,:403and:406of the same f-string. Nothing to wait for once v0.2.26 is cut. - fix(ai): streamed
devops ai chatturns send the user's message #874 (v0.2.27): lands before this item; it edits other functions insrc/devops_cli/commands/ai.py(:926-953,:1060-1115), this item editsagents(:849-920); this item rebases. - feat(ai): pinned invariants survive memory summarization, lead every system prompt and recur on a cadence #985 (v0.2.27): lands after this item and after fix(ai): streamed
devops ai chatturns send the user's message #874; itsDEFAULT_CHAT_INVARIANTSquote AGENTS.md hard rules, andAGENTS.md:60is a gate-count line this item rewrites. - fix(ai): the knowledge base names only commands, options and components that exist #920 (v0.2.27; v0.2.28 is decided at the v0.2.25 cut): lands after this item and owns every wording fix under
src/devops_cli/ai/knowledge_base/**, including the four lines named here (owner answer (b)); this item removes only the count words itsrgcriterion matches in the twoit_domains/files. fix(ai): the knowledge base names only commands, options and components that exist #920 rewritesagentic_ai_and_code_reviews.md:31to the fact in step 2, aligns itschallengerdescription (architecture.md:95) to it, and keeps the--forceexample attasks/agent_instructions_scaffolding.md:36as this item defines the option. - docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841: lands after this item (D7); AGENTS.md must be true before docs(agents): AGENTS.md fits a context budget and Claude Code loads it #841 trims it.
- fix(github): pr monitor reports copilot as idle or completed when its timeline or reviews read fails #806 (v0.2.27): overlaps, no fixed order; it cites the wait-for-Copilot rules at
AGENTS.md:278,283-285(inside the:266-294block this item rescopes to PRs intomain) and changespr monitor, not AGENTS.md. - chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842 (v0.2.27): overlaps; its
docs/adr/0004-ci-is-the-authoritative-gate.mdrecords the verification policy, and D6 (Copilot onmainonly, token budget) belongs there so AGENTS.md and the ADR agree. feat(ci):devops pr update --dispatch-cistarts ci.yml on each branch it updates, and only update-prs.yml may holdactions: write#984 (before chore(github): required CI checks bind merges into release and main, and ADR 0004 records the verification policy #842) touches workflows only. - fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858 (v0.2.27): overlaps; this item's new tests assert no wall-clock ceiling, which fix(cli): cli start-up imports no telemetry when the bridge is off, and timing tests stop asserting host speed #858 removes elsewhere.
Readiness check (2026-10-04)
Checked at the release/v0.2.26 tip, b61e5a0.
- Dependencies: refactor(ci): github ci runs the gate through
devops cifrom one check table #843 is merged (v0.2.26). fix(ai): streameddevops ai chatturns send the user's message #874 is earlier in v0.2.27 and still lands first. - Key questions: every one is answered.
Corrections
- Already true at HEAD. Drop these steps; the pull request re-checks them.
AGENTS.md:120: feat(github): single-entry item intake with duplicate detection and placement (devops roadmap intake) #742 rewrote it. It now files throughdevops roadmap intakeand never editsdocs/ROADMAP.md.AGENTS.md:323, now:321-322: feat(github): single-entry item intake with duplicate detection and placement (devops roadmap intake) #742 removed the ROADMAP half. The remaining sentence, "Create the task file ... when work on the bug starts" (:322), still gets the step-4 wording: "The task file is written in the delivering pull request."AGENTS.md:204, now:205: it already readsdevops review export-feedback --status ALL. The premise was also wrong: the default--statusisINVALIDATED, not verified (commands/review.py:2314-2338).docs/SELF_IMPROVEMENT.mdwas rewritten in v0.2.25.- The
:39persona list is gone.:187now says there is noperformanceorsrepersona, and:56nameschallenger. - The
:329gate count is gone.
- The
it_domains/topics/agentic_ai_and_code_reviews.md:31already states the step-2 fact. The line is still fix(ai): the knowledge base names only commands, options and components that exist #920's.
- Moved lines:
AGENTS.md:- Moved by +1:
:169→:170,:171→:172,:190→:191,:195→:196,:199→:200,:217→:218,:224→:225,:256→:257,:263→:264,:299→:300. - Ranges:
:262-294→:263-295and:264-294→:265-295. - Moved by -1:
:326→:325,:348→:347,:360→:359,:362→:361,:413→:412. - Unchanged:
:16,:60,:61,:64,:75,:143.
- Moved by +1:
docs/SDLC.md::281→:284,:283-289→:286-292,:278-291→:281-294,:342→:345.src/devops_cli/ai/instruction_generator.py::142→:143,:379→:380,:403→:404,:406→:407.- The refactor(ci): github ci runs the gate through
devops cifrom one check table #843nosecis at:410. generate_instruction_contentis at:413-428, andscaffold_agent_instructionsstarts at:434.
src/devops_cli/commands/ai.py:agentsis at:853-929, with the write at:928._pointer_stub(:311-321) holds._stream_interactive_chat_turnis at:935.
commands/devcontainer.py: the scaffold calls are at:182,889,1139.devops cirows (refactor(ci): github ci runs the gate throughdevops cifrom one check table #843 delivered; 14 rows):python_versionatcommands/ci.py:598-616.- The check table
get_check_specsat:383-482, in order:test,lint,format,typecheck,audit,security,actionlint,docs,uv-check,lockfile,outdated,devcontainer. coverageat:680.
- Review pipeline:
- Persona prompts are at
ai/review/pipeline.py:2595-2628. - The debate stage is called at
:3277-3281; the stage itself isstages/adversarial_debate.py:15-66. - Confidence is set in
ai/review/verification.py:2389,2425.
- Persona prompts are at
- GitHub:
- In
commands/gh.py: projectstatusis at:418-435, projectauditat:676, and pagesverifyat:916. - FastMCP
gh_project_statusis atai/mcp/server.py:1665. Thepr_*tools are at:2193-2415, and there is still nopr_create. - In
github/projects.py:_forced_statusis at:923-937,plan_item_changesat:958-992, and the docstring line saying Value and Effort are never inferred is at:969.
- In
- feat(cli): enforce the complexity cap with ruff C901 and an inline baseline that only shrinks #586 merged (v0.2.25):
pyproject.toml:94-110selectsC901withmax-complexity = 10, andAGENTS.md:14states it. The constraint that no surface may claim C901 enforcement no longer applies. D1 stands: delete only the McCabe/assert sentence at:16. - Project sync at HEAD:
- An unset Status with no
status/*label becomesNew(_DEFAULT_STATUS,projects.py:913). - A closed issue becomes
Done, and a draft PR's own card becomesIn Progress. - The
:172replacement therefore reads: "...sets Status only on a card that has none, from itsstatus/*label or elseNew, setsDonewhen the issue closes, and forcesIn Reviewonce any open PR, draft included, links the issue." devops gh project reconcile(commands/gh.py:516) is new this cycle and may be named beside sync.
- An unset Status with no
- Roadmap anchor gone:
docs/ROADMAP.md:930-931no longer exists, because the roadmap was re-rendered at the v0.2.25 cut. Marker-block steps (1)-(3) stay out of scope, now with no roadmap anchor.
Amended acceptance criteria
- The allowed exceptions to the
pr_create|devops pr comment|v0\.2\.2[0-3]criterion are the branch-name examples atAGENTS.md:64and:225. - The persona check in
tests/test_agents_md_claims.pyasserts that every personadocs/SELF_IMPROVEMENT.mdlists as running is aPersonavalue. It accepts the negation at:187and does not fail on the bare wordsperformanceorsre.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Oct 1, 2026
Owner decision (2026-10-01): automatic Copilot review stays on main only. Release/* PRs get no automatic review. AGENTS.md:261-262 has to say exactly that, and stop telling agents that marking a PR ready triggers a review.
dan-petty commentedon Oct 1, 2026
Why main-only: Copilot reviews are wanted, but reviewing every PR ran out the monthly token budget halfway through the month. Reviewing only PRs into main makes each release PR a consistent, reviewed gate. AGENTS.md should give that reason, and say that agents must not wait for a Copilot review on release/* PRs.
dan-petty commentedon Oct 2, 2026
Fact-check (2026-10-02), more AGENTS.md claims that are false at the release/v0.2.25 tip. A second agent re-checked each one and confirmed it false. They are within this item's scope, "instruction surfaces state only what is true", and are not covered by its current list:
AGENTS.md:120(medium): under the appropriate active milestone (v0.2.20), upcoming milestones (v0.2.21,v0.2.22,v0.2.23), or strategic vision series (v0.3.0+) → under the active release, a scheduled release or the strategic vision series (v0.3.0+)AGENTS.md:143(medium): Tool-specific configurations … MUST be housed within their respective functional directories and purpose-named (e.g.docs/github-pages.config.yamlinstead of root_config.yaml). → (e.g.docs/github-pages.config.yamlfordevops gh pages verify; Jekyll itself requiresdocs/_config.yml, which must keep that name)AGENTS.md:169(medium): Query Active Project Status: Inspect board status and views viadevops gh project status(or FastMCPgh_project_status) → Inspect the board's live items throughdevops gh project audit(devops gh project statusonly prints the local template)AGENTS.md:171(high): If a matching open issue exists: link the task to it, verify its milestone and taxonomy labels, and immediately move its project card toIn Progress(devops gh project sync). → …and move its project card toIn Progresson the board.devops gh project syncsets Status only on a card that has none, from itsstatus/*label.AGENTS.md:189(low): rundevops gh project sync… to ensure data-driven custom fields reflect declarative taxonomy labels (type/*,priority/*). → …to add new issues to the board and fill unset Status and Priority fromstatus/*andpriority/*labels, and Milestone from the issue.AGENTS.md:194(low): 10 IT domain topic guides (it_domains/topics/) and 20 integrated tool manuals (it_domains/tools/). → IT domain topic guides (it_domains/topics/) and integrated tool manuals (it_domains/tools/). Dropping the counts avoids repeat drift; the current figures are 11 and 29.AGENTS.md:203(low): export verified review feedback (devops review export-feedbackfeedback_dataset.jsonl) → export review feedback (devops review export-feedback --status ALLfeedback_dataset.jsonl)AGENTS.md:216(low): | Project Sync |devops gh project sync| Synchronize task items and provision fields on GitHub Projects v2. | → | Project Sync |devops gh project sync| Provision the board from its template, add open issues, and reconcile Status, Priority and Milestone. |AGENTS.md:255(high): MUST ALWAYS CREATE THE PULL REQUEST AS A DRAFT (devops pr create --draftor FastMCPpr_create). → (devops pr create --draft; there is no MCP tool for creating a pull request)AGENTS.md:298(low): Posting solely a general, top-level PR summary comment (devops pr comment) is STRICTLY PROHIBITED → Posting solely a general, top-level PR summary comment is STRICTLY PROHIBITEDAGENTS.md:322(low): Immediately mirror the bug tracking entry in a dedicated task file under [docs/agent/tasks/] and [docs/ROADMAP.md] under active defects. → ...to reconcileStatus,Priority(only when unset) andMilestone; a ready PR's card, and the card of any issue an open PR (draft included) links, move toIn Review.Category,ValueandEffortare set by hand.AGENTS.md:347(low): Sprint Kanban (BOARD, Group By:Status): Active sprint execution tracking cards … filtered strictly to the active release milestone. → Line 90: "...and set its card toIn Progresson the board yourself (devops gh project syncsets Status only when unset, from astatus/*label, and forcesIn Reviewonce any open PR, draft included, links the issue)." Line 88: "Inspect the project template viadevops gh project status(offline) and board view drift viadevops gh project audit."AGENTS.md:359(medium):In Review: Pull Request opened and marked ready for review (or converted from draft viadevops pr ready) … This state lives only on the card, derived from the open pull request that closes the issue. →In Review: an open pull request, draft or ready, links the issue. This state lives only on the card…AGENTS.md:361(medium): possess taxonomy labels (type/*,scope/*) so that its custom fields (Category,Value,Effort) are data-driven and automatically populated. → …possess taxonomy labels (type/*,scope/*).Category,ValueandEffortare set by hand on the board, because sync never infers them.AGENTS.md:412(low): root or umbrella kustomization files (k8s/kustomization.yaml) that aggregate multiple child namespace component directories (argocd/,llm/,monitoring/,otel/). → (k8s/kustomization.yaml, which aggregatesnamespaces.yaml,cloudflared/,registry/and parts ofmonitoring/across several namespaces).docs(agents): instruction surfaces state only what agents are held to (…
feat(release): v0.2.27 (#1257)