Skip to content
Open
10 changes: 10 additions & 0 deletions .github/workflows/offline-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions addons/01/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -17,14 +17,16 @@ 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:
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. 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"
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. 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

Expand All @@ -38,14 +40,14 @@ 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

On steering, a failed check, a changed input or a newly visible opportunity, determine which assumption and downstream work it affects. Keep valid evidence, retire superseded outputs and redirect only the affected work. Reconcile an uncertain external effect with the destination’s operation ID or another attribution record, then decide whether retry is safe. Matching contents alone cannot prove who wrote them. Before recommending action, check each required acceptance condition against evidence from the specified source. If a condition is unverified, put the hold or contingency in the recipient’s actionable recommendation or status field and keep useful conditional calculations. Verify the finished result in the recipient's interface using an observation that would distinguish success from a plausible failure. Report consequential limits. Further discovery should have a concrete prospect of changing the outcome.

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.
2 changes: 2 additions & 0 deletions addons/design-library-selection/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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 |
|---|---|---|
| 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. |
Expand Down
24 changes: 24 additions & 0 deletions addons/design-library-selection/references/design-inspiration.md
Original file line number Diff line number Diff line change
@@ -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.
Loading