fito-tui 0.2.0
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 +88 -0
- package/agents/fito-case-source-planner.md +265 -0
- package/agents/fito-performance-reviewer.md +231 -0
- package/agents/fito-practice-concept-content-generator.md +318 -0
- package/agents/fito-practice-concept-identifier.md +482 -0
- package/agents/fito-practice-execution-fact-content-generator.md +299 -0
- package/agents/fito-practice-execution-fact-identifier.md +367 -0
- package/agents/fito-practice-usage-scenario-content-generator.md +331 -0
- package/agents/fito-practice-usage-scenario-identifier.md +397 -0
- package/agents/fito-subagent-selftest.md +27 -0
- package/agents/fito-technology-generator.md +207 -0
- package/agents/fito-tool-concept-content-generator.md +282 -0
- package/agents/fito-tool-concept-identifier.md +384 -0
- package/agents/fito-tool-execution-fact-content-generator.md +382 -0
- package/agents/fito-tool-execution-fact-identifier.md +360 -0
- package/agents/fito-tool-usage-scenario-content-generator.md +381 -0
- package/agents/fito-tool-usage-scenario-identifier.md +432 -0
- package/agents/fito-tutor.md +185 -0
- package/extensions/fito-delegate.js +539 -0
- package/extensions/fito-delegate.ts +691 -0
- package/extensions/fito-fetch-tools.js +380 -0
- package/extensions/fito-fetch-tools.ts +419 -0
- package/extensions/fito-startup.js +166 -0
- package/extensions/fito-startup.ts +188 -0
- package/package.json +56 -0
- package/prompts/fito-auth-refresh.md +15 -0
- package/prompts/fito-case-design.md +506 -0
- package/prompts/fito-case-edit.md +91 -0
- package/prompts/fito-case-generate.md +222 -0
- package/prompts/fito-case-open.md +124 -0
- package/prompts/fito-case-plan-source.md +114 -0
- package/prompts/fito-create-or-update-competence.md +261 -0
- package/prompts/fito-create-or-update-technology.md +199 -0
- package/prompts/fito-delete-competence.md +147 -0
- package/prompts/fito-evaluate.md +148 -0
- package/prompts/fito-fetch-urls-content.md +35 -0
- package/prompts/fito-generate-domain-concepts.md +85 -0
- package/prompts/fito-generate-execution-facts.md +85 -0
- package/prompts/fito-generate-usage-scenarios.md +85 -0
- package/prompts/fito-identify-domain-concepts.md +49 -0
- package/prompts/fito-identify-execution-facts.md +49 -0
- package/prompts/fito-identify-usage-scenarios.md +49 -0
- package/prompts/fito-login.md +21 -0
- package/prompts/fito-logout.md +14 -0
- package/prompts/fito-publish-case.md +266 -0
- package/prompts/fito-push-knowledge.md +84 -0
- package/prompts/fito-submit.md +208 -0
- package/prompts/fito-tutor.md +120 -0
- package/shared/case-briefing/briefing.js +221 -0
- package/shared/case-briefing/briefing.ts +261 -0
- package/shared/case-quiz/scoring.js +16 -0
- package/shared/case-quiz/scoring.ts +61 -0
- package/shared/case-validation/case-loader.js +88 -0
- package/shared/case-validation/case-loader.ts +106 -0
- package/shared/case-validation/case-schema.js +716 -0
- package/shared/case-validation/case-schema.ts +895 -0
- package/shared/competences/competence-list.js +29 -0
- package/shared/competences/competence-list.ts +32 -0
- package/shared/fito-api/README.md +192 -0
- package/shared/fito-api/client.js +731 -0
- package/shared/fito-api/client.ts +1426 -0
- package/shared/fito-session/credentials.js +79 -0
- package/shared/fito-session/credentials.ts +88 -0
- package/shared/fito-session/session.js +16 -0
- package/shared/fito-session/session.ts +35 -0
- package/shared/github-url/parse.js +26 -0
- package/shared/github-url/parse.ts +35 -0
- package/shared/knowledge-components/component-names.js +35 -0
- package/shared/knowledge-components/component-names.ts +39 -0
- package/shared/knowledge-components/knowledge-fetch.js +46 -0
- package/shared/knowledge-components/knowledge-fetch.ts +57 -0
- package/shared/knowledge-components/knowledge-search.js +101 -0
- package/shared/knowledge-components/knowledge-search.ts +144 -0
- package/shared/knowledge-components/push-payload.js +104 -0
- package/shared/knowledge-components/push-payload.ts +129 -0
- package/shared/knowledge-components/reference.js +24 -0
- package/shared/knowledge-components/reference.ts +43 -0
- package/shared/knowledge-components/technology-fetch.js +30 -0
- package/shared/knowledge-components/technology-fetch.ts +38 -0
- package/shared/shell-exec/exec.js +22 -0
- package/shared/shell-exec/exec.ts +46 -0
- package/skills/fito-auth/SKILL.md +68 -0
- package/skills/fito-auth/auth-refresh.js +23 -0
- package/skills/fito-auth/auth-refresh.ts +25 -0
- package/skills/fito-auth/browser.js +35 -0
- package/skills/fito-auth/browser.ts +57 -0
- package/skills/fito-auth/callback-server.js +152 -0
- package/skills/fito-auth/callback-server.ts +189 -0
- package/skills/fito-auth/login.js +37 -0
- package/skills/fito-auth/login.ts +42 -0
- package/skills/fito-auth/logout.js +24 -0
- package/skills/fito-auth/logout.ts +25 -0
- package/skills/fito-case-author/SKILL.md +179 -0
- package/skills/fito-case-author/checkout.js +222 -0
- package/skills/fito-case-author/checkout.ts +281 -0
- package/skills/fito-case-author/github-publish.js +218 -0
- package/skills/fito-case-author/github-publish.ts +251 -0
- package/skills/fito-case-author/publish-payload.js +108 -0
- package/skills/fito-case-author/publish-payload.ts +186 -0
- package/skills/fito-case-author/publish-state.js +72 -0
- package/skills/fito-case-author/publish-state.ts +87 -0
- package/skills/fito-case-author/publish-version.js +364 -0
- package/skills/fito-case-author/publish-version.ts +495 -0
- package/skills/fito-case-author/publish.js +284 -0
- package/skills/fito-case-author/publish.ts +394 -0
- package/skills/fito-case-author/semver.js +55 -0
- package/skills/fito-case-author/semver.ts +63 -0
- package/skills/fito-case-author/status-gate.js +34 -0
- package/skills/fito-case-author/status-gate.ts +54 -0
- package/skills/fito-case-author/validate.js +62 -0
- package/skills/fito-case-author/validate.ts +64 -0
- package/skills/fito-case-runner/SKILL.md +119 -0
- package/skills/fito-case-runner/case-component-names.js +45 -0
- package/skills/fito-case-runner/case-component-names.ts +65 -0
- package/skills/fito-case-runner/case-detail.js +20 -0
- package/skills/fito-case-runner/case-detail.ts +20 -0
- package/skills/fito-case-runner/github.js +234 -0
- package/skills/fito-case-runner/github.ts +287 -0
- package/skills/fito-case-runner/manifest.js +56 -0
- package/skills/fito-case-runner/manifest.ts +73 -0
- package/skills/fito-case-runner/open.js +175 -0
- package/skills/fito-case-runner/open.ts +241 -0
- package/skills/fito-case-runner/report.js +22 -0
- package/skills/fito-case-runner/report.ts +24 -0
- package/skills/fito-case-runner/runner.js +158 -0
- package/skills/fito-case-runner/runner.ts +304 -0
- package/skills/fito-case-runner/score-quiz-mc.js +85 -0
- package/skills/fito-case-runner/score-quiz-mc.ts +99 -0
- package/skills/fito-case-runner/submit-evaluation.js +73 -0
- package/skills/fito-case-runner/submit-evaluation.ts +98 -0
- package/skills/fito-case-runner/submit-quiz-result.js +75 -0
- package/skills/fito-case-runner/submit-quiz-result.ts +100 -0
- package/skills/fito-case-runner/submit.js +85 -0
- package/skills/fito-case-runner/submit.ts +111 -0
- package/skills/fito-case-runner/workdir.js +10 -0
- package/skills/fito-case-runner/workdir.ts +11 -0
- package/skills/fito-competence-write/SKILL.md +155 -0
- package/skills/fito-competence-write/create.js +64 -0
- package/skills/fito-competence-write/create.ts +80 -0
- package/skills/fito-competence-write/delete.js +136 -0
- package/skills/fito-competence-write/delete.ts +166 -0
- package/skills/fito-competence-write/display.js +20 -0
- package/skills/fito-competence-write/display.ts +21 -0
- package/skills/fito-competence-write/payload.js +96 -0
- package/skills/fito-competence-write/payload.ts +115 -0
- package/skills/fito-competence-write/update.js +155 -0
- package/skills/fito-competence-write/update.ts +206 -0
- package/skills/fito-evaluator/SKILL.md +73 -0
- package/skills/fito-evaluator/criterion-exec.js +64 -0
- package/skills/fito-evaluator/criterion-exec.ts +73 -0
- package/skills/fito-evaluator/evaluate-automated.js +57 -0
- package/skills/fito-evaluator/evaluate-automated.ts +84 -0
- package/skills/fito-evaluator/evaluate.js +28 -0
- package/skills/fito-evaluator/evaluate.ts +86 -0
- package/skills/fito-evaluator/report.js +112 -0
- package/skills/fito-evaluator/report.ts +128 -0
- package/skills/fito-evaluator/rubric.js +90 -0
- package/skills/fito-evaluator/rubric.ts +170 -0
- package/skills/fito-knowledge-push/SKILL.md +114 -0
- package/skills/fito-knowledge-push/push.js +282 -0
- package/skills/fito-knowledge-push/push.ts +360 -0
- package/skills/fito-source-ingestion/SKILL.md +77 -0
- package/skills/fito-source-ingestion/authoring-check.js +128 -0
- package/skills/fito-source-ingestion/authoring-check.ts +155 -0
- package/skills/fito-source-ingestion/bundle.js +198 -0
- package/skills/fito-source-ingestion/bundle.ts +246 -0
- package/skills/fito-technology-write/SKILL.md +108 -0
- package/skills/fito-technology-write/create.js +134 -0
- package/skills/fito-technology-write/create.ts +161 -0
- package/skills/fito-technology-write/payload.js +64 -0
- package/skills/fito-technology-write/payload.ts +70 -0
- package/skills/fito-technology-write/update.js +122 -0
- package/skills/fito-technology-write/update.ts +171 -0
- package/skills/fito-url-content-fetcher/SKILL.md +213 -0
- package/templates/concept-practice-content-template.md +281 -0
- package/templates/concept-tool-content-template.md +207 -0
- package/templates/execution-fact-practice-content-template.md +372 -0
- package/templates/execution-fact-tool-content-template.md +307 -0
- package/templates/usage-scenario-content-template.md +248 -0
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Design a Fito case — scope a goal + Technology into a case proposal grounded in live knowledge components
|
|
3
|
+
argument-hint: '"<goal>" --technology <slug>@<version> [--technology <slug>@<version> ...] [--source <path>] [--output <path>]'
|
|
4
|
+
---
|
|
5
|
+
The author wants to design a Fito case — the DESIGN step of case authoring,
|
|
6
|
+
producing the **case proposal** that `/fito-case-generate` consumes to produce
|
|
7
|
+
the `.case/` artifacts. Drive the whole flow below on this session: the work is
|
|
8
|
+
a dialogue with the author. Keep it calm and precise — a knowledgeable peer
|
|
9
|
+
shaping a case together, not a wizard form. The proposal file is this flow's
|
|
10
|
+
**only write** — never create `.case/` artifacts (that is
|
|
11
|
+
`/fito-case-generate`'s job), and never edit anything under `--source`.
|
|
12
|
+
|
|
13
|
+
Parse `$ARGUMENTS`:
|
|
14
|
+
|
|
15
|
+
- **goal** (required): the leading free text — what the case should teach or
|
|
16
|
+
assess (e.g. `"diagnose a broken JSON endpoint"`)
|
|
17
|
+
- **--technology <slug>@<version>** (required, repeatable): each Fito Technology
|
|
18
|
+
the case is about, paired with its declared major-line version — e.g.
|
|
19
|
+
`--technology javalin@7 --technology kotlin@2`. Each technology's components
|
|
20
|
+
are listed and probed under its slug, and the `<version>` is the
|
|
21
|
+
`TechnologyVersion.slug` that the **technology check** (step 1) and both the
|
|
22
|
+
**component listing** and the **component probe** (step 4) scope to: a
|
|
23
|
+
component live only for another major line then reads as missing. Every
|
|
24
|
+
technology **must** carry a version — every knowledge component is
|
|
25
|
+
version-scoped, so each of those reads needs to know which major line the case
|
|
26
|
+
targets; refuse a bare slug (see below)
|
|
27
|
+
- **--source <path>** (optional): an existing local project intended to become
|
|
28
|
+
the case project (the reuse scenario). Greenfield runs omit it
|
|
29
|
+
- **--output <path>** (optional): where to write the proposal. Defaults to
|
|
30
|
+
`./case-proposal.md`
|
|
31
|
+
|
|
32
|
+
If the goal is missing, or any `--technology` lacks its `@<version>`, ask the
|
|
33
|
+
author before doing anything else — do not fall back to a version-agnostic
|
|
34
|
+
check:
|
|
35
|
+
|
|
36
|
+
> "What should this case teach or assess, and which Technology plus declared
|
|
37
|
+
> major-line version is it about? Usage: `/fito-case-design "<goal>"
|
|
38
|
+
> --technology <slug>@<version> [--technology <slug>@<version> ...]
|
|
39
|
+
> [--source <path>] [--output <path>]` (e.g. `--technology javalin@7`)"
|
|
40
|
+
|
|
41
|
+
## 1. Verify the declared technologies
|
|
42
|
+
|
|
43
|
+
A case is scoped on a technology the backend already holds: every knowledge
|
|
44
|
+
component the proposal will reference hangs off that row. Run the **technology
|
|
45
|
+
check** before any other work — for **every** declared
|
|
46
|
+
`--technology <slug>@<version>`, call the `fito_technology_fetch` tool once with
|
|
47
|
+
the slug (the read is public — no login) and confirm both halves: the technology
|
|
48
|
+
resolves, and one of its `technologyVersions` carries a `slug` equal to the
|
|
49
|
+
declared `<version>`. Match on that `slug` alone — a version's `label` spells
|
|
50
|
+
the same major line differently (`Javalin 7` against the slug `7`), and a `null`
|
|
51
|
+
or blank `description` is prose the vocabulary has yet to record, never a
|
|
52
|
+
missing major line.
|
|
53
|
+
|
|
54
|
+
Keep each record you fetch — step 3's toolchain cross-check reads the declared
|
|
55
|
+
version's `description` out of it.
|
|
56
|
+
|
|
57
|
+
Only a not-found means absent. Any other failure — an unreachable backend, a
|
|
58
|
+
5xx — says nothing about the declaration: report it verbatim and stop there,
|
|
59
|
+
without the refusal below.
|
|
60
|
+
|
|
61
|
+
**If any declared technology fails the check, refuse to scope the case** and
|
|
62
|
+
write no proposal. Check every declared pair first and report all the failures
|
|
63
|
+
in one refusal, naming for each whether the technology itself is absent or it
|
|
64
|
+
exists without the declared major line:
|
|
65
|
+
|
|
66
|
+
> "The Fito vocabulary doesn't hold these declared technologies yet:
|
|
67
|
+
> `javalin@7` — there is no `javalin` technology; `kotlin@2` — `kotlin` exists,
|
|
68
|
+
> but carries no `2` major line. Provision each one first with
|
|
69
|
+
> `/fito-create-or-update-technology --technology <slug>@<version>`, then re-run
|
|
70
|
+
> `/fito-case-design`. If a slug or a major line is simply misspelled, correct
|
|
71
|
+
> the declaration instead — provisioning a misspelling admits a second,
|
|
72
|
+
> independent technology alongside the real one."
|
|
73
|
+
|
|
74
|
+
**Done when** every declared `<slug>@<version>` has resolved to a live
|
|
75
|
+
technology **and** a matching major line — or the refusal above was delivered
|
|
76
|
+
and nothing else ran.
|
|
77
|
+
|
|
78
|
+
## 2. Skim the source project (reuse runs only)
|
|
79
|
+
|
|
80
|
+
When `--source` is given, skim the project's **structure, not a deep read**:
|
|
81
|
+
directory layout, build/manifest files, README, test layout — enough to know
|
|
82
|
+
what the code actually contains, never a file-by-file study. Collect:
|
|
83
|
+
|
|
84
|
+
- what the project does and which of its areas could carry a case — grounds
|
|
85
|
+
the scope/type feasibility call in step 3;
|
|
86
|
+
- whether the `--technology` slug(s) actually match the project — cross-check
|
|
87
|
+
them against the manifest/build files, and surface any mismatch to the
|
|
88
|
+
author before proceeding;
|
|
89
|
+
- the project's **real gate commands** — build, test, lint, as its build files
|
|
90
|
+
declare them (e.g. `./gradlew test`, `npm test`) — for the rubric's
|
|
91
|
+
`automated` criteria in step 5;
|
|
92
|
+
- a sense of setup and task size, to inform the duration estimate;
|
|
93
|
+
- if the knowledge pipeline already ran over this tree, its outputs — identify
|
|
94
|
+
results under `output/2-identify/` (each candidate's
|
|
95
|
+
`already_exists`/`canonical_id`) and generated payloads under
|
|
96
|
+
`output/3-generate/` — a record of which components this tree actually
|
|
97
|
+
exercises, and so a relevance signal when step 4 selects from the listing.
|
|
98
|
+
|
|
99
|
+
If the path doesn't exist or isn't a project tree, stop and ask the author to
|
|
100
|
+
correct it.
|
|
101
|
+
|
|
102
|
+
**Done when** you can say in two sentences what the project is and which gate
|
|
103
|
+
commands it runs — or the run is greenfield and this step was skipped.
|
|
104
|
+
|
|
105
|
+
## 3. Propose scope and type
|
|
106
|
+
|
|
107
|
+
From the goal, the technologies, and any source skim, shape:
|
|
108
|
+
|
|
109
|
+
- **Scope** — the concrete situation the learner lands in and what they must
|
|
110
|
+
do, sized for a single working session; note the
|
|
111
|
+
`estimated_duration_minutes` it implies.
|
|
112
|
+
- **Type** — one of the three case types, each with the artifact constraint
|
|
113
|
+
that binds what `/fito-case-generate` must later produce:
|
|
114
|
+
|
|
115
|
+
| Type | Learner activity | Binding constraint |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| `diagnostic` | Identify and fix a defect | `starter_state/known_state.yaml` must carry `failing_tests` or `known_errors` |
|
|
118
|
+
| `implementation` | Build a feature or component | `task/deliverables.yaml` must include a `code_change` entry |
|
|
119
|
+
| `tutorial` | Navigate the codebase via guided steps | `task/steps.md` is mandatory; no `failing_tests` in the starter state |
|
|
120
|
+
|
|
121
|
+
On a reuse run, ground feasibility in the skim: a `diagnostic` case needs a
|
|
122
|
+
place a defect can be introduced with a test that will catch it; an
|
|
123
|
+
`implementation` case needs a coherent gap to fill. Say which area of the
|
|
124
|
+
project the case would live in.
|
|
125
|
+
|
|
126
|
+
Also settle the **toolchain** — the build tools and their major lines the case
|
|
127
|
+
project is built against (e.g. Gradle 9, Kotlin 2, Javalin 7). On **reuse**,
|
|
128
|
+
read it from the build/manifest files the step-2 skim covered and confirm it
|
|
129
|
+
with the author; on **greenfield**, ask the author for their intended build
|
|
130
|
+
tooling. Record **major lines only** — never a patch pin (`9`, not `9.5.1`);
|
|
131
|
+
the scaffold resolves an actual release satisfying each declared major at build
|
|
132
|
+
time. The toolchain (what the source builds against) is a separate axis from
|
|
133
|
+
the `--technology` versions (what the case teaches): they overlap but are not
|
|
134
|
+
the same declaration.
|
|
135
|
+
|
|
136
|
+
Once the toolchain is settled, **cross-check it against what the vocabulary
|
|
137
|
+
knows**. For each declared `--technology <slug>@<version>`, read the declared
|
|
138
|
+
version's `description` from the record the technology check already fetched —
|
|
139
|
+
the version-specific compatibility prose (e.g. "Javalin 7 requires Java 17+ and
|
|
140
|
+
runs on Jetty 12"), and **no second fetch**. If that prose **contradicts** the
|
|
141
|
+
declared toolchain (say Javalin 7 wants Java 17+ but the toolchain declares
|
|
142
|
+
Java 11), **flag it to the author** and let them reconcile it — never silently
|
|
143
|
+
rewrite the declaration. Step 1 settled that the technology and its major line
|
|
144
|
+
exist; this cross-check is about their **prose**, so it is **best-effort** and
|
|
145
|
+
**silent when the description is absent**: a version that carries no
|
|
146
|
+
`description` yields nothing to check, and the cross-check **never blocks** the
|
|
147
|
+
flow — it informs the author, nothing more.
|
|
148
|
+
|
|
149
|
+
**Done when** scope, type, duration estimate, and toolchain are stated and
|
|
150
|
+
consistent with what the source (if any) actually contains, and each declared
|
|
151
|
+
technology's version prose has been cross-checked against the toolchain.
|
|
152
|
+
|
|
153
|
+
## 4. Ground the required components
|
|
154
|
+
|
|
155
|
+
The backend **Knowledge Repository is the controlled vocabulary** — the
|
|
156
|
+
proposal may reference only components that live there.
|
|
157
|
+
|
|
158
|
+
1. Run the **component listing** — before probing anything. For **every**
|
|
159
|
+
declared `--technology <slug>@<version>`, call the `fito_knowledge_search`
|
|
160
|
+
tool once with the slug (the read is public — no login), always passing the
|
|
161
|
+
declared `<version>` so the listing is **version-scoped**: a component live
|
|
162
|
+
only for another major line never reaches the list. Each entry carries a
|
|
163
|
+
real `id`, its `type` and `name`, the `versions` it is bound to, and a
|
|
164
|
+
`tl_dr` summary **truncated** at roughly 225 characters and marked ` [...]`
|
|
165
|
+
when cut. What comes back is the vocabulary as it was actually authored —
|
|
166
|
+
component names are *coined* by whoever authored them, so reading them is
|
|
167
|
+
the only way to know them. A search that **failed** is not a search that
|
|
168
|
+
came back empty: report it verbatim and stop, exactly as the technology
|
|
169
|
+
check does.
|
|
170
|
+
2. **Select from what came back.** Work out what the case genuinely needs —
|
|
171
|
+
the **learning objectives** it develops and the **prerequisites** the learner
|
|
172
|
+
must already hold, each with a target Bloom level (`KNOWLEDGE`, `COMPREHENSION`,
|
|
173
|
+
or `APPLICATION`) — and choose each one from the listed entries, reading
|
|
174
|
+
each entry's `name` and `tl_dr` rather than looking for an id you expected
|
|
175
|
+
to find. On a reuse run, the step-2 pipeline outputs say which of the listed
|
|
176
|
+
components this source tree exercises — a relevance signal for choosing
|
|
177
|
+
among them, never a second source of ids. A need that no entry covers is
|
|
178
|
+
**missing**: record what the case needed and carry it to step 5.
|
|
179
|
+
3. **Derive an id only when a technology's listing came back empty** — the
|
|
180
|
+
vocabulary holds nothing for it at the declared major line, so there is
|
|
181
|
+
nothing to select from. Only then fall back to deriving a candidate's
|
|
182
|
+
would-be canonical id — `<type>:<technology-slug>.<component-slug>`, the
|
|
183
|
+
component name lowercased, spaces/underscores collapsed to dashes, other
|
|
184
|
+
non-alphanumerics dropped (`"Specular Highlight"` → `specular-highlight`) —
|
|
185
|
+
and probing it, trying an obvious slug variant if the terminology suggests
|
|
186
|
+
one. A derived id is a guess: when it misses, the candidate is missing. This
|
|
187
|
+
fallback belongs only to the technology whose listing came back empty — a
|
|
188
|
+
sibling technology that listed fine is still selected from, never guessed at.
|
|
189
|
+
4. Run the **component probe** over every id the proposal will carry: fetch
|
|
190
|
+
each one with the `fito_knowledge_fetch` tool, once per id. Always pass its
|
|
191
|
+
technology's declared `<version>` (the `@<version>` half of
|
|
192
|
+
`--technology <slug>@<version>`) so the probe is **version-scoped** too. A
|
|
193
|
+
component that returns is **live**: record its id and name. A selected id
|
|
194
|
+
that **does not return is missing too**, and belongs in the proposal's
|
|
195
|
+
**Open questions**: the listing and the probe read the same backend at the
|
|
196
|
+
same version, so the two disagreeing is a real signal about the vocabulary
|
|
197
|
+
rather than a formality. Search widens discovery; it **does not replace
|
|
198
|
+
verification** — and the fetch is also what returns the component's full
|
|
199
|
+
sections, which the listing's truncated `tl_dr` deliberately withholds.
|
|
200
|
+
**Never invent component ids**, and never carry an unprobed id forward:
|
|
201
|
+
every id in the proposal must be **fetch-verified** in this step.
|
|
202
|
+
|
|
203
|
+
**Done when** every declared technology has been listed once, and every needed
|
|
204
|
+
component is either live (fetch-verified) or on the missing list — none
|
|
205
|
+
unprobed.
|
|
206
|
+
|
|
207
|
+
## 5. Refuse, or draft the proposal
|
|
208
|
+
|
|
209
|
+
**If any needed component is missing, refuse to scope the case** — write no
|
|
210
|
+
proposal, and do not shrink the case to fit the vocabulary: dropping a
|
|
211
|
+
component the case genuinely needs degrades the case; the vocabulary is what
|
|
212
|
+
must grow. A component that resolves only for a **non-declared version** counts
|
|
213
|
+
as missing here — the case needs it for the declared major line, not another.
|
|
214
|
+
Report the live and missing ids and recommend the knowledge pipeline first:
|
|
215
|
+
|
|
216
|
+
> "These components don't exist in the Knowledge Repository yet:
|
|
217
|
+
> `<missing ids>`. Run the knowledge pipeline over the source first —
|
|
218
|
+
> `/fito-identify-domain-concepts`, `/fito-identify-execution-facts`, and
|
|
219
|
+
> `/fito-identify-usage-scenarios`, then the matching `/fito-generate-*`
|
|
220
|
+
> prompts, then `/fito-push-knowledge` — and re-run `/fito-case-design` once
|
|
221
|
+
> they're live."
|
|
222
|
+
|
|
223
|
+
One check before sending the author to the pipeline: when **every** candidate
|
|
224
|
+
under a technology came back missing, suspect the `--technology <slug>@<version>`
|
|
225
|
+
pair itself. Step 1 proved both halves live, so what is left is the *choice* of
|
|
226
|
+
major line — the components the case needs live under a **different** major
|
|
227
|
+
line, which a listing scoped to the declared one cannot show. Confirm it with
|
|
228
|
+
the author (on reuse runs, against the step-2 manifest cross-check) and re-list
|
|
229
|
+
the technology unscoped, rather than recommending the pipeline over a major
|
|
230
|
+
line the vocabulary simply has no components for yet.
|
|
231
|
+
|
|
232
|
+
**Otherwise draft the proposal** in the format below and present it in the
|
|
233
|
+
chat. Iterate on the author's feedback — scope, components, criteria, weights,
|
|
234
|
+
quiz — and re-verify any component id that changes (step 4 applies to every
|
|
235
|
+
revision). When the author confirms, write the proposal to the output path and
|
|
236
|
+
close with the file path, the live component count, and the next step:
|
|
237
|
+
`/fito-case-generate` takes the proposal from here.
|
|
238
|
+
|
|
239
|
+
**Done when** either the refusal above was delivered (and nothing written), or
|
|
240
|
+
the confirmed proposal file exists at the output path.
|
|
241
|
+
|
|
242
|
+
## Proposal format
|
|
243
|
+
|
|
244
|
+
Markdown with fenced YAML blocks shaped like the `.case/` artifacts they seed,
|
|
245
|
+
so the generate step consumes them directly:
|
|
246
|
+
|
|
247
|
+
````markdown
|
|
248
|
+
# Case Proposal: <working title>
|
|
249
|
+
|
|
250
|
+
## Scope
|
|
251
|
+
|
|
252
|
+
<The situation the learner lands in, what they must do, and why completing it
|
|
253
|
+
develops the goal. A paragraph or two — narrative, not YAML.>
|
|
254
|
+
|
|
255
|
+
## Parameters
|
|
256
|
+
|
|
257
|
+
```yaml
|
|
258
|
+
type: diagnostic # diagnostic | implementation | tutorial
|
|
259
|
+
estimated_duration_minutes: 45
|
|
260
|
+
language: en
|
|
261
|
+
tags: [<lowercase tags>]
|
|
262
|
+
technologies: # one {slug, version} pair per declared technology (from --technology <slug>@<version>)
|
|
263
|
+
- slug: javalin
|
|
264
|
+
version: "7"
|
|
265
|
+
toolchain: # build tools + their major lines the source builds against — major lines only, no patch pins
|
|
266
|
+
- tool: gradle
|
|
267
|
+
version: "9"
|
|
268
|
+
- tool: kotlin
|
|
269
|
+
version: "2"
|
|
270
|
+
- tool: javalin
|
|
271
|
+
version: "7"
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
## Learning objectives
|
|
275
|
+
|
|
276
|
+
What the case develops — the `.case/learning_objectives.yaml` shape:
|
|
277
|
+
|
|
278
|
+
```yaml
|
|
279
|
+
learning_objectives:
|
|
280
|
+
- knowledge_component: <live id>
|
|
281
|
+
bloom_level: APPLICATION
|
|
282
|
+
description: "<what the learner demonstrates>"
|
|
283
|
+
weight: primary # primary | secondary
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
## Prerequisites
|
|
287
|
+
|
|
288
|
+
What the learner must already hold — the `.case/prerequisites.yaml` shape:
|
|
289
|
+
|
|
290
|
+
```yaml
|
|
291
|
+
prerequisites:
|
|
292
|
+
- knowledge_component: <live id>
|
|
293
|
+
bloom_level: KNOWLEDGE
|
|
294
|
+
description: "<what must already be understood>"
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
## Rubric criteria
|
|
298
|
+
|
|
299
|
+
Seeds `.case/rubric.yaml`:
|
|
300
|
+
|
|
301
|
+
```yaml
|
|
302
|
+
criteria:
|
|
303
|
+
- id: <kebab-case-id>
|
|
304
|
+
title: "<what is being judged>"
|
|
305
|
+
knowledge_component: <live id>
|
|
306
|
+
bloom_level: APPLICATION
|
|
307
|
+
weight: 60 # positive integers, summing to exactly 100
|
|
308
|
+
levels_sketch: # all four at this bloom_level — quality rises, depth does not
|
|
309
|
+
not_achieved: "<score 0 — not met>"
|
|
310
|
+
partial: "<score 1 — partly met>"
|
|
311
|
+
achieved: "<score 2 — met; this rung defines the award>"
|
|
312
|
+
exemplary: "<score 3 — met well, at the same depth>"
|
|
313
|
+
evaluation_method:
|
|
314
|
+
type: automated # automated | ai | human | hybrid
|
|
315
|
+
command: "<a real gate command on reuse runs>"
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
## Quiz items
|
|
319
|
+
|
|
320
|
+
Optional — omit the section when the case carries no quiz:
|
|
321
|
+
|
|
322
|
+
```yaml
|
|
323
|
+
questions:
|
|
324
|
+
- type: multiple_choice # multiple_choice | short_answer | code_snippet
|
|
325
|
+
prompt: "<question>"
|
|
326
|
+
knowledge_components: [<live id>]
|
|
327
|
+
bloom_level: KNOWLEDGE
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
## Source grounding
|
|
331
|
+
|
|
332
|
+
Reuse runs only — omit on greenfield:
|
|
333
|
+
|
|
334
|
+
- Project: <path> — <one-line description>
|
|
335
|
+
- Case area: <where in the tree the case lives>
|
|
336
|
+
- Gate commands: `<build>`, `<test>`
|
|
337
|
+
- Pipeline outputs consulted: <paths, or "none">
|
|
338
|
+
|
|
339
|
+
## Open questions
|
|
340
|
+
|
|
341
|
+
Unresolved calls for the author — omit when there are none:
|
|
342
|
+
|
|
343
|
+
- <goal ambiguities, near-miss slug variants probed, type-vs-goal tension>
|
|
344
|
+
````
|
|
345
|
+
|
|
346
|
+
Rules the proposal must satisfy:
|
|
347
|
+
|
|
348
|
+
- Every `knowledge_component` reference is a live, fetch-verified id —
|
|
349
|
+
fetch-verified **for its technology's declared version** (`--technology
|
|
350
|
+
<slug>@<version>`).
|
|
351
|
+
- The `technologies` block holds one `{slug, version}` entry per declared
|
|
352
|
+
technology, each carrying the exact `TechnologyVersion.slug` the technology
|
|
353
|
+
check verified live.
|
|
354
|
+
- Bloom levels come only from the three-level set above.
|
|
355
|
+
- Rubric weights sum to exactly 100, and every criterion sketches all four
|
|
356
|
+
levels (scores 0–3).
|
|
357
|
+
- `automated` evaluation commands are commands the project actually runs (the
|
|
358
|
+
step-2 gate commands) — never guessed.
|
|
359
|
+
- The `toolchain` block names the build tools and their **major lines only**
|
|
360
|
+
(`9`, not `9.5.1`); the scaffold resolves an actual release satisfying each
|
|
361
|
+
declared major at build time.
|
|
362
|
+
- Every quiz question references at least one live component.
|
|
363
|
+
- Every rubric criterion and every quiz question is checked against the **Learning
|
|
364
|
+
objectives** block — the comparison below says what to do with a miss.
|
|
365
|
+
- Every rubric criterion's rungs are written at its declared `bloom_level` and
|
|
366
|
+
checked against it — the two sections on rungs below say how, and what to do
|
|
367
|
+
with a miss.
|
|
368
|
+
- Every `description` names the **topic**, never the **move** — the rule below.
|
|
369
|
+
|
|
370
|
+
## Every criterion and question names a learning objective
|
|
371
|
+
|
|
372
|
+
A rubric criterion's score and a quiz question's score both become a **recorded proficiency**
|
|
373
|
+
for the component they name. A case's prerequisite badges read those same recorded
|
|
374
|
+
proficiencies. So a criterion or a question aimed at a prerequisite lets the case *award the
|
|
375
|
+
prerequisite it asked the learner to arrive with*, and the next case that requires that
|
|
376
|
+
component reads "you have this" on the strength of a case that demanded it.
|
|
377
|
+
|
|
378
|
+
**Run this comparison before you present the proposal.** It is a list check, not a judgement
|
|
379
|
+
call:
|
|
380
|
+
|
|
381
|
+
1. Write out every component the **Rubric criteria** block names — one per criterion.
|
|
382
|
+
2. Add every component the **Quiz items** block names — one per question, and a question may
|
|
383
|
+
name more than one.
|
|
384
|
+
3. Look for each of those components in the **Learning objectives** block.
|
|
385
|
+
4. Every component you do not find there goes in **Open questions**, named, together with what
|
|
386
|
+
it is instead: a **prerequisite**, or **neither** — a component the proposal references
|
|
387
|
+
nowhere else.
|
|
388
|
+
|
|
389
|
+
**Report the misses; never silently repoint them.** An author may want a criterion exactly
|
|
390
|
+
where it is. What they may not want is to discover it after publishing, when a case's
|
|
391
|
+
references can no longer change.
|
|
392
|
+
|
|
393
|
+
Two shapes this catches, both taken from real proposals:
|
|
394
|
+
|
|
395
|
+
- **The graded prerequisite.** A criterion titled *"the examples express representative
|
|
396
|
+
business outcomes"* names `concept:<technology>.key-examples`, which the same proposal lists
|
|
397
|
+
as a **prerequisite**. The case scores what it told the learner to bring.
|
|
398
|
+
- **The orphan.** A criterion titled *"explain why a known-good commit is required"* names
|
|
399
|
+
`concept:<technology>.bisect`, which the proposal lists **neither** as an objective nor as a
|
|
400
|
+
prerequisite — while the objective that criterion actually describes sits in the proposal
|
|
401
|
+
with nothing scoring it.
|
|
402
|
+
|
|
403
|
+
The usual repair is to repoint the criterion at the objective it already describes, or to
|
|
404
|
+
promote the component to a learning objective. Both are the author's call, not yours.
|
|
405
|
+
|
|
406
|
+
## The rungs are a quality ladder at one depth
|
|
407
|
+
|
|
408
|
+
A criterion's `bloom_level` is the depth it certifies: a score of 2 or 3 records that level for
|
|
409
|
+
the criterion's component, and a score of 0 or 1 records `NOT_ACHIEVED`. So the four rungs
|
|
410
|
+
measure **how well** the learner worked at that one depth, and every rung judges the learner
|
|
411
|
+
from that level's perspective — what they recalled, explained or applied:
|
|
412
|
+
|
|
413
|
+
- `not_achieved` (0) — not met: no attempt at the declared level, or a wrong one.
|
|
414
|
+
- `partial` (1) — partly met: an attempt at the declared level that falls short.
|
|
415
|
+
- `achieved` (2) — met. **This rung defines the award**: its description is the literal
|
|
416
|
+
definition of "this learner holds this proficiency", so write it with the most care of the
|
|
417
|
+
four.
|
|
418
|
+
- `exemplary` (3) — met well: the same work done better, at the same depth. It changes the
|
|
419
|
+
feedback, not what is recorded.
|
|
420
|
+
|
|
421
|
+
A worked pair, on an `APPLICATION` criterion about restoring a broken endpoint:
|
|
422
|
+
|
|
423
|
+
- ✗ **Climbs.** `not_achieved`: "Cannot name the call involved." `partial`: "Names the call
|
|
424
|
+
that stages the body." `achieved`: "Explains why the response carries the wrong content
|
|
425
|
+
type." `exemplary`: "Fixes the endpoint." — the grader changes perspective at every rung,
|
|
426
|
+
and a learner who only explains the fault scores 2 and is recorded at `APPLICATION` without
|
|
427
|
+
applying anything.
|
|
428
|
+
- ✓ **One depth.** `not_achieved`: "The endpoint still serves the wrong response." `partial`:
|
|
429
|
+
"The fix restores the body, but the content type is still wrong." `achieved`: "The fix
|
|
430
|
+
restores the body and the content type; the seeded tests pass." `exemplary`: "As achieved,
|
|
431
|
+
and no other test in the suite regresses." — every rung asks how well the learner
|
|
432
|
+
**applied** the fix.
|
|
433
|
+
|
|
434
|
+
## Every criterion's Bloom level matches what its rungs demand
|
|
435
|
+
|
|
436
|
+
The declared `bloom_level` is what a met criterion records, so it must be the level the rungs
|
|
437
|
+
actually measure. Read each rung's verbs against this table:
|
|
438
|
+
|
|
439
|
+
| The learner is asked to… | Level |
|
|
440
|
+
|---|---|
|
|
441
|
+
| recall, name, recognise | `KNOWLEDGE` |
|
|
442
|
+
| explain, distinguish, predict, trace why | `COMPREHENSION` |
|
|
443
|
+
| apply, fix, build, use it in the case's code | `APPLICATION` |
|
|
444
|
+
|
|
445
|
+
**Run this comparison before you present the proposal.** It covers every rung of every
|
|
446
|
+
criterion:
|
|
447
|
+
|
|
448
|
+
1. For `achieved` and `exemplary`: does the rung ask for the declared level?
|
|
449
|
+
2. For `not_achieved` and `partial`: does the rung describe falling short **of the declared
|
|
450
|
+
level** — a missing, wrong or incomplete attempt at it — rather than success at another
|
|
451
|
+
level?
|
|
452
|
+
3. Every rung that answers no goes in **Open questions**: name the criterion, the rung, the
|
|
453
|
+
declared level, and the level the rung actually assesses.
|
|
454
|
+
|
|
455
|
+
**Report every miss and present the proposal.** Keep the criterion as drafted: the repair —
|
|
456
|
+
declare the level the rungs assess, or rewrite the rungs to the declared level — changes what
|
|
457
|
+
the case certifies, so it is the author's call. Settle it before publishing: after that, a
|
|
458
|
+
case's declared levels can no longer change.
|
|
459
|
+
|
|
460
|
+
A shape this catches, from a real rubric: `root-cause-diagnosis` declared `APPLICATION`, while
|
|
461
|
+
`achieved` read *"Correctly explains that the path-less before-handler matches before
|
|
462
|
+
routing"* and `exemplary` *"Also distinguishes before vs beforeMatched and predicts the
|
|
463
|
+
over-broad match would intercept 404 traffic too"*. Both rungs ask the learner to explain, so
|
|
464
|
+
a learner who explained the fault well would be recorded at `APPLICATION` without applying
|
|
465
|
+
anything. Its entry in **Open questions**:
|
|
466
|
+
|
|
467
|
+
- `root-cause-diagnosis` declares `APPLICATION`, but `achieved` and `exemplary` ask the
|
|
468
|
+
learner to explain the fault: they assess `COMPREHENSION`.
|
|
469
|
+
|
|
470
|
+
## Descriptions name the topic, never the move
|
|
471
|
+
|
|
472
|
+
Every description written here travels: `/fito-case-generate` copies the
|
|
473
|
+
learning-objective and prerequisite blocks into the case's own files, and
|
|
474
|
+
`/fito-publish-case` drafts the public catalogue page from the learning
|
|
475
|
+
objectives. So
|
|
476
|
+
a description may state **what is broken** and **what the learner will be able
|
|
477
|
+
to do**. It must not state **the move that repairs it** — the reader of a
|
|
478
|
+
catalogue page has not asked for the answer, and the learner reading the case
|
|
479
|
+
files has not opened `solution/notes.md`.
|
|
480
|
+
|
|
481
|
+
Apply one test to each description as you write it:
|
|
482
|
+
|
|
483
|
+
> Could a learner who read only this description, and nothing else from the
|
|
484
|
+
> case, apply the fix? If yes, rewrite it.
|
|
485
|
+
|
|
486
|
+
A learning-objective description:
|
|
487
|
+
|
|
488
|
+
- ✗ "Trace a failing request through the ordered handler chain, identify the
|
|
489
|
+
before-handler that short-circuits it before routing, and apply an idiomatic
|
|
490
|
+
fix that restores correct chain behavior." — hands over the whole diagnosis:
|
|
491
|
+
which handler is at fault and when it fires.
|
|
492
|
+
- ✓ "Trace a failing request through the ordered handler chain and repair the
|
|
493
|
+
composition that breaks it." — the same learning objective at the same
|
|
494
|
+
Bloom level, with the diagnosis left to the learner.
|
|
495
|
+
|
|
496
|
+
A prerequisite description:
|
|
497
|
+
|
|
498
|
+
- ✗ "The read/write split of the Context; specifically that `ctx.result(string)`
|
|
499
|
+
stages a body while `ctx.json(object)` stages a body and sets its media
|
|
500
|
+
type." — states the exact distinction the case exists to teach.
|
|
501
|
+
- ✓ "The read/write split of the Context — how a handler stages a response on
|
|
502
|
+
it." — the same prior knowledge, without the answer.
|
|
503
|
+
|
|
504
|
+
`tutorial` cases are the exception: `task/steps.md` is mandatory for that type
|
|
505
|
+
and the steps *are* the method, so a tutorial has no repair to withhold. The
|
|
506
|
+
rule binds `diagnostic` and `implementation` proposals.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Edit a published Fito case — check its source back out in authoring shape and get oriented for the update
|
|
3
|
+
argument-hint: '<case-id> [--dir <target>]'
|
|
4
|
+
---
|
|
5
|
+
The author wants to update a published Fito case — the beginning of the
|
|
6
|
+
update workflow: put the case source back on their disk in
|
|
7
|
+
**authoring** shape and orient them before any edit. Drive the
|
|
8
|
+
`fito-case-author` skill's checkout script (read its `SKILL.md`) on this
|
|
9
|
+
session — a knowledgeable peer handing an author their own case back.
|
|
10
|
+
Two things hold throughout: relay every stop and warning **verbatim** —
|
|
11
|
+
you relay and ask, never decide — and **published refs are frozen**: the
|
|
12
|
+
`vX.Y.Z` and `case/solution-vX.Y.Z` refs are never rewritten; all
|
|
13
|
+
editing happens on `main`.
|
|
14
|
+
|
|
15
|
+
Parse `$ARGUMENTS`:
|
|
16
|
+
|
|
17
|
+
- **case-id**: the leading free text — the case's UUID, the `<id>` from
|
|
18
|
+
its `/cases/<id>` URL. If it is missing, ask for it first and don't
|
|
19
|
+
run anything until you have it.
|
|
20
|
+
- **--dir <target>** (optional): where to put the checkout; default is
|
|
21
|
+
`~/.fito/authoring/<case-id>`.
|
|
22
|
+
|
|
23
|
+
## 1. Check the case out
|
|
24
|
+
|
|
25
|
+
Run:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
node <fito-case-author skill dir>/checkout.js <case-id>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
(append `--dir <target>` only when the author chose a location). This
|
|
32
|
+
fetches the case and **clones the case repo directly — the author's own
|
|
33
|
+
repo, no fork** — checked out on `main`, the development branch, so the
|
|
34
|
+
tree reads as an authoring context (knowledge ingest with `--source .`
|
|
35
|
+
stays available). No Fito login is needed for a published case;
|
|
36
|
+
`/fito-login` matters only when the case is still the author's
|
|
37
|
+
unpublished draft.
|
|
38
|
+
|
|
39
|
+
- **Refusals** (draft / deprecated / unknown case / non-empty target
|
|
40
|
+
directory) — relay the message verbatim and stop. The script names
|
|
41
|
+
the route: a draft's initial publish is `/fito-publish-case`; a
|
|
42
|
+
deprecated case's correction is a **new case** via `/fito-case-design`;
|
|
43
|
+
a non-empty directory is usually the author's earlier authoring
|
|
44
|
+
checkout — point them at it (or re-run with `--dir`), never delete
|
|
45
|
+
anything yourself.
|
|
46
|
+
- **`⚠` ownership warning** — the local `gh` account does not own the
|
|
47
|
+
case repo. Relay it and continue: editing locally is fine, and
|
|
48
|
+
publishing only needs write access to the case repo (an org
|
|
49
|
+
member/admin has it) — whether and how to publish is the author's
|
|
50
|
+
call, never yours.
|
|
51
|
+
- **`⚠` structural warning** — the cloned `.case/` tree doesn't read
|
|
52
|
+
cleanly. Relay it and route the fix through the validator
|
|
53
|
+
(`node validate.js <dir>`) before any editing.
|
|
54
|
+
|
|
55
|
+
**Done when** it prints `Authoring checkout at:` with the path and
|
|
56
|
+
branch 'main' — or a refusal was relayed verbatim and you stopped.
|
|
57
|
+
|
|
58
|
+
## 2. Orient the author
|
|
59
|
+
|
|
60
|
+
Relay the script's orientation brief: the current published version,
|
|
61
|
+
the latest change description (an initial version has none yet), and
|
|
62
|
+
the `.case/` summary. Then set the frame for the edit — the update
|
|
63
|
+
rules:
|
|
64
|
+
|
|
65
|
+
- The **reference set is frozen**: a correction that changes the
|
|
66
|
+
knowledge references (learning objectives, prerequisites, rubric) is a
|
|
67
|
+
**new case** — design it with `/fito-case-design` and deprecate this
|
|
68
|
+
one.
|
|
69
|
+
- A **same-reference perfection** — starter code, wording, rubric
|
|
70
|
+
phrasing, description — is a **versioned publish**: a new `vX.Y.Z`
|
|
71
|
+
cut from `main`.
|
|
72
|
+
- Published refs are never rewritten — mid-flight learners keep
|
|
73
|
+
working against their pinned versions, untouched.
|
|
74
|
+
|
|
75
|
+
Ask what the author intends to change and check it against the rules
|
|
76
|
+
now — a reference-changing edit discovered at publish time is work
|
|
77
|
+
thrown away.
|
|
78
|
+
|
|
79
|
+
**Done when** the author knows the current version and which of the
|
|
80
|
+
two update paths — new case or versioned publish — their intended edit
|
|
81
|
+
is on.
|
|
82
|
+
|
|
83
|
+
## 3. Hand off
|
|
84
|
+
|
|
85
|
+
The edit happens in the checkout, on `main`: adjust the source and the
|
|
86
|
+
`.case/` contract (re-enter `/fito-case-generate`'s validate loop for
|
|
87
|
+
`.case/` changes, or edit by hand), re-run the validator until clean,
|
|
88
|
+
and commit. Publishing the update — the new version, its change
|
|
89
|
+
description, and the pushed refs — is `/fito-publish-case`, run from
|
|
90
|
+
this checkout: it detects the update and routes to the version-publish
|
|
91
|
+
path automatically. Committed edits on `main` lose nothing by waiting.
|