Skip to content

prompt: record latex-raw-string-docstrings as shipped (#491) - #256

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/latex-raw-string-docstrings-9h4ine
Aug 20, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
claude/latex-raw-string-docstrings-9h4ine

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Final lifecycle step: active/ → complete/2026/08/, active.md section removed, complete/index.md and the dashboard regenerated. lifecycle.py check and orphans both clean.

All six PRs merged — HowToFit#47, HowToGalaxy#70, HowToLens#73, autofit_workspace#145, autogalaxy_workspace#218, autolens_workspace#492. 41 files, 180 literals, 131 silent corruptions repaired.

The record leads with the findings worth carrying forward rather than the tally:

  • The diff-empty gate cannot catch a wrong edit here. The generator reads source text, not runtime values, so a corrupted value regenerates byte-identically. The check that does catch it — comparing every changed literal's runtime value HEAD vs worktree, asserting the r prefix only ever removes corruption — caught two real errors mid-task: a print("\nInfo:") newline about to be destroyed, and 12 already-escaped $\\chi^2$ about to be doubled into LaTeX line breaks. Build that check first.
  • \\ is always deliberate, whatever the surrounding context — a math-context rule alone lets these through, since they sit inside $…$.
  • The warning sweep is interpreter-dependent — a SyntaxWarning-only sweep returns a vacuous zero on 3.11.
  • Run the generator before editing and confirm a no-op, or pre-existing drift is indistinguishable from damage you caused.
  • Preserve line endings — a write_text round-trip on a CRLF file turns a 1-character edit into a 549-line diff.

Also recorded: the one deliberate residue (autolens_workspace/scripts/group/likelihood_function.py, double-backslash convention, needs a convention decision), and the open question on HowToLens#73 — merged with smoke red, with a control experiment proving main is red too, and PyAutoArray#453 suspected but explicitly not proven.

Follow-up already shipped: PyAutoBrain#245 adds a hygiene escapes mode so this debt is caught continuously.

Note: the designated branch's previous PR (#255) was merged, so per the branch policy this restarts the branch from main and carries only the new commit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MTjtx5mdituitiyQYFGn2E


Generated by Claude Code

All six PRs merged: HowToFit#47, HowToGalaxy#70, HowToLens#73,
autofit_workspace#145, autogalaxy_workspace#218, autolens_workspace#492.
41 files, 180 literals, 131 silent corruptions repaired.

The record leads with the trap worth carrying forward: the prompt's diff-empty
gate CANNOT catch a wrong edit here, because the generator reads source text
rather than runtime values, so a corrupted value regenerates byte-identically.
The check that does catch it — comparing every changed literal's runtime value
HEAD vs worktree — caught two real errors mid-task.

Also recorded: the Python 3.11-vs-3.12 warning-class trap, that '\\' is always
deliberate whatever the surrounding math context, the CRLF-preservation trap,
the one deliberate residue, and the open question on HowToLens#73's red smoke
(proven to be red on main too; PyAutoArray#453 suspected but NOT proven).

active/ -> complete/2026/08/; active.md section removed; complete/index.md and
the dashboard regenerated.
@Jammy2211
Jammy2211 merged commit b99fdd6 into main Aug 20, 2026
2 checks passed
@github-actions
github-actions Bot deleted the claude/latex-raw-string-docstrings-9h4ine branch August 25, 2026 14:02
Jammy2211 added a commit that referenced this pull request Sep 13, 2026
Phase 3 of the fixed-lens-light-profiling epic shipped to PR-open. active.md row
to awaiting-merge with the workspace-pr and the shipped note; epic ledger phase-3
State to "PR open #256" with the headline, and phase 4's gate recorded as
satisfied with the budgets it should now sweep (7 Delaunay / 11 rectangular).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018oyeoiMrc8vhhahAyA1VNP
Jammy2211 added a commit that referenced this pull request Sep 13, 2026
Supervised research task run under --auto: decide-and-flag, ended at PR-open.
Four gate legs recorded, including the one author-run review correction (the
"worst certified draw beats the best PDIP call" claim crosses by 1 % on
rectangular-CPU and the note now says so).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018oyeoiMrc8vhhahAyA1VNP
Jammy2211 added a commit that referenced this pull request Sep 14, 2026
…lus the profiling-drift clear

/prm over a stack of seven autolens_profiling PRs merged in base order on
2026-09-14: #250 (phase 0), #252 (1), #254 (2), #256 (3), #258 (4), #260 (5,
the verdict) and #262 (Heart profiling-drift clear). Issues #248, #251, #253,
#255, #257, #259 and #261 closed; every branch proved an ancestor of main
before recording.

Seven completion records written and their prompts folded out of active/. The
`fixed-lens-light-profiling` epic is COMPLETE and retired to
complete/archive/epics/; its one open gap — the twelve phase-5 A100 legs the
RAL publickey refusal blocked — survives as an ideas.md bullet, not as an
active claim.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hv5vizr6un6MVNRiuwB35u
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.

2 participants