Skip to content

docs(adr): publish verified fault records as public issues (ADR-0074) - #215

Merged
bketelsen merged 3 commits into
mainfrom
lucilla/adr-0074-public-fault-issues
Nov 6, 2026
Merged

bketelsen merged 3 commits into
mainfrom
lucilla/adr-0074-public-fault-issues

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds ADR-0074,
which amends ADR-0069's "Aggregates only are public" in part. A triage job in
frostyard/problem-intake may open 1 public GitHub issue (label
problem-report) for each problem key, in the repository that owns the faulty
code, so that a fault from opt-in problem reports becomes tracked work and a
fix PR can close it with Fixes #N.

The ADR fixes:

  • the closed list of public fields for each kind (and that crash and count
    are never filed);
  • the public problem key: a hash of the published form of the fingerprint
    values only (a frame of another module as its top package name), so a
    guessed raw value cannot be tested against it; the raw GlitchTip
    fingerprint stays internal;
  • each image id with its newest verified image version, never a version list;
  • the exact extra body lines (Problem key:, GlitchTip issue: row numbers)
    and the footer link;
  • that each value is verified against a public source first (release tag,
    source at that tag, published image tag, sysext index, allowlist), because the
    intake is public and a schema pattern bounds only a value's shape;
  • never a report_id, event ID, week, client, count or day;
  • the residue (1 or more installs hit it; the creation time tells about when; a
    rare image and version can point to few hosts), the cutoff (only problems
    first seen on or after the date that the frostyard.org privacy page section
    public-bug-reports states; nothing before that section is live), and that a
    deletion or opting out does not remove an issue.

Same PR:

  • ADR-0069 gets only an "Amended in part by" line (ADR-0033).
  • docs/specs/problem-report.md: the intro links ADR-0074, new rule 12
    (Publication: the suppressed weekly aggregates of ADR-0069 stay; the
    fault issue is the only other public form), a derived-artifact row for the
    public fault issue, and the References.
  • docs/design/problem-reports.md: a "Public fault issues" bullet and the
    rationale links.
  • docs/README.md: index line.

Facts come from problem-intake origin/main 4111924: ADR-0003 (the event ID is
the report_id without dashes), ADR-0004 (72-day retention), ADR-0005 (no
report_id tag), and src/envelope.ts / src/dimensions.ts (the fingerprint
[kind, class, ...groupKey], whose values are all public fields of the table).

Follow-ups in other repositories: the privacy page section
public-bug-reports (frostyard/frostyard-org), and the triage job's ADR, spec
docs/specs/triage.md, routes and allowlists (frostyard/problem-intake). The
job files nothing before the page section is live.

Risk tier

Risk tier: 1 — docs only (an ADR, a spec rule, a design note, an index line). No
path in .github/risk-paths.json is touched. The decision itself changes what
may be public about problem reports; the cutoff keeps it inert until the
privacy page states it.

Docs housekeeping

  • New docs started from their category's TEMPLATE.md
  • Every new doc indexed in docs/README.md
  • Cross-links added in both directions (ADR ↔ design ↔ spec)
  • New significant decision recorded as an ADR first, in this PR
  • New/edited ADRs are fact-only
    (ADR-0051)
  • Conformance aliases (ADR-0029) untouched

Verification

  • make ci green locally (check-docs, check-organization, 388 tests)
  • Revert test: exempt (docs only, no behavior).

Review

  • Owner check of the problem-intake facts (comment above): 2 changes taken
    (several images for 1 key; the problem key sentence).
  • Cross-review: reviewer openai/gpt-6.1-sol, coder
    github-copilot/claude-opus-5.5, base 6cf5b095ef40. Initial review at
    2589843 (Not ready: F1 rule 12 also forbade the aggregates; F2 body lines
    not named; F3 non-blocking). Re-review 1 at 8840de9 (Not ready: F4 a key
    from the raw fingerprint can confirm a guessed raw frame; F5 a timing
    guarantee the daily run does not give). Re-review 2 at faeafa8: Ready,
    Blocking: none. F3's GlitchTip-status point stays with problem-intake's own
    ADR: it changes nothing that is public.

ADR-0074 amends ADR-0069's 'Aggregates only are public' in part: a triage
job may open 1 public issue for each problem key in the owner repository,
with only a closed list of public fields per kind, each value verified
against a public source, and never a report_id, event ID, week, client,
count or day. ADR-0069 gets only a successor link (ADR-0033). The problem
report spec gains rule 12 and a derived-artifact row; the design doc and the
index link the ADR.
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Checked the problem-intake facts against frostyard/problem-intake main (4111924): the fingerprint [kind, class, ...groupKey], the class field of each kind (src/dimensions.ts), the group key fields (src/envelope.ts), the event ID as the report_id without dashes (problem-intake ADR-0005), the 72-day retention (ADR-0004), the cutoff rule and the public-field table. They are correct, with 2 changes:

  1. More than 1 image. The fingerprint holds no image id, so 1 problem key can cover reports from several images (for example a unit_failed of a shared unit on snow and floe). The triage job keeps a fix boundary for each image. Please change "the image id and its newest verified image version" to "each image id with its newest verified image version". This is not a version list: 1 version for each image.
  2. The problem key sentence. "whose values are all public fields of the table below" is not exact for app_problem panics: the fingerprint holds the first 3 raw frames, and a frame of another module is published only as its top package name. Suggested text: "The problem key is the first 16 hex characters of the SHA-256 of the fingerprint above; the key itself is published, the fingerprint values only as the table below allows."

No other objection.

…es; spec rule 12 keeps the aggregates

- 1 problem key can cover several images: each image id with its newest
  verified image version, never a version list.
- The problem key is a hash of the fingerprint; the fingerprint values are
  published only as the closed table allows (frames of other modules become
  their top package name).
- Name the body lines (Problem key, GlitchTip issue row numbers), the footer
  link, and what the loop comments hold; the job runs at most once a day.
- Spec rule 12 keeps ADR-0069's suppressed weekly aggregates and applies the
  never-published list to fault issues, their comments and the job's status.
…only

A key hashed from the raw fingerprint would let a reader test a guessed raw
frame against it, although the issue shows a frame of another module only as
its top package name. The key now hashes the published form of each value,
and the raw GlitchTip fingerprint stays internal. Drop the claim that the
daily run bounds what the creation time tells; the residue states it.
@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 6, 2026
@bketelsen
bketelsen merged commit ed1fcbd into main Nov 6, 2026
5 checks passed
@bketelsen
bketelsen deleted the lucilla/adr-0074-public-fault-issues branch November 6, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants