v22.0 Pilot Metric Instrumentation and Tier 0 Hardening
Summary
This archive records the completed Tier 0 admissions-support bundle executed while v22.0 Gate 0 remained blocked on user-owned legal and partner evidence.
The work intentionally stayed inside the allowed near-term scope:
A3pilot metric computabilityA11public claim / placeholder hardeningA22focused pilot/privacy reliability coverage- bounded
A6/A16readiness tooling, without curated service-data edits
Completed Outcomes
- Extended the pilot metric-source schema:
- added
pilot_connection_events - added
pilot_service_scope - added
service_operational_status_events - added
pilot_data_decay_audits - added
pilot_preference_fit_events - added
entity_key_hashtopilot_contact_attempt_events - Implemented internal authenticated pilot APIs for:
- connection events
- pilot scope services
- service operational status events
- data-decay audits
- preference-fit events
- metric recompute into
pilot_metric_snapshots - Preserved privacy guardrails:
- rejected disallowed free-text/privacy fields on the new pilot write paths
- kept repeat-failure attribution on opaque SHA-256 digests instead of raw identifiers
- Added bounded readiness reporting:
npm run audit:pilot-readiness- JSON machine-readable report
- Markdown summary
- CSV verification worksheet
- no edits to
data/services.json - Hardened active public claims and placeholders:
- acknowledgments wording
- partner/reference page posture
- active locale copy associated with that surface
- press-kit/runtime/accessibility/privacy wording
- Added focused automated coverage:
- pilot route validation, permission, privacy-reject, missing-table, and success paths
- recompute route behavior
- pilot metric snapshot computation
- readiness-audit helpers and script-adjacent behavior
Canonical References Updated
- Architecture
- Main Roadmap
- v21 Admissions Portfolio Plan
- v22.0 Phase 0 Baseline Metric Definitions
- v22.0 Phase 0 Baseline Query Spec
- v22.0 Phase 0 Baseline SQL Editor Runbook
- v22.0 Phase 0 Implementation Plan
Verification Snapshot
Validated during the 2026-04-01 maintenance pass:
npm run ci:check- targeted Vitest coverage for the new pilot routes, recompute path, metric logic, schema validation, and readiness audit helpers
npm run audit:pilot-readiness -- --scope-file ...sanity-checked in temp-output mode
Not fully validated in this environment:
npm run test:db/npm run test:db:smokewere skipped locally becausepsqlis not installed on this machine
What Remains Open
This archive does not close the broader admissions backlog.
Still-open near-term work:
A1Gate 0 partner/legal evidence closure- real bounded
A6verification-cycle execution - real bounded
A16pilot-scope data corrections based on the new audit outputs
Later evidence work remains governed by the main roadmap and v21 plan.