Repository navigation
feat: questions inbox store — questions.md + questions_edit.py (M3.5 build B, PyAutoBrain#645) - #576
Merged
Merged
Conversation
… checks (PyAutoBrain#645) M3.5 Build B, Mind half. Parked shift questions get one ledger file, questions.md (Open / Deferred / Answered / Dropped; the section is the state), and one script for every write: - scripts/questions_edit.py: show / add / answer / defer / drop / reopen, built like queue_edit.py (Refused, exit 0/1/2, a write that adds a lifecycle finding is undone). add_text() is the pure function the shift watcher's question-add op runs from the tree it writes: ids are the file's highest plus 1, and (shift, task, issue) is unique, so a replay is a silent repeat. answer appends the answer to the task's prompt (draft/ or active/) under "## Answers from the human" and prints the path to commit. - lifecycle.py: questions_parse/questions_findings in `check` (ids unique, required keys, Open/Deferred task resolves); `close` moves the task's open questions to Answered with answer: (task completed). - ledger_merge.py: questions.md is a ledger file. - spawn.py: questions.md is EMPTY instance state; dashboard_refresh.yml watches it; REFERENCE.md gains a questions inbox section. questions.md itself is not added here: add creates it from the template, and the lead lands the seed after merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks done
Jammy2211
added a commit
that referenced
this pull request
Nov 16, 2026
…ointer; keep both sections 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.
Summary
The PyAutoMind half of M3.5 build B (PyAutoLabs/PyAutoBrain#645). Merge this first; the PyAutoBrain PR follows. Design:
Science/scratch/m3_4_m3_5_design/DESIGN.md§4. The human's decisions, all as recommended (2026-11-16): H7 a, H9 a, H11 a/a.scripts/questions_edit.py: show, add, answer, defer, drop and reopen forquestions.md(Open / Deferred / Answered / Dropped).questions.mdis created from its template on the firstadd.answeralso appends the answer to the task's prompt in draft/ or active/.add_textis the function the watcher'squestion-addop runs from the tree it writes.lifecycle.py:checkvalidatesquestions.md, andcloseanswers a closed task's open questions.ledger_mergeLEDGER_FILES, aspawn.pyrule,dashboard_refresh.ymlwatchingquestions.md, and aREFERENCE.mdsection.Test plan
tests/test_questions_edit.py(24): round trips, the id after a replay, the prompt appended in draft/ and active/, and refused writes keepinglifecycle.py checkclean.lifecycle.py checkOK.🤖 Generated with Claude Code