Repository navigation
foundation, reference, difference, stage-contract, decisions, index: the night through the chain - #90
Merged
Merged
Conversation
…the night through the chain, its validation and measurements, and the two stage pages on run(job) 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.
What and why
Task 7 of the unattended run
foundation-night-2026-10-21: rapid_docs records what the night built, validated and measured, and the reference and difference pages are rewritten for the foundation contract. Task 6's ledger line isTASK DONE 6, so everything is documented in full.The pull requests documented: Caltech-IPAC/rapid#294 (difference determinism,
ANALYZE official), #296 (the PSF kind, the read role'sSELECT), IPAC-SW/rapid_systems#412 (Batch retries exit 75, three attempts, 24 GiB), Caltech-IPAC/rapid#298 (the cutover and the live loop over 69 epochs), #299 (the campaign: reference, 70 differences, chain over five epochs, the comparison withdev), #300 (the ten checks, the change group making the night official, the mid-night replacement, undo, two groups through the pooler).Files
system/foundation.md:kind, with the identity rule anddev's missing column stated; the import'sPSFKINDcheck;officialwhen its binding wrote there;referenceanddifferencesections reduced to one paragraph pointing at the stage pages;ANALYZE officialclause leaves (fixed in #294); the packets-after-replacement observation enters; undo after a later group, a non-live run's refused binding reported as FAILED by Batch, and CPU-family dependence enter; chain cost, forced photometry and change-group cost narrowed by the night's figures.system/reference.md,system/difference.md: rewritten forrun(job): scope, inputs by key (the two PSF kinds), the steps indev's order, declared outputs and the drawnrfid/pid, settings tables of the run's body, determinism, what the night measured, and each page's "Not decided here".system/stage-contract.md: inputs told apart by key, the PSF kind among them; exit 75 in the table; the retry paragraph replaces "Nothing retries by itself".system/decisions.md: four rulings of 2026-10-21 (12:34 to 12:38 PDT):decision-latency-later,decision-psf-kind,decision-read-role,decision-batch-retry.system/index.md: the scope cells ofdecisions.md,foundation.md,stage-contract.md,reference.md,difference.md.Divergences from the brief, with the reason
reference_sets(closed by therefimageskey and the drawnrfid), registration concurrency beyond the advisory lock (no registration exists: the publisher and the identity sequence replace it), and the filter map existing twice (unified inrapidpipe.products.filters, whichprep.pyre-exports). The old difference page had none. Each is closed by what the foundation page and code now state; the remaining open items stay.Build
Not built on the host (no Sphinx; provisioning one is an install).
docs.ymlis the check.scripts/check-public-safety.shpasses locally; every{ref}decision target resolves; the changed pages carry no em dashes and none of AGENTS.md's excess-vocabulary words.Measurements
Documentation only: no operation ran. The figures on the pages are tasks 1 to 6's.
Improvements seen (not applied)
dev's launcher rule; it is still open, but the reference page now says only that the launcher chooses and records the frames.decisions.md's 2026-09-23 to 2026-09-26 carried rulings still citedifferenceandreferencefor registration and promotion rules those pages no longer state, since the run model is retired; a pass marking them superseded by the foundation would stop the cross-references pointing at absent text.load.mdstill states apsfskey without the kind; it describes the retired run model and is a candidate for the same rewrite.What the next task must know
Left
load,crossmatch,statistics,prune,alerts,export,finalize,maintain) as foundation, stage-contract, index: the foundation and thin chain as one page, replacing runs, products, checks and releases #88 listed.🤖 Generated with Claude Code