v0.1-alpha: Stricture is in active development. CLI shape, annotation profiles, and policy schema are still being refined.
Stricture is a lineage-first drift control and architectural enforcement layer for API ecosystems. It tells you what changed, who is impacted, and whether deploy should proceed.
- Detect drift traditional linters miss: field contracts, source versions, and cross-service invariants.
- Get actionable findings: cause service, impacted services, blast radius, and owner/escalation.
- Enforce policy in CI/CD with deterministic warn/block decisions.
- Reuse existing metadata via overlays (OpenAPI, OpenTelemetry, OpenLineage, AsyncAPI).
- Add lightweight source comments where fields are emitted or transformed.
- Keep service metadata in a systems registry (
docs/config-examples/lineage-systems.ymlpattern). - Export lineage, diff against baseline, and apply policy gates in CI.
Minimal annotation:
// strict-source: PromotionsConfig
PromotionType string `json:"promotion_type"`Namespace convention:
- Source comments use
strict-prefixes (for examplestrict-source). - YAML config keys use
stricture_prefixes (for examplestricture_policy_url).
# Build CLI
make build
# Initialize repo config
./bin/strict init
# Run static checks
./bin/strict lint .
# Export current lineage snapshot
./bin/strict lineage-export --out .stricture/current-lineage.json .
# Compare against baseline and gate release
./bin/strict lineage-diff \
--base .stricture/baseline-lineage.json \
--head .stricture/current-lineage.json \
--mode blockFirst run bootstrap:
mkdir -p .stricture
cp .stricture/current-lineage.json .stricture/baseline-lineage.jsonstrict list-rules
strict explain --rule ARCH-dependency-direction
strict inspect-lineage path/to/file.go
strict lineage-escalate --service ServiceY --artifact .stricture/current-lineage.json --systems docs/config-examples/lineage-systems.ymlStricture Open Standard defines portable lineage, drift, and policy semantics.
- Charter: SPEC-CHARTER.md
- Draft spec: spec/0.1-draft.md
- License split: LICENSES.md
- Product spec: docs/product-spec.md
- Annotation reference: docs/data-lineage-annotations.md
- Annotation quality: docs/ANNOTATION-GUIDE.md
- Policy guide: docs/POLICY-GUIDE.md
- Helper draft spec: docs/helper/SPEC.md
- Server spec: docs/server/SPEC.md
- Server storage/auth design: docs/server/STORAGE.md
- Testing and quality gates: TESTING.md
- Site deploy: DEPLOY.md
- Home: https://stricture-lint.com/
- What is Stricture: https://stricture-lint.com/what-is-stricture
- Examples: https://stricture-lint.com/examples
- Live demo: https://stricture-lint.com/demo
- Implementation (CLI, engine, adapters, scripts): AGPL-3.0
- Open Standard docs and schemas: CC BY 4.0
- Path-level mapping: LICENSES.md