@sentropic/track 0.98.8 → 0.98.9-rc.5
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/dist/registry/manifest.d.ts +7 -0
- package/dist/registry/manifest.d.ts.map +1 -0
- package/dist/registry/manifest.js +11 -0
- package/dist/registry/manifest.js.map +1 -0
- package/package.json +6 -1
- package/registry/entries.v1.json +130 -0
- package/registry/manifest.track.json +358 -0
- package/skills/present-decision/SKILL.md +2 -0
- package/skills/present-decision/assets/owner-gates.md +36 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface TrackRegistryPackageManifest {
|
|
2
|
+
format: "sentropic.registry-package/v1";
|
|
3
|
+
entries: unknown[];
|
|
4
|
+
}
|
|
5
|
+
export declare const trackRegistryPackageManifest: TrackRegistryPackageManifest;
|
|
6
|
+
export declare const trackRegistryPackageManifestText: string;
|
|
7
|
+
//# sourceMappingURL=manifest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../src/registry/manifest.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,+BAA+B,CAAC;IACxC,OAAO,EAAE,OAAO,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,4BAA4B,EAAuB,4BAA4B,CAAC;AAC7F,eAAO,MAAM,gCAAgC,QAAO,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `./registry/manifest` JSON export: the package-owned
|
|
3
|
+
* `registry/entries.v1.json` wrapper for `sentropic.track` (contract §3.1).
|
|
4
|
+
* Metadata only: reading it starts nothing and imports no provider code.
|
|
5
|
+
*/
|
|
6
|
+
import { readFileSync } from "node:fs";
|
|
7
|
+
const url = new URL("../../registry/entries.v1.json", import.meta.url);
|
|
8
|
+
const text = readFileSync(url, "utf8");
|
|
9
|
+
export const trackRegistryPackageManifest = JSON.parse(text);
|
|
10
|
+
export const trackRegistryPackageManifestText = text;
|
|
11
|
+
//# sourceMappingURL=manifest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../src/registry/manifest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACvE,MAAM,IAAI,GAAG,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;AAOvC,MAAM,CAAC,MAAM,4BAA4B,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAiC,CAAC;AAC7F,MAAM,CAAC,MAAM,gCAAgC,GAAG,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentropic/track",
|
|
3
|
-
"version": "0.98.
|
|
3
|
+
"version": "0.98.9-rc.5",
|
|
4
4
|
"description": "Typed product-backlog and spec/plan/UAT system of record for the sentropic ecosystem (record-only MVP).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Fabien Antoine",
|
|
@@ -46,10 +46,15 @@
|
|
|
46
46
|
"./mcp": {
|
|
47
47
|
"types": "./dist/mcp/serve.d.ts",
|
|
48
48
|
"import": "./dist/mcp/serve.js"
|
|
49
|
+
},
|
|
50
|
+
"./registry/manifest": {
|
|
51
|
+
"types": "./dist/registry/manifest.d.ts",
|
|
52
|
+
"import": "./dist/registry/manifest.js"
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
55
|
"files": [
|
|
52
56
|
"dist",
|
|
57
|
+
"registry",
|
|
53
58
|
"skills"
|
|
54
59
|
],
|
|
55
60
|
"scripts": {
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "sentropic.registry-package/v1",
|
|
3
|
+
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"format": "sentropic.registry-entry/v1",
|
|
6
|
+
"contractVersion": "1.1.4",
|
|
7
|
+
"kind": "mcp",
|
|
8
|
+
"id": "sentropic.track",
|
|
9
|
+
"name": "track",
|
|
10
|
+
"description": "Track read-only MCP: report, snapshot, query, validation and provenance reads over the per-request authorized repository.",
|
|
11
|
+
"entryVersion": "1.0.0",
|
|
12
|
+
"publisher": {
|
|
13
|
+
"packageName": "@sentropic/track",
|
|
14
|
+
"packageVersion": "0.98.9"
|
|
15
|
+
},
|
|
16
|
+
"compatibility": {
|
|
17
|
+
"entryContract": "1.1.4",
|
|
18
|
+
"packages": [],
|
|
19
|
+
"schemaProfiles": [
|
|
20
|
+
"sentropic.parameters/2020-12-bounded-v1"
|
|
21
|
+
],
|
|
22
|
+
"requiredHostFeatures": [
|
|
23
|
+
"stdio"
|
|
24
|
+
],
|
|
25
|
+
"optionalHostFeatures": [
|
|
26
|
+
"streamable-http"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"parameters": {
|
|
30
|
+
"schemaVersion": "1.0.0",
|
|
31
|
+
"schema": {
|
|
32
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
33
|
+
"$id": "urn:sentropic:registry:parameters:sentropic.track:1.0.0",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"additionalProperties": false,
|
|
36
|
+
"required": [
|
|
37
|
+
"access",
|
|
38
|
+
"repositoryBindingRef"
|
|
39
|
+
],
|
|
40
|
+
"properties": {
|
|
41
|
+
"access": {
|
|
42
|
+
"const": "read-only"
|
|
43
|
+
},
|
|
44
|
+
"repositoryBindingRef": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"minLength": 1,
|
|
47
|
+
"maxLength": 96,
|
|
48
|
+
"pattern": "^[a-z0-9][a-z0-9._-]*$"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"defaults": {
|
|
53
|
+
"access": "read-only"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"bindings": [
|
|
57
|
+
{
|
|
58
|
+
"key": "h2a-attachment-workspace",
|
|
59
|
+
"contract": "h2a.workspace/v1",
|
|
60
|
+
"required": true
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"assets": [
|
|
64
|
+
{
|
|
65
|
+
"role": "manifest",
|
|
66
|
+
"path": "registry/manifest.track.json",
|
|
67
|
+
"mediaType": "application/json",
|
|
68
|
+
"sha256": "f5f83e7028f8ae757fa4b2596cb69ea79f1eb805b10a847c9eebbc4bbb54cddf"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"mcp": {
|
|
72
|
+
"manifestAsset": "registry/manifest.track.json",
|
|
73
|
+
"connectorIds": [
|
|
74
|
+
"track-read"
|
|
75
|
+
],
|
|
76
|
+
"transportProfiles": [
|
|
77
|
+
{
|
|
78
|
+
"id": "attachment-stdio",
|
|
79
|
+
"mode": "binding",
|
|
80
|
+
"bindingKey": "h2a-attachment-workspace",
|
|
81
|
+
"protocolVersions": [
|
|
82
|
+
"2025-06-18"
|
|
83
|
+
],
|
|
84
|
+
"requiredHostFeatures": [
|
|
85
|
+
"stdio"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "hosted-read-only-http",
|
|
90
|
+
"mode": "streamable-http",
|
|
91
|
+
"protocolVersions": [
|
|
92
|
+
"2025-06-18"
|
|
93
|
+
],
|
|
94
|
+
"requiredHostFeatures": [
|
|
95
|
+
"streamable-http"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"protocolVersions": [
|
|
100
|
+
"2025-06-18"
|
|
101
|
+
],
|
|
102
|
+
"capabilityProfiles": [
|
|
103
|
+
{
|
|
104
|
+
"id": "read-only",
|
|
105
|
+
"tools": [
|
|
106
|
+
"track_report",
|
|
107
|
+
"track_snapshot",
|
|
108
|
+
"track_query",
|
|
109
|
+
"track_validate",
|
|
110
|
+
"track_audit",
|
|
111
|
+
"track_branch_provenance",
|
|
112
|
+
"track_freshness",
|
|
113
|
+
"track_external_deps",
|
|
114
|
+
"track_status",
|
|
115
|
+
"track_verification_runs",
|
|
116
|
+
"track_scope_validate",
|
|
117
|
+
"track_cursor",
|
|
118
|
+
"track_canevas",
|
|
119
|
+
"track_amendment_trace",
|
|
120
|
+
"track_workspace_activity"
|
|
121
|
+
],
|
|
122
|
+
"resources": [],
|
|
123
|
+
"prompts": [],
|
|
124
|
+
"readOnly": true
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
{
|
|
2
|
+
"providerId": "sentropic.track",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"appId": "@sentropic/track",
|
|
5
|
+
"tools": [
|
|
6
|
+
{
|
|
7
|
+
"name": "track_report",
|
|
8
|
+
"description": "Legacy deterministic backlog projection. JSON/text/Markdown outputs are compatibility reads and never invoke AI; use track_snapshot for the canonical factual contract and CLI `track report --wp --decisions` for the complete local conductor.",
|
|
9
|
+
"inputSchema": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"baselineCommit": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Commit the report is evaluated against (acceptance/staleness)."
|
|
15
|
+
},
|
|
16
|
+
"requireAccepted": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "A done item counts as DONE only if acceptance=pass."
|
|
19
|
+
},
|
|
20
|
+
"decisions": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Include the decisions view (defaults on for text/md, off for json)."
|
|
23
|
+
},
|
|
24
|
+
"format": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"json",
|
|
28
|
+
"text",
|
|
29
|
+
"md"
|
|
30
|
+
],
|
|
31
|
+
"description": "Legacy deterministic render format. Default json; text/md remain frozen compatibility diagnostics."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"baselineCommit"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "track_snapshot",
|
|
41
|
+
"description": "Canonical deterministic Track snapshot. Provider-free factual state only; never invokes AI and never represents a human interpretation.",
|
|
42
|
+
"inputSchema": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"properties": {
|
|
46
|
+
"baselineCommit": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Resolved commit used for acceptance/staleness."
|
|
49
|
+
},
|
|
50
|
+
"requireAccepted": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"description": "A done item counts as DONE only if acceptance=pass."
|
|
53
|
+
},
|
|
54
|
+
"format": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"enum": [
|
|
57
|
+
"json",
|
|
58
|
+
"text",
|
|
59
|
+
"md"
|
|
60
|
+
],
|
|
61
|
+
"description": "Default json; text/md are diagnostics."
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"baselineCommit"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "track_query",
|
|
71
|
+
"description": "Flat, filtered query over the non-decision report rows, as JSON.",
|
|
72
|
+
"inputSchema": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"baselineCommit": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"kind": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"feature",
|
|
82
|
+
"bug",
|
|
83
|
+
"chore"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"role": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"enum": [
|
|
89
|
+
"workpackage",
|
|
90
|
+
"spec-phase",
|
|
91
|
+
"stream"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
"workspace": {
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"bucket": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"enum": [
|
|
100
|
+
"AWAITED",
|
|
101
|
+
"DROPPED",
|
|
102
|
+
"DONE",
|
|
103
|
+
"TO-DO"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"realization": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"enum": [
|
|
109
|
+
"to-do",
|
|
110
|
+
"in-progress",
|
|
111
|
+
"done",
|
|
112
|
+
"cancelled",
|
|
113
|
+
"rejected"
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"acceptance": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"enum": [
|
|
119
|
+
"pass",
|
|
120
|
+
"fail",
|
|
121
|
+
"unknown",
|
|
122
|
+
"stale",
|
|
123
|
+
"waived"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"required": [
|
|
128
|
+
"baselineCommit"
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "track_validate",
|
|
134
|
+
"description": "Recompute the append-only integrity chain (detect-only). Returns {ok, findings}. NOTE: integrity only — unlike the CLI `validate`, it does NOT include prose↔log desync (that would read arbitrary cwd files, breaking the read-only contract).",
|
|
135
|
+
"inputSchema": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"properties": {}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "track_audit",
|
|
142
|
+
"description": "DESIGN R4 — deterministic structural audit over the folded log, as JSON AuditFinding[] (orphan, empty-wp, duplicate, cross-workspace-subtree, singleton-workspace). PURE, read-only, no clock; byte-identical to the CLI `audit --format json`. `severity` action=resolve via the restructuration plan flow, info=expected/structural.",
|
|
143
|
+
"inputSchema": {
|
|
144
|
+
"type": "object",
|
|
145
|
+
"properties": {}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "track_branch_provenance",
|
|
150
|
+
"description": "Latest branch.imported provenance for a BRANCH.md locator (or null).",
|
|
151
|
+
"inputSchema": {
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"locator": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"required": [
|
|
159
|
+
"locator"
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "track_freshness",
|
|
165
|
+
"description": "Is the sidecar structurally current with the given BRANCH.md content for a locator?",
|
|
166
|
+
"inputSchema": {
|
|
167
|
+
"type": "object",
|
|
168
|
+
"properties": {
|
|
169
|
+
"locator": {
|
|
170
|
+
"type": "string"
|
|
171
|
+
},
|
|
172
|
+
"content": {
|
|
173
|
+
"type": "string"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"locator",
|
|
178
|
+
"content"
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "track_external_deps",
|
|
184
|
+
"description": "Open external (scope:extra) dependencies awaiting an h2a ENGAGEMENT, as JSON [{blockerId, targetId, engagementRef, openedAt}]. What an h2a bridge watches to resolve when an engagement settles.",
|
|
185
|
+
"inputSchema": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"properties": {}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "track_status",
|
|
192
|
+
"description": "status(level) projection (Scope §A/§B): rolls leaf buckets up to a scope tier {spec|plan|wp|lot|task}, as JSON {level, groups:[{id,title,label,depth,status,done,active,dropped,pct}]}. wp ≡ the computeWpTree forest; task = leaf buckets; lot|plan|spec = the same rollup over WP-nesting tiers (SUM not mean; dropped excluded; 0/0⇒n/a). Read-only.",
|
|
193
|
+
"inputSchema": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"properties": {
|
|
196
|
+
"level": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"enum": [
|
|
199
|
+
"spec",
|
|
200
|
+
"plan",
|
|
201
|
+
"wp",
|
|
202
|
+
"lot",
|
|
203
|
+
"task"
|
|
204
|
+
],
|
|
205
|
+
"description": "The scope tier to roll up to."
|
|
206
|
+
},
|
|
207
|
+
"baselineCommit": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"description": "Commit AWAITED/acceptance are evaluated against."
|
|
210
|
+
},
|
|
211
|
+
"requireAccepted": {
|
|
212
|
+
"type": "boolean",
|
|
213
|
+
"description": "A done leaf counts as DONE only if acceptance=pass."
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"required": [
|
|
217
|
+
"level",
|
|
218
|
+
"baselineCommit"
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "track_verification_runs",
|
|
224
|
+
"description": "Recorded path-scope VerificationRuns (Scope §B(c)) — the EVIDENCE a future `scope validate` reads, as JSON [{runId,runner,commit,env?,verdict,wpRef?,violations?,at}]. EVIDENCE-ONLY: a path verdict never becomes an item. `violations` are the harness verbatim offending paths (track never glob-matches). Optional `wpRef` filters to one WP/phase.",
|
|
225
|
+
"inputSchema": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"wpRef": {
|
|
229
|
+
"type": "string",
|
|
230
|
+
"description": "Filter to runs for this WP/phase item id."
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "track_scope_validate",
|
|
237
|
+
"description": "Scope §B(b) — PURE, read-only, fail-closed, ADVISORY scope validation, as JSON {status:pass|fail|stale|missing, findings[], perWp[], scopeRevisionHash?}. NEVER glob-matches (string-level set logic), NEVER ingests, NEVER a commit gate. Flags scope-undeclared / incoherent (allowed∩forbidden) / illegal-nesting / claim-out-of-phase, and surfaces the latest ingested VerificationRun verdict per WP (read, never recomputed). If `content`+`locator` are supplied, requireFresh runs FIRST (a stale/altered/not-imported sidecar ⇒ status:stale, no partial verdict). Optional opt-in inferDeliveredOutOfScope.",
|
|
238
|
+
"inputSchema": {
|
|
239
|
+
"type": "object",
|
|
240
|
+
"properties": {
|
|
241
|
+
"workspace": {
|
|
242
|
+
"type": "string",
|
|
243
|
+
"description": "The workspace whose WP/spec-phase scope is validated."
|
|
244
|
+
},
|
|
245
|
+
"baselineCommit": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Commit AWAITED/realization-active are evaluated against."
|
|
248
|
+
},
|
|
249
|
+
"content": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"description": "Live BRANCH.md content for the fail-closed freshness gate (with locator)."
|
|
252
|
+
},
|
|
253
|
+
"locator": {
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "BRANCH.md locator for the fail-closed freshness gate (with content)."
|
|
256
|
+
},
|
|
257
|
+
"claimedItemId": {
|
|
258
|
+
"type": "string",
|
|
259
|
+
"description": "Optional claimed item id — flagged if not a descendant of a declared phase."
|
|
260
|
+
},
|
|
261
|
+
"inferDeliveredOutOfScope": {
|
|
262
|
+
"type": "boolean",
|
|
263
|
+
"description": "Opt-in: flag a done WP whose latest verification is a violation (a read flag)."
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"workspace",
|
|
268
|
+
"baselineCommit"
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "track_cursor",
|
|
274
|
+
"description": "M5 (canevas) — a cheap change cursor over the log tail, as JSON {head, count}. `head` = the log-tail event contentHash (null when empty); `count` = the event count. O(tail). The host's liveness primitive: poll this, re-read track_canevas / track_amendment_trace when it moves. Read-only.",
|
|
275
|
+
"inputSchema": {
|
|
276
|
+
"type": "object",
|
|
277
|
+
"properties": {}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "track_canevas",
|
|
282
|
+
"description": "M5 (canevas) — the materialized canevas for ONE workspace, as JSON {workspace, report, prov, affordances, dossier?}. report = the bucketed report + WP rollup forest (workspace-scoped); prov = per-aggregate latest-write provenance lineage {origin:human|machine, …}; affordances = per-aggregate legal next WorkEvent kinds (open-action affordances). With `decisionId`, also includes the full decision dossier. PURE (no clock, no socket — the host owns liveness).",
|
|
283
|
+
"inputSchema": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"workspace": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"description": "The workspace to materialize the canevas for."
|
|
289
|
+
},
|
|
290
|
+
"baselineCommit": {
|
|
291
|
+
"type": "string",
|
|
292
|
+
"description": "Commit AWAITED/acceptance are evaluated against."
|
|
293
|
+
},
|
|
294
|
+
"requireAccepted": {
|
|
295
|
+
"type": "boolean",
|
|
296
|
+
"description": "A done leaf counts as DONE only if acceptance=pass."
|
|
297
|
+
},
|
|
298
|
+
"decisionId": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"description": "Optional decision id — includes its full dossier (context/options/qa/outcome/artifacts)."
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"required": [
|
|
304
|
+
"workspace",
|
|
305
|
+
"baselineCommit"
|
|
306
|
+
]
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "track_amendment_trace",
|
|
311
|
+
"description": "M5 (canevas) — the human/machine diff for ONE aggregate, as JSON [{seq, at, by, kind, prov, origin, summary?, patchRef?, proposalRef?, selectedOptionId?}]. An ordered (by seq), prov-tagged projection over the aggregate's spec.amended / dossier.revised / decision.artifact-added / decision.option-selected / decision.outcome events. `origin` derives PURELY from prov.proposed (true=machine, false=human). An AI proposal + a human acceptance both appear — the machine origin is never laundered. PURE replay.",
|
|
312
|
+
"inputSchema": {
|
|
313
|
+
"type": "object",
|
|
314
|
+
"properties": {
|
|
315
|
+
"aggregateId": {
|
|
316
|
+
"type": "string",
|
|
317
|
+
"description": "The item/decision aggregate id to trace."
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"required": [
|
|
321
|
+
"aggregateId"
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "track_workspace_activity",
|
|
327
|
+
"description": "Poll-able activity signal for ONE workspace (h2a conductor-launch gating), as JSON {workspace, pending, pendingItems[], stalled[], latestEventAt?}. PURE: the caller supplies `now` (and optional `idleMs`, default 24h) — track holds no clock. `pending` = TO-DO+AWAITED count and `pendingItems` lists the concrete open leaves; `stalled` = items/decisions durably stuck (awaited-open-blocker | pending-decision | in-progress-idle | todo-idle).",
|
|
328
|
+
"inputSchema": {
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"workspace": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"description": "The workspace to scope the signal to."
|
|
334
|
+
},
|
|
335
|
+
"baselineCommit": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"description": "Commit AWAITED is evaluated against."
|
|
338
|
+
},
|
|
339
|
+
"now": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Caller-supplied ISO-8601 \"current\" time (track holds no clock)."
|
|
342
|
+
},
|
|
343
|
+
"idleMs": {
|
|
344
|
+
"type": "number",
|
|
345
|
+
"description": "Staleness window in ms (default 86400000 = 24h)."
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"required": [
|
|
349
|
+
"workspace",
|
|
350
|
+
"baselineCommit",
|
|
351
|
+
"now"
|
|
352
|
+
]
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"resources": [],
|
|
357
|
+
"prompts": []
|
|
358
|
+
}
|
|
@@ -61,6 +61,8 @@ owner value; include a brief failure scenario, no mandatory long appendix.
|
|
|
61
61
|
|
|
62
62
|
## 4. Audit, present, record
|
|
63
63
|
|
|
64
|
+
Owner gates: read `assets/owner-gates.md` first. Record their outcome only from the required session's answer.
|
|
65
|
+
|
|
64
66
|
Run `assets/self-audit.md`, fix failures and re-check before presenting.
|
|
65
67
|
If a necessary fact, criterion or review is missing, label **Incomplete** and ask for that input,
|
|
66
68
|
not approval of the decision.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Pending owner gates
|
|
2
|
+
|
|
3
|
+
An owner gate is a pending owner GO, signature or decision that blocks a session's work now.
|
|
4
|
+
A decision that blocks nothing now is not a gate. Record it for async review, with no native question
|
|
5
|
+
and no reminders. Reuse an existing owner authorization when it covers the action.
|
|
6
|
+
|
|
7
|
+
Ask at once in the required session. Show the shortest complete stakes dossier: action and boundary,
|
|
8
|
+
why this session, options and consequences, recommendation and a small diagram. Then invoke that
|
|
9
|
+
host's native question tool from `native-questions.md`. Do not wait for a status report or a polished
|
|
10
|
+
HTML dossier. A status-table row, “type this in another session” or a Track decision card is not a
|
|
11
|
+
native question.
|
|
12
|
+
|
|
13
|
+
Before a blocking question, the conductor records the gate in Track as a decision titled
|
|
14
|
+
`OWNER GATE <id>`. The record names the owner, conductor, target session, deadline, reminder cadence,
|
|
15
|
+
executor status, evidence level and close condition. Use agreed timing. Otherwise remind every
|
|
16
|
+
15 minutes and set the deadline 30 minutes after creation. Time never approves or cancels a gate.
|
|
17
|
+
If the record cannot be written, alert the owner at once and keep the action blocked.
|
|
18
|
+
|
|
19
|
+
Evidence levels are `missing`, `unavailable`, `peer-reported` and `trace-verified`. Across sessions,
|
|
20
|
+
evidence stays `peer-reported` in this lot. A delivery, a wake or `decision-raised:<id>` proves no
|
|
21
|
+
question. If no native tool is available, show the limitation, record `unavailable` and alert the
|
|
22
|
+
owner.
|
|
23
|
+
|
|
24
|
+
The conductor sends nothing to the target while the gate question is open or its state is unknown.
|
|
25
|
+
A reminder is an owner alert, never input typed into the target. The conductor raises it as
|
|
26
|
+
`OWNER GATE ALERT <id>` in its own session, with options that only acknowledge. It re-raises at the
|
|
27
|
+
target only after the target or the owner reports that the question failed, closed or is not
|
|
28
|
+
displayed. Without a qualified reminder timer, it records `reminders-unavailable` and alerts the
|
|
29
|
+
owner at once.
|
|
30
|
+
|
|
31
|
+
Close only on the owner's attributable answer in the required session and any required signature,
|
|
32
|
+
or on an explicit owner cancellation or supersession. Record GO and NO-GO distinctly. Never record
|
|
33
|
+
the outcome from a report reply, an alert acknowledgement or a `D1 A` line in another session. A
|
|
34
|
+
deferral stays pending with the next reminder the owner chose. A peer signature, a timeout or a
|
|
35
|
+
finished loop is not approval. For cross-session delivery and follow-up, apply
|
|
36
|
+
**Owner gates across sessions** in the h2a skill.
|