Repository navigation
Description
Overview
PyAutoBrain#701 moved dated incident history out of comments and docstrings, but left the module docstrings that are printed as --help (description=__doc__), and some printed message strings, because changing them changes program output. This rewrites the ones that still carry dates, milestone tags (M1.3, M2.3, M3.6j, v0/v1/v2 roadmap notes) or incident anecdotes so they say what the tool does, in the present tense, and adds a test that the listed tools' --help names no date or milestone tag.
Plan
- Rewrite the printed docstrings that carry history:
_clone.py(v0/v1/v2 roadmap),clone/check_boundary.py(the three-features incident),_hygiene_extras.py(the 2026-08-03 tfp-nightly anecdote),_hygiene_repos.py(the five-of-six scan incident),_workspace.py(v0, founding assessment),bin/lane_backfill.py(M1.3 slice 2, counts, since-date),bin/shift_ledger.py(example dates become placeholders). The other listed docstrings already carry no history and stay as they are. - Strip date / milestone / ruling-date tags from printed message strings in the batch, intake, profiling conductors and
bin/mind_commit_guard.py(e.g. "ruling e, 2026-11-19", "(M2.3)", "(M3.6j, PyAutoBrain#683)", "(ruling 2026-11-16)", the batch--help"M2 rulings" and example slot date). Pointers to a named AUTONOMY.md ruling (S6, R3) stay: they are where the rule lives. - Update any test that pins the old wording; add a test running
--helpon each listed tool and asserting no date or milestone tag. - Run the PyAutoBrain test suite.
- Tier + merge mode: effective level: safe; merge mode: auto-merge on green (this session: PR opened, merge left to the human).
Detailed implementation plan
Affected Repositories
- PyAutoBrain (primary)
Branch Survey
| Repository | Current Branch | Dirty? |
|---|---|---|
| ./organs/PyAutoBrain | main | clean |
Suggested branch: feature/help-docstrings-history
Implementation Steps
- Edit the module docstrings named above (present tense, no dates/tags/incidents; keep usage, exit codes and behaviour text).
- Edit the message strings:
agents/conductors/batch/{_batch,_digest,_green,_orchestrator}.py,agents/conductors/intake/_intake.py,agents/conductors/profiling/_profiling.py,bin/mind_commit_guard.py. greptests for the old wording and update.- New
tests/test_help_text_no_history.py: run each listed tool's--help(python scripts with argparsedescription=__doc__), assert noYYYY-MM-DD, noM<n>.<n>tag, noPyAuto*#<n>reference. pytest tests/.
Key Files
- the 21 modules listed in the prompt; the batch/intake/profiling message sites above
Original Prompt
Click to expand starting prompt
Docstrings printed as --help still carry incident history
Type: docs
Target: PyAutoBrain
Repos:
- PyAutoBrain
Difficulty: small
Autonomy: safe
Priority: normal
Status: formalised
Consequence: notify
Witness: each tool's--helpnames no date, milestone tag or incident; the suite passes.
Review-minutes: 0
Unattended: ready
Lane: any
Docstrings printed as --help still carry incident history
Type: docs
Target: PyAutoBrain
Lane: any
PyAutoBrain#701 moved dated incident history out of comments and docstrings but left about 18 module docstrings alone because they are printed as --help (description=__doc__), so changing them changes program output. In @PyAutoBrain these are: agents/_repo_paths.py, agents/conductors/clone/_clone.py, bin/check_boundary.py, agents/conductors/community/_community.py, agents/conductors/docs/_docs.py, agents/conductors/hygiene/_hygiene_extras.py (a "2026-08-03: tfp-nightly" anecdote), _hygiene_optdeps.py, _hygiene_repos.py, agents/conductors/workspace/_workspace.py, bin/codex_usage.py, bin/lane_backfill.py ("M1.3, slice 2 … 12 of ~270 … since 2026-11-03"), bin/project_discovery.py, bin/regroup_workspace.py, bin/shift_ledger.py, bin/sync_feedback.py, bin/workspace_instructions.py, board/_board.py, board/_publish.py; plus the printed first paragraph of _hygiene_ci.py and first lines of _hygiene_tokens.py and bin/dataset_provenance.py. Also message strings that carry tags (for example "ruling e, 2026-11-19" in the batch worker notes, "(M2.3)" in digest messages). Rewrite each to say what the tool does, in the present tense. This changes --help and message text, so check for tests that pin the wording.
Witness: each tool's --help names no date, milestone tag or incident; the suite passes.
Activity
Jammy2211 commentedon Nov 22, 2026
Library PR opened: #705. Heart: start_dev door YELLOW (one unrelated euclid_assistant reason). Dev-ship readiness for PyAutoBrain read STALE only because Heart's CI poll hit a TLS timeout on this network; main CI is green by
gh run list. Witness test passes for all 21 tools; full suite 2471 passed, 1 skipped. No workspace impact. Merge left to the human (/prm).Jammy2211 commentedon Nov 22, 2026
Shipped
Merged in #705 (2026-11-22). Module docstrings printed as
--help(clone, check_boundary, hygiene extras/repos, workspace, lane_backfill, shift_ledger) and printed messages in batch/intake/profiling/mind_commit_guard now say what the tool does in the present tense; dated incident history removed. Pointers to named AUTONOMY.md rulings kept on purpose. Witness:tests/test_help_text_no_history.py.Session note: Heart STALE at ship time was this network's TLS timeouts only; accepted by the human.