@c4a/context-cli 0.7.12 → 0.7.14-beta.1
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 +1484 -1174
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/parserEntryWorker.js +12 -1
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context-inspect-search.md +18 -0
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context-inspect-search/SKILL.md +18 -0
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context-inspect-search.md +18 -0
- package/plugins/skills/context-inspect-search/SKILL.md +18 -0
- package/providers/context/graphs/workspace.yaml +3 -1
- package/providers/context/manifest.json +31 -22
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +82 -19
- package/providers/context/resources/manuals/guides/package-outputs.md +25 -0
- package/providers/context/resources/manuals/guides/page-customization.md +93 -0
- package/providers/context/resources/manuals/reference/project-api.md +6 -0
- package/providers/context/resources/procedures/close-and-build.md +10 -15
- package/providers/context/resources/procedures/document-capture.md +7 -1
- package/providers/context/resources/procedures/knowledge-maintenance.md +5 -3
- package/providers/context/resources/procedures/knowledge-updates.md +82 -19
- package/providers/context/resources/procedures/production-stage-files.md +6 -0
- package/providers/context/skills/record-workspace-version/SKILL.md +6 -0
- package/providers/context/skills/work-production-stage/SKILL.md +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Local runtime and Agent integration for traceable knowledge production",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@c4a/agent-graph": "0.3.0",
|
|
27
|
-
"@c4a/context": "0.7.
|
|
28
|
-
"@c4a/extract": "0.7.
|
|
29
|
-
"@c4a/extract-contract": "0.7.
|
|
30
|
-
"@c4a/extract-go": "0.7.
|
|
31
|
-
"@c4a/extract-mdx": "0.7.
|
|
32
|
-
"@c4a/extract-proto": "0.7.
|
|
33
|
-
"@c4a/extract-rush": "0.7.
|
|
34
|
-
"@c4a/extract-sql": "0.7.
|
|
35
|
-
"@c4a/extract-style": "0.7.
|
|
36
|
-
"@c4a/extract-thrift": "0.7.
|
|
37
|
-
"@c4a/extract-ts": "0.7.
|
|
27
|
+
"@c4a/context": "0.7.14-beta.1",
|
|
28
|
+
"@c4a/extract": "0.7.14-beta.1",
|
|
29
|
+
"@c4a/extract-contract": "0.7.14-beta.1",
|
|
30
|
+
"@c4a/extract-go": "0.7.14-beta.1",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.14-beta.1",
|
|
32
|
+
"@c4a/extract-proto": "0.7.14-beta.1",
|
|
33
|
+
"@c4a/extract-rush": "0.7.14-beta.1",
|
|
34
|
+
"@c4a/extract-sql": "0.7.14-beta.1",
|
|
35
|
+
"@c4a/extract-style": "0.7.14-beta.1",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.14-beta.1",
|
|
37
|
+
"@c4a/extract-ts": "0.7.14-beta.1",
|
|
38
38
|
"commander": "^11.0.0",
|
|
39
39
|
"fast-xml-parser": "^5.10.1",
|
|
40
40
|
"handlebars": "^4.7.8",
|
package/parserEntryWorker.js
CHANGED
|
@@ -4545,7 +4545,18 @@ var init_packageSite = __esm(() => {
|
|
|
4545
4545
|
description: exports_external.string().optional(),
|
|
4546
4546
|
lang: exports_external.string().min(1).default("en-US"),
|
|
4547
4547
|
base: exports_external.string().regex(/^\/(?:[a-zA-Z0-9_-]+\/)*$/, "Use / or a slash-delimited deployment path, such as /docs/").default("/"),
|
|
4548
|
-
home: packageSiteHomeSchema.optional()
|
|
4548
|
+
home: packageSiteHomeSchema.optional(),
|
|
4549
|
+
extensions: exports_external.object({
|
|
4550
|
+
root: exports_external.string().regex(/^src\/(?:[a-zA-Z0-9_-]+\/)*[a-zA-Z0-9_-]+$/).default("src/site"),
|
|
4551
|
+
slots: exports_external.object({
|
|
4552
|
+
banner: exports_external.union([exports_external.string().min(1), exports_external.literal(false)]).optional(),
|
|
4553
|
+
knowledge: exports_external.union([exports_external.string().min(1), exports_external.literal(false)]).optional(),
|
|
4554
|
+
resources: exports_external.union([exports_external.string().min(1), exports_external.literal(false)]).optional(),
|
|
4555
|
+
footer: exports_external.union([exports_external.string().min(1), exports_external.literal(false)]).optional(),
|
|
4556
|
+
floating: exports_external.union([exports_external.string().min(1), exports_external.literal(false)]).optional()
|
|
4557
|
+
}).strict().optional(),
|
|
4558
|
+
pages: exports_external.record(exports_external.string().regex(/^[a-zA-Z0-9_-]+$/), exports_external.string().min(1)).optional()
|
|
4559
|
+
}).strict().optional()
|
|
4549
4560
|
}).strict();
|
|
4550
4561
|
});
|
|
4551
4562
|
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.14-beta.1
|
|
@@ -135,6 +135,24 @@ inferences and unavailable evidence. If source versions differ, describe the
|
|
|
135
135
|
difference before deciding that a knowledge page is wrong. Do not dump runtime
|
|
136
136
|
ids, long raw excerpts or a mandatory audit report into every answer.
|
|
137
137
|
|
|
138
|
+
|
|
139
|
+
## Website links in the final summary
|
|
140
|
+
|
|
141
|
+
After answering from the pages actually read, optionally append one or more
|
|
142
|
+
related document links in the final summary. Read `context-site-map.json` from
|
|
143
|
+
the selected package (or its sibling website output in a workspace). Match the
|
|
144
|
+
read page to `pages[].package_path` or `approved_path`; use its `title` and resolve
|
|
145
|
+
`site_path` relative to `site_url`. The URL already includes the deployment base
|
|
146
|
+
path: do not prepend `base` again. Only cite matched articles, deduplicate links,
|
|
147
|
+
and do not invent section anchors.
|
|
148
|
+
|
|
149
|
+
This is a local formatting step, not retrieval or validation. Do not probe URLs,
|
|
150
|
+
make HTTP/HEAD requests, open a browser, inspect a deployment platform, or check
|
|
151
|
+
remote versions to add links. Never build, publish or update metadata for this
|
|
152
|
+
purpose. If the map, URL or matching page is absent or malformed, keep the local
|
|
153
|
+
citation and continue silently. A configured URL does not prove that the site
|
|
154
|
+
contains the current local revision; do not claim online verification.
|
|
155
|
+
|
|
138
156
|
## Suggest improvements and hand off
|
|
139
157
|
|
|
140
158
|
When evidence supports a correction or worthwhile addition, briefly describe:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.14-beta.1",
|
|
4
4
|
"description": "Start or continue a project-local knowledge workspace through one graph-routed entry.",
|
|
5
5
|
"author": { "name": "c4a" },
|
|
6
6
|
"homepage": "https://github.com/context4ai/c4a",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"skills": "./skills/",
|
|
11
11
|
"interface": {
|
|
12
12
|
"displayName": "C4A Context",
|
|
13
|
-
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.
|
|
13
|
+
"shortDescription": "Initialize and advance a local, source-linked project knowledge workspace.\nv0.7.14-beta.1",
|
|
14
14
|
"longDescription": "Create a Context workspace and use agent-guided next steps to register sources, run extraction, review candidates, build package outputs, and verify health without silently mutating source repositories.",
|
|
15
15
|
"developerName": "c4a",
|
|
16
16
|
"category": "Productivity",
|
|
@@ -135,6 +135,24 @@ inferences and unavailable evidence. If source versions differ, describe the
|
|
|
135
135
|
difference before deciding that a knowledge page is wrong. Do not dump runtime
|
|
136
136
|
ids, long raw excerpts or a mandatory audit report into every answer.
|
|
137
137
|
|
|
138
|
+
|
|
139
|
+
## Website links in the final summary
|
|
140
|
+
|
|
141
|
+
After answering from the pages actually read, optionally append one or more
|
|
142
|
+
related document links in the final summary. Read `context-site-map.json` from
|
|
143
|
+
the selected package (or its sibling website output in a workspace). Match the
|
|
144
|
+
read page to `pages[].package_path` or `approved_path`; use its `title` and resolve
|
|
145
|
+
`site_path` relative to `site_url`. The URL already includes the deployment base
|
|
146
|
+
path: do not prepend `base` again. Only cite matched articles, deduplicate links,
|
|
147
|
+
and do not invent section anchors.
|
|
148
|
+
|
|
149
|
+
This is a local formatting step, not retrieval or validation. Do not probe URLs,
|
|
150
|
+
make HTTP/HEAD requests, open a browser, inspect a deployment platform, or check
|
|
151
|
+
remote versions to add links. Never build, publish or update metadata for this
|
|
152
|
+
purpose. If the map, URL or matching page is absent or malformed, keep the local
|
|
153
|
+
citation and continue silently. A configured URL does not prove that the site
|
|
154
|
+
contains the current local revision; do not claim online verification.
|
|
155
|
+
|
|
138
156
|
## Suggest improvements and hand off
|
|
139
157
|
|
|
140
158
|
When evidence supports a correction or worthwhile addition, briefly describe:
|
|
@@ -133,6 +133,24 @@ inferences and unavailable evidence. If source versions differ, describe the
|
|
|
133
133
|
difference before deciding that a knowledge page is wrong. Do not dump runtime
|
|
134
134
|
ids, long raw excerpts or a mandatory audit report into every answer.
|
|
135
135
|
|
|
136
|
+
|
|
137
|
+
## Website links in the final summary
|
|
138
|
+
|
|
139
|
+
After answering from the pages actually read, optionally append one or more
|
|
140
|
+
related document links in the final summary. Read `context-site-map.json` from
|
|
141
|
+
the selected package (or its sibling website output in a workspace). Match the
|
|
142
|
+
read page to `pages[].package_path` or `approved_path`; use its `title` and resolve
|
|
143
|
+
`site_path` relative to `site_url`. The URL already includes the deployment base
|
|
144
|
+
path: do not prepend `base` again. Only cite matched articles, deduplicate links,
|
|
145
|
+
and do not invent section anchors.
|
|
146
|
+
|
|
147
|
+
This is a local formatting step, not retrieval or validation. Do not probe URLs,
|
|
148
|
+
make HTTP/HEAD requests, open a browser, inspect a deployment platform, or check
|
|
149
|
+
remote versions to add links. Never build, publish or update metadata for this
|
|
150
|
+
purpose. If the map, URL or matching page is absent or malformed, keep the local
|
|
151
|
+
citation and continue silently. A configured URL does not prove that the site
|
|
152
|
+
contains the current local revision; do not claim online verification.
|
|
153
|
+
|
|
136
154
|
## Suggest improvements and hand off
|
|
137
155
|
|
|
138
156
|
When evidence supports a correction or worthwhile addition, briefly describe:
|
|
@@ -135,6 +135,24 @@ inferences and unavailable evidence. If source versions differ, describe the
|
|
|
135
135
|
difference before deciding that a knowledge page is wrong. Do not dump runtime
|
|
136
136
|
ids, long raw excerpts or a mandatory audit report into every answer.
|
|
137
137
|
|
|
138
|
+
|
|
139
|
+
## Website links in the final summary
|
|
140
|
+
|
|
141
|
+
After answering from the pages actually read, optionally append one or more
|
|
142
|
+
related document links in the final summary. Read `context-site-map.json` from
|
|
143
|
+
the selected package (or its sibling website output in a workspace). Match the
|
|
144
|
+
read page to `pages[].package_path` or `approved_path`; use its `title` and resolve
|
|
145
|
+
`site_path` relative to `site_url`. The URL already includes the deployment base
|
|
146
|
+
path: do not prepend `base` again. Only cite matched articles, deduplicate links,
|
|
147
|
+
and do not invent section anchors.
|
|
148
|
+
|
|
149
|
+
This is a local formatting step, not retrieval or validation. Do not probe URLs,
|
|
150
|
+
make HTTP/HEAD requests, open a browser, inspect a deployment platform, or check
|
|
151
|
+
remote versions to add links. Never build, publish or update metadata for this
|
|
152
|
+
purpose. If the map, URL or matching page is absent or malformed, keep the local
|
|
153
|
+
citation and continue silently. A configured URL does not prove that the site
|
|
154
|
+
contains the current local revision; do not claim online verification.
|
|
155
|
+
|
|
138
156
|
## Suggest improvements and hand off
|
|
139
157
|
|
|
140
158
|
When evidence supports a correction or worthwhile addition, briefly describe:
|
|
@@ -135,7 +135,7 @@ nodes:
|
|
|
135
135
|
reasonCode: route.capture.pending-target
|
|
136
136
|
action: actions/capture-next.yaml
|
|
137
137
|
satisfiedBy:
|
|
138
|
-
- path: capture.
|
|
138
|
+
- path: capture.route_satisfied
|
|
139
139
|
equals: true
|
|
140
140
|
resources:
|
|
141
141
|
required:
|
|
@@ -224,6 +224,7 @@ nodes:
|
|
|
224
224
|
- resources/views/package-current.yaml
|
|
225
225
|
recommended:
|
|
226
226
|
- resources/manuals/guides/package-outputs.md
|
|
227
|
+
- resources/manuals/guides/page-customization.md
|
|
227
228
|
- resources/manuals/reference/package-templates.md
|
|
228
229
|
- resources/manuals/reference/template-variables.md
|
|
229
230
|
|
|
@@ -241,6 +242,7 @@ nodes:
|
|
|
241
242
|
- resources/views/package-current.yaml
|
|
242
243
|
recommended:
|
|
243
244
|
- resources/manuals/guides/package-outputs.md
|
|
245
|
+
- resources/manuals/guides/page-customization.md
|
|
244
246
|
- resources/manuals/reference/project-api.md
|
|
245
247
|
- resources/manuals/reference/package-templates.md
|
|
246
248
|
- resources/manuals/reference/template-variables.md
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schema": "agent-graph.bundle.v1",
|
|
3
3
|
"provider": {
|
|
4
4
|
"id": "c4a/context",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.14-beta.1"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
{
|
|
15
15
|
"id": "workspace",
|
|
16
16
|
"path": "graphs/workspace.yaml",
|
|
17
|
-
"digest": "sha256:
|
|
17
|
+
"digest": "sha256:2904eb61889037ffdcdf878c807187f9acf807a9409111ee4de4c5b703b15d5d"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"actions": [
|
|
@@ -188,17 +188,22 @@
|
|
|
188
188
|
{
|
|
189
189
|
"id": "context.sdk.package-outputs",
|
|
190
190
|
"path": "resources/manuals/guides/package-outputs.md",
|
|
191
|
-
"digest": "sha256:
|
|
191
|
+
"digest": "sha256:2238be400ef56fba3e894f58f246aa9bf16d287e6522782ad6cdf44ee7004e24"
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
"id": "context.sdk.package-templates",
|
|
195
195
|
"path": "resources/manuals/reference/package-templates.md",
|
|
196
196
|
"digest": "sha256:8d512d232ea5157717eca73357a213ab2449d83cf98bec217621aff79eda0216"
|
|
197
197
|
},
|
|
198
|
+
{
|
|
199
|
+
"id": "context.sdk.page-customization",
|
|
200
|
+
"path": "resources/manuals/guides/page-customization.md",
|
|
201
|
+
"digest": "sha256:57695bbbe3223c3c695029747856baae9e230059848e8f37506f908e843f9b0e"
|
|
202
|
+
},
|
|
198
203
|
{
|
|
199
204
|
"id": "context.sdk.project-api",
|
|
200
205
|
"path": "resources/manuals/reference/project-api.md",
|
|
201
|
-
"digest": "sha256:
|
|
206
|
+
"digest": "sha256:a65131d5cd351d8353f5028303ab1d75447f5d0c09496fd8ec83bb5d76adfd78"
|
|
202
207
|
},
|
|
203
208
|
{
|
|
204
209
|
"id": "context.sdk.template-variables",
|
|
@@ -278,12 +283,12 @@
|
|
|
278
283
|
{
|
|
279
284
|
"id": "procedure.close-and-build",
|
|
280
285
|
"path": "resources/procedures/close-and-build.md",
|
|
281
|
-
"digest": "sha256:
|
|
286
|
+
"digest": "sha256:4025f98f95ac0c1818d2be3d6c33e556bd462b0510fd88227587d490ae01aa4c"
|
|
282
287
|
},
|
|
283
288
|
{
|
|
284
289
|
"id": "procedure.document-capture",
|
|
285
290
|
"path": "resources/procedures/document-capture.md",
|
|
286
|
-
"digest": "sha256:
|
|
291
|
+
"digest": "sha256:f09100425c2b89a126c35c4490b0644519a4eee214114f2f0f52b6ea20467a04"
|
|
287
292
|
},
|
|
288
293
|
{
|
|
289
294
|
"id": "procedure.homogeneous-source-review",
|
|
@@ -293,7 +298,7 @@
|
|
|
293
298
|
{
|
|
294
299
|
"id": "procedure.knowledge-maintenance",
|
|
295
300
|
"path": "resources/procedures/knowledge-maintenance.md",
|
|
296
|
-
"digest": "sha256:
|
|
301
|
+
"digest": "sha256:f2cc36cb2425cf0ac96a2ea4f114ed5ce872c3711b82bdc25fdc71e42a2849b7"
|
|
297
302
|
},
|
|
298
303
|
{
|
|
299
304
|
"id": "procedure.knowledge-review",
|
|
@@ -303,7 +308,7 @@
|
|
|
303
308
|
{
|
|
304
309
|
"id": "procedure.knowledge-updates",
|
|
305
310
|
"path": "resources/procedures/knowledge-updates.md",
|
|
306
|
-
"digest": "sha256:
|
|
311
|
+
"digest": "sha256:f43943fdf9265e5181c2e8cf3753d981fc9f59a44ee11b5beac404ec481344ea"
|
|
307
312
|
},
|
|
308
313
|
{
|
|
309
314
|
"id": "procedure.note",
|
|
@@ -328,7 +333,7 @@
|
|
|
328
333
|
{
|
|
329
334
|
"id": "procedure.production-stage-files",
|
|
330
335
|
"path": "resources/procedures/production-stage-files.md",
|
|
331
|
-
"digest": "sha256:
|
|
336
|
+
"digest": "sha256:d093acf81a07b85cfe2a78e71f7ab301fa8c72e3edac3f5de990b1ff7eaf12f0"
|
|
332
337
|
},
|
|
333
338
|
{
|
|
334
339
|
"id": "procedure.project-configuration",
|
|
@@ -561,11 +566,11 @@
|
|
|
561
566
|
},
|
|
562
567
|
{
|
|
563
568
|
"path": "graphs/workspace.yaml",
|
|
564
|
-
"digest": "sha256:
|
|
569
|
+
"digest": "sha256:2904eb61889037ffdcdf878c807187f9acf807a9409111ee4de4c5b703b15d5d"
|
|
565
570
|
},
|
|
566
571
|
{
|
|
567
572
|
"path": "provider.yaml",
|
|
568
|
-
"digest": "sha256:
|
|
573
|
+
"digest": "sha256:820cc81bd72613211c7f1a48406bc881f6f4baf09ef415e635aa8da01aa08f0a"
|
|
569
574
|
},
|
|
570
575
|
{
|
|
571
576
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -621,7 +626,7 @@
|
|
|
621
626
|
},
|
|
622
627
|
{
|
|
623
628
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
624
|
-
"digest": "sha256:
|
|
629
|
+
"digest": "sha256:fe8c9e4dbe7413bce3c2007bf230f1312fca31de69d434d0c41171a27e1a68f5"
|
|
625
630
|
},
|
|
626
631
|
{
|
|
627
632
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
@@ -637,7 +642,11 @@
|
|
|
637
642
|
},
|
|
638
643
|
{
|
|
639
644
|
"path": "resources/manuals/guides/package-outputs.md",
|
|
640
|
-
"digest": "sha256:
|
|
645
|
+
"digest": "sha256:2238be400ef56fba3e894f58f246aa9bf16d287e6522782ad6cdf44ee7004e24"
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
"path": "resources/manuals/guides/page-customization.md",
|
|
649
|
+
"digest": "sha256:57695bbbe3223c3c695029747856baae9e230059848e8f37506f908e843f9b0e"
|
|
641
650
|
},
|
|
642
651
|
{
|
|
643
652
|
"path": "resources/manuals/guides/sessions.md",
|
|
@@ -665,7 +674,7 @@
|
|
|
665
674
|
},
|
|
666
675
|
{
|
|
667
676
|
"path": "resources/manuals/reference/project-api.md",
|
|
668
|
-
"digest": "sha256:
|
|
677
|
+
"digest": "sha256:a65131d5cd351d8353f5028303ab1d75447f5d0c09496fd8ec83bb5d76adfd78"
|
|
669
678
|
},
|
|
670
679
|
{
|
|
671
680
|
"path": "resources/manuals/reference/template-variables.md",
|
|
@@ -677,11 +686,11 @@
|
|
|
677
686
|
},
|
|
678
687
|
{
|
|
679
688
|
"path": "resources/procedures/close-and-build.md",
|
|
680
|
-
"digest": "sha256:
|
|
689
|
+
"digest": "sha256:4025f98f95ac0c1818d2be3d6c33e556bd462b0510fd88227587d490ae01aa4c"
|
|
681
690
|
},
|
|
682
691
|
{
|
|
683
692
|
"path": "resources/procedures/document-capture.md",
|
|
684
|
-
"digest": "sha256:
|
|
693
|
+
"digest": "sha256:f09100425c2b89a126c35c4490b0644519a4eee214114f2f0f52b6ea20467a04"
|
|
685
694
|
},
|
|
686
695
|
{
|
|
687
696
|
"path": "resources/procedures/homogeneous-source-review.md",
|
|
@@ -689,7 +698,7 @@
|
|
|
689
698
|
},
|
|
690
699
|
{
|
|
691
700
|
"path": "resources/procedures/knowledge-maintenance.md",
|
|
692
|
-
"digest": "sha256:
|
|
701
|
+
"digest": "sha256:f2cc36cb2425cf0ac96a2ea4f114ed5ce872c3711b82bdc25fdc71e42a2849b7"
|
|
693
702
|
},
|
|
694
703
|
{
|
|
695
704
|
"path": "resources/procedures/knowledge-review.md",
|
|
@@ -697,7 +706,7 @@
|
|
|
697
706
|
},
|
|
698
707
|
{
|
|
699
708
|
"path": "resources/procedures/knowledge-updates.md",
|
|
700
|
-
"digest": "sha256:
|
|
709
|
+
"digest": "sha256:f43943fdf9265e5181c2e8cf3753d981fc9f59a44ee11b5beac404ec481344ea"
|
|
701
710
|
},
|
|
702
711
|
{
|
|
703
712
|
"path": "resources/procedures/note.md",
|
|
@@ -717,7 +726,7 @@
|
|
|
717
726
|
},
|
|
718
727
|
{
|
|
719
728
|
"path": "resources/procedures/production-stage-files.md",
|
|
720
|
-
"digest": "sha256:
|
|
729
|
+
"digest": "sha256:d093acf81a07b85cfe2a78e71f7ab301fa8c72e3edac3f5de990b1ff7eaf12f0"
|
|
721
730
|
},
|
|
722
731
|
{
|
|
723
732
|
"path": "resources/procedures/project-configuration.md",
|
|
@@ -833,7 +842,7 @@
|
|
|
833
842
|
},
|
|
834
843
|
{
|
|
835
844
|
"path": "skills/record-workspace-version/SKILL.md",
|
|
836
|
-
"digest": "sha256:
|
|
845
|
+
"digest": "sha256:695b6b384a94743de08451f447bc8a135b6a7446dfab8e9b52ae16de54fd2903"
|
|
837
846
|
},
|
|
838
847
|
{
|
|
839
848
|
"path": "skills/recover-workspace/SKILL.md",
|
|
@@ -853,12 +862,12 @@
|
|
|
853
862
|
},
|
|
854
863
|
{
|
|
855
864
|
"path": "skills/work-production-stage/SKILL.md",
|
|
856
|
-
"digest": "sha256:
|
|
865
|
+
"digest": "sha256:5bb250f42d5d28243daca30427b5fd9db52127460862748fc36935f0e0d0f754"
|
|
857
866
|
}
|
|
858
867
|
],
|
|
859
868
|
"graphDependencies": {
|
|
860
869
|
"indexer": [],
|
|
861
870
|
"workspace": []
|
|
862
871
|
},
|
|
863
|
-
"digest": "sha256:
|
|
872
|
+
"digest": "sha256:0ce9bbc43630874ad90cf5663348b2c6f96dcdf7dd911f5e6b33c71154a3ea9e"
|
|
864
873
|
}
|
|
@@ -107,12 +107,11 @@ configuration/template approval, before the final build. The record response
|
|
|
107
107
|
returns the next workspace Route, so no extra status call is needed. Build retries
|
|
108
108
|
reuse the recorded version when formal content is unchanged. If build preparation
|
|
109
109
|
or rendering fails and formal corrections are needed, `version inspect` returns
|
|
110
|
-
`reusable_version` for
|
|
111
|
-
publication
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
sealed and further formal changes require an increase. Intermediate batches
|
|
110
|
+
`reusable_version` for an untagged current entry. Before amending, read the
|
|
111
|
+
publication target's remote version using the distribution skill. An unpublished
|
|
112
|
+
preview may reuse its version with the complete iteration's title, changes and
|
|
113
|
+
triggers; preserve the original delivery description. Published content requires
|
|
114
|
+
an increasing version. A local build alone does not seal a version. Intermediate batches
|
|
116
115
|
do not each receive a version.
|
|
117
116
|
|
|
118
117
|
The workspace AGENTS.md and version-writing instructions require each entry's
|
|
@@ -149,19 +148,23 @@ are `initial`, `note`, `sessions`, `mr`, `module`, `document`, `navigation`,
|
|
|
149
148
|
`repair`, `dist`, and `other`. Agent-written fields describe the actual diff and
|
|
150
149
|
conversation; they must not expose credentials, raw transcripts or private IDs.
|
|
151
150
|
|
|
152
|
-
The CLI
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
151
|
+
The CLI updates `package.json`, `changelog.yaml` and generated `CHANGELOG.md` together.
|
|
152
|
+
`context version inspect --base <commit-or-tag> --format json` compares the actual
|
|
153
|
+
workspace files with Git, including untracked files. Without an explicit base it
|
|
154
|
+
uses the current version's `v<version>` tag when available, otherwise HEAD; HEAD
|
|
155
|
+
is not proof of publication. Review article bodies, assets, structure, navigation
|
|
156
|
+
and templates, not structure alone. Without Git, inspection reports local files.
|
|
157
|
+
A disposable `.tmp` checkpoint suppresses repeated recording in an uncommitted
|
|
158
|
+
iteration. Losing it does not lose knowledge or prove a new publication.
|
|
159
|
+
|
|
160
|
+
There are no root-level Context version/build/publication receipts to maintain.
|
|
161
|
+
Build freshness uses the existing local package cache. The CLI does not seal a
|
|
162
|
+
version merely because a preview was built. Before reusing a version, check the
|
|
163
|
+
actual publication target and Git tags; a published version requires an increase.
|
|
164
|
+
Publication belongs to the installed distribution tool. Record remote receipts
|
|
165
|
+
in its configuration or the existing work summary, separately for each target.
|
|
166
|
+
A successful authorized commit/tag identifies the delivered source; never create
|
|
167
|
+
one automatically, and never treat Git success as platform publication success.
|
|
165
168
|
|
|
166
169
|
Website history is available at `changelog.html`: cards are newest first, the
|
|
167
170
|
latest three expanded and older cards collapsed. The History button beside the
|
|
@@ -197,6 +200,66 @@ coverage by mechanically placing every new page under an unrelated catch-all.
|
|
|
197
200
|
Build reports missing bindings for the Agent to resolve; it does not classify
|
|
198
201
|
content. Moving a menu entry does not change the article URL.
|
|
199
202
|
|
|
203
|
+
### Reader tasks, names and reading order
|
|
204
|
+
|
|
205
|
+
Read the affected articles' bodies before changing their categories or titles.
|
|
206
|
+
Titles and outlines help locate material; they do not settle its main reader task.
|
|
207
|
+
During initial planning, keep names and placement provisional until the relevant
|
|
208
|
+
material supports them. Classify by the question the page primarily answers and
|
|
209
|
+
its intended reader, rather than its collection, source path or isolated words:
|
|
210
|
+
|
|
211
|
+
| Main reader task | Organizing emphasis |
|
|
212
|
+
| --- | --- |
|
|
213
|
+
| Understand a business process | Participants, rules, decisions and lifecycle |
|
|
214
|
+
| Understand an implementation | Components, data changes, calls and failure handling |
|
|
215
|
+
| Integrate or use a capability | Prerequisites, setup, contracts and usage |
|
|
216
|
+
| Diagnose or recover from a problem | Symptoms, checks, causes, actions and verification |
|
|
217
|
+
|
|
218
|
+
These distinctions guide placement, not a required set of top-level directories.
|
|
219
|
+
A page explaining retry scheduling and persistence belongs with its implementation;
|
|
220
|
+
a page explaining how to recover a stalled worker serves troubleshooting. The word
|
|
221
|
+
"retry" alone decides neither. Choose a primary home for a mixed page and link
|
|
222
|
+
related tasks without duplicating the same overview across categories.
|
|
223
|
+
|
|
224
|
+
Give each directory a concrete shared subject or reader task. At every parent,
|
|
225
|
+
keep its children either all directories or all articles. Place an overview in
|
|
226
|
+
the appropriate article group when the parent contains directories. Avoid empty
|
|
227
|
+
category scaffolding and chains of single-article directories that add no useful
|
|
228
|
+
choice. A residual "Other" group, when warranted, comes last; it must not absorb
|
|
229
|
+
articles whose purpose fits an existing group. Do not invent a fixed depth,
|
|
230
|
+
number of categories or page quota to make the tree look uniform.
|
|
231
|
+
|
|
232
|
+
Keep directory and article titles concise and specific to their actual subject.
|
|
233
|
+
Name the object and useful task, rather than enumerating every section heading.
|
|
234
|
+
For example, prefer "Client authentication" to "Client tokens, configuration,
|
|
235
|
+
requests, refresh and errors" when those sections all explain authentication.
|
|
236
|
+
Retain a platform or product name only when it distinguishes otherwise ambiguous
|
|
237
|
+
topics. Keep an existing accurate title when it already works; a necessary
|
|
238
|
+
technical name need not be shortened just to meet a word count.
|
|
239
|
+
|
|
240
|
+
The Agent manually arranges siblings for reading: a useful overview, prerequisites,
|
|
241
|
+
the main tasks or process sequence, then later maintenance and reference material
|
|
242
|
+
where applicable. Use a numbered list or ordered outline to review that proposal,
|
|
243
|
+
then assign explicit, distinct `order` values among siblings in the knowledge-map
|
|
244
|
+
adjustment, for example 10, 20 and 30. The list is an editing plan; persisted
|
|
245
|
+
`order` values determine navigation. Reordering YAML/JSON entries or changing the
|
|
246
|
+
plan's list order alone does not change the site. Paths, internal keys, alphabetical
|
|
247
|
+
order and source-file order are not substitutes for a reader sequence. Keep order
|
|
248
|
+
numbers out of titles. This navigation order is separate from the order in which
|
|
249
|
+
workers write their drafts.
|
|
250
|
+
|
|
251
|
+
For a long or compound page, inspect its content before suggesting a split or
|
|
252
|
+
merge. Keep one coherent task together, and separate independently useful tasks
|
|
253
|
+
only when their supported content warrants it. A long title or many headings
|
|
254
|
+
alone is insufficient. Preserve useful detail and links, and retain article IDs,
|
|
255
|
+
paths and unaffected sections when the reader task is unchanged. A navigation-only
|
|
256
|
+
change does not require a prose rewrite or file migration; changing its label does
|
|
257
|
+
not silently rename the approved article. Needed title or content revisions use
|
|
258
|
+
the existing revision and Review flow. Splits and merges use ordinary article
|
|
259
|
+
tasks, link repair and any explicit retirement after replacement content is
|
|
260
|
+
delivered. These are Agent editorial decisions, not new CLI checks or approval
|
|
261
|
+
gates.
|
|
262
|
+
|
|
200
263
|
## Edit one section or review part of a batch
|
|
201
264
|
|
|
202
265
|
The current approved-revision Route accepts either full `markdown` or explicit
|
|
@@ -31,6 +31,10 @@ change that silently enables websites for existing packages.
|
|
|
31
31
|
|
|
32
32
|
### Static documentation website
|
|
33
33
|
|
|
34
|
+
For business pages, homepage slots and a bottom-right chat/bot widget, read
|
|
35
|
+
[Page Content Customization](./page-customization.md). Presentation sources live
|
|
36
|
+
under `src/site/`; keep generated knowledge separate.
|
|
37
|
+
|
|
34
38
|
To include the default browser-readable site, enable `site` on the same
|
|
35
39
|
package. The normal `context build` produces both the Agent KB and a standalone
|
|
36
40
|
`dist/<base>-site/` directory containing `index.html`, article HTML,
|
|
@@ -482,3 +486,24 @@ Only approved selected content is exported. A map or article change invalidates
|
|
|
482
486
|
both website and LLMS outputs; failure preserves the previous staged package.
|
|
483
487
|
Standalone `llmsPackage()` uses the same map organization and supplies the full
|
|
484
488
|
text and raw article files alongside its template-rendered `llms.txt` index.
|
|
489
|
+
|
|
490
|
+
## Links to a deployed website
|
|
491
|
+
|
|
492
|
+
After a website has been built and deployed, record its complete public root:
|
|
493
|
+
|
|
494
|
+
```bash
|
|
495
|
+
context package site-url <package-name> https://example.com/docs/
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
This command adds optional `site_url` to the existing `context.site-output/v1`
|
|
499
|
+
map, in both the website and knowledge package. It normalizes a trailing slash,
|
|
500
|
+
rejects credentials/query/fragment, and never contacts the URL. The address
|
|
501
|
+
includes the deployment subpath; resolve `pages[].site_path` against it without
|
|
502
|
+
adding `base` again. Rebuilds preserve the address from the previous website
|
|
503
|
+
map and distribute the refreshed mapping with the package. Deleting dist also
|
|
504
|
+
deletes this optional delivery metadata: record it again from the deployment
|
|
505
|
+
result instead of guessing a hostname. No new workspace configuration is needed.
|
|
506
|
+
|
|
507
|
+
The address is an access hint, not proof of publication or content freshness.
|
|
508
|
+
Query Skills use it only to append related links in the final summary, with no
|
|
509
|
+
network probes or version checks. Packages without the map work as before.
|