Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

feat(openspec): split quorum-declarative-migration into 3-spec chain (ADR-032)#150

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feature/quorum-chain-split
May 7, 2026
Merged

feat(openspec): split quorum-declarative-migration into 3-spec chain (ADR-032)#150
rubenvdlinde merged 1 commit into
developmentfrom
feature/quorum-chain-split

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Replaces the original quorum-declarative-migration spec which was kind: mixed per ADR-032 and burned the full 200-turn Hydra builder budget on 2026-05-07 without producing a PR.

ADR-032 (hydra PR #230) mandates the chain pattern.

Chain shape

  1. quorum-schema-declarationkind: config, no depends_on. Declare 2 aggregations + 2 calculations on Meeting + integration test + cross-schema engine spike. Lands first.
  2. quorum-guard-rewritekind: code (small), depends_on: [quorum-schema-declaration]. MeetingTransitionGuard reads meeting.quorumMet. Drop QuorumService dep from guard ctor. Update tests. ~30 LOC change.
  3. quorum-service-deletionkind: code (small), depends_on: [quorum-guard-rewrite]. Delete QuorumService.php + DI line + its test. Verify zero callers remain. ~10 LOC removed.

Hydra's existing hydra.json.depends_on mechanism enforces ordering automatically — each spec only builds after its predecessor's issue is closed (merged).

Empirical test framing

Spec 1 (config-only, default builder budget) is the canonical Hydra-friendly shape per ADR-032. If it lands cleanly through the pipeline in <80 turns and produces a tight PR, ADR-032 is empirically validated. Specs 2 + 3 follow as small kind: code specs each well within the 200-turn budget.

This makes spec 1 the actual Stage A retest target — same intent as the original mixed quorum spec, but right-sized.

Followups

Hydra dependencies

This PR depends on hydra PR #230 merging + container rebuild — the new opsx-ff rules and ADR-032 itself need to be in the builder + reviewer images for the chain semantics to be fully recognised. For the bare empirical test (running spec 1 through default Hydra) the new ADR isn't strictly required (default budget + simple shape is what we're testing); the new opsx-ff prompts only kick in when we generate NEW specs.

Notes

Markdown only, no code paths affected (one set of new test fixtures will land when spec 1 actually runs through Hydra).

…(ADR-032)

Replaces the original quorum-declarative-migration spec (PR #146,
issue #148) which was kind:mixed and burned the full 200-turn Hydra
budget on 2026-05-07 without producing a PR. ADR-032 mandates the
chain pattern.

Chain shape:
1. quorum-schema-declaration   (kind: config, depends_on: [])
   — declare 2 aggregations + 2 calculations on Meeting + integration
     test + cross-schema engine spike. Lands first; no consumer
     changes; existing QuorumService keeps working.
2. quorum-guard-rewrite        (kind: code, depends_on: [#1])
   — MeetingTransitionGuard reads meeting.quorumMet. Drop QuorumService
     dep from guard ctor. Update tests. ~30 LOC change.
3. quorum-service-deletion     (kind: code, depends_on: [#2])
   — Delete QuorumService.php + DI line + its test. Verify zero
     callers remain. ~10 LOC removed.

Hydra's existing supervisor `depends_on` mechanism enforces ordering
automatically — each spec only builds after its predecessor's issue
is closed (merged).

This is the empirical test for ADR-032. Spec 1 (config-only, default
budget) is the canonical Hydra-friendly shape; if it lands cleanly,
ADR-032 is empirically validated. Specs 2+3 follow as small
kind:code specs each well within the 200-turn budget.

Original quorum-declarative-migration change directory left in place
for now (will close issue #148 as superseded once these chain specs
merge).
@rubenvdlinde rubenvdlinde requested a review from Rem-Dam as a code owner May 7, 2026 19:36
@rubenvdlinde rubenvdlinde merged commit 19575a9 into development May 7, 2026
30 of 39 checks passed
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/decidesk @ 23df652

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-05-07 19:37 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant