From 6abb7404999ae4d234d6acc96c26320c5d65bd31 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Thu, 3 Dec 2026 18:25:40 -0500 Subject: [PATCH 1/9] Tighten skill routing and macOS verification --- addons/01/SKILL.md | 2 +- addons/design-library-selection/SKILL.md | 2 ++ integrations/knowledge-continuity/README.md | 2 +- tests/test_transaction_tracking.py | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index 3cb3802..edc28a5 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -24,7 +24,7 @@ stack+ find --json "technical contribution" stack+ find --method --read "$match_id" ``` -If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. On either host, preserve the original project, scope and any named bundle when reopening the result. Read the complete method and relevant support. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Check individual invocation policies before using a leaf. [Discovery and method families](references/method-families.md) +If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. Keep the original project, host, session and bundle scope. Select a row from the JSON and pass its unmodified match_id directly to the read command. For a stale receipt, repeat the same lookup and use the new receipt. If the shell cannot be used, open the eligible native skill and its relevant support. Read the complete method and relevant support. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Check individual invocation policies before using a leaf. [Discovery and method families](references/method-families.md) ## Put the methods to work diff --git a/addons/design-library-selection/SKILL.md b/addons/design-library-selection/SKILL.md index ab89ba8..5da1dcb 100644 --- a/addons/design-library-selection/SKILL.md +++ b/addons/design-library-selection/SKILL.md @@ -7,6 +7,8 @@ description: Choose tools and libraries for motion design, animation, interactiv Start with the medium, the recipient’s editing environment, the hardest visible behavior and the lowest-capability device that needs to work. Inspect the project manifest and lockfile. Prefer an existing renderer when it can meet those constraints. A CSS transform or SVG path can be the whole implementation. When the user asks only for a library choice, return the recommendation, rationale and acceptance check. Install dependencies only when the requested project work needs them. Use the current host’s file, browser and rendering tools with its existing grants. +When the brief asks for an original or substantially revised visual, settle its direction before choosing the renderer. Use the brief to identify what the audience should notice first and which concrete detail of the subject can carry that message. Look up an eligible art-direction method for the medium. For a page, a project-enabled `ui-art-direction` includes `references/critique.md` for reviewing renders. Apply its checks in proportion to the brief. If composition is still in doubt, compare different arrangements of the same content at delivery size. Check what draws the eye, which elements proximity groups together and whether contrast makes the next action clear. Revise the render where it misses the intended reading. + | What the finished work needs | First place to look | Decision that changes the choice | |---|---|---| | UI transitions, layout changes, gestures | CSS or the browser’s [View Transition API](https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API); [Motion for React](https://motion.dev/docs/react) for gesture or layout orchestration | Keep text, focus and buttons in the DOM. Verify keyboard operation and reduced motion. | diff --git a/integrations/knowledge-continuity/README.md b/integrations/knowledge-continuity/README.md index a80b778..204355b 100644 --- a/integrations/knowledge-continuity/README.md +++ b/integrations/knowledge-continuity/README.md @@ -63,7 +63,7 @@ The final post-checkpoint observation reads one fingerprint and records expected Failed readback/checkpoint verification produces no saved receipt. Partial writes retain recovery evidence; do not blindly retry them. Duplicate content requires a matching real checkpoint and no unresolved owning-note transaction. Later user edits remain conflicts. Own-writer locking and immediate preimage checks do not provide kernel-atomic CAS against a noncooperating external editor. -Normal captures do not invoke or launch Obsidian. File readback/checkpoint are mandatory; app indexing is separately `deferred`. Only when the operator knows the app is already open, `--verify-obsidian` records targeted CLI indexing as `verified` or `failed`. Neither status claims GUI rendering. +Normal captures do not invoke or launch Obsidian. File readback/checkpoint are mandatory; app indexing is separately `deferred`. Only when the operator knows the app is already open, `--verify-obsidian` records targeted CLI indexing as `verified` or `failed`. Neither status claims GUI rendering. A replay returns the original receipt. To verify a previously deferred save, read the note in the open vault. ## Installation and validation diff --git a/tests/test_transaction_tracking.py b/tests/test_transaction_tracking.py index 2ad26f6..3de6ee0 100644 --- a/tests/test_transaction_tracking.py +++ b/tests/test_transaction_tracking.py @@ -43,7 +43,7 @@ def test_tracking_transition_preserves_other_conflict_checks(self): def test_legacy_nested_fingerprints_and_journal_resume(self): with tempfile.TemporaryDirectory() as folder: - root = Path(folder) + root = Path(folder).resolve() directory = root / 'documents' directory.mkdir() path = directory / 'file' From e8c6712d77ee9e55d70c32fcce0e8f0f43cfb9da Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Thu, 3 Dec 2026 18:28:21 -0500 Subject: [PATCH 2/9] Add practical inspiration and bound specialist discovery --- addons/01/SKILL.md | 2 +- addons/design-library-selection/SKILL.md | 2 +- .../references/design-inspiration.md | 24 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 addons/design-library-selection/references/design-inspiration.md diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index edc28a5..0fa60f8 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -24,7 +24,7 @@ stack+ find --json "technical contribution" stack+ find --method --read "$match_id" ``` -If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. Keep the original project, host, session and bundle scope. Select a row from the JSON and pass its unmodified match_id directly to the read command. For a stale receipt, repeat the same lookup and use the new receipt. If the shell cannot be used, open the eligible native skill and its relevant support. Read the complete method and relevant support. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Check individual invocation policies before using a leaf. [Discovery and method families](references/method-families.md) +If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. Keep the original project, host, session and bundle scope. Select a row from the JSON and pass its unmodified match_id directly to the read command. For a stale receipt, repeat the same lookup and use the new receipt. If the shell cannot be used, open the eligible native skill and its relevant support. Read the complete method and relevant support. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Open eligible methods and support. Confirm authorized project activation before reading an inactive opt-in. Once the selected methods cover the required outputs and checks, move to the work. [Discovery and method families](references/method-families.md) ## Put the methods to work diff --git a/addons/design-library-selection/SKILL.md b/addons/design-library-selection/SKILL.md index 5da1dcb..6a85574 100644 --- a/addons/design-library-selection/SKILL.md +++ b/addons/design-library-selection/SKILL.md @@ -7,7 +7,7 @@ description: Choose tools and libraries for motion design, animation, interactiv Start with the medium, the recipient’s editing environment, the hardest visible behavior and the lowest-capability device that needs to work. Inspect the project manifest and lockfile. Prefer an existing renderer when it can meet those constraints. A CSS transform or SVG path can be the whole implementation. When the user asks only for a library choice, return the recommendation, rationale and acceptance check. Install dependencies only when the requested project work needs them. Use the current host’s file, browser and rendering tools with its existing grants. -When the brief asks for an original or substantially revised visual, settle its direction before choosing the renderer. Use the brief to identify what the audience should notice first and which concrete detail of the subject can carry that message. Look up an eligible art-direction method for the medium. For a page, a project-enabled `ui-art-direction` includes `references/critique.md` for reviewing renders. Apply its checks in proportion to the brief. If composition is still in doubt, compare different arrangements of the same content at delivery size. Check what draws the eye, which elements proximity groups together and whether contrast makes the next action clear. Revise the render where it misses the intended reading. +When the brief asks for an original or substantially revised visual, settle its direction before choosing the renderer. Use the brief to identify what the audience should notice first and which concrete detail of the subject can carry that message. Look up an eligible art-direction method for the medium. For a page, a project-enabled `ui-art-direction` includes `references/critique.md` for reviewing renders. Apply its checks in proportion to the brief. If composition is still in doubt, compare different arrangements of the same content at delivery size. Check what draws the eye, which elements proximity groups together and whether contrast makes the next action clear. Revise the render where it misses the intended reading. For fresh directions or supplied visual references, use [design inspiration](references/design-inspiration.md). | What the finished work needs | First place to look | Decision that changes the choice | |---|---|---| diff --git a/addons/design-library-selection/references/design-inspiration.md b/addons/design-library-selection/references/design-inspiration.md new file mode 100644 index 0000000..a5e1144 --- /dev/null +++ b/addons/design-library-selection/references/design-inspiration.md @@ -0,0 +1,24 @@ +# Design inspiration + +Use this when a brief asks for a fresh visual direction, brings references, or feels generic. Identify what the audience should notice or do first, any existing identity to preserve, and the medium and size where the design will be used. For routine work, follow the project's existing system. [Government design principles](https://www.gov.uk/guidance/government-design-principles) + +## Read the reference for a transferable decision + +- Start with the brief and any user-supplied references. For each useful reference, record the audience task, one observed choice, its apparent effect, and the project constraint that governs whether it transfers. Borrow the relationship between elements. Generate original assets and composition for this subject. +- Read color by role. Mark the background, readable foreground, focal accent and semantic state. Keep status understandable in text or shape and check actual foreground/background contrast. Let imagery, subject matter or intended reading order justify the palette. [W3C use of color](https://www.w3.org/WAI/WCAG22/Understanding/use-of-color.html) · [W3C contrast](https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html) +- Consider two directions only if a consequential choice remains. Compare the same content at delivery size. For example, a river status page can use a prominent gauge or a prominent short status with the gauge below. Ask a fresh reader where they would look for the launch decision and which reading belongs to that location. Keep the composition that makes the answer clearer. + +## Diagnose visual grouping + +| What a reader gets wrong | What to change | What to check | +| --- | --- | --- | +| They associate a label with the adjacent item | Tighten label-to-value spacing and leave a larger gap between unrelated groups | Ask which value belongs to each label at the narrow viewport | +| They assume unlike actions are equivalent | Reserve repeated color, type and shape for equivalent roles | Check whether the primary and secondary actions are distinguishable in grayscale | +| They miss a group when content wraps | Use a shared background or boundary where spacing alone is ambiguous | Verify that a group contains only related information, including at small sizes | +| They notice decoration before the decision | Strengthen the figure against its ground using scale, contrast or surrounding space | Check first attention with realistic text and imagery | + +Grouping cues can reinforce or compete with one another. A shared enclosure can change perceived grouping even when two objects are close. Test the composition with actual content. [Wagemans et al. on grouping and figure–ground](https://pubmed.ncbi.nlm.nih.gov/22845751/) · [Palmer on common region](https://doi.org/10.1016/0010-0285(92)90014-S) + +## Stream references + +[Shorya's stream-design index](https://x.com/shorya_codes/status/2128437020213256456) links to [Gestalt Wall](https://gestalt-wall.vercel.app/). [Ben South's announcement](https://x.com/bnj/status/2128237377483350340) describes exploring and directing a design before the coding agents build it. Use the public examples as starting points for questions about composition and evidence. For each example you can inspect, name the visual choice you would transfer and check it against your own brief. From 54f3220b36fc31981caa161515c23fafde5859b6 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 00:15:54 -0500 Subject: [PATCH 3/9] Translate everyday requests into verifiable workflow searches --- addons/01/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index 0fa60f8..99ff515 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -17,7 +17,7 @@ Work backward from who will use the result, the decision or action it enables, a Where the obvious route leaves a consequential uncertainty or a weak result, look beyond the user's vocabulary. What assumption could make a technically correct deliverable useless? What evidence, adjacent discipline, different mechanism or change of representation could materially improve the decision or remove work for its recipient? Turn the promising opening into a specific contribution with an input, an expected change and an observation that would justify using it. Stay within the requested outcome. For competing mechanisms, seek the smallest observation on which they predict different results. When proposing a material change, compare it on common inputs against the current route and the strongest eligible alternative at comparable cost. If those coincide, test once. Keep the comparison proportional to the decision. -When the user wants an unusual approach, search first for the creative contribution in their own terms before naming a mechanism. If results miss that intent, retry from the desired effect before committing to a design. Search using the contribution and its technical synonyms. Investigate distinct needs separately so a popular general method cannot crowd out a narrow one. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: +Honor the user's wording as the brief. For discovery, translate it into the operation, the input or artifact, and the observation that would settle the question. When catalog hits look unrelated, retry that compact description with domain vocabulary. Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: ```sh stack+ find --json "technical contribution" From 84f92f8937da6be557501df58951b55060f9ec84 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 00:30:16 -0500 Subject: [PATCH 4/9] Have 01 translate unfamiliar briefs into specialist searches --- addons/01/SKILL.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index 99ff515..42104b4 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -17,7 +17,9 @@ Work backward from who will use the result, the decision or action it enables, a Where the obvious route leaves a consequential uncertainty or a weak result, look beyond the user's vocabulary. What assumption could make a technically correct deliverable useless? What evidence, adjacent discipline, different mechanism or change of representation could materially improve the decision or remove work for its recipient? Turn the promising opening into a specific contribution with an input, an expected change and an observation that would justify using it. Stay within the requested outcome. For competing mechanisms, seek the smallest observation on which they predict different results. When proposing a material change, compare it on common inputs against the current route and the strongest eligible alternative at comparable cost. If those coincide, test once. Keep the comparison proportional to the decision. -Honor the user's wording as the brief. For discovery, translate it into the operation, the input or artifact, and the observation that would settle the question. When catalog hits look unrelated, retry that compact description with domain vocabulary. Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: +When a specialist procedure, project rule or craft judgment could materially change the result, turn the user's everyday description into a compact query yourself: name the technical operation, the artifact and the property to establish. Before drafting, run that query through the eligible finder below. Read the best-fitting method and use it on the user's input. If the first matches miss the operation, search once from the required output or missing technique. For multiple distinct contributions, resolve each one that still needs a method. When only name-based native discovery is available, state the translated operation in your normal progress update and open the matching eligible native skill. Keep a routine, fully specified edit on its direct path. + +Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: ```sh stack+ find --json "technical contribution" From 78bf0683f2c8eb32512d736bac33e43a182151bb Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 10:58:33 -0500 Subject: [PATCH 5/9] Reduce repeat method reads and compare tool-enabled native controls --- addons/01/SKILL.md | 4 ++-- docs/OPENCODE.md | 2 ++ evals/01/outcome-bench/README.md | 10 +++++++- evals/01/outcome-bench/RESULTS.md | 15 ++++++++++++ evals/01/outcome-bench/native-host-cases.json | 24 +++++++++++++++++++ 5 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 evals/01/outcome-bench/native-host-cases.json diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index 42104b4..8a6819d 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -17,7 +17,7 @@ Work backward from who will use the result, the decision or action it enables, a Where the obvious route leaves a consequential uncertainty or a weak result, look beyond the user's vocabulary. What assumption could make a technically correct deliverable useless? What evidence, adjacent discipline, different mechanism or change of representation could materially improve the decision or remove work for its recipient? Turn the promising opening into a specific contribution with an input, an expected change and an observation that would justify using it. Stay within the requested outcome. For competing mechanisms, seek the smallest observation on which they predict different results. When proposing a material change, compare it on common inputs against the current route and the strongest eligible alternative at comparable cost. If those coincide, test once. Keep the comparison proportional to the decision. -When a specialist procedure, project rule or craft judgment could materially change the result, turn the user's everyday description into a compact query yourself: name the technical operation, the artifact and the property to establish. Before drafting, run that query through the eligible finder below. Read the best-fitting method and use it on the user's input. If the first matches miss the operation, search once from the required output or missing technique. For multiple distinct contributions, resolve each one that still needs a method. When only name-based native discovery is available, state the translated operation in your normal progress update and open the matching eligible native skill. Keep a routine, fully specified edit on its direct path. +When a specialist procedure, project rule or craft judgment could materially change the result, turn the user's everyday description into a compact query yourself: name the technical operation, the artifact and the property to establish. Finish the finder query before opening a specialist. Use the selected receipt to read its full method and apply it. If native discovery already supplied the current method, use that copy and read only missing support. If the first matches miss the operation, search once from the required output or missing technique. For multiple distinct contributions, resolve each one that still needs a method. When only name-based native discovery is available, state the translated operation in your normal progress update and open the matching eligible native skill. Keep a routine, fully specified edit on its direct path. Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: @@ -26,7 +26,7 @@ stack+ find --json "technical contribution" stack+ find --method --read "$match_id" ``` -If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. Keep the original project, host, session and bundle scope. Select a row from the JSON and pass its unmodified match_id directly to the read command. For a stale receipt, repeat the same lookup and use the new receipt. If the shell cannot be used, open the eligible native skill and its relevant support. Read the complete method and relevant support. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Open eligible methods and support. Confirm authorized project activation before reading an inactive opt-in. Once the selected methods cover the required outputs and checks, move to the work. [Discovery and method families](references/method-families.md) +If the launcher is absent from PATH, run `./stack+ find` from the Stack+ checkout with `--project` pointing to the working project. With only the skill folder available, use its `scripts/project_find.py` for eligible physical project skills. In OpenCode, select `--host opencode` for discovery and readback. Use the active native session or agent so its permissions apply. Keep the original project, host, session and bundle scope. Select a row from the JSON and pass its unmodified match_id directly to the read command. For a stale receipt, repeat the same lookup and use the new receipt. If the shell cannot be used, open the eligible native skill and its relevant support. Reopen instructions when their source changes or compaction leaves a needed step uncertain. Follow the current runtime route and check its prerequisites, data fidelity and the receiving interface. Open eligible methods and support. Confirm authorized project activation before reading an inactive opt-in. Once the selected methods cover the required outputs and checks, move to the work. [Discovery and method families](references/method-families.md) ## Put the methods to work diff --git a/docs/OPENCODE.md b/docs/OPENCODE.md index 9d5adc6..d42d4b5 100644 --- a/docs/OPENCODE.md +++ b/docs/OPENCODE.md @@ -13,6 +13,8 @@ opencode api skill.list opencode mcp list ``` +After updating an installed skill, compare the body selected in a fresh session with the file on disk. If OpenCode serves the prior revision, run `opencode reload` and select the skill in another fresh session. The running service reloads at a step boundary. This recovered a stale 01 body on OpenCode 2.4.2. [OpenCode CLI](https://opencode.ai/docs/cli/commands/#reload) + The Desktop launcher is qualified for OpenCode 2.2.6, 2.3.0, 2.4.1 and 2.4.2. It uses the installed desktop CLI, not another package installation. Pass `--cli /absolute/executable` for a different existing V2 installation. The selected model, provider, effort, diff --git a/evals/01/outcome-bench/README.md b/evals/01/outcome-bench/README.md index c686c0d..f407600 100644 --- a/evals/01/outcome-bench/README.md +++ b/evals/01/outcome-bench/README.md @@ -1,4 +1,4 @@ -# Stack+ and plain-chat comparison +# Stack+ comparison with plain chat and native tools Three original synthetic cases test different kinds of work. Both arms receive the exact same messages, including every fact needed to answer. The cutter case has a second turn in the same chat. The checked-in project files repeat the inline inputs. Work in fresh directories outside this checkout so the tested lead cannot read the grader or another arm’s outputs. [Measured results](RESULTS.md) @@ -23,3 +23,11 @@ python3 grade.py --selftest ``` **Scoring.** Report the four turns individually. Required content, reply format, the optional contribution and on-disk delivery have separate results. Report extra user turns, specialist activity and elapsed times alongside correctness. The text-only control is scored on its reply. Its file-delivery column is inapplicable. Tool count by itself says little about efficiency. This small sample can establish a measured difference on these cases. It cannot estimate overall success rates. The grader computes byte totals using exact fractions and enumerates feasible schedules and tie-breaks independently. Its self-test includes incorrect submissions which must fail. + +## Compare with a tool-enabled native host + +Use the two [native-host cases](native-host-cases.json) to compare a plain agent that can read the project with the same agent using Stack+. Each case includes the user message, the exact fixture to put in a fresh directory and a scoring key to keep outside that directory. The dye case changes the correlation and measurements from the earlier independent-reading example. Inspect the calculation against the new bench card. + +Run each case twice in plain Codex, Codex with 01, plain OpenCode, and OpenCode with 01. Use fresh projects and sessions, the same fixture bytes and prompt, and the same model, effort, tool grants and turn limit within each host. For the two plain conditions, verify that the native tools remain available and that Stack+ instructions, skills and hooks are absent. Select 01 only in the equipped condition and record which specialist packages are eligible. Capture the actual advertised inventory and any provider restrictions. Different host models support within-host comparisons only. + +Score the answers before looking at their arm labels. Record required facts, wrong answers, actual specialist reads, delegation, repeated full-body deliveries, and host-reported usage if comparable. Include partial completions and denied operations. Report both repetitions. For a continuity check, repeat the same user correction after a real compaction and fresh-client resume. Verify the current artifact, persisted selection and revised answer separately. A retained skill name alone cannot establish that its instructions were applied. diff --git a/evals/01/outcome-bench/RESULTS.md b/evals/01/outcome-bench/RESULTS.md index e13bc56..dc8de4e 100644 --- a/evals/01/outcome-bench/RESULTS.md +++ b/evals/01/outcome-bench/RESULTS.md @@ -17,3 +17,18 @@ The native control was instructed to answer from text and received no Stack+ gui The prompts and decision criteria were frozen before execution. An independent review corrected the grader's handling of extra nested schedule fields so answer content and JSON format are scored separately. The final grader was applied to the saved answers without rerunning the participants. One trial per arm per case establishes the observed answers, delivery and timing. There was no answer-quality advantage on this sample. The optional opportunity was invited by the prompt. [Prompts and inputs](cases.json) · [Grader and negative controls](grade.py) · [Method](README.md) + +## Tool-enabled native controls · December 4, 2026 + +The [native-host fixtures](native-host-cases.json) were frozen before generation. Each host ran two repetitions per case and arm. The Stack+ treatment used the preceding installed 01 (body SHA-256 prefix `4fd871911d57`) and a small eligible specialist set. The plain profiles kept native tools; their inventories contained no Stack+ skills or instructions. An inherited shell could still locate the Stack+ launcher. No plain run invoked it. + +| Within-host measurement on the paired-weighing case | Plain host | Stack+ | +|---|---:|---:| +| Codex, full answers | 2/2 | 2/2 | +| Codex, median native actions / elapsed seconds | 2 / 13.2 | 5 / 21.8 | +| OpenCode, full answers | 2/2 | 2/2 | +| OpenCode, median native actions / elapsed seconds | 3 / 48.0 | 8.5 / 174.8 | + +All eight answers accounted for correlation and the shared offset. The four Stack+ runs opened the uncertainty method. Codex used Terra 6.1 at medium effort with delegation disabled. OpenCode used DeepSeek V4.1 Flash Free. The timing includes model and service latency. These two repetitions support a within-host observation on this task, not an overall speed or quality ranking. + +On the door-code task, both Codex arms answered correctly twice. Both OpenCode treatment runs returned the requested number. One plain OpenCode run flagged that the fixture named the hall entrance while the prompt asked for the side entrance. Its other run hit a provider limit. In a separate sensitivity check, changing the note to explicitly identify the side entrance gave four correct Codex answers; the free OpenCode provider declined all four attempts. The ambiguous item supplies no reliable evidence of a Stack+ advantage. diff --git a/evals/01/outcome-bench/native-host-cases.json b/evals/01/outcome-bench/native-host-cases.json new file mode 100644 index 0000000..08a6b23 --- /dev/null +++ b/evals/01/outcome-bench/native-host-cases.json @@ -0,0 +1,24 @@ +[ + { + "id": "gate", + "prompt": "I\u2019m meeting Jo at the hall. What number does the note on the door give for the side entrance? Just the number, please.", + "fixture": { + "door-note.txt": "Saturday hall entrance for Jo: 2961. Old lock code 7319 was retired in June.\n" + }, + "criteria": [ + "Exactly 2961 ignoring surrounding whitespace and terminal punctuation." + ] + }, + { + "id": "dye", + "prompt": "We weighed the same little dye jar before and after filling it. My lab partner says the zero on our scale wanders so much that we can\u2019t put the amount on the label. The bench card is here. What number can I actually write, how fuzzy is it, and what would make that answer stop being true?", + "fixture": { + "bench-card.txt": "Dye lot Q-17. Empty jar reads 81.63 g, filled jar reads 87.87 g. One-sigma random uncertainties on the two readings are 0.06 g and 0.08 g. Unlike our previous lab, the paired random errors have measured correlation +0.5. A shared additive zero offset has 0.40 g standard uncertainty and stayed constant throughout the pair. Report standard uncertainty (one sigma).\n" + }, + "criteria": [ + "6.24 g net load.", + "Uses covariance of correlated readings: 0.06^2 + 0.08^2 - 2(0.5)(0.06)(0.08) = 0.0052 g^2; standard uncertainty about 0.072 g (0.07 g accepted).", + "Explains common zero cancels and could fail with a changed zero/drift between readings." + ] + } +] From dd411c4565b5c6678a16023bb287d49129fa5dd6 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 12:27:23 -0500 Subject: [PATCH 6/9] Check native benchmark grading against plausible wrong answers --- evals/01/outcome-bench/README.md | 2 +- evals/01/outcome-bench/RESULTS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/evals/01/outcome-bench/README.md b/evals/01/outcome-bench/README.md index f407600..88b741d 100644 --- a/evals/01/outcome-bench/README.md +++ b/evals/01/outcome-bench/README.md @@ -30,4 +30,4 @@ Use the two [native-host cases](native-host-cases.json) to compare a plain agent Run each case twice in plain Codex, Codex with 01, plain OpenCode, and OpenCode with 01. Use fresh projects and sessions, the same fixture bytes and prompt, and the same model, effort, tool grants and turn limit within each host. For the two plain conditions, verify that the native tools remain available and that Stack+ instructions, skills and hooks are absent. Select 01 only in the equipped condition and record which specialist packages are eligible. Capture the actual advertised inventory and any provider restrictions. Different host models support within-host comparisons only. -Score the answers before looking at their arm labels. Record required facts, wrong answers, actual specialist reads, delegation, repeated full-body deliveries, and host-reported usage if comparable. Include partial completions and denied operations. Report both repetitions. For a continuity check, repeat the same user correction after a real compaction and fresh-client resume. Verify the current artifact, persisted selection and revised answer separately. A retained skill name alone cannot establish that its instructions were applied. +Score the answers before looking at their arm labels. For the weighing case, check the stated result and the reasoning. Pilot the grader with a wrong answer that quotes the correct numbers and then rejects them. For prose judged by preference, reverse the pair order and treat an order-dependent winner as inconclusive. Record required facts, wrong answers, actual specialist reads, delegation, repeated full-body deliveries, and host-reported usage if comparable. Include partial completions and denied operations. Report both repetitions. For a continuity check, repeat the same user correction after a real compaction and fresh-client resume. Verify the current artifact, persisted selection and revised answer separately. A retained skill name alone cannot establish that its instructions were applied. diff --git a/evals/01/outcome-bench/RESULTS.md b/evals/01/outcome-bench/RESULTS.md index dc8de4e..b3523a4 100644 --- a/evals/01/outcome-bench/RESULTS.md +++ b/evals/01/outcome-bench/RESULTS.md @@ -32,3 +32,5 @@ The [native-host fixtures](native-host-cases.json) were frozen before generation All eight answers accounted for correlation and the shared offset. The four Stack+ runs opened the uncertainty method. Codex used Terra 6.1 at medium effort with delegation disabled. OpenCode used DeepSeek V4.1 Flash Free. The timing includes model and service latency. These two repetitions support a within-host observation on this task, not an overall speed or quality ranking. On the door-code task, both Codex arms answered correctly twice. Both OpenCode treatment runs returned the requested number. One plain OpenCode run flagged that the fixture named the hall entrance while the prompt asked for the side entrance. Its other run hit a provider limit. In a separate sensitivity check, changing the note to explicitly identify the side entrance gave four correct Codex answers; the free OpenCode provider declined all four attempts. The ambiguous item supplies no reliable evidence of a Stack+ advantage. + +A subsequent blind regrade of the eight recorded weighing answers confirmed all eight full scores. Two synthetic answers contained the expected numbers but contradicted the result or used a faulty derivation. Neither earned full credit. This check covers the stated one-sigma rubric. From 4853f2bb5eab40c1f221756f2bfdf7e029c45f0c Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 12:33:32 -0500 Subject: [PATCH 7/9] Trim repeated guidance from 01 --- addons/01/SKILL.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/01/SKILL.md b/addons/01/SKILL.md index 8a6819d..88b25c3 100644 --- a/addons/01/SKILL.md +++ b/addons/01/SKILL.md @@ -7,7 +7,7 @@ metadata: # 01 · Stack+ -Explicit selection activates 01 for this conversation, including follow-ups and supported resumes. Own the finished outcome and how to achieve it. Preserve the user's chosen lead, model, effort, project rules and grants. For a straightforward request with a known project operation and an observable result, take that route immediately. A renamed label needs the edit and a look at where it appears. +Explicit selection activates 01 for this conversation, including follow-ups and supported resumes. Own the finished outcome and how to achieve it. Preserve the user's chosen lead, model, effort, project rules and grants. For a straightforward request with a known project operation and an observable result, take that route immediately. Use the caller’s chosen lead, collaborators and reasoning settings. When delegation is available and authorized, assign a bounded contribution or seek an independent review if it could change the outcome. When working solo, test the consequential assumption against independent evidence. @@ -17,9 +17,9 @@ Work backward from who will use the result, the decision or action it enables, a Where the obvious route leaves a consequential uncertainty or a weak result, look beyond the user's vocabulary. What assumption could make a technically correct deliverable useless? What evidence, adjacent discipline, different mechanism or change of representation could materially improve the decision or remove work for its recipient? Turn the promising opening into a specific contribution with an input, an expected change and an observation that would justify using it. Stay within the requested outcome. For competing mechanisms, seek the smallest observation on which they predict different results. When proposing a material change, compare it on common inputs against the current route and the strongest eligible alternative at comparable cost. If those coincide, test once. Keep the comparison proportional to the decision. -When a specialist procedure, project rule or craft judgment could materially change the result, turn the user's everyday description into a compact query yourself: name the technical operation, the artifact and the property to establish. Finish the finder query before opening a specialist. Use the selected receipt to read its full method and apply it. If native discovery already supplied the current method, use that copy and read only missing support. If the first matches miss the operation, search once from the required output or missing technique. For multiple distinct contributions, resolve each one that still needs a method. When only name-based native discovery is available, state the translated operation in your normal progress update and open the matching eligible native skill. Keep a routine, fully specified edit on its direct path. +When a specialist procedure, project rule or craft judgment could materially change the result, turn the user's everyday description into a compact query yourself: name the technical operation, the artifact and the property to establish. Finish the finder query before opening a specialist. Use the selected receipt to read its full method and apply it. If native discovery already supplied the current method, use that copy and read only missing support. If the first matches miss the operation, search once from the required output or missing technique. For multiple distinct contributions, resolve each one that still needs a method. When only name-based native discovery is available, state the translated operation in your normal progress update and open the matching eligible native skill. -Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. Use eligible skills and tools on the user’s behalf as the task evolves. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: +Separate a proposed change from the work of testing whether it helped; check whether the outcome can actually be observed in the comparison as well as the changed case. Consider the existing artifact, native skills, connected apps and MCP operations, authorized specialists, project tools and installed runtimes together. The source of the needed evidence and the interface that consumes the result may point to different capabilities. A capability catalog can identify a project opt-in, connector or runtime before you open a method. In a chat with a selected document or connected app, use the current session’s operations to identify the intended item, act within the request and read back the result there. Use the installed outcome or selection lookup when local project discovery would add something. When independent tool reads or a dependent chain have large intermediate results, compose the authorized calls in native code execution and return only the evidence needed for the decision. Use a direct call when it is simpler. When the project and local finder are available, look up eligible bundles and their supporting techniques: ```sh stack+ find --json "technical contribution" @@ -40,9 +40,9 @@ If a choice depends on estimates and the leading alternatives are close, test th When coordination itself is substantial, apply the installed native orchestration method. Dispatch through the host's registered roles and permissions. A specialist investigates a bounded uncertainty, an implementer owns an isolated change, and a fresh reviewer tests a consequential claim. Give each the question, input revision, permitted sources, owned output and acceptance observation. For fresh review, provide the requirements and raw artifact in a separate context, withholding the author's conclusion. Resolve differences against the underlying evidence and check the integrated result yourself. -When a needed contribution is missing, name the result you still cannot produce or verify. Search eligible support and the other capability surfaces. For a genuine external gap, use the installed `find-skills` method and its pinned acquisition or public-search route when available. Keep search terms free of private context. Inspect the maintained source, pin, dependencies and data boundaries. Test the strongest eligible candidate on the same input as the current route before adopting it at the authorized scope. A search result alone is a lead. Verify project eligibility and the specific operation before activation. Respect individual disables and denied operations across alternate routes. Keep independent work moving. +When a needed contribution is missing, name the result you still cannot produce or verify. Search eligible support and the other capability surfaces. For a genuine external gap, use the installed `find-skills` method and its pinned acquisition or public-search route when available. Keep search terms free of private context. Inspect the maintained source, pin, dependencies and data boundaries. Test the strongest eligible candidate on the same input as the current route before adopting it at the authorized scope. Verify project eligibility and the specific operation before activation. Respect individual disables and denied operations across alternate routes. Keep independent work moving. -Elephant–Goldfish is Stack+’s project framework across definition, implementation, integration and recovery. The lead carries history and owns the decision. Pin the artifact and relevant constraints before delegating a consequential interpretation. Use `stack+ review pack` when a reproducible packet will help the receiving specialist; `stack+ review guide` is available across the toolkit. A fresh reader reconstructs the expected behavior from that packet and reports divergences or missing evidence. Resolve findings against the source, record the decision with the project, and recheck the changed output. Use the stages that change the work; the `design-specification-workflow` bundle supplies the complete methods and personas. An ordinary edit can finish with its direct check. +Elephant–Goldfish is Stack+’s project framework across definition, implementation, integration and recovery. The lead carries history and owns the decision. Pin the artifact and relevant constraints before delegating a consequential interpretation. Use `stack+ review pack` when a reproducible packet will help the receiving specialist; `stack+ review guide` is available across the toolkit. A fresh reader reconstructs the expected behavior from that packet and reports divergences or missing evidence. Resolve findings against the source, record the decision with the project, and recheck the changed output. Use the stages that change the work; the `design-specification-workflow` bundle supplies the complete methods and personas. ## Adapt and finish @@ -50,4 +50,4 @@ On steering, a failed check, a changed input or a newly visible opportunity, det Retain this chat’s 01 selection, objective source, latest correction, verified effects and next action in supported thread state. For substantial work, keep the project’s working facts in its existing task record. Only this conversation establishes whether 01 is active. On resume, recover the latest instruction and reconcile completed effects before retrying. Turning 01 off takes effect until the next explicit selection; a fresh conversation starts independently. -Keep synthetic fixtures and interim decisions in the project. When authorized, save a durable user decision through the configured private knowledge writer with linked evidence and check its readback. +When authorized, save a durable user decision through the configured private knowledge writer with linked evidence and check its readback. From 5dfe673d82ee7e43071c1758738d22aa098928b8 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 12:45:37 -0500 Subject: [PATCH 8/9] Run Docker and knowledge continuity contract tests in CI --- .github/workflows/offline-checks.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/offline-checks.yml b/.github/workflows/offline-checks.yml index 1068e8f..cf8767e 100644 --- a/.github/workflows/offline-checks.yml +++ b/.github/workflows/offline-checks.yml @@ -24,6 +24,16 @@ jobs: python3 -m unittest discover -s tests -p 'test_publisher.py' - name: Test CPU transcription admission run: python3 -m unittest discover -s tests -p 'test_whisper_cpu.py' + - name: Test knowledge continuity with disposable notes + run: | + python3 -m unittest discover -s tests -p 'test_knowledge.py' + python3 -m unittest discover -s tests -p 'test_knowledge_continuity.py' + - name: Test Docker and n8n integration contracts + run: | + python3 -m unittest discover -s tests -p 'test_docker_client.py' + python3 -m unittest discover -s tests -p 'test_ai_workflows.py' + python3 -m unittest discover -s tests -p 'test_workflow_runtime.py' + python3 -m unittest discover -s tests -p 'test_n8n_mcp_runtime.py' - name: Check the outcome benchmark grader run: python3 evals/01/outcome-bench/grade.py --selftest - name: Check the signed handoff controls From 2c40685f49694a74562e434b61245a80ff5cd015 Mon Sep 17 00:00:00 2001 From: Nazeeh Abdul-Hadi <196516325+nazeeh111@users.noreply.github.com> Date: Fri, 4 Dec 2026 19:51:14 -0500 Subject: [PATCH 9/9] Point fresh installs to Docker and Obsidian verification --- docs/ONBOARDING.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/ONBOARDING.md b/docs/ONBOARDING.md index 719f2bd..a747a0a 100644 --- a/docs/ONBOARDING.md +++ b/docs/ONBOARDING.md @@ -36,3 +36,8 @@ mkdir -p "$library" For OpenCode, add `--host opencode` to the find command and its subsequent readback. Reopen a result with the same project, host and bundle, replacing the query and `--json` with `--method --read MATCH_ID`. The shared skill root still exposes only 01. Specialist dependencies belong in the project that needs them. For an existing collection, inspect your shared and personal skill roots and retain a backup before replacing anything. Replacing a managed selection can retire omitted entries. Rehearse all additions you intend to retain together. The native installer accepts a custom `--codex-home` or the current `CODEX_HOME`. Keep project-specific skills and connectors in their owning project. [Selection and staging](stackplus-selections.md) · [Existing native profiles and optional bootstrap](REGISTRY.md) · [Recovery](RESTORE.md) + +## Verify optional integrations + +- **Obsidian:** Use the [portable knowledge writer](../integrations/knowledge-continuity/README.md) with a vault and owner you configure. Start with its disposable-note test. Verify the saved file and Git checkpoint. App indexing can remain deferred. +- **Docker and n8n:** With a local Docker engine running, follow the [n8n runtime guide](../integrations/workflows/n8n/README.md) to prepare and check the pinned synthetic workflow before starting the service. The [n8n MCP guide](../integrations/workflows/n8n-mcp/README.md) covers the separate documentation and validation connector.