archik 0.12.41 → 0.12.43

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
@@ -71,6 +71,8 @@ Day-to-day after that:
71
71
 
72
72
  `/archik:suggest` and `/archik:usecase` stage reviewable artifacts — diff overlay on the canvas, accept or reject. **Claude never edits YAML by hand**; the skill enforces CLI-only access.
73
73
 
74
+ > **The framing that makes the rest of the loop work:** when Claude asks for your brief, end it with *"start by modelling the actors and the first use case I should ship."* Three things hide in that one sentence: actors-first (you can't validate a use case without knowing who initiates it), pick exactly one (forces priorities into the open before any code lands), and "to ship" (the use case names its test paths from message one — slices start `status: proposed` and flip to `active` mechanically once those tests land in BUILD; the commitment is in the YAML, not the chat log).
75
+
74
76
  <p align="center">
75
77
  <video src="https://github.com/bacharSalleh/archik/raw/main/docs/record.mp4" poster="https://cdn.jsdelivr.net/gh/bacharSalleh/archik@main/docs/archik.gif" width="780" controls muted autoplay loop playsinline>
76
78
  <img src="https://cdn.jsdelivr.net/gh/bacharSalleh/archik@main/docs/archik.gif" alt="Archik canvas demo" width="780">
@@ -47,7 +47,10 @@ brief and start the DESIGN loop.
47
47
  3. If `$ARGUMENTS` already contains a brief, treat it as the brief
48
48
  and skip step 4. Otherwise:
49
49
  4. **Ask for the brief**, in this exact shape (so the user knows
50
- what fields you actually need):
50
+ what fields you actually need). The closing line is the load-
51
+ bearing one — it commits the conversation to actors-first +
52
+ pick-exactly-one + ship-it-with-tests, which is the framing
53
+ that makes the rest of the loop work:
51
54
  > "Send me a project brief in this shape (skip any line that
52
55
  > doesn't apply):
53
56
  >
@@ -57,8 +60,14 @@ brief and start the DESIGN loop.
57
60
  > **Constraints:** budget, deadline, team size, hard-no's.
58
61
  > **Out of scope:** things you explicitly DON'T want.
59
62
  >
60
- > After you reply, I'll model actors first, then propose the
61
- > first use case to ship."
63
+ > **Then end with:** *'Start by modelling the actors and the
64
+ > first use case I should ship.'* — that single line is what
65
+ > forces priorities into the open before any code lands. The
66
+ > use case names its test paths from message one; slices start
67
+ > `status: proposed` (because the tests don't exist on disk
68
+ > yet) and flip to `status: active` automatically when the
69
+ > tests land in BUILD. The commitment lives in the YAML, not
70
+ > in the chat log."
62
71
  5. When the brief lands, run the standard DESIGN loop:
63
72
  `/archik:actor` (if needed) → `/archik:usecase` → `/archik:suggest`
64
73
  (structural sidecar) → behavioural seq files. Stop at each
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archik",
3
- "version": "0.12.41",
3
+ "version": "0.12.43",
4
4
  "description": "The shared vocabulary between you and Claude Code, at the engineering level. Plain-YAML architecture diagrams with a live browser canvas, headless SVG render in CI, and an installable Claude skill so the model treats the diagram as the spec.",
5
5
  "keywords": [
6
6
  "architecture",
@@ -10,6 +10,7 @@ description: Use whenever .archik/main.archik.yaml or architecture.archik.yaml e
10
10
  - **The YAML is the source of truth.** `.archik/main.archik.yaml` (and any `*.archik.yaml` sub-files) describe the system the user is building. The browser canvas is just a stateless projection of that file.
11
11
  - **The CLI is your only interface to it.** You never read, write, or edit archik files directly. Every read goes through `npx archik q ...`; every write goes through `npx archik suggest set` → user accepts via `/archik:accept`.
12
12
  - **Two command surfaces:** the user types `/archik:*` slash commands; you run `npx archik ...` directly. They're not interchangeable — see the tables below.
13
+ - **Actors first, one use case to ship.** When a user hands you a brief on a fresh project, the right opening move is *model the actors, then propose the first use case to ship* — never "let me sketch your whole system." Actors-first because you can't validate a use case without knowing who initiates it. Pick exactly one because forcing priorities into the open before any code lands is the entire point of the loop. "To ship" because the use case names its test paths from message one — slices start `status: proposed` (the tests don't exist on disk yet) and flip to `status: active` automatically when the tests land in BUILD. The project's commitments live in the YAML, not in the chat log.
13
14
 
14
15
  ## Command surfaces
15
16