diff --git a/.doctrine/project.json b/.doctrine/project.json deleted file mode 100644 index 95ebefe..0000000 --- a/.doctrine/project.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "schemaVersion": 1, - "project": { - "repo": "SylphxAI/spectra", - "name": "Spectra", - "lifecycle": "active", - "layer": "foundation", - "summary": "Spectra is a Dart package and code generator that transforms annotated Dart data classes into JSON Schema, OpenAPI, and Protocol Buffers.", - "goals": [ - "Generate JSON Schema, OpenAPI, and Protobuf contracts from Dart model annotations.", - "Support Freezed, json_serializable, and plain Dart model patterns.", - "Keep generated contract outputs deterministic and owned by the Dart source model plus Spectra annotations." - ], - "nonGoals": [ - "Own consuming applications' API policy, auth, persistence, deployment, or business semantics.", - "Become a runtime API server or persistence framework.", - "Publish package changes without release proof and pub.dev readback." - ] - }, - "boundaries": { - "owns": [ - { - "name": "dart-schema-generator", - "description": "Spectra annotations, build integration, schema generation, generated output formats, examples, and docs." - }, - { - "name": "spectra-pub-package", - "description": "Dart package metadata and release evidence for the spectra_schema package." - } - ], - "doesNotOwn": [ - "Consuming applications' API lifecycle, auth, persistence, deployment, runtime validation policy, or business semantics.", - "Downstream generated artifact publication.", - "Enterprise doctrine or organization-wide rulesets." - ], - "publicSurfaces": [ - { - "type": "package-export", - "name": "spectra_schema Dart package", - "location": "pubspec.yaml" - }, - { - "type": "documentation", - "name": "Spectra README and example package", - "location": "README.md, example/" - } - ], - "allowedDependencies": [ - { - "repo": "SylphxAI/doctrine", - "surface": "enterprise engineering doctrine", - "direction": "downward" - } - ], - "forbiddenCouplings": [ - "Do not add consuming-application API policy, auth, persistence, or deployment assumptions to Spectra.", - "Do not create a second source of truth for generated contracts outside Dart models and Spectra annotations.", - "Do not publish package changes without explicit release proof and pub.dev readback." - ] - }, - "documentation": { - "adr": { - "path": "docs/adr/", - "status": "planned" - }, - "specs": { - "path": "README.md, pubspec.yaml, example/", - "status": "present" - }, - "catalog": { - "path": "PROJECT.md", - "status": "present" - }, - "runbooks": { - "path": "AGENTS.md", - "status": "present" - }, - "generatedReferences": { - "path": "generated schema/OpenAPI/Protobuf outputs", - "status": "generated" - } - }, - "delivery": { - "ciModel": "none", - "requiredContexts": [], - "deployPath": "No repo-local GitHub Actions workflow is declared at adoption time; package publication must be explicitly invoked and proven before public release claims.", - "productionProof": "Dart format/analyze/test evidence for code changes, example generation proof for output-affecting changes, package publish evidence, and pub.dev readback for released versions.", - "recoveryClass": "forward-fix-only", - "packageRelease": { - "publishesPackages": true, - "ecosystems": [ - "pub" - ], - "releaseIntent": "Spectra is a public Dart package published as spectra_schema.", - "versionPr": "No bot-owned version PR workflow is declared at adoption time.", - "publisher": "Manual or external pub.dev publish process; must be documented before release automation claims.", - "requiredContexts": [ - "manual-publish-proof" - ], - "publishProof": "pub.dev package readback for spectra_schema at the released version." - } - }, - "adoption": { - "status": "baseline", - "gaps": [ - { - "id": "repo-local-ci", - "description": "No repo-local GitHub Actions workflow validates Dart format, analyze, tests, or example generation at adoption time.", - "owner": "SylphxAI/spectra", - "target": "before full doctrine adoption" - }, - { - "id": "pub-release-automation", - "description": "No bot-owned pub.dev release workflow is declared at adoption time.", - "owner": "SylphxAI/spectra", - "target": "before public package publication" - } - ] - } -} diff --git a/AGENTS.md b/AGENTS.md index 94d75e0..689daa3 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -5,7 +5,7 @@ Static engineering and delivery standards load from the active Skills runtime SSOT). Doctrine and Mission Control are retired historical lineage and must not be loaded as current instruction authority. -Local truth: `PROJECT.md`, `.doctrine/project.json` when present. +Local truth: `PROJECT.md`. ## Boundary hazards diff --git a/PROJECT.md b/PROJECT.md index 562c04e..cdba2f5 100644 --- a/PROJECT.md +++ b/PROJECT.md @@ -9,8 +9,6 @@ release boundary. - Lifecycle: `active` - Layer: `foundation` -- Doctrine source of truth: [SylphxAI/doctrine](https://github.com/SylphxAI/doctrine) -- Machine manifest: `.doctrine/project.json` ## Goals