@c4a/context-cli 0.5.29-alpha.1 → 0.5.29-alpha.2

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 CHANGED
@@ -92,9 +92,9 @@ Data model: Node (`domain` / `entity` / `action` / `concept`) + Section (ten kin
92
92
  | `context capture-aspect <name>` | CLI | Stub in the current release — every invocation exits non-zero with "planned for a future release". |
93
93
  | `context extract <path>` | CLI | Read-only debug print of an extraction; never writes workspace files. |
94
94
  | `context align --scan \| --save-scan-decisions <file\|-> \| --propose <file\|-> [--save-input] \| --save-user-decisions <file\|-> \| --finalize <file\|-> [--save-input]` | CLI | Workflow helpers driven by the `/context:align` skill pipeline. Domain commands own align protocol files; agents do not write them directly. |
95
- | `context compile --context <slug> [--save-output] \| --draft <slug> --input <file\|-> [--plan] [--save-input] \| --close` | CLI | Workflow helpers driven by the `/context:compile` skill pipeline. `--save-*` stores CLI-owned scratch copies under `output/` for close-time archival. |
95
+ | `context compile --context <slug> [--save-output] \| --draft <slug> --input <file\|-> --plan [--save-input] \| --close` | CLI | Workflow helpers driven by the `/context:compile` skill pipeline. Draft validation always requires `--plan`; writes go through semantic reconcile apply. `--save-*` stores CLI-owned scratch copies under `output/` for close-time archival. |
96
96
  | `context mdrive <group> <verb>` | CLI | Knowledge primitive shell: node / section / edge / query / verify / glossary / workspace. Run `context mdrive --help` for subcommands. |
97
- | `context drop <source-id\|raw-path\|url> --plan` / `context drop --apply-plan <file\|-> --reason <text> [--yes]` | CLI | Plans and applies source retraction: archives affected active raw/knowledge under `archive/`, removes unsupported active Sections/empty Nodes, stamps `_sources.yaml.status=dropped`, appends `[drop]`, and verifies. |
97
+ | `context drop <source-id\|raw-path\|url> --plan` / `context drop --apply-plan <plan-file\|-> --decisions <decisions-file> --reason <text> --yes` | CLI | Plans and applies source retraction: apply requires confirmed drop semantic decisions produced by `context reconcile prepare --mode drop` + `context reconcile review` or an equivalent confirmed decisions file. It archives affected active raw/knowledge under `archive/`, removes unsupported active Sections/empty Nodes, stamps `_sources.yaml.status=dropped`, appends `[drop]`, and verifies. |
98
98
  | `context purge [--yes]` | CLI | Permanently deletes every archive under `archive/` after a summary + confirmation; active `raw/` and `knowledge/` are not modified. |
99
99
  | `context verify` | CLI | Whole-workspace verify (schema, Section mount matrix, contains acyclicity, dropped-source references, dangling `src-N`, body ad-hoc headings, domain-inline-child, duplicate slug). |
100
100
  | `context doctor` | CLI | Four-layer diagnostics (output scan / propose / align / knowledge). |