lamina-dependencies

Solid

Map prerequisite, data, lifecycle, and reachability dependencies between typed product-graph nodes, including explicit behavior when a dependency is unmet.

Web & Frontend 65 stars 2 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 79/100

Stars 20%
61
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
73
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Dependencies Use top-level `dependencies[]` when one product behavior relies on another node. Dependencies prevent silent happy paths when setup, ownership, state, or another workflow is missing. ```json { "id": "accept-requires-live-invite", "type": "prerequisite", "from": "workflow.accept-invite", "to": "entity.invitation", "required_state": "pending", "unmet_behavior": "Reject acceptance, explain expiry or prior use, and offer a new invitation path", "criticality": "critical", "source": "derived", "confidence": "high", "relevance_reason": "The workflow cannot succeed without a pending invitation" } ``` ## Procedure 1. Inspect every critical workflow and relationship. 2. Add only dependencies that change reachability, fidelity, lifecycle, or recovery. 3. Use typed `from` and `to` references. 4. State observable `unmet_behavior`; do not use vague precondition prose. 5. Add one scenario with a distinct `risk_key` when the unmet behavior materially affects the product. 6. During verification, force the unmet state and confirm the product blocks, degrades, or recovers exactly as contracted. 7. For timezone data, schedulers, identity, delivery, storage, or runtime-version-specific APIs, name the current-slice adapter/runtime, owner, activation path, health check, cadence/tolerance, and fail-closed production posture. Avoid infrastructure/vendor dependencies unless they alter user-visible product behavior.

Details

Author
aryaniyaps
Repository
aryaniyaps/lamina
Created
3 weeks ago
Last Updated
today
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category