Skip to content

test: Mind suite green on main (shadow window 'reached' line; standards test dir-name key) - #507

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/mind-suite-green
Oct 16, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/mind-suite-green

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Why

main's Mind suite has two failures, and they turn every Mind PR's privacy (Spawn Drift) check red, including #505:

  1. test_autonomy_log_shadow::test_the_count_line_agrees_with_the_rows_it_counts is a deliberate tripwire. The tier-glance shadow window is at 22/20 (all merged-unchanged), but shadow_count_line() never says the window has been reached, so it can't pass.
  2. test_repos_sync_standards_block::test_mind_owns_an_exact_generated_block looks its key up as specs[MIND.name] (the directory name), so it raises KeyError: 'mind' in any worktree not named PyAutoMind. Introduced by 968ff2b.

Change

  • shadow_count_line appends ; window reached — the pre-registered decision is due once the graded rows reach SHADOW_TARGET. The autonomy_log.md count line is regenerated from it.
  • The test uses the literal key "PyAutoMind".

Records no doctrine decision. Confirming glance at 20 clean rows, and whether rows keep accumulating past the window, is still the human's call. The line now says that call is due instead of reading as open.

Tests

pytest tests: 703 passed, 0 failed (previously 701 passed, 2 failed on main).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q5cb9GpAGUL2EMedWRexHh

…ndards test keys on PyAutoMind

- shadow_count_line appends 'window reached — the pre-registered decision is
  due' once graded rows >= SHADOW_TARGET (the glance window is 22/20); the
  autonomy_log count line is regenerated from it. Records no doctrine
  decision — the glance confirmation stays the human's.
- test_repos_sync_standards_block keyed specs on the checkout directory name,
  so any worktree not named PyAutoMind raised KeyError: 'mind'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q5cb9GpAGUL2EMedWRexHh
@Jammy2211
Jammy2211 merged commit 0362638 into main Oct 16, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the claude/mind-suite-green branch October 16, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant