Repository navigation
foundation, intake, loop, stage-contract, decisions, index: the HLWAS run from SOC L2 files to the Kafka topic - #91
Merged
Merged
Conversation
…he HLWAS run from SOC L2 files to the Kafka topic, the intake stage, the foundation loop and the publication, with the ramp's measurements Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 23, 2026
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
hlwas-night-2026-10-21(specification): rapid_docs records what tasks 1 to 6 landed, as system behaviour with its numbers. Every earlier task's ledger line isTASK DONE, so everything is documented as landed; nothing is reported as not landed.Pull requests documented: Caltech-IPAC/rapid#301 and #302 (fixes: instance type, non-live refusal exits 0, cache removed at exit, reference seed), #303 (Kafka publish and consumer check), #304 and #305 (intake, HLWAS live run, PSFs), #306 (one pointing,
validate_run.py), #307 (rapidpipe loop), #308 (the ramp: 324 epochs on SCA 8, then 18 SCAs of one pointing).Files
system/foundation.md: intro names intake, the loop, the publication andvalidate_run.py; the job row's instance type beside the image digest, and "A job on Batch" says how it is read and that no family is pinned (citesdecision-instance-type); the verbs table gainspublishandloop; the refusal exit rule (a non-live refusal exits 0); the thin chain gains anintakerow and section (pointer to the new page); new "Publication to Kafka" section (the verb, the per-set stamp, replay allowed, no registry,[kafka]from the settings file, the consumer check, the Batch-side producer not decided); the settings paragraph names[intake] source_rootas the run's overlay; "On SMDC" gains the seventh part (fixes, the endpoint, the live run beside GBTDS, the HLWAS Gaia copy, one pointing, the loop, the ramp, the field shared by two SCAs); "Validation" names the script, its two restated checks and its outcomes; "Measurements" gains "The wide-area ramp" table and bullets; "Not measured" loses the second field and the 18-chip fan-out; "Not decided here": the non-live refusal bullet leaves (settled by #301), the CPU-family bullet narrowed (recorded now, Intel/AMD data point), and enter: reference per SCA and late epochs in a chain, a disjoint reference, thecatalogskey without dataset, the Batch-side Kafka producer, other filters' PSFs, source injection as the next scientific step.system/intake.md(new): the stage's scope, input by key, the conversion steps ported fromdev'singestL2Files.py, declared outputs, the packedexpid, the shared exposures key, settings table, what one file and the ramp measured, its "Not decided here".system/loop.md: rewritten for the foundation: in plain terms, the selection as arguments, one pass's order (intake, reference, difference, associate, packet, Kafka), pending/failed/drained and exit codes, the per-field chains and the shared-field case, a measurements table and bullets, "Not decided here" (old still-open items carried: cadence/venue, delivery layout, lanes).system/stage-contract.md: the instance type in the execution record; exit codes 0 and 1 restated for the non-live refusal;intakeamong the replacing stages.system/decisions.md:decision-instance-type(2026-10-21 20:41 PDT) anddecision-hlwas-direction(20:50 PDT), in the page's form.system/alerts.md: its Kafka section opens with a pointer to the foundation's publication.system/index.md: scope cells for decisions, foundation, stage-contract, alerts, loop; a new intake row and toctree entry.AGENTS.md:intakein the one-page-per-stage list.Divergences from the brief, with the reason
load.mdis not rewritten or renamed;intake.mdis a new page. The brief treatsload.mdas the intake page, butload.mdis the retired source-catalog loader (Photutils catalogs intosources), unrelated to intake, and is linked fromdecisions,maintain,prune,specification,crossmatchandfinalizeas that record. AGENTS.md's one-page-per-stage naming asks for the stage's name, so the intake page isintake.mdandload.mdstays as the record it says it is. The repository wins.foundation.md, notalerts.md.alerts.mdis the retiredalertsstage's record; the packet stage and the reader it would sit beside are onfoundation.md. The rule is stated once there andalerts.mdpoints at it, per AGENTS.md's one-statement-one-page rule.catalogskey without a dataset, entered instead.loop.mddrops the run model's design text (registry trigger, spec, per-date runs, promotion,loop_dates).specification.md,tool.mdandoperations.mdstill point at its discovery/classification andloop run|plan|show; the new page says it governs where they do. Not rewritten here (out of the task's sentence); listed under Improvements.docs/foundation-smdc-step.mdpart 7 onrebuild) carries them. Field ids are not used either; the dataset namer00342and the instance types are.Build
Not built on the host (no Sphinx; provisioning is an install).
docs.ymlis the check. Locally:scripts/check-public-safety.shOK; every{ref}decision target resolves; the added text carries no em or en dashes, none of AGENTS.md's excess-vocabulary words, and no "not X but Y".Measurements
Documentation only: no operation ran. The figures on the pages are tasks 1 to 6's PR bodies and the runbook's "Results of part 7".
Improvements seen (not applied)
specification.md(Sequencing item 7, two "Not decided here" bullets),tool.md(loop run|plan|show) andoperations.mdstill describe the processing-date loop; a pass pointing them at the foundation loop would close the drift.load.md,maintain.md,crossmatch.md,statistics.md,prune.mdandalerts.mdremain retired-model records; once the foundation pages cover what they record, they could leave the site (history keeps them).What the next task must know
decision-instance-type,decision-hlwas-direction.system/intake.md; the loop page is the foundation loop.Left
Nothing in this task's sentence.
🤖 Generated with Claude Code