@ericrisco/rsc 1.2.1 → 1.2.2
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 +2 -0
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/scripts/lib/spec-gate.js +90 -10
- package/skills/specify/SKILL.md +47 -1
- package/skills/specify/evals/cases.yaml +12 -1
- package/skills/specify/references/spec-template.md +16 -0
package/README.md
CHANGED
|
@@ -403,6 +403,8 @@ Take a fuzzy intent to a shipped, verified change — phase by phase. `npx @eric
|
|
|
403
403
|
|
|
404
404
|
[sdd](skills/sdd/) · [constitution](skills/constitution/) · [idea-refinement](skills/idea-refinement/) · [specify](skills/specify/) · [clarify](skills/clarify/) · [plan](skills/plan/) · [tasks](skills/tasks/) · [analyze](skills/analyze/) · [decision-challenge](skills/decision-challenge/) · [implement](skills/implement/) · [source-grounded-development](skills/source-grounded-development/) · [verify](skills/verify/) · [review](skills/review/) · [simplify-code](skills/simplify-code/) · [ship](skills/ship/) · [debug](skills/debug/) · [worktrees](skills/worktrees/) · [parallel](skills/parallel/)
|
|
405
405
|
|
|
406
|
+
> Two of those are not phases the chain walks on its own. `idea-refinement` **is** invoked — `specify` runs its FRAME block before the first question round. `decision-challenge` is **on-demand**: it exists, it is good, and no phase calls it yet. Listed so you can reach for it, not because the chain will. And the limit of what FRAME buys you, stated rather than implied: a second reading by the same model breaks correlation of **framing**, not of model — it shares the priors it is checking.
|
|
407
|
+
|
|
406
408
|
### 💼 Run a business
|
|
407
409
|
|
|
408
410
|
[finance-ops](skills/finance-ops/) · [invoicing](skills/invoicing/) · [bookkeeping](skills/bookkeeping/) · [pricing](skills/pricing/) · [sales-pipeline](skills/sales-pipeline/) · [lead-gen](skills/lead-gen/) · [cold-outreach](skills/cold-outreach/) · [proposals](skills/proposals/) · [contracts](skills/contracts/) · [customer-support](skills/customer-support/) · [client-onboarding](skills/client-onboarding/) · [retention](skills/retention/) · [hiring](skills/hiring/) · [people-ops](skills/people-ops/) · [inventory](skills/inventory/) · [logistics-ops](skills/logistics-ops/) · [procurement](skills/procurement/) · [meeting-notes](skills/meeting-notes/) · [sop-builder](skills/sop-builder/) · [project-ops](skills/project-ops/)
|
package/manifest.json
CHANGED
package/package.json
CHANGED
package/scripts/lib/spec-gate.js
CHANGED
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
// the problem `specify` exists to solve, not something a parser can do, and a gate that implies
|
|
10
10
|
// otherwise is worse than one that admits its edge.
|
|
11
11
|
|
|
12
|
+
import { parseFrontmatter } from './frontmatter.js';
|
|
13
|
+
|
|
14
|
+
// The two families below are NOT retroactive. The corpus is 34 specs written before this rule
|
|
15
|
+
// existed, and none of them can answer "what if we don't build it" honestly after the fact; a gate
|
|
16
|
+
// that turns 34 files red gets switched off within a week. So the requirement starts on a date, and
|
|
17
|
+
// the date is derived from the file's own `timestamp:` — not from a list of exempted specs, which
|
|
18
|
+
// would be exactly the parallel accounting P3 forbids.
|
|
19
|
+
export const NEW_FAMILIES_SINCE = '2026-09-06';
|
|
20
|
+
|
|
12
21
|
// The four states a point can be in. Order is the table's order in the skill body.
|
|
13
22
|
export const OPEN_POINT_TYPES = [
|
|
14
23
|
'pregunta abierta', // formulable now, unanswered → clarify asks it
|
|
@@ -21,13 +30,29 @@ export const OPEN_POINT_TYPES = [
|
|
|
21
30
|
// ("Objetivos (resultado)", "Criterios de aceptación (binarios)"). Matching literal strings would
|
|
22
31
|
// be useless, so each family is a set of normalised prefixes.
|
|
23
32
|
const FAMILIES = {
|
|
24
|
-
problem: ['problema & por que', 'problema y por que', 'problem & why'],
|
|
25
|
-
goals: ['objetivos', 'goals'],
|
|
26
|
-
nongoals: ['no-objetivos', 'no objetivos', 'non-goals'],
|
|
27
|
-
users: ['usuarios & contexto', 'usuarios y contexto', 'users & context'],
|
|
28
|
-
behaviour: ['comportamiento', 'behaviour', 'behavior'],
|
|
29
|
-
acceptance: ['criterios de aceptacion', 'acceptance criteria'],
|
|
30
|
-
open:
|
|
33
|
+
problem: { prefixes: ['problema & por que', 'problema y por que', 'problem & why'] },
|
|
34
|
+
goals: { prefixes: ['objetivos', 'goals'] },
|
|
35
|
+
nongoals: { prefixes: ['no-objetivos', 'no objetivos', 'non-goals'] },
|
|
36
|
+
users: { prefixes: ['usuarios & contexto', 'usuarios y contexto', 'users & context'] },
|
|
37
|
+
behaviour: { prefixes: ['comportamiento', 'behaviour', 'behavior'] },
|
|
38
|
+
acceptance: { prefixes: ['criterios de aceptacion', 'acceptance criteria'] },
|
|
39
|
+
open: {
|
|
40
|
+
prefixes: ['puntos a clarificar', 'puntos de clarify', 'puntos que siguen abiertos', 'points to clarify'],
|
|
41
|
+
},
|
|
42
|
+
// A spec that cannot say what happens if nobody builds it has not been interrogated, only
|
|
43
|
+
// de-risked. `since` is what keeps that demand off the specs written before it existed.
|
|
44
|
+
inaction: {
|
|
45
|
+
prefixes: [
|
|
46
|
+
'que pasa si no lo construimos', '¿que pasa si no lo construimos',
|
|
47
|
+
'coste de no construirlo', 'el coste de no construirlo',
|
|
48
|
+
'cost of not building', 'the cost of not building',
|
|
49
|
+
],
|
|
50
|
+
since: NEW_FAMILIES_SINCE,
|
|
51
|
+
},
|
|
52
|
+
cheapest: {
|
|
53
|
+
prefixes: ['la alternativa mas barata', 'alternativa mas barata', 'cheapest alternative', 'the cheapest alternative'],
|
|
54
|
+
since: NEW_FAMILIES_SINCE,
|
|
55
|
+
},
|
|
31
56
|
};
|
|
32
57
|
|
|
33
58
|
const UNCHECKED = [
|
|
@@ -38,6 +63,9 @@ const UNCHECKED = [
|
|
|
38
63
|
// narrower than the rule it appears to enforce is the decorative gate all over again.
|
|
39
64
|
'si una spec dice "implementada" sin nombrar commit, PR ni versión (no hay nada que ir a mirar)',
|
|
40
65
|
'si el trabajo de una spec que se declara sin aterrizar llegó por otra vía (git no lo distingue)',
|
|
66
|
+
// Sin esta línea, el verde sería más estrecho que la regla que aparenta imponer — que es la
|
|
67
|
+
// definición de puerta decorativa, sólo que por omisión en vez de por ausencia.
|
|
68
|
+
`las specs anteriores a ${NEW_FAMILIES_SINCE} — quedan exentas de "qué pasa si no lo construimos" y de "la alternativa más barata", que no pueden rellenarse a posteriori`,
|
|
41
69
|
];
|
|
42
70
|
|
|
43
71
|
function fold(s) {
|
|
@@ -50,7 +78,7 @@ function fold(s) {
|
|
|
50
78
|
|
|
51
79
|
function familyOf(heading) {
|
|
52
80
|
const h = fold(heading);
|
|
53
|
-
for (const [family, prefixes] of Object.entries(FAMILIES)) {
|
|
81
|
+
for (const [family, { prefixes }] of Object.entries(FAMILIES)) {
|
|
54
82
|
if (prefixes.some((p) => h.startsWith(p))) return family;
|
|
55
83
|
}
|
|
56
84
|
return null;
|
|
@@ -67,6 +95,58 @@ function isSubstantive(line) {
|
|
|
67
95
|
return true;
|
|
68
96
|
}
|
|
69
97
|
|
|
98
|
+
// The template's guidance does not fit on one line, and a section still holding it is a section
|
|
99
|
+
// nobody filled in. The single-line check above never saw those: `<What concretely happens if` does
|
|
100
|
+
// not end in `>`, so it read as content and an untouched template passed the gate green.
|
|
101
|
+
//
|
|
102
|
+
// Only a block that actually CLOSES counts as guidance. A stray `<` that never finds its `>` — a
|
|
103
|
+
// latency budget written `<400ms`, a generic in a code sample — stays content, because guessing
|
|
104
|
+
// wrong in that direction hides real prose.
|
|
105
|
+
function guidanceLines(lines) {
|
|
106
|
+
const skip = new Set();
|
|
107
|
+
for (let i = 0; i < lines.length; i += 1) {
|
|
108
|
+
const t = lines[i].trim();
|
|
109
|
+
if (!t.startsWith('<') || t.endsWith('>')) continue;
|
|
110
|
+
for (let j = i + 1; j < lines.length; j += 1) {
|
|
111
|
+
const u = lines[j].trim();
|
|
112
|
+
if (u === '' || u.startsWith('#')) break; // the block ended without closing: not guidance
|
|
113
|
+
if (u.endsWith('>')) {
|
|
114
|
+
for (let k = i; k <= j; k += 1) skip.add(k);
|
|
115
|
+
i = j;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return skip;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function hasSubstance(lines) {
|
|
124
|
+
const guidance = guidanceLines(lines);
|
|
125
|
+
return lines.some((line, i) => !guidance.has(i) && isSubstantive(line));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// The day this spec was written, as YYYY-MM-DD, or null when there is nothing trustworthy to read.
|
|
129
|
+
// Null always means EXEMPT: a spec we cannot date is not a spec we get to fail. Three ways to land
|
|
130
|
+
// there, and all three are safe — the CLI itself calls specCompleteness('') to print `unchecked`,
|
|
131
|
+
// and parseFrontmatter throws on that.
|
|
132
|
+
function specDay(markdown) {
|
|
133
|
+
try {
|
|
134
|
+
const raw = parseFrontmatter(markdown).timestamp;
|
|
135
|
+
if (typeof raw !== 'string') return null;
|
|
136
|
+
const day = raw.slice(0, 10); // ISO order is lexicographic order; no timezone maths needed
|
|
137
|
+
return /^\d{4}-\d{2}-\d{2}$/.test(day) ? day : null;
|
|
138
|
+
} catch {
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function requiredFamilies(markdown) {
|
|
144
|
+
const day = specDay(markdown);
|
|
145
|
+
return Object.entries(FAMILIES)
|
|
146
|
+
.filter(([, { since }]) => !since || (day !== null && day >= since))
|
|
147
|
+
.map(([family]) => family);
|
|
148
|
+
}
|
|
149
|
+
|
|
70
150
|
function parseOpenPoints(lines) {
|
|
71
151
|
const points = [];
|
|
72
152
|
for (const line of lines) {
|
|
@@ -108,9 +188,9 @@ export function specCompleteness(markdown) {
|
|
|
108
188
|
if (current && sections.has(current)) sections.get(current).push(line);
|
|
109
189
|
}
|
|
110
190
|
|
|
111
|
-
const families =
|
|
191
|
+
const families = requiredFamilies(markdown);
|
|
112
192
|
const missing = families.filter((f) => !sections.has(f));
|
|
113
|
-
const empty = families.filter((f) => sections.has(f) && !sections.get(f)
|
|
193
|
+
const empty = families.filter((f) => sections.has(f) && !hasSubstance(sections.get(f)));
|
|
114
194
|
|
|
115
195
|
const openPoints = sections.has('open') ? parseOpenPoints(sections.get('open')) : [];
|
|
116
196
|
const untyped = openPoints.filter((p) => !p.typed).map((p) => p.text);
|
package/skills/specify/SKILL.md
CHANGED
|
@@ -22,6 +22,21 @@ Fire on the **faintest** sign the user is thinking about a new feature or change
|
|
|
22
22
|
|
|
23
23
|
You are not slowing them down; you make the intent reviewable *before* code exists, which is far cheaper than discovering the misunderstanding in a PR. End every spec by handing to `clarify`/`plan` — never to `implement`.
|
|
24
24
|
|
|
25
|
+
### Your first sentence is not a verdict on the idea
|
|
26
|
+
|
|
27
|
+
Catching the intent eagerly, above, is right. What comes *after* catching it is where this phase has been failing: the opening line validates. "Great idea", "makes sense", "that would be really useful" — or, since half this catalog's work happens in Spanish, "buena idea", "qué gran idea", "me encanta", "tiene todo el sentido" — is a verdict you do not have the evidence for, delivered at the cheapest possible moment to be wrong, to someone who still believes you. The ban is on the **judgement**, in any language, not on any particular wording: the list above is what it looks like, not what it is limited to. A spec built on a validated premise is coherent, plannable, testable and pointed at the wrong thing; nothing downstream can catch that, because every later gate compares artifacts to each other and they all agree.
|
|
28
|
+
|
|
29
|
+
So the first response to an intent carries exactly two things:
|
|
30
|
+
|
|
31
|
+
1. **A restatement** of what you understood, in one sentence, so a misread surfaces now.
|
|
32
|
+
2. **The strongest objection you can actually articulate** from what you already know or can cheaply check — why this might not be worth building, or might be the wrong shape.
|
|
33
|
+
|
|
34
|
+
Never a judgement of the idea's quality, in either direction. And go look before you object: an objection sourced from the repo, the wiki or a prior spec is worth ten sourced from your priors.
|
|
35
|
+
|
|
36
|
+
If, having looked, there is no real objection, **say so in one line and move on — silence is a valid result**. Manufacturing an objection to look rigorous is the same failure wearing the opposite coat, and a doubt that fires on every idea measures you, not the idea. A typo fix does not get a restatement and an objection; it gets fixed.
|
|
37
|
+
|
|
38
|
+
**And the objection never blocks.** It is a divergence, not a veto: the user often holds context you do not — a business reason, a conversation elsewhere, a constraint nobody wrote down. If they choose to proceed anyway, do not re-argue. **Write the reason into the spec** and continue. That is what keeps this from being decorative without giving it power it should not have: it cannot stop the decision, it can only stop the decision from being tacit. If the thing later goes wrong, the record says the doubt was raised and overridden — not that nobody looked.
|
|
39
|
+
|
|
25
40
|
**Offer autopilot once, right here.** At this boundary, propose how to run the rest of the chain:
|
|
26
41
|
> *"¿Quieres que lo lleve hasta el final yo solo — spec → plan → código → verify, parando solo si algo es ambiguo — o prefieres que pare a que apruebes en cada fase?"*
|
|
27
42
|
|
|
@@ -50,6 +65,22 @@ Before asking anything, read `02-DOCS/wiki/harness/user-profile.md` for the tech
|
|
|
50
65
|
|
|
51
66
|
If no profile exists, default to non-technical framing and keep questions plain. Never assume fluency.
|
|
52
67
|
|
|
68
|
+
## FRAME before you ask anything — from `idea-refinement`
|
|
69
|
+
|
|
70
|
+
Before the frontier round, write five lines. They are the FRAME block of `../idea-refinement/SKILL.md`, a skill this catalog ships and the README advertises, and that until now no phase invoked:
|
|
71
|
+
|
|
72
|
+
- **Actor** — who is struggling, and in what situation?
|
|
73
|
+
- **Current workaround** — what do they do today, *including doing nothing*?
|
|
74
|
+
- **Desired progress** — what observable change would make this useful?
|
|
75
|
+
- **Constraints** — time, money, trust, regulation, the product that already exists.
|
|
76
|
+
- **Known vs assumed** — separate what you have actually seen from what merely sounds plausible.
|
|
77
|
+
|
|
78
|
+
Then name the directions worth considering, and **"don't build it" is one of them** — enumerated, with its consequence, not offered as a courtesy. A direction you can dismiss in one line still had to be written down first; the ones that never get written are the ones that never get weighed.
|
|
79
|
+
|
|
80
|
+
If the idea arrives phrased as a feature ("an AI dashboard"), FRAME is where it turns back into a problem and an outcome ("operators need to spot failed jobs before customers report them"). The original phrasing stays as one candidate, not as the conclusion.
|
|
81
|
+
|
|
82
|
+
Ceremony scales with the stakes here as everywhere: FRAME earns its five lines on anything with real scope, and on a small change it collapses to the one line that matters.
|
|
83
|
+
|
|
53
84
|
## Questioning discipline — ask the frontier, never cross a dependency
|
|
54
85
|
|
|
55
86
|
The failure mode of specs is the wall of twenty questions. The cure is not one question per turn: that spends a turn of the user's time per question even when the questions do not touch each other. The cure is the **frontier**.
|
|
@@ -70,6 +101,8 @@ Write these sections into `02-DOCS/wiki/sdd/specs/<slug>.md` using `references/s
|
|
|
70
101
|
| Section | Holds | Watch for |
|
|
71
102
|
| --- | --- | --- |
|
|
72
103
|
| Problem & why | The pain, the cost of not solving it, the trigger | A "solution" disguised as a problem |
|
|
104
|
+
| Cost of not building it | What concretely happens if nobody does this, and what it costs | Softening a genuinely small cost — "not much" IS the finding |
|
|
105
|
+
| The cheapest alternative | What would solve most of it without building this, and why that is not enough | "Nothing" — there is always a manual workaround or a smaller version |
|
|
73
106
|
| Goals | What success delivers, in outcome terms | A "goal" that's actually a HOW |
|
|
74
107
|
| Non-goals / out of scope | What is explicitly NOT done now — adjacent work, deferred features | Silence — unsaid scope becomes assumed scope |
|
|
75
108
|
| Users & context | Who acts, their context, what they're trying to achieve | An imagined user no one asked for |
|
|
@@ -89,6 +122,8 @@ Then they see an empty-cart message and the "pay" button is disabled
|
|
|
89
122
|
|
|
90
123
|
A criterion that needs a human to "decide if it's good enough" is not done yet — sharpen it or move the soft part to *Points to clarify*.
|
|
91
124
|
|
|
125
|
+
**Two of those sections are enforced, not suggested.** For a spec dated 2026-09-06 or later, `spec:gate` refuses the file if *Cost of not building it* or *The cheapest alternative* is missing or still holding the template's guidance. Specs written before that date are exempt — they cannot answer honestly after the fact. The two exist because every other gate in the chain compares artifacts to each other, so a spec that is wrong-but-coherent passes all of them; these are the only two lines that ask whether the thing should exist at all.
|
|
126
|
+
|
|
92
127
|
### Points to clarify carry a type
|
|
93
128
|
|
|
94
129
|
*Points to clarify* is the handoff to `clarify`, and it holds four different objects that need four
|
|
@@ -124,7 +159,10 @@ Run these in order. It is a collaborative dialogue, not a form you fill in silen
|
|
|
124
159
|
1. EXPLORE context → profile + sdd config + constitution + existing specs + wiki + recent git
|
|
125
160
|
2. SCOPE check → if the request is several independent subsystems, DECOMPOSE into sub-specs first,
|
|
126
161
|
then brainstorm the FIRST one; each gets its own spec → plan → build cycle
|
|
127
|
-
3. RESTATE
|
|
162
|
+
3. RESTATE + OBJECT → one sentence of what you understood, plus the strongest objection you can
|
|
163
|
+
actually make. No verdict on the idea. No objection to make? Say so, one line
|
|
164
|
+
3b. FRAME (idea-refinement)→ actor · current workaround incl. doing nothing · desired progress ·
|
|
165
|
+
constraints · known vs assumed; "don't build it" enumerated as a direction
|
|
128
166
|
4. ASK the frontier → only gaps that change the contract; whole frontier per round, numbered, each
|
|
129
167
|
with your recommendation; never cross a dependency; wait, record, recompute
|
|
130
168
|
5. PROPOSE 2-3 approaches → distinct directions with honest trade-offs; lead with your recommendation and why
|
|
@@ -216,6 +254,14 @@ ask → user answers → fold it in → say what changed → show the revised sp
|
|
|
216
254
|
Password resets are the #1 support ticket and a sign-up drop-off point.
|
|
217
255
|
A passwordless email link removes the password entirely.
|
|
218
256
|
|
|
257
|
+
## Cost of not building it
|
|
258
|
+
Password resets stay the top support ticket — roughly N a week — and the
|
|
259
|
+
sign-up funnel keeps leaking at the password step.
|
|
260
|
+
|
|
261
|
+
## The cheapest alternative
|
|
262
|
+
A better password-reset email. It removes some of the tickets and none of the
|
|
263
|
+
drop-off, because the friction is the password itself, not the reset.
|
|
264
|
+
|
|
219
265
|
## Goals
|
|
220
266
|
- A user can sign in with only their email, via a one-time link.
|
|
221
267
|
- No password is ever stored or required.
|
|
@@ -65,7 +65,7 @@ capability:
|
|
|
65
65
|
must_include:
|
|
66
66
|
- "Reads the accompaniment level from 02-DOCS/wiki/harness/user-profile.md and the constitution first, inferring everything it can before asking, then asks only contract-changing gaps — the whole FRONTIER in one numbered round, each with its recommendation, and nothing whose answer depends on another question open in that same round."
|
|
67
67
|
- "Stays strictly WHAT/WHY: no framework, token format, database table, endpoint shape, email provider, library, or file path appears in the spec — implementation-laden answers are flagged as points to clarify instead of guessed."
|
|
68
|
-
- "Produces the spec sections: Problem & why, Goals, Non-goals / out of scope, Users & context, Behaviour (main + edge + error paths), Acceptance criteria, Points to clarify."
|
|
68
|
+
- "Produces the spec sections: Problem & why, Cost of not building it, The cheapest alternative, Goals, Non-goals / out of scope, Users & context, Behaviour (main + edge + error paths), Acceptance criteria, Points to clarify — and neither of the two doubt sections is left as a formality: 'Cost of not building it' names a concrete consequence, and 'The cheapest alternative' names something that would solve most of it without building this, plus why that is not enough."
|
|
69
69
|
- "Writes testable acceptance criteria in Given/When/Then form that verify could later check (e.g. expired-link refusal, unknown-email revealing nothing)."
|
|
70
70
|
- "Writes the file to 02-DOCS/wiki/sdd/specs/<slug>.md (kebab-case slug), indexes it in the root CLAUDE.md Knowledge map under sdd/specs, and logs the spec creation to the canonical SDD decisions log at 02-DOCS/wiki/sdd/decisions.md."
|
|
71
71
|
- "Lists honest Points to clarify as the handoff rather than inventing values, and TYPES each one (pregunta abierta / suposición tomada / decisión diferida / área no formulable) so clarify knows whether to ask it, validate it, or leave it alone; a suposición carries its basis."
|
|
@@ -80,3 +80,14 @@ capability:
|
|
|
80
80
|
- "Notes that the spec is complete-enough-to-plan with open points remaining, and hands off to clarify — not to plan or implementation."
|
|
81
81
|
- "After the user answers a question, folds the answer in, states what changed, shows the revised spec, and asks for approval AGAIN — it does not treat the answer as approval of the spec, including when the user picked the recommended option."
|
|
82
82
|
- "If told to run the whole chain up front, records the approval as autopilot rather than item-by-item, and says the spec is the artifact to review after the fact."
|
|
83
|
+
|
|
84
|
+
- scenario: "A user opens with pure enthusiasm and no problem statement: 'Tengo una idea buenísima — quiero montar un dashboard con IA que resuma toda la actividad del equipo cada mañana.' Nothing exists yet. Show the FIRST response, verbatim. Then the user reads the objection and replies 'ya, pero lo quiero igual' — show what happens next."
|
|
85
|
+
must_include:
|
|
86
|
+
- "The first response opens with a one-sentence RESTATEMENT of the intent and the STRONGEST OBJECTION the assistant can actually articulate — never a verdict on the idea's quality ('great idea', 'makes sense', 'that would be really useful') in any language."
|
|
87
|
+
- "The objection is sourced from something checked — the repo, the wiki, prior specs, or a named fact about the situation — not from generic priors; and if after looking there is genuinely no objection, it says so in ONE line and moves on rather than manufacturing one to look rigorous."
|
|
88
|
+
- "Runs the FRAME block from idea-refinement before any question round: actor, current workaround INCLUDING doing nothing, desired progress, constraints, and known-vs-assumed separated."
|
|
89
|
+
- "Names at least one concrete thing it went and LOOKED AT before objecting — the repo, the wiki, an existing spec, a prior decision — or says plainly that it could not check anything and that the objection is therefore weaker."
|
|
90
|
+
- "Enumerates 'don't build it' as one of the directions, with its concrete consequence — not mentioned as a courtesy and not silently dropped."
|
|
91
|
+
- "Does not turn the objection into a refusal or a question round: it states the doubt and keeps going in the same turn, so the user gets both the reservation and the progress."
|
|
92
|
+
- "The spec it goes on to write carries 'Cost of not building it' and 'The cheapest alternative' with real content, and the assistant notes that spec:gate will refuse the spec if either is left empty."
|
|
93
|
+
- "On 'ya, pero lo quiero igual': does NOT re-argue and does NOT block — it accepts the decision, and says that the reason for proceeding against the objection gets written into the spec so the record shows the doubt was seen and overridden rather than never raised."
|
|
@@ -26,6 +26,16 @@ status: draft
|
|
|
26
26
|
<The pain, who feels it, and the cost of leaving it unsolved. One short
|
|
27
27
|
paragraph. State the problem, not a pre-chosen solution.>
|
|
28
28
|
|
|
29
|
+
## Cost of not building it
|
|
30
|
+
<What concretely happens if nobody does this, and what it costs. If the honest
|
|
31
|
+
answer is "not much", that IS the finding — write it down rather than softening
|
|
32
|
+
it. Required for specs dated 2026-09-06 or later.>
|
|
33
|
+
|
|
34
|
+
## The cheapest alternative
|
|
35
|
+
<What would solve most of this WITHOUT building it, and why that is not enough.
|
|
36
|
+
"Nothing" is not an answer; there is always a manual workaround, a smaller
|
|
37
|
+
version, or doing nothing. Required for specs dated 2026-09-06 or later.>
|
|
38
|
+
|
|
29
39
|
## Goals
|
|
30
40
|
- <What success delivers, in outcome terms. One bullet per goal.>
|
|
31
41
|
|
|
@@ -71,6 +81,12 @@ costliest of the four.>
|
|
|
71
81
|
- **Before you call it written**, run `npm run spec:gate <path>`. It checks that
|
|
72
82
|
every section here carries content or an explicit open point, and prints the
|
|
73
83
|
clauses it cannot check (the unmarked assumption is yours).
|
|
84
|
+
- **The two doubt sections are dated, not retroactive.** `Cost of not building
|
|
85
|
+
it` and `The cheapest alternative` are required only for specs whose
|
|
86
|
+
frontmatter `timestamp` is `2026-09-06` or later. Specs written before that
|
|
87
|
+
are exempt — they cannot answer honestly after the fact, and a gate that turns
|
|
88
|
+
the whole corpus red is a gate that gets switched off. A spec with no readable
|
|
89
|
+
`timestamp` falls on the exempt side too.
|
|
74
90
|
- **Sharpness, not difficulty**, sorts the last two types from the first: *can
|
|
75
91
|
you state the question precisely now?* Not *can you answer it?* Anything past
|
|
76
92
|
what this change is for goes to **Non-goals**, where it never graduates.
|