Repository navigation
Reference pages: alert packet fields at 00.08, products, quality, tiling, acronyms, access - #246
Merged
Merged
Conversation
…ing, acronyms, access; blobless clone on day one Placeholders before the first community release, each read from rapid rebuild at ce36bb4a. 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
These are the reader-facing placeholder pages the 2026-11-30 cutover planning session asked for, so that an outside reader can find what each alert packet field means before the first community release. Each page was read from rapid
rebuildatce36bb4a(ce36bb4a45432c54db4f8b3d34a9c9b2d5b1765c, 2026-11-30) and names that commit.system/alerts.md(existing page, extended): adds a section, "The alert packet, schema 00.08". It covers all nine records and every field, with type, whether the pipeline fills it, and meaning. The tables are generated fromparam_registry.py, wheregen_schema --checkreports the.avscfiles identical. Notes follow wherever the code says more than the doc string, or contradicts it. The status line now says the stage is retired and the packet section is current. The page's Scope line insystem/index.mdis updated to match.project/day-one.md(existing page, extended): adds a blobless-clone line,git clone --filter=blob:none -b rebuild …. The existing-b rebuildinstructions are unchanged, sinceswitch-day-draftschanges them on switch day.reference/, added to the home toctree beside System, Project and Log:index.mdproducts.md: what each stage makes and its formatquality.md: status and InfoBits per table, the reference InfoBits with thresholds, the difference catalog-outcome mask,refimmeta's columns, the difference job's quality numbers and the gatetiling.md: the Roman tessellation and the HEALPix indexesacronyms.mdaccess.mdFiles
index.md,project/day-one.md,system/alerts.md,system/index.md,reference/{index,products,quality,tiling,acronyms,access}.md.Sources of each page
ce36bb4aunless stated)rapidpipe/science/alerts/param_registry.py,schema/00/08/*.avsc,assemble.py(assemble_alert),stages/packet.py,settings/foundation-thin.toml[packet],database/schema.sql(xsources,xobjects,diffimages)stages/intake.py,psf.py,reference.py,difference.py,packet.py;science/difference/sfft.py;[reference.mosaic]database/schema.sql,cdf/infobitsref.txt,science/reference/infobits.py,products/diffimage.py,science/difference/metrics.py,[reference.infobits],[gate]database/modules/utils/roman_tessellation.py,rapidpipe/products/spatial.py,[reference.mosaic]system/specification.md(Constraints, Edges),decisions.mddecision-latency,project/index.md,project/team.md. Nothing on the page is attributed to the codeThe field tables were generated with this script, kept out of the repo as the card asks (rapid_docs keeps no generators):
The tiling numbers came from
ring_z,nrabins,_BOUNDanddec_atinroman_tessellation.py. Ring 1 is 5.48 × 4.31 arcmin, ring 512 is 6.00 × 3.93 arcmin, and ring 1024 is 4.48 × 5.27 arcmin. Every tile is 23.60 to 23.61 arcmin², and the mean is 23.605.Divergences and implementation choices
system/alerts.md, as the card says, even though the page is otherwise the retired stage's record. The packet section comes first, and its status line marks it current. The new Reference section links to it instead of keeping a second copy.system/was the wrong place. They carry no Status line, becausesystem/'s status vocabulary is for design pages. Each page names the commit it was read from.build_recordenforces. For the alert record it comes fromassemble_alert. The registry marksprvDiaForcedSourcesas STUB, but the stage fills it.diaSourceIdis described as the code has it:xsid, numbered from 1 within each source set. Its meaning is left alone.diasourceid-packededits that note when it lands.Measurements
None. This is a docs-only change.
Improvements seen (not applied)
param_registry.pydoc strings still say "(stub)" for implemented fields:diaSource.apFluxandapFluxErr,diaForcedSource.scienceFluxandscienceFluxErr, and thessMatchrecord.prvDiaForcedSourcesis marked STUB but filled.nDiaSourcessays "over the whole history" but counts to the trigger.pidsays "science image" but is thediffimagesrow. These lines belong in a schema bump in rapid.stages/packet.pydocstring saysssMatchesis "null (not run: deferred by the plan)", but[packet] ss_match = trueand_catalog_matchesruns it.centroid_flagandpsfFlux_flagare "ALWAYS False on the wire". That held on the sources path. On the xsources path the triggers are cut on SExtractorFLAGS = 0whilepsfFitFlagsis the separate fit's mask, so they can be true.Session notes
The PIT document that holds RAPID's commitments ("Roman PIT Data Products User Documentation", 2026-02-18) could not be confirmed as public, and no public URL was found. The access page therefore rests on this site's own pages alone, as the card asks for anything whose public status is unclear.
For the next task
diasourceid-packed's companion PR edits the alert section's first note (thediaSourceId/xsidbullet) and thediaSourceIdrows in the generated tables. The anchor of the section is#the-alert-packet-schema-0008, andreference/index.md,reference/products.mdandreference/access.mdlink to it.Left
The access page names no Kafka endpoint, MAST delivery, archive cadence, file format or alert size. None of these is on an already-public page.
🤖 Generated with Claude Code