-
Notifications
You must be signed in to change notification settings - Fork 0
feat(spec): v0.3 four-property schema with gsd-plugin alignment #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
66d9232
test(spec): update version expectations to match pre-v0.3 state
qmarcelle ba79336
feat(spec): rewrite schema and examples for v0.3 four-property shape
qmarcelle 5abf2c2
feat(spec): add v0.3 types, validate/validateLegacy exports, bump to …
qmarcelle c90770c
fix(spec): correct schema $id/title and version pin in metadata test
qmarcelle 1ea94ee
fix(spec): lock canonical $id to www.workspacejson.dev/schema/v1.json…
qmarcelle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "manual": {}, | ||
| "generated": { | ||
| "specVersion": "0.3", | ||
| "generatedAt": "2026-05-22T00:00:00Z", | ||
| "by": { "name": "example-producer", "version": "0.1.0" }, | ||
| "frameworkManifest": [], | ||
| "fileIndex": {}, | ||
| "warnings": [] | ||
| }, | ||
| "agents": {}, | ||
| "health": { | ||
| "intelligenceState": "INSUFFICIENT_DATA", | ||
| "observationCount": 0, | ||
| "confidence": 0 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "manual": {}, | ||
| "generated": { | ||
| "specVersion": "0.3", | ||
| "generatedAt": "2026-05-22T00:00:00Z", | ||
| "by": { "name": "vreko-daemon", "version": "0.3.0" }, | ||
| "frameworkManifest": [ | ||
| { "name": "next.js", "version": "15.0.0", "confidence": 0.95 } | ||
| ], | ||
| "fileIndex": { | ||
| "apps/api/src/auth.ts": { | ||
| "fragility": 0.82, | ||
| "aiModificationCount": 7, | ||
| "humanModificationCount": 3 | ||
| } | ||
| }, | ||
| "topology": { "packageCount": 38 }, | ||
| "warnings": [] | ||
| }, | ||
| "agents": {}, | ||
| "health": { | ||
| "intelligenceState": "CONFIDENT", | ||
| "observationCount": 1247, | ||
| "confidence": 0.87, | ||
| "averageFragility": 0.34, | ||
| "fragileFileCount": 12 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| { | ||
| "manual": { | ||
| "fragileFiles": [ | ||
| { "path": "apps/api/src/auth.ts", "reason": "high rollback rate, auth logic" } | ||
| ], | ||
| "coChangePatterns": [ | ||
| { | ||
| "files": ["apps/cli/src/commands/check.ts", "apps/cli/src/commands/interactive.ts"], | ||
| "note": "always change together" | ||
| } | ||
| ] | ||
| }, | ||
| "generated": { | ||
| "specVersion": "0.3", | ||
| "generatedAt": "2026-05-22T00:00:00Z", | ||
| "by": { "name": "vreko-daemon", "version": "0.3.0" }, | ||
| "frameworkManifest": [], | ||
| "fileIndex": {}, | ||
| "warnings": [] | ||
| }, | ||
| "agents": {}, | ||
| "health": { | ||
| "intelligenceState": "OBSERVING", | ||
| "observationCount": 42, | ||
| "confidence": 0.45 | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,99 +1,103 @@ | ||
| { | ||
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "$id": "https://workspacejson.dev/schemas/agents.workspace.v1.json", | ||
| "$id": "https://www.workspacejson.dev/schema/v1.json", | ||
| "title": "agents.workspace.json", | ||
| "type": "object", | ||
| "required": ["version"], | ||
| "required": ["manual", "generated", "agents", "health"], | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "version": { | ||
| "type": "string" | ||
| }, | ||
| "generatedAt": { | ||
| "type": "string", | ||
| "format": "date-time" | ||
| }, | ||
| "repository": { | ||
| "type": "string" | ||
| }, | ||
| "topology": { | ||
| "type": "string", | ||
| "enum": ["single-package", "monorepo", "polyglot-monorepo"] | ||
| }, | ||
| "ciProvider": { | ||
| "type": "string", | ||
| "enum": ["github-actions", "gitlab-ci", "circleci", "jenkins", "none", "unknown"] | ||
| }, | ||
| "agentFiles": { | ||
| "manual": { | ||
| "type": "object", | ||
| "description": "Human-authored content preserved across regenerations.", | ||
| "properties": { | ||
| "agentsMd": { "type": "string" }, | ||
| "workspaceJson": { "type": "string" } | ||
| }, | ||
| "additionalProperties": false | ||
| }, | ||
| "frameworks": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| }, | ||
| "conventions": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "required": ["raw", "type", "canonical"], | ||
| "properties": { | ||
| "raw": { "type": "string" }, | ||
| "type": { | ||
| "type": "string", | ||
| "enum": ["filename-case", "directory-layout", "naming", "structural", "other"] | ||
| }, | ||
| "canonical": { "type": "string" } | ||
| }, | ||
| "additionalProperties": false | ||
| } | ||
| }, | ||
| "packages": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": "object", | ||
| "required": ["path"], | ||
| "properties": { | ||
| "name": { "type": "string" }, | ||
| "path": { "type": "string" }, | ||
| "agentsMd": { "type": "string" }, | ||
| "dependencies": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| "fragileFiles": { | ||
| "type": "array", | ||
| "description": "Human-annotated fragile files. Read by gsd-plugin v2.42.3.", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "path": { "type": "string" }, | ||
| "reason": { "type": "string" } | ||
| } | ||
| } | ||
| }, | ||
| "additionalProperties": true | ||
| } | ||
| }, | ||
| "gitSummary": { | ||
| "type": "object", | ||
| "properties": { | ||
| "nonAgentsCommitCount30Days": { "type": "integer", "minimum": 0 }, | ||
| "filesChangedLast30Days": { | ||
| "coChangePatterns": { | ||
| "type": "array", | ||
| "items": { "type": "string" } | ||
| "description": "Human-annotated co-change observations. Read by gsd-plugin v2.42.3.", | ||
| "items": { "type": "object" } | ||
| } | ||
| }, | ||
| "additionalProperties": false | ||
| "additionalProperties": true | ||
| }, | ||
| "hygiene": { | ||
| "generated": { | ||
| "type": "object", | ||
| "required": ["specVersion", "generatedAt", "by"], | ||
| "properties": { | ||
| "score": { "type": "number", "minimum": 0, "maximum": 100 }, | ||
| "grade": { "type": "string", "enum": ["A", "B", "C", "D", "F"] }, | ||
| "failCount": { "type": "integer", "minimum": 0 }, | ||
| "warnCount": { "type": "integer", "minimum": 0 }, | ||
| "scannedAt": { "type": "string", "format": "date-time" } | ||
| "specVersion": { "const": "0.3" }, | ||
| "generatedAt": { "type": "string", "format": "date-time" }, | ||
| "by": { | ||
| "type": "object", | ||
| "required": ["name", "version"], | ||
| "properties": { | ||
| "name": { "type": "string" }, | ||
| "version": { "type": "string" } | ||
| } | ||
| }, | ||
| "frameworkManifest": { | ||
| "type": "array", | ||
| "description": "Detected frameworks (confidence >= 0.7). Read by gsd-plugin v2.42.3.", | ||
| "items": { | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { "type": "string" }, | ||
| "version": { "type": "string" }, | ||
| "confidence": { "type": "number", "minimum": 0, "maximum": 1 } | ||
| } | ||
| } | ||
| }, | ||
| "fileIndex": { | ||
| "type": "object", | ||
| "description": "Per-file behavioral intelligence keyed by relative path. Read by gsd-plugin v2.42.3.", | ||
| "additionalProperties": { | ||
| "type": "object", | ||
| "properties": { | ||
| "fragility": { "type": "number", "minimum": 0, "maximum": 1 }, | ||
| "aiModificationCount": { "type": "integer", "minimum": 0 }, | ||
| "humanModificationCount": { "type": "integer", "minimum": 0 } | ||
| } | ||
| } | ||
| }, | ||
| "topology": { "type": "object" }, | ||
| "conventions": { "type": "array" }, | ||
| "gitSummary": { "type": "object" }, | ||
| "hygiene": { "type": "object" }, | ||
| "warnings": { "type": "array", "items": { "type": "string" } } | ||
| }, | ||
| "additionalProperties": false | ||
| "additionalProperties": true | ||
| }, | ||
| "agents": { | ||
| "type": "object", | ||
| "description": "Cross-tool agent configuration surface." | ||
| }, | ||
| "metadata": { | ||
| "health": { | ||
| "type": "object", | ||
| "description": "Summary metrics and intelligence state. Per-file detail belongs under generated.fileIndex.", | ||
| "properties": { | ||
| "intelligenceState": { | ||
| "type": "string", | ||
| "enum": ["INSUFFICIENT_DATA", "OBSERVING", "CONFIDENT"] | ||
| }, | ||
| "observationCount": { "type": "integer", "minimum": 0 }, | ||
| "confidence": { "type": "number", "minimum": 0, "maximum": 1 }, | ||
| "boundRate": { "type": "number" }, | ||
| "averageFragility": { "type": "number" }, | ||
| "fragileFileCount": { "type": "integer", "minimum": 0 }, | ||
| "aiAttributionRate": { "type": "number" }, | ||
| "rollbackRate": { "type": "number" }, | ||
| "trend": { "type": "string" }, | ||
| "lastUpdated": { "type": "string", "format": "date-time" } | ||
| }, | ||
| "additionalProperties": true | ||
| } | ||
| }, | ||
| "additionalProperties": true | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.