Skip to content

fix(roadmap): the hostile AGENTS.md test compares the filled prompt - #3115

Merged
dan-petty merged 2 commits into
mainfrom
fix/3114-the-hostile-agents-md-test-compares-the-filled-prompt
Nov 1, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3114-the-hostile-agents-md-test-compares-the-filled-prompt

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

What changes

The test test_a_hostile_agents_md_is_data_and_never_changes_the_instructions compares inputs.instructions with fill_prompt(load_task_prompt("roadmap_implement_step.md")). It compared with the raw prompt, which #3111 stopped returning when it made build_step_inputs fill the two table placeholders. The merge of #3107 and #3111 left the required check Tests & Coverage red on main.

Why

A red main blocks every open pull request, such as #3112. The test still proves its rule: a hostile AGENTS.md leaves the instructions unchanged.

Verification

  • Before: uv run pytest tests/roadmap/test_roadmap_implement_step_rules.py -k hostile -n0 on origin/main fails with (False, True, True).
  • After: the same file passes (11 tests).

Closes #3114

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 1, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 22:40
@dan-petty
dan-petty merged commit a6615b9 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the fix/3114-the-hostile-agents-md-test-compares-the-filled-prompt branch November 1, 2026 22:44
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the hostile AGENTS.md test compares an unfilled prompt

1 participant