Skip to content

feat(lifecycle): shadow-row appends the tier-notify window row - #395

Merged
Jammy2211 merged 6 commits into
mainfrom
feature/prm-shadow-row-notify-tier
Sep 8, 2026
Merged

Jammy2211 merged 6 commits into
mainfrom
feature/prm-shadow-row-notify-tier

Conversation

@Jammy2211

@Jammy2211 Jammy2211 commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Refs PyAutoLabs/PyAutoBrain#364

Companion PR: PyAutoLabs/PyAutoBrain#366 (the /prm close-out step). Merge order: this first, then Brain.

Summary

  • scripts/lifecycle.py shadow-row: appends one six-cell row under the shadow-window table in autonomy_log.md and rewrites its Count toward 40: line. Dry-run by default; --apply writes. Validates --action against the three allowed values and --stage against {1,2}.
  • autonomy_log.md: shadow-window header restated as a counted window (to 40, re-opened from the first /prm-appended row), with the count line; corrected history sentence; the 2026-09-07 corrective row moved out of the shadow table into the main calibration table.
  • tests/test_autonomy_log_shadow.py: heading, six-column schema, allowed human action values, count line agrees with rows; script dry-run vs --apply on a fixture.

Test plan

  • pytest PyAutoMind/tests -q green
  • python3 scripts/lifecycle.py shadow-row --date 2026-09-07 --task fixture --tier notify --gate "tests PASS" --action merged-unchanged --stage 1 prints the row without writing

🤖 Generated with Claude Code

https://claude.ai/code/session_018sNc2SGJsuiFmfLVeYmc3r

`lifecycle.py shadow-row` appends one six-cell row under the shadow-window
table in autonomy_log.md and maintains its count-toward-40 line (dry-run by
default, --apply writes). The shadow-window header is rewritten as a counted
window re-opened from the first /prm-appended row, and the mis-filed
2026-09-07 corrective row moves to the main calibration table.

Refs PyAutoLabs/PyAutoBrain#364

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018sNc2SGJsuiFmfLVeYmc3r
Jammy2211 and others added 5 commits September 7, 2026 19:58
…cortex-assistant-entry row

Adds the `- prompt:` line the lifecycle drift check needs (slug != filename), so
PyAutoMind#395's drift leg runs against a claimed tree. Registry-only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018sNc2SGJsuiFmfLVeYmc3r
@Jammy2211
Jammy2211 merged commit eec96d4 into main Sep 8, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/prm-shadow-row-notify-tier branch September 8, 2026 01:01
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