Skip to content

feat(iso): dedicated ZLayer::SystemsModel variant - #185

Open
elasticdotventures wants to merge 5 commits into
feat/requirement-decision-cost-kindsfrom
feat/zlayer-systems-model-variant
Open

feat(iso): dedicated ZLayer::SystemsModel variant#185
elasticdotventures wants to merge 5 commits into
feat/requirement-decision-cost-kindsfrom
feat/zlayer-systems-model-variant

Conversation

@elasticdotventures

Copy link
Copy Markdown
Member

Summary

  • Task 4 of the systems-modeling epic (ledgrrr#181 §6): adds a 7th ZLayer variant, SystemsModel, dedicated to Requirement/Decision/Cost content per decision 2 (independent layer, not folded into the existing 6 or the still-unimplemented proposed Domain layer from docs/ontological-implementation-spec.md §6.1)
  • index=6, base_z=816.0 (continues the existing 136.0 spacing), color=#be185d (distinct from all 6 existing hexes), label="SystemsModel"
  • Extends the two existing exhaustive ZLayer tests and adds a dedicated test asserting the new variant is distinct from Pipeline and correctly spaced from Attestation
  • Grepped the workspace for other exhaustive matches over ZLayer (mirroring the check done for task 3's NodeType/ArtifactKind widening) — none exist outside iso.rs itself; all other references just construct ZLayer values, which is safe under enum growth

Not done here (tracked as follow-on)

No HasVisualization impls wired for the Requirement/Decision/Cost structs from ledgrrr#184 — iso_objects.rs's own doc comment requires every new impl there to also update xtask/src/viz_manifest.rs::export_viz_manifest and the checked-in ui/docs/public/viz-manifest.json. That's a larger, separate change and naturally belongs alongside task 6 (wiring the new capability family into ledgerr-mcp/src/contract.rs), not task 4.

Stacked on #184 (base branch feat/requirement-decision-cost-kinds), which is stacked on #183.

Test plan

  • cargo test -p ledger-core --lib iso — 17 passed
  • cargo test -p ledger-core --lib — 181 passed, 1 ignored
  • cargo check --workspace --all-features — clean (1 pre-existing unrelated warning in ledgerr-mcp/src/fbar.rs)
  • Confirmed the two ufo-types::iso clippy lint failures are pre-existing on main, unrelated to this change (different iso.rs, different crate)

https://claude.ai/code/session_01XUAuQ6291UNn9sWcaviosB

Requirement/Decision/Cost content (ledgrrr#184) gets its own isometric
layer rather than folding into the existing 6 or the still-unimplemented
proposed Domain layer (docs/ontological-implementation-spec.md §6.1),
per decision 2 in docs/systems-modeling-registry-rescope.md: independent
toggle/color in the renderer over reusing an ontological-concepts layer.

index=6, base_z=816.0 (continuing the existing 136.0 spacing), color
#be185d (distinct from all 6 existing hexes). No HasVisualization impls
wired yet for Requirement/Decision/Cost themselves — that requires also
touching xtask's viz_manifest export + the checked-in viz-manifest.json
per iso_objects.rs's own convention, tracked as a follow-on alongside
task 6 (ledgerr-mcp/contract.rs wiring), not done here.
…inds' into feat/zlayer-systems-model-variant
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