@c4a/context-cli 0.7.17 → 0.7.20
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/README.md +16 -2
- package/README.zh-CN.md +16 -2
- package/cli.js +59041 -58486
- package/indexers/contracts/profile-contract.json +245 -245
- package/indexers/release-manifest.json +1 -1
- package/package.json +12 -12
- package/plugins/README.md +5 -4
- package/plugins/README_CN.md +4 -2
- package/plugins/VERSION +1 -1
- package/plugins/claude/.claude-plugin/plugin.json +1 -1
- package/plugins/claude/commands/context-inspect-search.md +141 -170
- package/plugins/codex/.codex-plugin/plugin.json +2 -2
- package/plugins/codex/skills/context-inspect-search/SKILL.md +141 -170
- package/plugins/cursor/.cursor-plugin/plugin.json +1 -1
- package/plugins/cursor/commands/c4a-context-inspect-search.md +141 -170
- package/plugins/skills/context-inspect-search/SKILL.md +141 -170
- package/providers/context/manifest.json +10 -10
- package/providers/context/provider.yaml +1 -1
- package/providers/context/resources/manuals/guides/workspace-prepare.md +5 -0
- package/providers/context/resources/procedures/approved-revision.md +20 -0
- package/providers/context/resources/procedures/source-capture-detailed.md +17 -0
- package/providers/context/resources/procedures/workspace-prepare.md +5 -0
|
@@ -1,177 +1,148 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-inspect-search
|
|
3
|
-
description: Use only when the user explicitly invokes context-inspect-search to query
|
|
3
|
+
description: Use only when the user explicitly invokes context-inspect-search to query available Context knowledge packages or approved workspace knowledge and trace answers to their identified sources. A local workspace is optional. Do not auto-start for ordinary coding, planning, debugging, or an active Context production workflow.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Context Inspect Search
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
For documents, notes and sessions, read
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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
|
-
|
|
156
|
-
## Suggest improvements and hand off
|
|
157
|
-
|
|
158
|
-
When evidence supports a correction or worthwhile addition, briefly describe:
|
|
159
|
-
|
|
160
|
-
- the affected page or missing topic and the reader's actual problem;
|
|
161
|
-
- the supporting source location/version and what it establishes;
|
|
162
|
-
- whether to revise an existing page, adjust discoverability, add a topic, or
|
|
163
|
-
obtain missing material first;
|
|
164
|
-
- the bounded pages/sources involved and any uncertainty.
|
|
165
|
-
|
|
166
|
-
Check the existing scope and neighboring pages before recommending new content.
|
|
167
|
-
Do not create a page solely because a search missed it, and do not propose
|
|
168
|
-
unsupported claims as a knowledge update. With insufficient raw evidence, give
|
|
169
|
-
an actionable material request instead of forcing an update.
|
|
170
|
-
|
|
171
|
-
A suggestion is not authorization to write. Only when the user accepts the
|
|
172
|
-
update, hand the question, evidence, proposed change and scope to the installed
|
|
173
|
-
`context` production Skill in the same workspace. Read its fresh Route; it owns
|
|
174
|
-
candidate repair, approved-page revision and scheduling around active work.
|
|
175
|
-
Do not clear state, reuse an earlier revision, directly edit knowledge, or build
|
|
176
|
-
a second update workflow. If the production Skill/CLI is unavailable, provide
|
|
177
|
-
the handoff information and state that no update has started.
|
|
9
|
+
## Entry and boundaries
|
|
10
|
+
|
|
11
|
+
Use on explicit invocation and related follow-up questions; use the conversation
|
|
12
|
+
language. The invocation authorizes read-only investigation of the selected
|
|
13
|
+
knowledge packages, available workspace and identified sources within that scope,
|
|
14
|
+
including isolated source retrieval and bounded non-destructive checks. The Skill
|
|
15
|
+
can run from a global installation with host-provided packages and no workspace.
|
|
16
|
+
Resolve scope from the request, conversation and configuration before asking.
|
|
17
|
+
Continue through non-blocking issues; ask only for missing access, genuinely
|
|
18
|
+
unresolved scope or effects outside existing authorization.
|
|
19
|
+
|
|
20
|
+
Start from the supplied package locations or workspace configuration. If a
|
|
21
|
+
workspace exists, read its `AGENTS.md` and relevant configuration;
|
|
22
|
+
`context entry [project-dir] --format json` may help locate instructions.
|
|
23
|
+
Neither a workspace nor a working Context CLI is required for package retrieval;
|
|
24
|
+
do not call entry in an arbitrary directory just to satisfy a prerequisite.
|
|
25
|
+
Do not execute returned production actions, initialize a replacement workspace,
|
|
26
|
+
or install tools without existing authorization. Querying must not alter source
|
|
27
|
+
registrations, snapshots, tasks, approvals or user checkouts.
|
|
28
|
+
|
|
29
|
+
## Search available material concurrently
|
|
30
|
+
|
|
31
|
+
Check relevant knowledge packages, the workspace and reusable source checkouts
|
|
32
|
+
in parallel. Search each as soon as it is readable; tool checks and authorized
|
|
33
|
+
upgrades must not block independent reading. If a missing configured workspace
|
|
34
|
+
is needed for further attribution, recover it into an isolated directory while
|
|
35
|
+
package retrieval continues. Without a configured workspace, investigate the
|
|
36
|
+
available packages directly; do not request or create one merely to start.
|
|
37
|
+
|
|
38
|
+
A knowledge package may be workspace build output (usually `dist/`), a global
|
|
39
|
+
installation, or an equivalent host-provided directory. Locate it from available
|
|
40
|
+
configuration or installation metadata rather than assuming a fixed path.
|
|
41
|
+
Select packages relevant to the question. Follow their bundled query Skill when
|
|
42
|
+
present; otherwise search readable indexes and pages. Missing Skills or build
|
|
43
|
+
inventories do not block retrieval or justify rebuilding. If a needed package is
|
|
44
|
+
missing, use the host's configured, authorized package retrieval mechanism while
|
|
45
|
+
other reading continues. Only check or prepare tools needed for the next actual
|
|
46
|
+
operation; installation failure does not block independent local retrieval.
|
|
47
|
+
|
|
48
|
+
For gaps or latest-content questions, also search approved knowledge when a workspace is available:
|
|
49
|
+
use `knowledge/structure.yaml` and relevant `knowledge/` paths, trying business
|
|
50
|
+
terms, symbols and synonyms, then read matching sections in context. Delivered
|
|
51
|
+
content may lag approved knowledge; they are not independent corroboration.
|
|
52
|
+
Candidates and temporary reports are not approved pages. A search miss does not
|
|
53
|
+
prove a capability is absent. Do not build merely to answer a query; a separately
|
|
54
|
+
authorized build must follow its own workflow without advancing unrelated work.
|
|
55
|
+
|
|
56
|
+
When package or approved knowledge leaves a gap, directly trace relevant sources
|
|
57
|
+
without asking whether to deepen the query. Use available document, code-search
|
|
58
|
+
or extraction tools within the authorized scope, recording source identity and
|
|
59
|
+
version. Prepare sources while continuing other reading.
|
|
60
|
+
One failed source blocks only dependent claims. Answer when evidence is
|
|
61
|
+
sufficient, without completing unnecessary preparation.
|
|
62
|
+
|
|
63
|
+
## Trace and retrieve only relevant sources
|
|
64
|
+
|
|
65
|
+
Without a workspace, use explicit source references in the package, its metadata
|
|
66
|
+
or user configuration to identify relevant documents or repository paths and
|
|
67
|
+
commits. Read or retrieve those sources directly within scope; the workspace
|
|
68
|
+
registry is not a mandatory intermediate step. If the source identity or version
|
|
69
|
+
cannot be established, retain package-grounded findings and qualify attribution;
|
|
70
|
+
do not invent a repository or equate current source with the package's baseline.
|
|
71
|
+
|
|
72
|
+
When a workspace and `context-build-inventory.json` are available, map a delivered page's
|
|
73
|
+
`dist_path` through `approved_knowledge.files` to its `approved_path`, relative
|
|
74
|
+
to the workspace's `knowledge/` root. Follow the approved page's associations in
|
|
75
|
+
`knowledge/structure.yaml` and `sources/*/index.yaml`. Without a reliable mapping,
|
|
76
|
+
continue package retrieval and follow explicit source references where available.
|
|
77
|
+
Do not guess originals from similar filenames or claim attribution without
|
|
78
|
+
checking the referenced material.
|
|
79
|
+
|
|
80
|
+
Use the repository and recorded commit identified by the package or workspace
|
|
81
|
+
as the source baseline.
|
|
82
|
+
Reuse existing checkouts only after checking remote, commit, module coverage
|
|
83
|
+
and local changes; do not reset them or change their sparse configuration.
|
|
84
|
+
Missing code goes into a reusable query-owned path such as
|
|
85
|
+
`.tmp/context-inspect/<host>/<repository-path>/<commit>/`, separate from user
|
|
86
|
+
checkouts and production-managed sources. Use safe, credential-free path
|
|
87
|
+
components and the full commit. Verify identity before reuse; never overwrite
|
|
88
|
+
a mismatched directory. Deduplicate recovery and use one writer per checkout;
|
|
89
|
+
that writer may append sparse paths without resetting existing files.
|
|
90
|
+
|
|
91
|
+
Default to lightweight retrieval and sparse checkout:
|
|
92
|
+
|
|
93
|
+
- Use shallow history (`--depth=1`) and deferred contents (`--filter=blob:none`)
|
|
94
|
+
where supported, with a complete partial-clone setup and named promisor remote.
|
|
95
|
+
Configure the sparse scope before checkout and verify the resulting commit.
|
|
96
|
+
- Start from known module paths. If unclear, inspect
|
|
97
|
+
`git ls-tree -r --name-only <commit>` for candidates, then read code to confirm
|
|
98
|
+
their relevance. Expand along imports, calls and service routes as needed;
|
|
99
|
+
deepen history only when needed. A sparse search miss is not a whole-repository miss.
|
|
100
|
+
- Read ready modules while other recovery proceeds. Allow sufficient command
|
|
101
|
+
time (for example 300 seconds or more), but investigate confirmed stalls
|
|
102
|
+
without waiting for timeout; silence alone is not a stall. If unsupported or
|
|
103
|
+
unsuccessful, try caches, commit-specific file retrieval or bounded shallow
|
|
104
|
+
retrieval; use a full clone only when necessary. Do not retry blindly or
|
|
105
|
+
silently substitute the default branch for an unavailable recorded commit.
|
|
106
|
+
|
|
107
|
+
Query retrieval never runs `context source restore`, `task prepare` or production
|
|
108
|
+
capture/recovery actions. Production recovery gates do not block this independent
|
|
109
|
+
inspection. Preserve unavailable-evidence gaps rather than changing production
|
|
110
|
+
state to get past them.
|
|
111
|
+
|
|
112
|
+
Compare relevant baseline files with current code when accessible, including
|
|
113
|
+
relevant local changes. Use actual diffs to assess impact; current code is not a
|
|
114
|
+
substitute for the baseline. Mention a missing comparison only when it limits
|
|
115
|
+
the answer. For documents, notes and sessions, read saved bodies and necessary
|
|
116
|
+
attachments; fetch missing accessible material within scope. A summary is not a
|
|
117
|
+
full transcript, an unread link is not evidence, and current remote content does
|
|
118
|
+
not prove a historical snapshot.
|
|
119
|
+
|
|
120
|
+
## Answer with evidence and hand off updates
|
|
121
|
+
|
|
122
|
+
Lead with the conclusion and a concise evidence chain. Distinguish implementation,
|
|
123
|
+
declared contracts, test assertions, runtime observations and inferences. Perform
|
|
124
|
+
bounded non-destructive validation only when useful; inspect its effects first
|
|
125
|
+
and do not run unrelated scripts, builds or tests.
|
|
126
|
+
|
|
127
|
+
Link material actually read: source files at the inspected commit, knowledge
|
|
128
|
+
website articles and original documents. If no reliable clickable link exists,
|
|
129
|
+
give checkable local paths, symbols and short supporting excerpts with the
|
|
130
|
+
limitation. Do not dump internal reasoning, runtime identifiers or routine
|
|
131
|
+
version comparisons. Explain only differences affecting the answer; hashes may
|
|
132
|
+
appear in source URLs without requiring a separate version audit in the prose.
|
|
133
|
+
|
|
134
|
+
For website links, use `context-site-map.json` from the selected package or
|
|
135
|
+
sibling website output. Match `pages[].package_path` or `approved_path`, and
|
|
136
|
+
resolve `site_path` against `site_url` without prepending `base` again. Cite only
|
|
137
|
+
matched pages, deduplicate links and do not invent anchors. If mapping is absent
|
|
138
|
+
or invalid, retain local citations. Do not build, publish or probe remote sites
|
|
139
|
+
just to format citations; a local map is not proof of the current online content.
|
|
140
|
+
|
|
141
|
+
Suggest a knowledge update only with supporting evidence: identify the affected
|
|
142
|
+
page or gap, proposed change and bounded source scope. Check neighboring content
|
|
143
|
+
before proposing a new page. Only after user acceptance, hand the evidence and
|
|
144
|
+
scope to the installed `context` production Skill in the selected workspace and
|
|
145
|
+
its fresh Route. If no target workspace is known, resolve it at that handoff,
|
|
146
|
+
not as a prerequisite to answering. Do not edit approved knowledge, clear state
|
|
147
|
+
or reuse an earlier revision. If that entry
|
|
148
|
+
is unavailable, provide the handoff and state that no update has started.
|
|
@@ -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.20"
|
|
6
6
|
},
|
|
7
7
|
"providerManifest": "provider.yaml",
|
|
8
8
|
"graphs": [
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
{
|
|
279
279
|
"id": "procedure.approved-revision",
|
|
280
280
|
"path": "resources/procedures/approved-revision.md",
|
|
281
|
-
"digest": "sha256:
|
|
281
|
+
"digest": "sha256:4ee897e6c13e0e908e4d28b239d93f74e66756ef7707277997225743ca250552"
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"id": "procedure.close-and-build",
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
{
|
|
364
364
|
"id": "procedure.source-capture-detailed",
|
|
365
365
|
"path": "resources/procedures/source-capture-detailed.md",
|
|
366
|
-
"digest": "sha256:
|
|
366
|
+
"digest": "sha256:75694361543f5c44a1077b5e6c4ed9bca844ec9b46c1773198f66e0f20ba3748"
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
"id": "procedure.source-update",
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
{
|
|
394
394
|
"id": "procedure.workspace-prepare",
|
|
395
395
|
"path": "resources/procedures/workspace-prepare.md",
|
|
396
|
-
"digest": "sha256:
|
|
396
|
+
"digest": "sha256:b6192c1058b26630f122de5728ee1d508754a8a46584672fe9f76e3d77d273cb"
|
|
397
397
|
},
|
|
398
398
|
{
|
|
399
399
|
"id": "procedure.workspace-restore",
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
"path": "provider.yaml",
|
|
573
|
-
"digest": "sha256:
|
|
573
|
+
"digest": "sha256:07557b0b88123c833f25f144cb9c2feab3a1233b7d7a2ecde9e3a9995ae51675"
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
"path": "resources/contracts/indexer-provider-guide.yaml",
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
},
|
|
659
659
|
{
|
|
660
660
|
"path": "resources/manuals/guides/workspace-prepare.md",
|
|
661
|
-
"digest": "sha256:
|
|
661
|
+
"digest": "sha256:fa8451aa20ee48437c8b6ce1163752d0baec8486c1919982996c3d202e82a714"
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
664
|
"path": "resources/manuals/guides/workspace-restore.md",
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
"path": "resources/procedures/approved-revision.md",
|
|
685
|
-
"digest": "sha256:
|
|
685
|
+
"digest": "sha256:4ee897e6c13e0e908e4d28b239d93f74e66756ef7707277997225743ca250552"
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"path": "resources/procedures/close-and-build.md",
|
|
@@ -750,7 +750,7 @@
|
|
|
750
750
|
},
|
|
751
751
|
{
|
|
752
752
|
"path": "resources/procedures/source-capture-detailed.md",
|
|
753
|
-
"digest": "sha256:
|
|
753
|
+
"digest": "sha256:75694361543f5c44a1077b5e6c4ed9bca844ec9b46c1773198f66e0f20ba3748"
|
|
754
754
|
},
|
|
755
755
|
{
|
|
756
756
|
"path": "resources/procedures/source-update.md",
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
},
|
|
775
775
|
{
|
|
776
776
|
"path": "resources/procedures/workspace-prepare.md",
|
|
777
|
-
"digest": "sha256:
|
|
777
|
+
"digest": "sha256:b6192c1058b26630f122de5728ee1d508754a8a46584672fe9f76e3d77d273cb"
|
|
778
778
|
},
|
|
779
779
|
{
|
|
780
780
|
"path": "resources/procedures/workspace-restore.md",
|
|
@@ -869,5 +869,5 @@
|
|
|
869
869
|
"indexer": [],
|
|
870
870
|
"workspace": []
|
|
871
871
|
},
|
|
872
|
-
"digest": "sha256:
|
|
872
|
+
"digest": "sha256:194f155ebef71ee850a23521a36a9df1906be6d9285549cfe5f1e7d881417f78"
|
|
873
873
|
}
|
|
@@ -21,6 +21,11 @@ Wait for an active writer to finish and obtain its receipt before changing state
|
|
|
21
21
|
If status is broken, inspect its diagnostic and files with Host tools rather
|
|
22
22
|
than treating failure as proof that the workspace is empty.
|
|
23
23
|
|
|
24
|
+
Registered source inventory is not an active task. Preparation does not repair
|
|
25
|
+
invalid snapshots or change source scope; do not repeat preparation to bypass a
|
|
26
|
+
capture diagnostic. Excluding a source from one task is not authorization to
|
|
27
|
+
delete its registration or retained evidence.
|
|
28
|
+
|
|
24
29
|
## End the old task
|
|
25
30
|
|
|
26
31
|
Run `context task prepare --format json`. It previews the exact Context-owned
|
|
@@ -17,6 +17,26 @@ to ask about the affected claim, not to reconstruct the whole knowledge base.
|
|
|
17
17
|
Record new factual contributions as managed sources before expanding source
|
|
18
18
|
ownership; an editing instruction alone is not a permanent factual source.
|
|
19
19
|
|
|
20
|
+
If a source diagnostic blocks the action, inspect that exact source before
|
|
21
|
+
calling it uncaptured. An invalid retained capture report is not evidence that
|
|
22
|
+
the source was never collected. Do not use rollback, task preparation, or source
|
|
23
|
+
removal to repair a revision-token or submission-schema error. Refresh the
|
|
24
|
+
current action and use its revision and required `stage: approved-revision`.
|
|
25
|
+
If the fresh action still conflicts, preserve the request and report the tool
|
|
26
|
+
blocker instead of repeatedly clearing or re-registering maintenance.
|
|
27
|
+
|
|
28
|
+
For new independent evidence added during a revision, keep its own managed source.
|
|
29
|
+
A `requirement_ref` alone does not authorize it: the selected requirement in
|
|
30
|
+
`src/indexers.yaml` must connect the new source to an existing task source through
|
|
31
|
+
its target or evidence scopes. When `revision-source-scope-unconfirmed` is returned,
|
|
32
|
+
use its `missing` and `configuration` fields to correct only the user-authorized
|
|
33
|
+
association. Then retry the same `task adjust` without refresh and, once material
|
|
34
|
+
is available, with `refresh: true`; reread the resulting revision. Do not invent
|
|
35
|
+
module references, replace an older note, delete sources or clear the task to
|
|
36
|
+
satisfy this boundary. Already imported material does not need to be imported again.
|
|
37
|
+
A managed-source `base_digest` protects file replacement from conflicts; it is not
|
|
38
|
+
source-scope authorization and is not interchangeable with a snapshot hash.
|
|
39
|
+
|
|
20
40
|
Return the full revised Markdown in the supplied output schema, preserving the
|
|
21
41
|
page's stable fragment markers and metadata. Do not silently
|
|
22
42
|
turn paraphrased text into a verbatim quotation. Do not directly write knowledge
|
|
@@ -190,6 +190,23 @@ Do not discover files with `find` / `ls` when the user already supplied paths.
|
|
|
190
190
|
If the include set is large, summarize it and ask for confirmation before
|
|
191
191
|
registration; do not read file bodies before capture permission is clear.
|
|
192
192
|
|
|
193
|
+
### Unavailable document acquisition
|
|
194
|
+
|
|
195
|
+
A `document.capture.warning` is not a successful capture. Report whether the CLI
|
|
196
|
+
retained a validated registered snapshot or deferred a source with no evidence.
|
|
197
|
+
Use retained material with its recorded version; do not claim that upstream is
|
|
198
|
+
current. A deferred source remains registered and must not be cited as evidence.
|
|
199
|
+
Continue unrelated work using the returned workspace Route. Do not remove sources,
|
|
200
|
+
clear tasks, invent content, or repeatedly retry authentication to unblock it.
|
|
201
|
+
|
|
202
|
+
The warning includes a retry command. Run it when access is restored or the user
|
|
203
|
+
requests another attempt. Changing the source or capture configuration invalidates
|
|
204
|
+
the old deferral. Warning receipts are local runtime state; another checkout may
|
|
205
|
+
attempt acquisition again. Persisted snapshots remain the portable evidence.
|
|
206
|
+
Snapshot corruption, invalid input, write conflicts and repository restore errors
|
|
207
|
+
are not downgraded. Code work still requires its authorized registered repository
|
|
208
|
+
version. Note/session material already saved in the workspace is read locally.
|
|
209
|
+
|
|
193
210
|
### Output Handling
|
|
194
211
|
|
|
195
212
|
Preserve commands, reason codes, ids, and diagnostics exactly; summarize
|
|
@@ -21,6 +21,11 @@ Wait for an active writer to finish and obtain its receipt before changing state
|
|
|
21
21
|
If status is broken, inspect its diagnostic and files with Host tools rather
|
|
22
22
|
than treating failure as proof that the workspace is empty.
|
|
23
23
|
|
|
24
|
+
Registered source inventory is not an active task. Preparation does not repair
|
|
25
|
+
invalid snapshots or change source scope; do not repeat preparation to bypass a
|
|
26
|
+
capture diagnostic. Excluding a source from one task is not authorization to
|
|
27
|
+
delete its registration or retained evidence.
|
|
28
|
+
|
|
24
29
|
## End the old task
|
|
25
30
|
|
|
26
31
|
Run `context task prepare --format json`. It previews the exact Context-owned
|