Skip to content

chore: MAINT-226 ratify audit follow-up decisions (cert pinning, auth model, crisis 15–19, fail-safe breaker)#139

Merged
MP2EZ merged 1 commit into
developmentfrom
chore/maint-226-audit-followup-decisions
Jun 6, 2026
Merged

chore: MAINT-226 ratify audit follow-up decisions (cert pinning, auth model, crisis 15–19, fail-safe breaker)#139
MP2EZ merged 1 commit into
developmentfrom
chore/maint-226-audit-followup-decisions

Conversation

@MP2EZ
Copy link
Copy Markdown
Owner

@MP2EZ MP2EZ commented Jun 6, 2026

Closes MAINT-226

Decision spike (T0b, risk rank #1 enabler) from the 2026-06-06 multi-dimension audit of development. No application code changes β€” adds the decision record docs/development/audits/MAINT-226-audit-followup-decisions-2026-06-06.md that gates downstream tranches T2/T12/T13.

Four decisions, specialist-signed (security, compliance, crisis, philosopher) and owner-ratified:

  • C / SEC-03 cert pinning β†’ remove the false pin_validation_success claim now (no TLS pinning is actually performed); defer real pinning. Not a launch blocker. β†’ T2
  • D / SEC-09 auth β†’ anonymous-session (signInAnonymously + auth.uid() RLS); reject device-attestation. Live finding: current_setting('app.device_id') is never set β†’ RLS effectively unenforced. β†’ T12
  • E / TEST-07 PHQ-9 15–19 β†’ must emit a distinct support tier (currently detectCrisis only fires at β‰₯20, a test pins the bug); consolidate to one source of truth. β†’ T13
  • F / SEC-07 crisis breaker β†’ non-breakable + fail-safe toward support (kills the dormant {isCrisis:false} default). β†’ T13

πŸ€– Generated with Claude Code

… model, crisis 15–19, fail-safe breaker)

Decision spike (T0b, risk rank #1 enabler). No application code changes β€”
adds the decision record that gates downstream tranches T2/T12/T13.

- C/SEC-03 cert pinning: remove false pin_validation_success claim now; defer real pinning
- D/SEC-09 auth: anonymous-session (signInAnonymously + auth.uid RLS); the live finding
  is that current_setting('app.device_id') is never set β†’ RLS effectively unenforced
- E/TEST-07: PHQ-9 15–19 must emit a distinct support tier; consolidate detectCrisis
- F/SEC-07: crisis breaker non-breakable + fail-safe toward support (kills isCrisis:false default)

Signed off by security, compliance, crisis, philosopher; ratified by owner.

πŸ€– Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@MP2EZ MP2EZ merged commit 9d313c2 into development Jun 6, 2026
22 checks passed
@MP2EZ MP2EZ deleted the chore/maint-226-audit-followup-decisions branch June 6, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant