Repository navigation
Comments that describe the present: sweep of files changed since August - #960
Open
cailmdaley wants to merge 50 commits into
Open
cailmdaley wants to merge 50 commits into
cailmdaley wants to merge 50 commits into
Conversation
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
… documentation Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
…ry overview Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
…ration prose Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
…config Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Correct five false or unclear statements, move five in-function @sc contracts into their docstrings (the record checker accepts # tags only at module level), and demote completeness-report-unit-key to prose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JhKts6NHr9YjfnatBZPogK
This branch has not been deployed
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.
Rewrites the comments, docstrings and in-repo prose of the files changed on
developsince 1 August, so that they describe what the code does now and why. No code changes: the check at the bottom shows that the diff, with comments and docstrings stripped, is empty.Why. Between August and October the workflow and modules changed fast through dozens of PRs, and their comments recorded the path: what an earlier version did, which PR fixed which campaign's failure, chains of "now / no longer / since #NNN". A reader arriving cold had to reconstruct that history to learn the present. After this PR, each comment states the present behaviour and the reason for it. Where history justified a choice (a measured failure a guard prevents), the reason stays as a present-tense fact with its measurement. Long essays at a site shrink to what that site needs, and a fact stated in several places keeps one home with pointers to it. Net −1,950 lines.
How it was done. An Opus chair split the 71 files into eight groups and wrote one style brief with before/after examples from this code. Eight GPT-6.1 Sol workers each rewrote one group in its own worktree. Two fresh Sol reviewers then read the merged diff as first-time readers. They checked every new statement against the code, looked for explanations lost in the cuts, and audited each new contract. Their ten findings (five false statements, three unclear, one contract demoted, one amended) are fixed here. They found no lost hazard or ordering explanation.
@scpractice. Where an existing comment already stated a load-bearing local constraint informally, it is now an@sc [label:…]contract (47 new, all reviewed as true and load-bearing; ids unique). Noastra.yamldecision changed, and no existing@sc [decision:…]tag moved.Checks run (candide, image
shapepipe_develop-dev-20260926, this branch'ssrc/onPYTHONPATH):tests/unit582 passed, 1 skipped (same asdevelop), includingtest_decisions.pyandtest_contracts.py.tests/workflow: 21 passed.uvx astra-tools@0.2.17 validatepasses.Merge order. This should land after #922, #925, #955, #954 and #957. It overlaps them in
tile.smk,Snakefile,config.yaml,bin/sp,make_cat.py,clean_tile.pyandcompleteness.py, and comment-only conflicts are cheap to resolve on this side. Not swept, left for a follow-up once their PRs land:ngmix.py,ngmix_runner.py,sextractor_script.py,sextractor_runner.pyandmatch_catalogue.py(#922/#925 rewrite them),docs/source/pipeline_tutorial.mdand the files #880 deletes.Defects found along the way are filed rather than fixed here: #958 (workflow:
sp runrefreshes the code snapshot before Snakemake's lock, so evensp run -nagainst a live campaign rewrites the code its pending jobs read; plus two smaller defects) and #959 (latent defects outside the fiducial path).Comments-only check: output
For
.py:ast.dumpwith docstrings removed. For Snakefile/.smk: the Python token stream without comments or statement-level strings. For YAML: parsed equality plus comment-stripped lines. For INI/param/sex/sh: comment-stripped lines. For.md/.rst/README/CONTRACTS: prose, always allowed. The check was seen to fail when tokens were changed in.py,.smkand.ini.The checker script
Claude (Opus) and GPT-6.1 Sol on behalf of Cail.
🤖 Generated with Claude Code
https://claude.ai/code/session_01JhKts6NHr9YjfnatBZPogK