Skip to content

docs(spec): plan #5217 Keep the cost mark and line estimates on read - #8047

Draft
devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/5217-plan-files-keep-the-cost-mark
Draft

devops-cli-service[bot] wants to merge 1 commit into
mainfrom
fix/5217-plan-files-keep-the-cost-mark

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

The plan writer records neither the builds-own cost mark nor the line estimate of a created file. The reader gives builds_own false and one line for each created path, so a read plan shows less cost than the writer recorded. The cost rule of AGENTS.md rule 3 and the size measure can then pass a plan that failed at write time. This change writes the builds-own sentence as the last line of ## Existing Tool Considered and one New lines: line under the files line of a group that creates a path. The reader reads both back, file_facts keeps both values, and FIELDS_NOT_IN_FILES holds only summary, pull_request_body and weakened_checks. A plan written before this change still reads one line for each created path.

Plans #5217

Change: openspec/changes/5217-plan-files-keep-the-cost-mark/

@devops-cli-service
devops-cli-service Bot force-pushed the fix/5217-plan-files-keep-the-cost-mark branch from cda3ef3 to 70ce06e Compare December 1, 2026 17:47
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at group 2. The stop report is on #5217: #5217 (comment).

  • tools: read_file 118, run_command 96, grep 35, edit_file 29, write_file 2, list_files 1, create_directory 1
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_plan::test_a_valid_plan_gives_the_branch_the_title_the_body_and_the_files, tests.roadmap.stage.test_roadmap_stage_plan::test_a_group_writes_the_line_estimate_of_each_created_path, tests.roadmap.stage.test_roadmap_stage_plan::test_a_true_builds_own_ends_the_existing_tool_section.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/spec type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants