Skip to content

docs: --help docstrings and messages still carry incident history - #705

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/help-docstrings-history
Nov 22, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/help-docstrings-history

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

PyAutoBrain#701 moved dated incident history out of comments and docstrings but left the module docstrings printed as --help, and some printed messages. This rewrites the ones that still carried history so they say what the tool does, in the present tense.

  • Docstrings (--help): clone/_clone.py (v0/v1/v2 roadmap → what each mode does; unimplemented modes "are not implemented"), clone/check_boundary.py (three-features incident), hygiene/_hygiene_extras.py (2026-08-03 tfp-nightly anecdote → a general example), hygiene/_hygiene_repos.py (five-of-six scan incident), workspace/_workspace.py (v0, founding-assessment pointer), bin/lane_backfill.py (M1.3 slice 2, counts, since-date), bin/shift_ledger.py (example dates → <YYYY-MM-DD> placeholders). The other listed modules (_repo_paths, _community, _docs, _hygiene_optdeps, _hygiene_ci, _hygiene_tokens, codex_usage, dataset_provenance, project_discovery, regroup_workspace, sync_feedback, workspace_instructions, board/_board, board/_publish) print no history and are unchanged.
  • Message strings: "(ruling e, 2026-11-19)" in the sibling-PR worker note, "(M3.6j, PyAutoBrain#683)" and "(spawned before M3.5)" in the orchestrator, "(M2.3)" in _green and intake --lane help, "(your ruling 2026-11-12)" in _green, "(ruling 2026-11-16)" in the plan's rejection reason and the digest's backlog-reach line, "AUTONOMY.md M2 rulings" and an example slot date in batch --help, the "2026-07-15 A/B" anecdote in the profiling triage action, and "hit twice on 2026-07-16" in mind_commit_guard.
  • Kept on purpose: pointers to a named AUTONOMY.md ruling (S6, R3) — they say where the rule lives; and the batch brief --new skeleton comment "(ruling 2026-11-16)", which test_6_brief_new_writes_the_scoped_reach_default_not_fill_idle requires (the brief names the ruling it applies).

Closes #704

API Changes

None — internal. --help and message text change; three tests that pinned the old wording are updated.

Test Plan

  • Witness: new tests/test_help_text_no_history.py runs --help on all 21 listed tools and asserts no date, M<n>.<n> tag, PyAuto*#<n> reference or v0–v2 roadmap tag. Control: on the old code 5 of 21 fail.
  • Full suite: 2471 passed, 1 skipped.
  • Heart dev-ship gate for PyAutoBrain read STALE only because Heart's CI poll hit a TLS timeout on this network; gh run list shows main green. Organism door: YELLOW (unrelated euclid_assistant reason).

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…history

Rewrite the printed module docstrings that still carried dates, milestone
tags or incidents (clone, check_boundary, hygiene extras/repos, workspace,
lane_backfill; shift_ledger's example dates become placeholders) and strip
date/milestone tags from printed message strings in the batch, intake and
profiling conductors and mind_commit_guard. Named AUTONOMY.md ruling
pointers (S6, R3) and the brief skeleton's backlog-reach ruling stay.
Adds a test that each listed tool's --help names no date, milestone tag
or issue reference.

Closes #704

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

docs: --help docstrings and messages still carry incident history

1 participant