Skip to content

docs(law): ADR-018 generator declarations law (flext-0in0k.1) - #256

Merged
marlon-costa-dc merged 3 commits into
0.12.0-devfrom
worktree-generator-law-p0
Sep 21, 2026
Merged

marlon-costa-dc merged 3 commits into
0.12.0-devfrom
worktree-generator-law-p0

Conversation

@marlon-costa-dc

@marlon-costa-dc marlon-costa-dc commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

ADR-018 — Generator Declarations Law (flext-0in0k.1)

Operator law 2026-09-20, negotiated point by point: FLEXT generators emit only what is declared — nothing inferred, listed by hand, or accommodated.

  • docs/architecture/adr/018-generator-declarations.md — decision, context (the hacks and the fleet gen break a43dcf547), consequences, verification contract
  • docs/architecture/adr/README.md — index entry
  • .agents/skills/flext-law/SKILL.md — routing bullet to the rule owner ~/agents/rules/flext/generator-declarations.md (agents PR opened separately)

Epic flext-0in0k carries the 20 phased beads; each later phase is its own session and lane. Docs-only; the docs gate runs in CI for this lane.

🤖 Generated with Claude Code

https://claude.ai/code/session_01S2Sdb2nKZBjqJk3sxqAgET


Summary by cubic

Adds ADR-018, establishing that FLEXT generators emit only what is declared — nothing inferred, listed by hand, or accommodated. The law supersedes the filename→letter tables, closed folder lists, and advisory-gate lists whose undeclared export discovery broke the fleet make gen on 2026-09-20. Also resolves the stash conflict markers committed into docs/projects/flext-target-oracle-oic.md, docs/projects/flext-target-oracle-wms.md, and docs/scripts/gate-contract.md, which failed the conflict-markers gate.

Details

  • Records the 14-point decision, context, consequences, and verification contract; phased under epic flext-0in0k (20 bead phases).
  • Adds the flext-law skill routing bullet to the rule owner; the agent rule file opens in a separate PR.
  • Rebuilds the conflict-marked sections of the three docs from code reality.
  • Docs-only; the docs gate runs in CI for this lane.

Written for commit 83631fd. Summary will update on new commits.

Review in cubic

Marlon Costa and others added 2 commits September 20, 2026 20:57
…ext-0in0k.1)

Operator law 2026-09-20: generators emit only what is declared. Fourteen points
(letter owner = declaring module; init propagates; tiers detected and inherited by
MRO; derive over list; one nested class; hack permissions die with the hack;
exceptions only by explicit operator authorization; strict compliance as the dedup
mechanism). Rule owner: ~/agents/rules/flext/generator-declarations.md. Phased
under epic flext-0in0k (20 beads); supersedes flext-exbwv, flext-crd1y,
flext-b3xmn, flext-szjre, flext-fdoah, flext-s9bxq.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S2Sdb2nKZBjqJk3sxqAgET
…s (red base adopted)

conflict-markers gate on PR #256 fails on the base itself: docs/projects/
flext-target-oracle-oic.md, docs/projects/flext-target-oracle-wms.md and
docs/scripts/gate-contract.md carry `<<<<<<< Updated upstream` / `>>>>>>> Stashed
changes` markers committed by d2b10ae and carried by caf8f86 (gate-contract.md
was additionally reflowed by the formatter). Resolved from code reality: oic
target.py holds FlextTargetOracleOicBaseSink + per-stream sinks; wms client.py
holds CatalogManager/StreamProcessor/Target and helpers.py WMSTableManager +
transformers; the gate-contract flag tables are rebuilt once each.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S2Sdb2nKZBjqJk3sxqAgET
@marlon-costa-dc
marlon-costa-dc marked this pull request as ready for review September 21, 2026 01:11
…olumn markdown limit (rumdl MD013)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01S2Sdb2nKZBjqJk3sxqAgET
@sonarqubecloud

Copy link
Copy Markdown

@marlon-costa-dc
marlon-costa-dc merged commit 66b2385 into 0.12.0-dev Sep 21, 2026
9 of 10 checks passed
@marlon-costa-dc
marlon-costa-dc deleted the worktree-generator-law-p0 branch September 21, 2026 02:11
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