Repository navigation
feat(questions): ruling inbox kind for the readiness pass (M3.3 slice 1) - #585
Merged
Merged
Conversation
…ce 1) kind: ruling carries a required gate: (kebab slug) and an optional issue:. add_text skips a ruling while one on the same task and gate is Open or Deferred, whatever its shift; the (shift, task, issue) repeat rule now applies to questions only. answer() writes 'ruling <gate>, shift X' on the prompt; show() names the gate. lifecycle check validates gate and flags two open rulings on one task and gate. Header documents the kind. Part of PyAutoLabs/PyAutoBrain#671 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.
Part of PyAutoLabs/PyAutoBrain#671 (M3.3 slice 1, the readiness pass). Merge this before the Brain PR. The Brain pass files rulings only once Mind main has this kind, and its real-Mind test skips until then.
Summary
A new questions-inbox kind,
ruling. Brain's newbatch readyuses it to file a gate it found on a queued task, such as "repo claimed by another task" or "no next-phase prompt filed", so the human can rule on it with/questions.scripts/lifecycle.py:rulingis added toQUESTION_KINDS.gate:(a kebab-case slug, not a fixed list) and may have noissue:; agate:on any other kind is an error.(shift, task, issue)repeat rule now applies only to questions and blocks.scripts/questions_edit.py:add_textskips a ruling while one on the same task and gate is Open or Deferred, from any shift; once that one is Answered or Dropped it can be filed again.answerappends- Q<n> (<day>, ruling <gate>, shift X): …to the prompt.shownames the gate.addCLI takes--gate.questions.md: the header documents the kind. A ruling never holds or releases a parked task; Brain enforces that.Example:
Evidence
lifecycle.py check: OK, with one warning that was already on main.tests/test_questions_inbox.py) passes against this branch.🤖 Generated with Claude Code