Repository navigation
Description
Split from #3243.
The issue asks to compare research with extended on plans whose cost or alternative part was flagged. The comparison needs #3239, real plan runs, the approved egress and a cost-rise threshold that a person sets. This part cannot run in the code pull request, so it is deferred. Acceptance criteria: 1. The comparison report of #3239 has a research row for the same cases. 2. The report gives the share of plans with a real alternative and a cost for research and extended. 3. The report gives the run cost for both toolsets. 4. A person sets the maximum allowed cost rise. 5. A comment on the new issue states the result and the keep-or-remove decision.
Scope from #3290
This issue is the one post-merge issue of the research toolset. #3243 stays the code-only item, and its merge does not end this work. The steps go in this order:
- Compare
researchwithextendedon the flagged plans, as the criteria above say. Use the same cases. A person sets the cost limit first, and the spend goes through test(roadmap): score the stage pipeline with a cloud model first #3207. - State the result and the keep-or-remove decision in a comment.
- On keep, open one pull request that sets
toolset: researchin the stage settings (k8s/devops/configmap.example.yaml:67showstoolset: extended). The merge of that pull request by a person approves the search. No separate approval comment is necessary. - Apply the setting.
devops k8s deploy-stack --stack devopsapplies it (k8s/README.md:616). - Show one real stage run with
researchthat reaches Firecrawl. A comment states the merge and the run result.
Correct the egress text. The stage row is not a Job: it runs in the Service, in the job clone (src/devops_cli/roadmap/run.py:555-572). The search goes from the Service to the Firecrawl service that refine already calls (src/devops_cli/roadmap/refine_investigation.py:106). The key is in the Secret of deployment/roadmap-service (k8s/README.md:535). What is new is a query term that the plan model chooses, not a new destination. SECURITY.md holds no approval rule, so only the Security part of #3243 asks for one.
Dependencies
- chore(roadmap): hold incremental stage and implement work #6521 (hold: incremental work on the stage, implement and fix-checks jobs waits for the re-architecture)
Proposed design
Problem statement
The planner documentation does not state the egress path of the stage plan. A person corrected the issue text: the stage row runs in the Service, in the job clone of its lane, and not in a Job pod. Its search goes from the Service to the Firecrawl service that the refine investigation already calls, and the key is in the Secret of deployment/roadmap-service. The change writes that path into docs/roadmap/stage.md. The measured comparison of research with extended, the keep-or-remove decision, the toolset setting and the live stage run are deferred to two new issues.
Acceptance criteria
Requirement: Planner doc names the Service and the job clone
docs/roadmap/stage.md SHALL state that the stage row runs in the Service, in the job clone of its lane, and not in a Job pod.
Scenario: Stage row runs in the Service
- WHEN The test
tests/docs/test_roadmap_stage_egress.pyreads the planner tools section of docs/roadmap/stage.md - THEN The section states that the stage row runs in the Service, in the job clone of its lane, and not in a Job pod.
Requirement: Planner doc names the Firecrawl destination
docs/roadmap/stage.md SHALL state that the search of the stage plan goes from the Service to the Firecrawl service that the refine investigation already calls, with the key from the Secret of deployment/roadmap-service.
Scenario: Search goes to Firecrawl
- WHEN The test
tests/docs/test_roadmap_stage_egress.pyreads the planner tools section of docs/roadmap/stage.md - THEN The section names the Firecrawl service and the Secret of
deployment/roadmap-serviceas the holder of the key.
Requirement: Planner doc states that the search adds no destination
docs/roadmap/stage.md SHALL state that a query term that the plan model chooses adds no destination to the egress of the Service, so the search needs no separate approval.
Scenario: No separate approval in the planner doc
- WHEN The test
tests/docs/test_roadmap_stage_egress.pyreads the planner tools section of docs/roadmap/stage.md - THEN The section states that the search adds no destination and needs no separate approval.
Requirement: The documentation check passes
The change MUST pass the docs row of the static analysis.
Scenario: Docs row passes
- WHEN
uv run devops ci --check --only docsruns on the change - THEN The
docsrow passes and the command exits 0.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers a documentation correction: the change writes prose in docs/roadmap/stage.md and builds no code. The written cost of the edit is about 300 tokens and under one hour of review. The deferred comparison and the deferred toolset setting get their own alternatives check in their new issues.
Key questions
- Where does the stage row run, and where does its search go?: The stage row runs in the Service, in the job clone of its lane, and not in a Job pod. Its search goes from the Service to the Firecrawl service that the refine investigation already calls. The key is in the Secret of
deployment/roadmap-service. [sources: src/devops_cli/roadmap/run.py, k8s/README.md] - Does SECURITY.md require a separate approval for a query term that the plan model chooses?: No. Rule 2 of SECURITY.md checks each request against its egress level. The search goes to the Firecrawl service that the Service already reaches, so a query term that the model chooses adds no destination. Only the Security part of feat(roadmap): Evaluate a research toolset with web search for the planner #3243 asks for an approval. [sources: SECURITY.md, docs/roadmap/stage.md]
- Which document holds the corrected egress text?: docs/roadmap/stage.md holds the planner's tool description, so the correction goes there. k8s/README.md already names the Secret of
deployment/roadmap-servicefor the Firecrawl key. SECURITY.md holds the egress policy of all workloads, not the path of one workload. (best practice) [sources: docs/roadmap/stage.md, k8s/README.md, SECURITY.md, docs/CLUSTER.md]- Chosen: Correct docs/roadmap/stage.md. It holds the planner's tool description, which is the text that the correction changes.
- Rejected: Correct k8s/README.md. Its Firecrawl key row already names the Secret of
deployment/roadmap-service. - Rejected: Correct SECURITY.md. It holds the egress policy of all workloads, not the path of one workload.
- Rejected: Correct docs/CLUSTER.md. Its Stage Jobs section describes the stage Job, which is a different unit from the stage row.
- Which part of the issue stays in this proposal, and which part is deferred?: The proposal keeps the correction of the egress text in docs/roadmap/stage.md. It defers the measured comparison, the keep-or-remove decision, the toolset setting, the apply and the live stage run. (best practice) [sources: docs/roadmap/stage.md, src/devops_cli/roadmap/run.py]
- Chosen: Keep the egress text correction and defer the rest. One pull request delivers the documentation edit. The other parts wait on feat(roadmap): add toolset comparison to stage planner eval #3239, real plan runs, a person-set cost rise and a live cluster run.
- Rejected: Keep the comparison in this proposal. It needs feat(roadmap): add toolset comparison to stage planner eval #3239, real plan runs, the approved egress and a maximum cost rise that a person sets, so no pull request delivers it now.
- Rejected: Defer every part. The egress text correction needs no person and no outside event.
- Does the egress text correction depend on chore(roadmap): hold incremental stage and implement work #6521?: No. chore(roadmap): hold incremental stage and implement work #6521 holds the incremental work on the stage, implement and fix-checks jobs. The correction changes documentation only and no job code. The deferred comparison and the deferred toolset setting depend on chore(roadmap): hold incremental stage and implement work #6521, feat(roadmap): Evaluate a research toolset with web search for the planner #3243 and feat(roadmap): add toolset comparison to stage planner eval #3239. (best practice) [sources: CONTEXT.md, docs/roadmap/stage.md]
- Chosen: No dependency for the documentation correction. A documentation edit changes no job, so the hold of chore(roadmap): hold incremental stage and implement work #6521 does not reach it. The deferred issues carry that dependency.
- Rejected: Depend on chore(roadmap): hold incremental stage and implement work #6521 for the whole item. It stops a documentation correction that the hold does not name.
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 2, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.(roadmap)scope of the title gives the scope.It is deferred and blocked on #3239 and real plan runs, but it gates a keep-or-remove decision.It informs whether the research toolset stays or is removed, which affects planner quality.Once #3239 is ready, the work is running the comparison and writing a result comment.Both concern the research toolset; #3243 adds the toolset value while the candidate runs the comparison and records the keep-or-remove decision.devops-cli-service commentedon Nov 5, 2026
Refine cannot set this item to Ready at f481be8 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
devops-cli-service commentedon Nov 13, 2026
Refine cannot set this item to Ready at 4ef7c6f until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
research? (a person decides)dan-petty commentedon Nov 14, 2026
Cannot build as written now: acceptance requires live plan runs of the research and extended toolsets, the comparison report of #3239, and a maximum cost rise that a person sets before the runs; the issue body also gives about 2 days of elapsed work. A code-only pull request cannot produce the evidence or the person's keep-or-remove decision. Returning until the runs and the cost limit exist.
devops-cli-service commentedon Nov 14, 2026
Refine cannot set this item to Ready at 0410772 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
research? (a person decides)devops-cli-service commentedon Nov 16, 2026
Waiting for the alternatives check to run. The next refine round looks at the item again after the check records a verdict.
dan-petty commentedon Nov 20, 2026
Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.
devops-cli-service commentedon Nov 20, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies and Watched files in the section Proposed design of the body.
devops-cli-service commentedon Nov 21, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
dan-petty commentedon Nov 30, 2026
Premise check after the release of the hold #6521 (2026-11-30): the stage row no longer runs in the Service;
roadmap/run.pysubmits a stage Job, and the live stage agent (stage_agent.py) has no tool of its own, nosearch_weband no GitHub credential.StageToolsetis read only byeval stage. Closed as not planned (AGENTS.md rule 2); a person may reopen it, or file a new item from fresh evidence.