Skip to content

ADFA-5343 docs(server-lifecycle): add reconciler ADR + design-coherence guard - #496

Merged
luisguzman-adfa merged 2 commits into
mainfrom
docs/ADFA-5343-server-lifecycle-adr
Aug 29, 2026
Merged

ADFA-5343 docs(server-lifecycle): add reconciler ADR + design-coherence guard#496
luisguzman-adfa merged 2 commits into
mainfrom
docs/ADFA-5343-server-lifecycle-adr

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

What

Docs-only. Adds ADR-5343 (status: Proposed) and a matching design-coherence
guard to the repo CLAUDE.md.

  • controller/docs/ADR-5343-server-lifecycle-reconciler.md — proposes a single,
    process-scoped server-lifecycle reconciler to replace the Activity-scoped
    monitor/actuator split and the multiple liveness sources. Includes the evidence
    (file:line), ≥2 alternatives, a collapse table (how current bugs/patches —
    ADFA-5330, 5336, 5280, 4837, 5103 — are subsumed), a target state diagram with
    fewer states, a reduction scorecard, and a phased, device-verifiable migration plan.
  • CLAUDE.md — new "Design coherence" section: the anti-accretion rules the ADR
    motivates (prove a new state isn't a duplicate truth; one source per fact; N
    tickets on one concern is a redesign signal; the code-review second pass is a
    standing pre-merge gate).
  • .gitignore — ignore CLAUDE.local.md (per-contributor local overrides).

Why

The server-lifecycle model accreted ~17 tickets, each adding a state to compensate
for a missing always-on owner. This records the target design before any code, and
the guard makes the "don't patch a design gap with another flag" rule explicit.

Scope / verification

No production code, no APK change — the ADR is Proposed and gates its own
implementation. "Superseded" stamps on affected docs go on per migration phase, not
here. Nothing to verify on device.

…ce guard

Add ADR-5343 (proposed): a single process-scoped server-lifecycle
reconciler to replace the scattered monitor/actuator split and the
multiple liveness sources. Includes evidence, alternatives, collapse
table, reduction scorecard, and a phased migration plan.

Add a 'Design coherence' guard to CLAUDE.md capturing the anti-accretion
rules the ADR motivates (prove a new state isn't a duplicate truth; one
source per fact; N tickets on one concern is a redesign signal; the
code-review second pass is a standing pre-merge gate).
@luisguzman-adfa
luisguzman-adfa merged commit 2b524ef into main Aug 29, 2026
2 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the docs/ADFA-5343-server-lifecycle-adr branch August 29, 2026 03:06
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