@hasna/skills 0.10.63 → 0.10.65

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
@@ -334,6 +334,12 @@ Sumi uses its native V2 plugin API, independently of OpenCode. Its managed
334
334
  `plugins/skills-cli.js` plugin validates prompt admission and adds selected
335
335
  instructions to transient request context. Real native session IDs and parent
336
336
  IDs bind exact inherited pins; native agent definitions are not Hasna identities.
337
+ Prompt matching uses the native prompt-admission event. Request context restores
338
+ verified loaded Skills and never treats model history, attachments or compaction
339
+ checkpoints as a new owner prompt. The complete native model context is unchanged;
340
+ the hook's input limits and native/integrity refusals remain strict. Adapter
341
+ refusals retain only fixed reason codes, never child diagnostic prose. Both older
342
+ managed plugin forms remain recognized for a reviewed hook-install upgrade.
337
343
  Native payload tool calls and prompt attachments are refused except for the
338
344
  `skills-cli` bridge. The supported configuration resolver honors `SUMI_CONFIG_DIR`,
339
345
  `XDG_CONFIG_HOME` and `SUMI_HOME` without performing native home adoption.
@@ -2759,3 +2765,29 @@ capture as well, so the re-pinned review must bind the catalog another way, such
2759
2765
  as an exact `bytes` witness, until a reviewed version of this mode covers the
2760
2766
  key. There is no bypass, ignore list or relaxed mode. See
2761
2767
  [marketplace plugin entry witness](docs/plugin-admission.md#marketplace-plugin-entry-witness).
2768
+
2769
+
2770
+ `codex-settings-v5` explicitly projects only schema-valid string vectors at the
2771
+ document-root `tui.status_line` field, including empty, unknown and future display
2772
+ IDs, additions, removal and reordering. OpenAI Codex 0.162.1 declares this field
2773
+ as `Option<Vec<String>>`: its UI parser displays known items and ignores/warns
2774
+ about unknown strings, without executing commands or loading discovery inputs.
2775
+ There is no ID whitelist or entry-count cap; existing whole-file and parser
2776
+ resource guards still apply. Malformed values, nonstrings, profile/nested fields,
2777
+ other TUI fields and discovery controls remain bound. This verified upstream
2778
+ contract does not approve a different native consumer's interpretation.
2779
+ V5 retains V4's availability-count contract and V3's supported ordinary local MCP
2780
+ projection. Existing byte/V1/V2/V3/V4 reviews retain their exact meaning.
2781
+
2782
+ Capture with `skills hook witness --kind codex-settings-v5 --path <config.toml>`.
2783
+ Upgrade with `skills hook rebind-settings --agent codex --codex-witness-version 5
2784
+ --reviewed-preimage <preserved-config.toml> --expected-policy-sha256 <policy-hash>
2785
+ --expected-settings-sha256 <settings-hash>`. Review before adding `--apply`. The
2786
+ preserved config must first match its original digest under its original mode;
2787
+ all changes outside V5 refuse. The guarded upgrade changes policy only, preserves
2788
+ native settings, other witnesses and session pins, and revalidates before apply.
2789
+
2790
+
2791
+ Codex cache witnesses migrate separately through `skills hook rebind-cache --agent codex`. Preview requires the exact current policy and configuration SHA-256 values. Name each reviewed remote app-only parent with `--app-only-parent`; skill-bearing parents must already have enrolled qualified-name denies and semantic capability controls. The complete cache census refuses unknown parents, cache-member aliases, new skills, direct hooks selecting cache inputs, and changed app/MCP/receipt capabilities. Reviewed whole Codex root aliases keep their existing identity/CAS guards; hook selection through either the alias or canonical cache path is refused. Commands containing the direct `plugins/cache` selector are conservatively refused, including HOME, tilde and relative spellings; no shell evaluation is performed. App-only bootstrap verifies the old full manifest and receipt sources, then explicitly reviews current app capabilities; it does not claim those app bytes were historically witnessed.
2792
+
2793
+ Review the returned semantic cache digest, then repeat with `--expected-cache-witness-sha256 <digest> --apply`. The owning apply path preserves/readbacks the original policy, recomputes the whole plan, compares policy/config/cache preimages, writes only the Skills policy, and verifies the resulting consumer. Historical directory hashes and source rows remain retained as provenance; this command cannot reconstruct an unavailable old directory tree or waive an ancestor directory containing unrelated inputs. Equivalent version materializations and inert assets then leave the new Codex-specific witness unchanged. Every other discovery source, directory, settings witness, native control and session pin stays under its existing contract. Settings and cache upgrades remain independent; neither silently repairs drift in the other.