@c4a/context-cli 0.7.93 → 0.7.94
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 +98 -70
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context.md +1 -1
- package/plugins/claude/resources/context/routine-update.md +11 -5
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context/SKILL.md +1 -1
- package/plugins/codex/skills/context/references/routine-update.md +11 -5
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context.md +1 -1
- package/plugins/cursor/resources/context/routine-update.md +11 -5
- package/plugins/skills/context/SKILL.md +1 -1
- package/plugins/skills/context/references/routine-update.md +11 -5
- package/providers/context/manifest.json +9 -9
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/knowledge-updates.md +3 -1
- package/providers/context/resources/manuals/guides/site-translation.md +13 -3
- package/providers/context/resources/procedures/knowledge-updates.md +3 -1
- package/providers/context/skills/translate-site-locales/SKILL.md +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c4a/context-cli",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.94",
|
|
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.94",
|
|
28
|
+
"@c4a/extract": "0.7.94",
|
|
29
|
+
"@c4a/extract-contract": "0.7.94",
|
|
30
|
+
"@c4a/extract-go": "0.7.94",
|
|
31
|
+
"@c4a/extract-mdx": "0.7.94",
|
|
32
|
+
"@c4a/extract-proto": "0.7.94",
|
|
33
|
+
"@c4a/extract-rush": "0.7.94",
|
|
34
|
+
"@c4a/extract-sql": "0.7.94",
|
|
35
|
+
"@c4a/extract-style": "0.7.94",
|
|
36
|
+
"@c4a/extract-thrift": "0.7.94",
|
|
37
|
+
"@c4a/extract-ts": "0.7.94",
|
|
38
38
|
"@mermaid-js/layout-elk": "0.2.0",
|
|
39
39
|
"commander": "^11.0.0",
|
|
40
40
|
"d3-force": "3.0.0",
|
package/plugins/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.94
|
|
@@ -140,7 +140,7 @@ without the user's authorization.
|
|
|
140
140
|
|
|
141
141
|
### Check the CLI first
|
|
142
142
|
|
|
143
|
-
This Skill ships with Context 0.7.
|
|
143
|
+
This Skill ships with Context 0.7.94.
|
|
144
144
|
|
|
145
145
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
146
146
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -74,18 +74,24 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
74
74
|
pending set is exactly this stage's repository. Re-capture changed documents
|
|
75
75
|
through their normal capture Route. Do not start a new batch after the time
|
|
76
76
|
budget; finish or checkpoint the current one.
|
|
77
|
-
7. **
|
|
77
|
+
7. **Write the current state.** Revise each affected article so it reads as the
|
|
78
|
+
current knowledge, one coherent article: work the change into the existing
|
|
79
|
+
text instead of appending patch notes, "updated", "new" or "no longer"
|
|
80
|
+
remarks, dates or change history. Mention earlier behavior only when readers
|
|
81
|
+
still need it, such as a migration step. Leave articles the change does not
|
|
82
|
+
affect untouched; change history belongs in the changelog.
|
|
83
|
+
8. **Review.** With `knowledge_review: delegate`, read the full report. Fix
|
|
78
84
|
problems before approval through the draft revision Route and review again;
|
|
79
85
|
then approve. After approval and before delivery ends, record purely
|
|
80
86
|
mechanical corrections with `context task record-fix`. Unresolved blockers are
|
|
81
87
|
reported, never force-approved.
|
|
82
|
-
|
|
88
|
+
9. **Keep the top-level navigation.** Do not add, remove, rename or repurpose a
|
|
83
89
|
top-level category in a routine run, because a batch waiting for a human
|
|
84
90
|
would block every later batch. Place revised pages in the existing structure,
|
|
85
91
|
deliver the batch, and record the proposal (structure before and after, and
|
|
86
92
|
why) in the PLAN and the result. Apply it only after a human confirms, as a
|
|
87
93
|
separate knowledge-map change.
|
|
88
|
-
|
|
94
|
+
10. **Merge each batch.** Record the increasing version and changelog as the
|
|
89
95
|
workspace requires, then commit only that batch's files and PLAN progress.
|
|
90
96
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
91
97
|
only the version or changelog conflicts, take the remote's files; then run
|
|
@@ -93,10 +99,10 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
93
99
|
the version again with `base_ref` set to that commit and the new digest. Any
|
|
94
100
|
other conflict stops that batch: keep its branch and report it. Use the
|
|
95
101
|
host's delivery tool.
|
|
96
|
-
|
|
102
|
+
11. **Publish.** With `publish: end`, publish once after every change in scope is
|
|
97
103
|
delivered, including the PLAN's last stage; with `each-batch`, after each
|
|
98
104
|
merge. Read back the live version. Intermediate batches only merge.
|
|
99
|
-
|
|
105
|
+
12. **Finish.** When the PLAN is complete, check each stage's merge record and the
|
|
100
106
|
publication, delete the PLAN and remove its pointer from `AGENTS.md` in the
|
|
101
107
|
last commit. Otherwise write the exact position and next stage into the PLAN
|
|
102
108
|
so the next run continues from it.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "c4a",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.94",
|
|
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.94",
|
|
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",
|
|
@@ -138,7 +138,7 @@ without the user's authorization.
|
|
|
138
138
|
|
|
139
139
|
### Check the CLI first
|
|
140
140
|
|
|
141
|
-
This Skill ships with Context 0.7.
|
|
141
|
+
This Skill ships with Context 0.7.94.
|
|
142
142
|
|
|
143
143
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
144
144
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -74,18 +74,24 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
74
74
|
pending set is exactly this stage's repository. Re-capture changed documents
|
|
75
75
|
through their normal capture Route. Do not start a new batch after the time
|
|
76
76
|
budget; finish or checkpoint the current one.
|
|
77
|
-
7. **
|
|
77
|
+
7. **Write the current state.** Revise each affected article so it reads as the
|
|
78
|
+
current knowledge, one coherent article: work the change into the existing
|
|
79
|
+
text instead of appending patch notes, "updated", "new" or "no longer"
|
|
80
|
+
remarks, dates or change history. Mention earlier behavior only when readers
|
|
81
|
+
still need it, such as a migration step. Leave articles the change does not
|
|
82
|
+
affect untouched; change history belongs in the changelog.
|
|
83
|
+
8. **Review.** With `knowledge_review: delegate`, read the full report. Fix
|
|
78
84
|
problems before approval through the draft revision Route and review again;
|
|
79
85
|
then approve. After approval and before delivery ends, record purely
|
|
80
86
|
mechanical corrections with `context task record-fix`. Unresolved blockers are
|
|
81
87
|
reported, never force-approved.
|
|
82
|
-
|
|
88
|
+
9. **Keep the top-level navigation.** Do not add, remove, rename or repurpose a
|
|
83
89
|
top-level category in a routine run, because a batch waiting for a human
|
|
84
90
|
would block every later batch. Place revised pages in the existing structure,
|
|
85
91
|
deliver the batch, and record the proposal (structure before and after, and
|
|
86
92
|
why) in the PLAN and the result. Apply it only after a human confirms, as a
|
|
87
93
|
separate knowledge-map change.
|
|
88
|
-
|
|
94
|
+
10. **Merge each batch.** Record the increasing version and changelog as the
|
|
89
95
|
workspace requires, then commit only that batch's files and PLAN progress.
|
|
90
96
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
91
97
|
only the version or changelog conflicts, take the remote's files; then run
|
|
@@ -93,10 +99,10 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
93
99
|
the version again with `base_ref` set to that commit and the new digest. Any
|
|
94
100
|
other conflict stops that batch: keep its branch and report it. Use the
|
|
95
101
|
host's delivery tool.
|
|
96
|
-
|
|
102
|
+
11. **Publish.** With `publish: end`, publish once after every change in scope is
|
|
97
103
|
delivered, including the PLAN's last stage; with `each-batch`, after each
|
|
98
104
|
merge. Read back the live version. Intermediate batches only merge.
|
|
99
|
-
|
|
105
|
+
12. **Finish.** When the PLAN is complete, check each stage's merge record and the
|
|
100
106
|
publication, delete the PLAN and remove its pointer from `AGENTS.md` in the
|
|
101
107
|
last commit. Otherwise write the exact position and next stage into the PLAN
|
|
102
108
|
so the next run continues from it.
|
|
@@ -135,7 +135,7 @@ without the user's authorization.
|
|
|
135
135
|
|
|
136
136
|
### Check the CLI first
|
|
137
137
|
|
|
138
|
-
This Skill ships with Context 0.7.
|
|
138
|
+
This Skill ships with Context 0.7.94.
|
|
139
139
|
|
|
140
140
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
141
141
|
workspace SDK once per session with [version alignment](../resources/context/version-alignment.md):
|
|
@@ -74,18 +74,24 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
74
74
|
pending set is exactly this stage's repository. Re-capture changed documents
|
|
75
75
|
through their normal capture Route. Do not start a new batch after the time
|
|
76
76
|
budget; finish or checkpoint the current one.
|
|
77
|
-
7. **
|
|
77
|
+
7. **Write the current state.** Revise each affected article so it reads as the
|
|
78
|
+
current knowledge, one coherent article: work the change into the existing
|
|
79
|
+
text instead of appending patch notes, "updated", "new" or "no longer"
|
|
80
|
+
remarks, dates or change history. Mention earlier behavior only when readers
|
|
81
|
+
still need it, such as a migration step. Leave articles the change does not
|
|
82
|
+
affect untouched; change history belongs in the changelog.
|
|
83
|
+
8. **Review.** With `knowledge_review: delegate`, read the full report. Fix
|
|
78
84
|
problems before approval through the draft revision Route and review again;
|
|
79
85
|
then approve. After approval and before delivery ends, record purely
|
|
80
86
|
mechanical corrections with `context task record-fix`. Unresolved blockers are
|
|
81
87
|
reported, never force-approved.
|
|
82
|
-
|
|
88
|
+
9. **Keep the top-level navigation.** Do not add, remove, rename or repurpose a
|
|
83
89
|
top-level category in a routine run, because a batch waiting for a human
|
|
84
90
|
would block every later batch. Place revised pages in the existing structure,
|
|
85
91
|
deliver the batch, and record the proposal (structure before and after, and
|
|
86
92
|
why) in the PLAN and the result. Apply it only after a human confirms, as a
|
|
87
93
|
separate knowledge-map change.
|
|
88
|
-
|
|
94
|
+
10. **Merge each batch.** Record the increasing version and changelog as the
|
|
89
95
|
workspace requires, then commit only that batch's files and PLAN progress.
|
|
90
96
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
91
97
|
only the version or changelog conflicts, take the remote's files; then run
|
|
@@ -93,10 +99,10 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
93
99
|
the version again with `base_ref` set to that commit and the new digest. Any
|
|
94
100
|
other conflict stops that batch: keep its branch and report it. Use the
|
|
95
101
|
host's delivery tool.
|
|
96
|
-
|
|
102
|
+
11. **Publish.** With `publish: end`, publish once after every change in scope is
|
|
97
103
|
delivered, including the PLAN's last stage; with `each-batch`, after each
|
|
98
104
|
merge. Read back the live version. Intermediate batches only merge.
|
|
99
|
-
|
|
105
|
+
12. **Finish.** When the PLAN is complete, check each stage's merge record and the
|
|
100
106
|
publication, delete the PLAN and remove its pointer from `AGENTS.md` in the
|
|
101
107
|
last commit. Otherwise write the exact position and next stage into the PLAN
|
|
102
108
|
so the next run continues from it.
|
|
@@ -138,7 +138,7 @@ without the user's authorization.
|
|
|
138
138
|
|
|
139
139
|
### Check the CLI first
|
|
140
140
|
|
|
141
|
-
This Skill ships with Context 0.7.
|
|
141
|
+
This Skill ships with Context 0.7.94.
|
|
142
142
|
|
|
143
143
|
When entering production in a workspace, align the CLI, this Skill and the
|
|
144
144
|
workspace SDK once per session with [version alignment](references/version-alignment.md):
|
|
@@ -74,18 +74,24 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
74
74
|
pending set is exactly this stage's repository. Re-capture changed documents
|
|
75
75
|
through their normal capture Route. Do not start a new batch after the time
|
|
76
76
|
budget; finish or checkpoint the current one.
|
|
77
|
-
7. **
|
|
77
|
+
7. **Write the current state.** Revise each affected article so it reads as the
|
|
78
|
+
current knowledge, one coherent article: work the change into the existing
|
|
79
|
+
text instead of appending patch notes, "updated", "new" or "no longer"
|
|
80
|
+
remarks, dates or change history. Mention earlier behavior only when readers
|
|
81
|
+
still need it, such as a migration step. Leave articles the change does not
|
|
82
|
+
affect untouched; change history belongs in the changelog.
|
|
83
|
+
8. **Review.** With `knowledge_review: delegate`, read the full report. Fix
|
|
78
84
|
problems before approval through the draft revision Route and review again;
|
|
79
85
|
then approve. After approval and before delivery ends, record purely
|
|
80
86
|
mechanical corrections with `context task record-fix`. Unresolved blockers are
|
|
81
87
|
reported, never force-approved.
|
|
82
|
-
|
|
88
|
+
9. **Keep the top-level navigation.** Do not add, remove, rename or repurpose a
|
|
83
89
|
top-level category in a routine run, because a batch waiting for a human
|
|
84
90
|
would block every later batch. Place revised pages in the existing structure,
|
|
85
91
|
deliver the batch, and record the proposal (structure before and after, and
|
|
86
92
|
why) in the PLAN and the result. Apply it only after a human confirms, as a
|
|
87
93
|
separate knowledge-map change.
|
|
88
|
-
|
|
94
|
+
10. **Merge each batch.** Record the increasing version and changelog as the
|
|
89
95
|
workspace requires, then commit only that batch's files and PLAN progress.
|
|
90
96
|
Fetch the remote first. If it moved, note the remote commit, rebase, and when
|
|
91
97
|
only the version or changelog conflicts, take the remote's files; then run
|
|
@@ -93,10 +99,10 @@ delivery configuration; one or two sentences of team-specific guidance are enoug
|
|
|
93
99
|
the version again with `base_ref` set to that commit and the new digest. Any
|
|
94
100
|
other conflict stops that batch: keep its branch and report it. Use the
|
|
95
101
|
host's delivery tool.
|
|
96
|
-
|
|
102
|
+
11. **Publish.** With `publish: end`, publish once after every change in scope is
|
|
97
103
|
delivered, including the PLAN's last stage; with `each-batch`, after each
|
|
98
104
|
merge. Read back the live version. Intermediate batches only merge.
|
|
99
|
-
|
|
105
|
+
12. **Finish.** When the PLAN is complete, check each stage's merge record and the
|
|
100
106
|
publication, delete the PLAN and remove its pointer from `AGENTS.md` in the
|
|
101
107
|
last commit. Otherwise write the exact position and next stage into the PLAN
|
|
102
108
|
so the next run continues from it.
|
|
@@ -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.94"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
{
|
|
219
219
|
"id": "context.sdk.site-translation",
|
|
220
220
|
"path": "resources/manuals/guides/site-translation.md",
|
|
221
|
-
"digest": "sha256:
|
|
221
|
+
"digest": "sha256:b6a78618ae12f5663e7eb89bfc3565ae4c72d623a95359d005abf88774ba331b"
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
"id": "context.sdk.template-variables",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
{
|
|
329
329
|
"id": "procedure.knowledge-updates",
|
|
330
330
|
"path": "resources/procedures/knowledge-updates.md",
|
|
331
|
-
"digest": "sha256:
|
|
331
|
+
"digest": "sha256:2f972ef69cf1aabe537b8e61b6f334d3a57a88f00ebd1d48dcfaa849cb03723c"
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
"id": "procedure.note",
|
|
@@ -598,7 +598,7 @@
|
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
"path": "provider.yaml",
|
|
601
|
-
"digest": "sha256:
|
|
601
|
+
"digest": "sha256:5e76c70ceb071a1a0e917778d28d731071713a55de9e64a44767f02dbdcd4b09"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "resources/manuals/guides/knowledge-updates.md",
|
|
661
|
-
"digest": "sha256:
|
|
661
|
+
"digest": "sha256:7bf7a47ddd436ed9682a4649c130ccf293ccb9bd5e61417d93c7093774f6fa2b"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"path": "resources/manuals/guides/lark-resources.md",
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
},
|
|
691
691
|
{
|
|
692
692
|
"path": "resources/manuals/guides/site-translation.md",
|
|
693
|
-
"digest": "sha256:
|
|
693
|
+
"digest": "sha256:b6a78618ae12f5663e7eb89bfc3565ae4c72d623a95359d005abf88774ba331b"
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
696
|
"path": "resources/manuals/guides/source-batches.md",
|
|
@@ -754,7 +754,7 @@
|
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"path": "resources/procedures/knowledge-updates.md",
|
|
757
|
-
"digest": "sha256:
|
|
757
|
+
"digest": "sha256:2f972ef69cf1aabe537b8e61b6f334d3a57a88f00ebd1d48dcfaa849cb03723c"
|
|
758
758
|
},
|
|
759
759
|
{
|
|
760
760
|
"path": "resources/procedures/note.md",
|
|
@@ -910,7 +910,7 @@
|
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
"path": "skills/translate-site-locales/SKILL.md",
|
|
913
|
-
"digest": "sha256:
|
|
913
|
+
"digest": "sha256:2440bdb3756542e807709be971a02752ad29c8f578a47ee5e2dae5eb0bcb76a8"
|
|
914
914
|
},
|
|
915
915
|
{
|
|
916
916
|
"path": "skills/work-production-stage/SKILL.md",
|
|
@@ -921,5 +921,5 @@
|
|
|
921
921
|
"indexer": [],
|
|
922
922
|
"workspace": []
|
|
923
923
|
},
|
|
924
|
-
"digest": "sha256:
|
|
924
|
+
"digest": "sha256:a125730d9e62e126bb338f9a693312772d476e418158a9e1ed1a48c99052a8b6"
|
|
925
925
|
}
|
|
@@ -176,7 +176,9 @@ The CLI updates `package.json`, `changelog.yaml` and generated `CHANGELOG.md` to
|
|
|
176
176
|
`context version inspect --base <commit-or-tag> --format json` compares the actual
|
|
177
177
|
workspace files with Git, including untracked files. Without an explicit base it
|
|
178
178
|
uses the current version's `v<version>` tag when available, otherwise HEAD; HEAD
|
|
179
|
-
is not proof of publication.
|
|
179
|
+
is not proof of publication. A workspace kept in a subdirectory of a larger
|
|
180
|
+
repository compares only that directory and defaults to HEAD, because the
|
|
181
|
+
repository's tags are not workspace versions. Review article bodies, assets, structure, navigation
|
|
180
182
|
and templates, not structure alone. Without Git, inspection reports local files.
|
|
181
183
|
A disposable `.tmp` checkpoint suppresses repeated recording in an uncommitted
|
|
182
184
|
iteration. Losing it does not lose knowledge or prove a new publication.
|
|
@@ -27,9 +27,13 @@ fingerprints, so changing one rebuilds the website.
|
|
|
27
27
|
Each translation records the digest of the approved title, description and
|
|
28
28
|
body it was written from. A translation is `current` when the digest matches,
|
|
29
29
|
`stale` when the approved article changed, and `missing` when no file exists.
|
|
30
|
-
Runtime metadata changes do not make a translation stale.
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
Runtime metadata changes do not make a translation stale.
|
|
31
|
+
|
|
32
|
+
Translation files that no translating package selects are listed as `orphans`.
|
|
33
|
+
Only those whose approved article no longer exists at all are also listed as
|
|
34
|
+
`removed`; the next submission deletes them, and `prepare` deletes them at once
|
|
35
|
+
when nothing else is pending. Translations of pages that still exist but are
|
|
36
|
+
excluded from every translating package are kept.
|
|
33
37
|
|
|
34
38
|
When a package declares locales and any item is not current, the workspace Route
|
|
35
39
|
selects `translate-site-locales` after package template approval and before the
|
|
@@ -67,6 +71,12 @@ All other blocks, including blocks without a language marker, keep their content
|
|
|
67
71
|
unchanged. Submission validates all items first and saves nothing when
|
|
68
72
|
any item fails. A digest from before an approved content change is rejected.
|
|
69
73
|
|
|
74
|
+
Link to a section of another page with its section ID (`guide.md#<section-id>`).
|
|
75
|
+
Every language keeps the same section IDs, while heading anchors are generated
|
|
76
|
+
from each language's own heading text, so a heading anchor in the original does
|
|
77
|
+
not exist in its translations. Translate such links unchanged, then correct
|
|
78
|
+
the original links with `context revise <path> --instruction <correction>`.
|
|
79
|
+
|
|
70
80
|
`skip` records that the current pending items are published in the primary
|
|
71
81
|
language. Use it only when the user declines translation for this iteration;
|
|
72
82
|
the next approved change asks again.
|
|
@@ -176,7 +176,9 @@ The CLI updates `package.json`, `changelog.yaml` and generated `CHANGELOG.md` to
|
|
|
176
176
|
`context version inspect --base <commit-or-tag> --format json` compares the actual
|
|
177
177
|
workspace files with Git, including untracked files. Without an explicit base it
|
|
178
178
|
uses the current version's `v<version>` tag when available, otherwise HEAD; HEAD
|
|
179
|
-
is not proof of publication.
|
|
179
|
+
is not proof of publication. A workspace kept in a subdirectory of a larger
|
|
180
|
+
repository compares only that directory and defaults to HEAD, because the
|
|
181
|
+
repository's tags are not workspace versions. Review article bodies, assets, structure, navigation
|
|
180
182
|
and templates, not structure alone. Without Git, inspection reports local files.
|
|
181
183
|
A disposable `.tmp` checkpoint suppresses repeated recording in an uncommitted
|
|
182
184
|
iteration. Losing it does not lose knowledge or prove a new publication.
|
|
@@ -23,7 +23,11 @@ approved article before submitting. Keep the translation's structure exactly:
|
|
|
23
23
|
`txt`, and `plaintext` blocks, preserving commands, paths and placeholders such
|
|
24
24
|
as `<repository>`. Mermaid labels may be translated. Keep content unchanged
|
|
25
25
|
in every other block, including blocks without a language marker;
|
|
26
|
-
- keep every link target unchanged; translate link labels only
|
|
26
|
+
- keep every link target unchanged; translate link labels only. A link to a
|
|
27
|
+
heading anchor (for example `guide.md#install-the-cli`) does not exist in
|
|
28
|
+
other languages; keep it unchanged here, and after this step correct the
|
|
29
|
+
original link to the target's section ID with
|
|
30
|
+
`context revise <path> --instruction <correction>`;
|
|
27
31
|
- keep product names, commands, file paths, identifiers and API names as written.
|
|
28
32
|
|
|
29
33
|
Translate knowledge map titles as short navigation labels. Submit with
|