@c4a/context 0.7.20 → 0.7.23
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.
|
@@ -217,7 +217,7 @@ In the work-start report or current plan, briefly state the affected articles'
|
|
|
217
217
|
intended placements and reused category intent. For proposed top-level additions,
|
|
218
218
|
renames, removals or changes of purpose, show the before/after tree, why reuse is
|
|
219
219
|
insufficient, affected existing pages and reading order. Present that change for
|
|
220
|
-
human review before applying it. This uses the existing report feedback where
|
|
220
|
+
human review under `context.gate.top_level_directory` before applying it. This uses the existing report feedback where
|
|
221
221
|
available; do not add a new CLI state, schema field or routine per-article gate.
|
|
222
222
|
Explicit user approval of that concrete structure is sufficient; do not ask again.
|
|
223
223
|
General permission to write knowledge or organize batches is not approval to
|
|
@@ -587,6 +587,10 @@ before delivery; inspect both new content and the old articles' disposition.
|
|
|
587
587
|
|
|
588
588
|
Preview approved-page retirement with `context task retire --input <file> --format json`:
|
|
589
589
|
|
|
590
|
+
This standalone retirement does not enter the article HTML Review. Apply
|
|
591
|
+
`context.gate.deletion_scope` to its target list; an already approved deletion
|
|
592
|
+
needs no second confirmation after the preview.
|
|
593
|
+
|
|
590
594
|
```yaml
|
|
591
595
|
reason: These reader tasks are now covered by the approved guide.
|
|
592
596
|
targets:
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Prepare a workspace for the next task
|
|
2
2
|
|
|
3
|
+
Agent policy: `context.gate.workspace_reset_restore`. A clear request to
|
|
4
|
+
prepare this workspace authorizes the described task-state cleanup; clarify
|
|
5
|
+
only an unresolved target or loss.
|
|
6
|
+
|
|
3
7
|
Use only for an explicit workspace preparation request. The goal is usable
|
|
4
8
|
registered sources and no unfinished task, while retaining approved knowledge
|
|
5
9
|
and configuration. Lead with Host tools and actual observations; do not start
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Restore a historical workspace version
|
|
2
2
|
|
|
3
|
+
Agent policy: `context.gate.workspace_reset_restore`. An explicit restore
|
|
4
|
+
request needs no second approval when the target and affected files are clear.
|
|
5
|
+
|
|
3
6
|
Use the Agent's Git and environment tools. This restores selected workspace
|
|
4
7
|
files and usable sources; it does not reset the entire repository, rewind source
|
|
5
8
|
repositories, or restore ignored runtime progress.
|
|
@@ -19,7 +22,8 @@ Compare target files with current tracked, untracked and staged files. Include
|
|
|
19
22
|
current additions absent at the target in the proposed removal scope. Keep
|
|
20
23
|
unrelated files, existing staged work and ignored source checkouts. Account for
|
|
21
24
|
workspace moves or renames instead of treating a missing old path as an empty
|
|
22
|
-
version. Reuse explicit authorization;
|
|
25
|
+
version. Reuse explicit authorization; clarify an unresolved target or loss
|
|
26
|
+
before acting rather than asking for a second approval of the same request.
|
|
23
27
|
|
|
24
28
|
## Restore files and environment
|
|
25
29
|
|