@c4a/context-cli 0.6.3 → 0.6.4

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.
@@ -35,3 +35,24 @@ maintain the complete final Skill directory name in the template, such as
35
35
 
36
36
  Package output is incremental: a built package is current only for the approved
37
37
  knowledge and template digests recorded by its receipt.
38
+
39
+ When declaring a new KB package, make resource delivery an explicit author
40
+ choice. Offer Git raw when the workspace is in Git or the author supplies a
41
+ raw `urlPrefix`; it keeps package payloads small and uses either the derived
42
+ commit-pinned URL or that explicit prefix. Context does not check whether those
43
+ files are committed, pushed, or remotely readable; that remains the package
44
+ author's responsibility. If neither Git nor an explicit prefix is available,
45
+ offer bundled resources or explicit omission; omission keeps unresolved links
46
+ and must be described as such. Do not infer repository identity or invent a raw
47
+ host URL.
48
+
49
+ Large image optimization applies only to bundled delivery. Without an `assets`
50
+ declaration, existing workspaces continue to copy selected resources
51
+ byte-for-byte. If build or status reports
52
+ `package.assets.optimization-recommended`, explain that the current package is
53
+ valid but contains more than 20 MiB of eligible PNG/JPEG resources. Do not
54
+ install a dependency or edit project configuration automatically. If the user
55
+ chooses to optimize the package, use the exact reported setup command and add
56
+ the reported `kbPackage().assets.optimize` value. The processor is installed in the
57
+ Context workspace, not bundled into Context itself. Optimization changes only
58
+ `dist/`; source snapshots and approved resources remain unchanged.
@@ -249,7 +249,7 @@ Each source must include `rationale` when inferred and at least one of `source_r
249
249
  ## Final Reflection
250
250
 
251
251
  - Entity cannot pick a legal tag, or depends on its upstream title to make sense -> write it as a Section under the upstream Node or change type before submit.
252
- - Action only supports one Section -> write it as a Section instead of an Action, or add source-backed structure that reaches at least two distinct Section kinds / one child Action. The CLI does not use source prose keywords to grant an exception.
252
+ - Action only supports one Section -> confirm its standalone retrieval value, write it as a Section under its owner, or add another source-backed Section / child Action. Multiple source-backed Sections may use the same kind; the CLI does not manufacture semantic variety to validate an Action.
253
253
  - Action "steps" are parallel options/configs -> route to Entity `comparison` / `spec` / `description`.
254
254
  - Domain has no children -> delete it or merge it into a larger Domain.
255
255
 
@@ -267,7 +267,7 @@ checks as deterministic diagnostics:
267
267
  | `node.thin_concrete_entity` | A concrete Entity has one Section and no child Nodes. | Keep it only when it has stable standalone retrieval value; otherwise merge it into the owning Node. |
268
268
  | `node.children_should_be_sections` | One parent contains many same-source, single-section child Entities with no stable shape tag. | Merge those children into parent Sections unless the user confirms each child has standalone lookup value. |
269
269
  | `node.term_expanded_beyond_definition` | A `term` Entity has grown past a compact definition or owns children. | Move rules, procedures, designs, and examples to the owning Node; keep the term entry narrow. |
270
- | `node.action_too_thin` | An Action has fewer than two distinct planned Section kinds and no child Action. | Downgrade it to a Section under the owning Node, add a distinct Section kind, or add a child Action; the CLI does not infer a single-section exception from source text. |
270
+ | `node.action_too_thin` | An Action has one planned Section and no child Action. | Confirm its standalone retrieval value, keep it as a Section under the owning Node, add another source-backed Section, or add a child Action. This warning does not require artificial Section-kind diversity. |
271
271
  | `node.domain_without_children` | A Domain has no source-backed `contains` child edge. | Add supported children, keep an explicitly confirmed no-write placeholder, or reclassify the Node. |
272
272
  | `tags.child_inherits_system` | A child Entity repeats its parent `system` / `application` scope tag. | Retag by the child’s own shape/scope, or keep the child as a Section if it is only a local aspect. |
273
273
  | `edge.confidence_invalid` | An edge declares a confidence value outside the current schema. | Use only `possible` or `hypothesis`, or omit the field for source-certain relations. |
@@ -256,9 +256,14 @@ It splits non-contiguous Section mirrors and can expand a broad cross-heading
256
256
  Section into Markdown structural groups within the same View. Apply the
257
257
  non-blocking repair hint when the groups should be independently retrievable;
258
258
  otherwise keep the Section and explain the grouping in structure review.
259
- Oversized Views still require the Agent to apply the returned child-View and contains-edge suggestions while
260
- classifying every child Node from evidence. The repair command does not resolve
261
- orphan ownership, unsupported evidence, or competing semantic groupings.
259
+ Oversized Views still require the Agent to apply the returned child-View and
260
+ contains-edge suggestions while classifying every child Node from evidence.
261
+ Those suggestions preserve Section order and place adjacent Sections into
262
+ bounded groups; `part-N` names are placeholders, not semantic titles. Rename
263
+ and classify each child from evidence instead of expanding one child View per
264
+ Section or treating the suggested grouping as a content decision. The repair
265
+ command does not resolve orphan ownership, unsupported evidence, or competing
266
+ semantic groupings.
262
267
 
263
268
  When the cited source sentence itself is uncertain, preserve that uncertainty on
264
269
  the edge with `confidence: possible` or `confidence: hypothesis`. This is only