Repository navigation
fix: intake honours declared Type, Target and Repos headers - #476
Merged
Merged
Conversation
- Unknown declared Type is no longer dropped silently: a small alias map (hygiene/upkeep -> maintenance, tests -> test, documentation -> docs) applies with a visible risk note; any other unknown Type files to triage/ with a note naming the valid WORK_TYPES set. Not a hard error, so an `intake ideas` batch never aborts. _sizing.py untouched. - A declared Target is honoured when it normalises to a known repo or `workspaces`; otherwise a note and fall back to inference. - A declared Repos list is taken as written, in order, normalised and validated; unknown names are dropped with a note and prose mentions add nothing (no phantom `workspaces`). - New _split_header strips a leading heading plus a contiguous block of KNOWN header keys (requires an anchor key and a closing blank line, so a prose first line like "Status: ..." is not eaten). The title comes from the heading or first non-header line, and write_prompt no longer echoes the header block into the body. - emit_human marks target/repos "(declared)". Out of scope: formalise / _derive_fields still read only the faculty's declared_header values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#472) The retired PyAutoConf spelling tripped test_nerves_rename_complete in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HNJQJqKfbvtQ2Tbq9oyY5W
…ant firewall) Read the library display names from the body map (REPO_DISPLAY) at runtime instead of writing PyAuto* literals, so the declared Target/Repos assertions still validate against the real known-repo registry while the organ-code tenant firewall stays clean. A guard test pins that each name resolves to a known library repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #472
Intake now honours declared
Target:andRepos:(as written, in order, validated, notes for unknowns); an unknown declaredType:is never silently dropped — known aliases map with a visible note (hygiene → maintenance), anything else goes to triage with a note naming the valid set; a leading header block no longer becomes the title/slug or is echoed into the body._sizing.pyand the dashboard renderers are untouched;formalise/_derive_fieldsout of scope.Tests: new tests/test_intake_declared_fields.py (11); targeted intake suites 211 passed; full Brain suite 1206 passed. Each new test was red on the unfixed code first.
Heart: readiness STALE (release validation stale: source moved since rehearsal — PyAutoNerves); human-acknowledged 2026-10-05. Tier
notify— auto-merge on green per the approved plan; PyAutoBrain has no PR test CI, so the gate is the local full suite above.Part of bundle
pyautobrain-worktree-guards(one issue + one PR per member). No workspace impact (Brain tooling only).🤖 Generated with Claude Code