@c4a/context-cli 0.6.17 → 0.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +4848 -3828
- package/package.json +2 -2
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +8 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +8 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +8 -0
- package/plugins/skills/c4a-context/SKILL.md +8 -0
- package/providers/context/actions/apply-forced-review.yaml +5 -0
- package/providers/context/actions/revise-code-index-audit.yaml +5 -0
- package/providers/context/actions/submit-code-index-audit.yaml +6 -0
- package/providers/context/codes.yaml +3 -0
- package/providers/context/graphs/workspace.yaml +51 -1
- package/providers/context/manifest.json +70 -16
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/dialogue/knowledge-review.md +9 -0
- package/providers/context/resources/manuals/reference/project-api.md +9 -2
- package/providers/context/resources/procedures/close-and-build.md +8 -0
- package/providers/context/resources/procedures/code-extraction.md +14 -0
- package/providers/context/resources/procedures/code-index-audit.md +43 -0
- package/providers/context/resources/procedures/knowledge-review.md +6 -0
- package/providers/context/resources/views/code-index-audit.yaml +6 -0
- package/providers/context/schemas/code-index-audit-decision.schema.json +94 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "context.code-index-audit-decision.v1",
|
|
4
|
+
"title": "Context code-index Agent audit decision",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schema",
|
|
9
|
+
"report_digest",
|
|
10
|
+
"decision",
|
|
11
|
+
"summary",
|
|
12
|
+
"reviewed_units",
|
|
13
|
+
"scope_assessment",
|
|
14
|
+
"signal_assessments"
|
|
15
|
+
],
|
|
16
|
+
"properties": {
|
|
17
|
+
"schema": { "const": "context.code-index-audit-decision.v1" },
|
|
18
|
+
"report_digest": { "type": "string", "minLength": 1 },
|
|
19
|
+
"decision": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": ["accept", "revise", "request-input"]
|
|
22
|
+
},
|
|
23
|
+
"summary": { "type": "string", "minLength": 1 },
|
|
24
|
+
"reviewed_units": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"minItems": 1,
|
|
27
|
+
"uniqueItems": true,
|
|
28
|
+
"items": { "type": "string", "minLength": 1 }
|
|
29
|
+
},
|
|
30
|
+
"scope_assessment": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"required": ["matches_requested_scope", "omissions", "summary"],
|
|
34
|
+
"properties": {
|
|
35
|
+
"matches_requested_scope": { "type": "boolean" },
|
|
36
|
+
"omissions": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"uniqueItems": true,
|
|
39
|
+
"items": { "type": "string" }
|
|
40
|
+
},
|
|
41
|
+
"summary": { "type": "string", "minLength": 1 }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"signal_assessments": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": ["signal_id", "disposition", "reason"],
|
|
50
|
+
"properties": {
|
|
51
|
+
"signal_id": { "type": "string", "minLength": 1 },
|
|
52
|
+
"disposition": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"enum": ["fix", "acceptable", "not-applicable"]
|
|
55
|
+
},
|
|
56
|
+
"reason": { "type": "string", "minLength": 1 }
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"revision_plan": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"additionalProperties": false,
|
|
63
|
+
"required": ["units", "actions"],
|
|
64
|
+
"properties": {
|
|
65
|
+
"units": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"minItems": 1,
|
|
68
|
+
"uniqueItems": true,
|
|
69
|
+
"items": { "type": "string", "minLength": 1 }
|
|
70
|
+
},
|
|
71
|
+
"actions": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"minItems": 1,
|
|
74
|
+
"items": { "type": "string", "minLength": 1 }
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"requested_material": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"minItems": 1,
|
|
81
|
+
"items": { "type": "string", "minLength": 1 }
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"allOf": [
|
|
85
|
+
{
|
|
86
|
+
"if": { "properties": { "decision": { "const": "revise" } } },
|
|
87
|
+
"then": { "required": ["revision_plan"] }
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"if": { "properties": { "decision": { "const": "request-input" } } },
|
|
91
|
+
"then": { "required": ["requested_material"] }
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|