Skip to content

feat(roadmap): give refine and the step the target AGENTS.md - #7001

Merged
dan-petty merged 2 commits into
mainfrom
feat/4650-planners-and-implement-read-the-target
Nov 24, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4650-planners-and-implement-read-the-target

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

The planner reads CONTEXT.md and the first five ADRs, and the implement step reads no rules at all when the checkout holds no AGENTS.md, so the rules of the target never reach the model in five of six repositories (#4650). This change puts the target AGENTS.md, cut to the implement file cap, into the refine context, and gives the generic kit rules when the file is absent.

Closes #4650

Change: openspec/changes/archive/2026-11-24-4650-planners-and-implement-read-the-target/

@devops-cli-service devops-cli-service Bot added scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function labels Nov 24, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Step Status Attempts Tokens in/out Last failing command
group 1 done 3 4915704/27274 -
group 2 done 1 575972/3221 -
group 3 done 1 4328319/21129 pytest on base: tests/roadmap/refine/test_roadmap_refine_context.py, tests/roadmap/refine/test_roadmap_refine_job_result.py
group 4 done 1 1545651/7724 -
  • tools: run_command 87, read_file 33, grep 30, edit_file 29, list_files 1
  • scoped check pre-push: passed, 5 s
  • scoped check static: passed, 24 s
  • scoped check tests: passed, 30 s
  • scoped check strength: passed, 0 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • group 2: skipped, group 2: kind other
  • group 4: skipped, group 4: kind other
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_measure::test_the_measure_counts_agents_md_and_the_routed_sections_that_the_step_reads, tests.roadmap.test_roadmap_step_rules::test_a_checkout_without_agents_md_gets_the_generic_rules, tests.roadmap.test_roadmap_step_rules::test_a_checkout_without_agents_md_keeps_its_routed_sections, tests.roadmap.test_roadmap_step_rules::test_the_generic_rules_name_no_python_without_a_python_manifest.
  • verify of group 2: uv run devops ci test tests/roadmap/implement/test_roadmap_implement_step.py exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
No coverage index found. Run `devops ci coverage --build-index` to build one.
  tests/roadmap/implement/test_roadmap_implement_step.py \u2192 tests/roadmap/implement/test_roadmap_implement_step.py
================================================================================================================== test session starts ===================================================================================================================
platform linux -- Python 3.14.10, pytest-9.2.0, pluggy-1.7.0
rootdir: /run/roadmap/work/model-clone
configfile: pyproject.toml
plugins: xdist-3.8.0, cov-7.1.0, platformdirs-4.14.8, time-machine-3.6.0, mock-3.17.0, anyio-4.16.0, asyncio-1.5.0, syrupy-7.0.3, timeout-2.4.0, hypothesis-6.170.17
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
timeout: 600.0s
timeout method: signal
timeout func_only: False
created: 4/4 workers
4 workers [151 items]

.......................................................................................................................................................                                                                                            [100%]
---------------------------------------------------------------------------------------------------------------- snapshot report summary -----------------------------------------------------------------------------------------------------------------
4 snapshots passed.
================================================================================================================== 151 passed in 24.49s ==================================================================================================================
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.roadmap.refine.test_roadmap_refine_context::test_the_context_holds_the_agents_md_of_the_sha, tests.roadmap.refine.test_roadmap_refine_context::test_a_commit_without_context_md_keeps_the_rules_and_no_context_section, tests.roadmap.refine.test_roadmap_refine_context::test_the_context_takes_the_agents_md_of_the_sha_and_not_the_working_tree, tests.roadmap.refine.test_roadmap_refine_context::test_a_large_agents_md_section_stays_under_the_cap, tests.roadmap.refine.test_roadmap_refine_context::test_a_commit_without_agents_md_gets_the_generic_rules, tests.roadmap.refine.test_roadmap_refine_job_result::test_a_round_logs_the_next_step_of_each_item_and_the_class_of_a_failed_model_call.
  • verify of group 4: uv run devops roadmap eval stage --replay exits 0.
kind     #3005     25      25       0
criteria #3019      0       0       0
content  #3200      4       4       0
prompt_keys #3328      1       1       0

Defect type               Caught  Missed  Waiting  No gate  Total
missing_path                  37       0        0        0     37
false_premise                  2       0        0       60     62
spec_delta_wrong               8       0        0       19     27
verify_form                    7       0        0       12     19
task_order                     1       0        0        8      9
criterion_dropped              0       0        0       13     13
ignores_existing_code          0       0        0       23     23
contrived_test                24       0        0        3     27
other                          7       0        0       99    106
prompt_key_missing             1       0        0        0      1
Defects that a gate judges: 87 of 324 (27%).

Good plans that every gate accepts: 6 of 6.
Result: every gate refuses what it must refuse.
  • verify of group 4: uv run devops ci docs exits 0.
\u2139 Quality gate root: /run/roadmap/work/model-clone
\u2713 All documentation files are up to date.

@dan-petty
dan-petty force-pushed the feat/4650-planners-and-implement-read-the-target branch from 337fe9c to 48f0b46 Compare November 24, 2026 16:25
@dan-petty
dan-petty merged commit 4992ab2 into main Nov 24, 2026
29 checks passed
@dan-petty
dan-petty deleted the feat/4650-planners-and-implement-read-the-target branch November 24, 2026 16:45
dan-petty-release Bot added a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.210.0](v0.209.2...v0.210.0)
(2026-11-24)


### Features

* **roadmap:** comment releases from GitHub release webhooks
([#7003](#7003))
([5c1ef88](5c1ef88))
* **roadmap:** give refine and the step the target AGENTS.md
([#7001](#7001))
([4992ab2](4992ab2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): planners and implement read the target AGENTS.md

1 participant