fdeops 4.1.0 → 5.0.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/AGENTS.md +2 -2
- package/README.md +88 -247
- package/bin/generate-skills.js +90 -17
- package/bin/install.js +30 -2
- package/bin/skill-catalog.js +14 -14
- package/mcp/fdeops-ingest/package.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/build/.fde-generated.json +16 -0
- package/skills/{fde-build → build}/SKILL.md +2 -2
- package/skills/debug/.fde-generated.json +16 -0
- package/skills/{fde-debug → debug}/SKILL.md +2 -2
- package/skills/discover/.fde-generated.json +10 -0
- package/skills/{fde-discover → discover}/SKILL.md +2 -2
- package/skills/discover/references/discover.md +112 -0
- package/skills/evaluate/.fde-generated.json +16 -0
- package/skills/{fde-evaluate → evaluate}/SKILL.md +2 -2
- package/skills/fde/SKILL.md +2 -2
- package/skills/fde/references/close.md +1 -1
- package/skills/fde/references/discover.md +66 -208
- package/skills/fde/references/readout.md +6 -4
- package/skills/feedback/.fde-generated.json +9 -0
- package/skills/{fde-feedback → feedback}/SKILL.md +2 -2
- package/skills/handoff/.fde-generated.json +10 -0
- package/skills/{fde-handoff → handoff}/SKILL.md +2 -2
- package/skills/{fde-handoff → handoff}/references/close.md +1 -1
- package/skills/integrate/.fde-generated.json +16 -0
- package/skills/{fde-integrate → integrate}/SKILL.md +2 -2
- package/skills/options/.fde-generated.json +11 -0
- package/skills/{fde-options → options}/SKILL.md +2 -2
- package/skills/poc/.fde-generated.json +23 -0
- package/skills/{fde-poc → poc}/SKILL.md +2 -2
- package/skills/poc/references/discover.md +112 -0
- package/skills/qa/.fde-generated.json +16 -0
- package/skills/{fde-qa → qa}/SKILL.md +2 -2
- package/skills/readout/.fde-generated.json +11 -0
- package/skills/{fde-readout → readout}/SKILL.md +2 -2
- package/skills/{fde-readout → readout}/references/readout.md +6 -4
- package/skills/review/.fde-generated.json +16 -0
- package/skills/{fde-review → review}/SKILL.md +2 -2
- package/skills/scope/.fde-generated.json +9 -0
- package/skills/{fde-scope → scope}/SKILL.md +2 -2
- package/skills/ship/.fde-generated.json +16 -0
- package/skills/{fde-ship → ship}/SKILL.md +2 -2
- package/skills/fde-discover/references/discover.md +0 -254
- package/skills/fde-poc/references/discover.md +0 -254
- /package/skills/{fde-build → build}/references/build.md +0 -0
- /package/skills/{fde-build → build}/references/debug.md +0 -0
- /package/skills/{fde-build → build}/references/eval-pack.md +0 -0
- /package/skills/{fde-build → build}/references/integrate.md +0 -0
- /package/skills/{fde-build → build}/references/qa.md +0 -0
- /package/skills/{fde-build → build}/references/review.md +0 -0
- /package/skills/{fde-build → build}/references/ship.md +0 -0
- /package/skills/{fde-build → build}/references/task-context.md +0 -0
- /package/skills/{fde-build → build}/references/verification.md +0 -0
- /package/skills/{fde-debug → debug}/references/build.md +0 -0
- /package/skills/{fde-debug → debug}/references/debug.md +0 -0
- /package/skills/{fde-debug → debug}/references/eval-pack.md +0 -0
- /package/skills/{fde-debug → debug}/references/integrate.md +0 -0
- /package/skills/{fde-debug → debug}/references/qa.md +0 -0
- /package/skills/{fde-debug → debug}/references/review.md +0 -0
- /package/skills/{fde-debug → debug}/references/ship.md +0 -0
- /package/skills/{fde-debug → debug}/references/task-context.md +0 -0
- /package/skills/{fde-debug → debug}/references/verification.md +0 -0
- /package/skills/{fde-discover → discover}/references/audit.md +0 -0
- /package/skills/{fde-discover → discover}/references/task-context.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/build.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/debug.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/eval-pack.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/integrate.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/qa.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/review.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/ship.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/task-context.md +0 -0
- /package/skills/{fde-evaluate → evaluate}/references/verification.md +0 -0
- /package/skills/{fde-feedback → feedback}/references/encode-pattern.md +0 -0
- /package/skills/{fde-feedback → feedback}/references/task-context.md +0 -0
- /package/skills/{fde-handoff → handoff}/references/encode-pattern.md +0 -0
- /package/skills/{fde-handoff → handoff}/references/task-context.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/build.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/debug.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/eval-pack.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/integrate.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/qa.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/review.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/ship.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/task-context.md +0 -0
- /package/skills/{fde-integrate → integrate}/references/verification.md +0 -0
- /package/skills/{fde-options → options}/references/business-case.md +0 -0
- /package/skills/{fde-options → options}/references/task-context.md +0 -0
- /package/skills/{fde-options → options}/references/test-assumptions.md +0 -0
- /package/skills/{fde-options → options}/references/three-options.md +0 -0
- /package/skills/{fde-poc → poc}/references/audit.md +0 -0
- /package/skills/{fde-poc → poc}/references/build.md +0 -0
- /package/skills/{fde-poc → poc}/references/business-case.md +0 -0
- /package/skills/{fde-poc → poc}/references/debug.md +0 -0
- /package/skills/{fde-poc → poc}/references/eval-pack.md +0 -0
- /package/skills/{fde-poc → poc}/references/integrate.md +0 -0
- /package/skills/{fde-poc → poc}/references/plan.md +0 -0
- /package/skills/{fde-poc → poc}/references/poc.md +0 -0
- /package/skills/{fde-poc → poc}/references/qa.md +0 -0
- /package/skills/{fde-poc → poc}/references/review.md +0 -0
- /package/skills/{fde-poc → poc}/references/ship.md +0 -0
- /package/skills/{fde-poc → poc}/references/task-context.md +0 -0
- /package/skills/{fde-poc → poc}/references/test-assumptions.md +0 -0
- /package/skills/{fde-poc → poc}/references/three-options.md +0 -0
- /package/skills/{fde-poc → poc}/references/verification.md +0 -0
- /package/skills/{fde-qa → qa}/references/build.md +0 -0
- /package/skills/{fde-qa → qa}/references/debug.md +0 -0
- /package/skills/{fde-qa → qa}/references/eval-pack.md +0 -0
- /package/skills/{fde-qa → qa}/references/integrate.md +0 -0
- /package/skills/{fde-qa → qa}/references/qa.md +0 -0
- /package/skills/{fde-qa → qa}/references/review.md +0 -0
- /package/skills/{fde-qa → qa}/references/ship.md +0 -0
- /package/skills/{fde-qa → qa}/references/task-context.md +0 -0
- /package/skills/{fde-qa → qa}/references/verification.md +0 -0
- /package/skills/{fde-readout → readout}/references/board-memo.md +0 -0
- /package/skills/{fde-readout → readout}/references/business-case.md +0 -0
- /package/skills/{fde-readout → readout}/references/task-context.md +0 -0
- /package/skills/{fde-review → review}/references/build.md +0 -0
- /package/skills/{fde-review → review}/references/debug.md +0 -0
- /package/skills/{fde-review → review}/references/eval-pack.md +0 -0
- /package/skills/{fde-review → review}/references/integrate.md +0 -0
- /package/skills/{fde-review → review}/references/qa.md +0 -0
- /package/skills/{fde-review → review}/references/review.md +0 -0
- /package/skills/{fde-review → review}/references/ship.md +0 -0
- /package/skills/{fde-review → review}/references/task-context.md +0 -0
- /package/skills/{fde-review → review}/references/verification.md +0 -0
- /package/skills/{fde-scope → scope}/references/hold-scope.md +0 -0
- /package/skills/{fde-scope → scope}/references/task-context.md +0 -0
- /package/skills/{fde-ship → ship}/references/build.md +0 -0
- /package/skills/{fde-ship → ship}/references/debug.md +0 -0
- /package/skills/{fde-ship → ship}/references/eval-pack.md +0 -0
- /package/skills/{fde-ship → ship}/references/integrate.md +0 -0
- /package/skills/{fde-ship → ship}/references/qa.md +0 -0
- /package/skills/{fde-ship → ship}/references/review.md +0 -0
- /package/skills/{fde-ship → ship}/references/ship.md +0 -0
- /package/skills/{fde-ship → ship}/references/task-context.md +0 -0
- /package/skills/{fde-ship → ship}/references/verification.md +0 -0
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
# discover - Frame the problem
|
|
2
|
-
|
|
3
|
-
**Enter when:** the brief feels wrong, the real problem is unclear, shadow processes are suspected, or any phase found that the map is missing.
|
|
4
|
-
|
|
5
|
-
**Read first:** `context.md`, `brief.md`. Load `terrain.md` if it exists - extend it, never regenerate from scratch.
|
|
6
|
-
|
|
7
|
-
## Validation gate (confirm understanding, clarify where it elevates)
|
|
8
|
-
|
|
9
|
-
Before discovering, state what you're investigating and why in 2-3 lines:
|
|
10
|
-
|
|
11
|
-
> "Investigating: [the hypothesis or problem area]. This informs: [the decision it feeds - descope/rescope/pick A over B]. Existing terrain: [what's already mapped vs. what's unknown]."
|
|
12
|
-
|
|
13
|
-
Then check - probe ONLY if it prevents wasted discovery:
|
|
14
|
-
|
|
15
|
-
1. **Hypothesis is testable.** If the stated problem is unfalsifiable ("the architecture is wrong") → rephrase it: "I'd narrow this to: [specific testable claim]. That closer to what you're seeing?"
|
|
16
|
-
2. **Discovery feeds a decision.** If there's no named decision → one line: "What changes depending on what we find? That keeps the discovery focused."
|
|
17
|
-
3. **Not repeating previous work.** If terrain.md already covers this area → name it: "Terrain already maps this from Day [X]. Extending it or has something shifted?"
|
|
18
|
-
|
|
19
|
-
State your read, let the FDE correct, then discover.
|
|
20
|
-
|
|
21
|
-
Before asking for facts, inspect the supplied brief and existing redacted records for the answer. Once the decision frame is confirmed and code access is authorized, use the scan below and targeted file reads to resolve technical unknowns. Phrase remaining questions around the discrepancy found: “The queue already exists, but alerts are disabled; who currently checks it?”
|
|
22
|
-
|
|
23
|
-
## Brief interrogation (when the hypothesis is still mush)
|
|
24
|
-
|
|
25
|
-
Use when the "problem" is unfalsifiable, success is undefined, or you cannot name the decision discovery informs. Skip when `reality.md` / `terrain.md` already pin a testable claim and the FDE is ready to dig.
|
|
26
|
-
|
|
27
|
-
Same format as land - one Q + GUESS, no checklist:
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
READ: <the real problem you think exists, in one sentence>
|
|
31
|
-
CONFIDENCE: ~NN% - missing: <what would falsify or confirm it>
|
|
32
|
-
Q: <one question that changes where you dig>
|
|
33
|
-
GUESS: <your answer, so they can correct it>
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
Stop when you can write the four lines under **Frame the decision first**. If a name, quote, or metric is still missing, write `unknown - ask:` - never invent ops folklore to make the map look complete.
|
|
37
|
-
|
|
38
|
-
## Frame the decision first
|
|
39
|
-
|
|
40
|
-
Same SCQA spine as readout (`S → C → Q → A`), aimed at the floor, not a deck. Write it **before** any scan. Confirm with the FDE, then dig.
|
|
41
|
-
|
|
42
|
-
| Line | What it is | Fail if |
|
|
43
|
-
|------|------------|---------|
|
|
44
|
-
| **Situation** | What they already treat as true - the workaround, the sheet, the owner who left | It could be copied from the RFP |
|
|
45
|
-
| **Complication** | What broke, so they cannot stay here | No tension, or three problems joined by "and" |
|
|
46
|
-
| **Question** | One decision the named signer must make | It smuggles the solution ("how do we add alerting") |
|
|
47
|
-
| **Answer-space** | Shape of a satisfying answer: confirm brief / descope / rescope / pause | A novel, or "insights" |
|
|
48
|
-
|
|
49
|
-
Tests on **Question** - rewrite until all five hold:
|
|
50
|
-
|
|
51
|
-
1. **Decision-shaped** - answering it changes what someone does.
|
|
52
|
-
2. **Single** - one thing, not three.
|
|
53
|
-
3. **Scoped** - who, where, by when.
|
|
54
|
-
4. **Answerable** - evidence could settle it in this engagement.
|
|
55
|
-
5. **Neutral** - does not assume the fix.
|
|
56
|
-
|
|
57
|
-
Cannot write the Question → keep interrogating. Do not `fde scan`. Every later output of this phase aims at that Question. Sub-questions go to the operating map or `assumptions.md`, not into the Question.
|
|
58
|
-
|
|
59
|
-
## Parts of the problem (decompose only)
|
|
60
|
-
|
|
61
|
-
After the Question is locked, and **before** `fde scan` or any option: write what the problem is made of. No advice, no playbook, no solution.
|
|
62
|
-
|
|
63
|
-
If the stated brief hides a deeper job, name that deeper job in one sentence and **wait**. Do not silently replace their problem with yours.
|
|
64
|
-
|
|
65
|
-
In `terrain.md` under `## Parts`, list the smallest useful pieces that still change what you examine next. Typical cuts: people, process step, system, data, time, cost. For each piece: what it contains, and how it connects to the Question. Stop when a further split would not change where you dig.
|
|
66
|
-
|
|
67
|
-
Do not mark pieces as facts or assumptions here. That is `test-assumptions`. Do not assemble options here. That is `three-options`.
|
|
68
|
-
|
|
69
|
-
## Method - part 1: the codebase (you do this work)
|
|
70
|
-
|
|
71
|
-
**First code move: `fde scan`** - after the Question is locked. It runs everything below deterministically in seconds (churn×tests, "temporary" archaeology, AI components, secrets redacted, previous attempts). Your job is then **interpretation**: read its output against the brief, follow the hotspots into the code, and connect the technical findings to the human signals in part 2.
|
|
72
|
-
|
|
73
|
-
If the CLI is unavailable, run the manual commands below. Either way: do not load the full codebase into context - scan wide, read deep only on hotspots.
|
|
74
|
-
|
|
75
|
-
**1. Stack and age.** Language, framework, build system, date of last major upgrade:
|
|
76
|
-
```bash
|
|
77
|
-
git log --reverse --format="%ad" --date=short | head -1 # repo birth
|
|
78
|
-
git log -1 --format="%ad" --date=short # last commit
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**2. Churn heat - the modules everyone touches but fears:**
|
|
82
|
-
```bash
|
|
83
|
-
git log --since="90 days ago" --name-only --pretty=format: | sort | uniq -c | sort -rn | head -20
|
|
84
|
-
```
|
|
85
|
-
The highest-churn file in a legacy codebase is the one everyone is afraid to refactor but cannot avoid touching. Cross-reference with complexity (file size, nesting) and mark "handle with care."
|
|
86
|
-
|
|
87
|
-
**3. Test gaps - what's covered, what's a lie:**
|
|
88
|
-
```bash
|
|
89
|
-
find . -path ./node_modules -prune -o -name "*test*" -print | head -30
|
|
90
|
-
```
|
|
91
|
-
Map test files against the churn list. A high-churn module with no test neighbors is a load-bearing wall with no insurance. Spot-read the tests that do exist: tests that pass but assert nothing are worse than no tests - note them.
|
|
92
|
-
|
|
93
|
-
**4. The "temporary" archaeology** (repeat `--include` per extension - brace globs silently match nothing):
|
|
94
|
-
```bash
|
|
95
|
-
grep -rnE "HACK|FIXME|XXX|temporary|for now|remove this|workaround" \
|
|
96
|
-
--include="*.js" --include="*.ts" --include="*.py" --include="*.java" \
|
|
97
|
-
--include="*.go" --include="*.rb" --include="*.cs" --include="*.php" . | head -30
|
|
98
|
-
```
|
|
99
|
-
Temporary code in production is permanent code with an excuse. Each hit is a candidate for "what was never built properly."
|
|
100
|
-
|
|
101
|
-
**5. AI components - they fail silently:**
|
|
102
|
-
```bash
|
|
103
|
-
grep -rlnE "openai|anthropic|llm|prompt|embedding|vector|inference" \
|
|
104
|
-
--include="*.js" --include="*.ts" --include="*.py" --include="*.java" \
|
|
105
|
-
--include="*.go" . | head -20
|
|
106
|
-
```
|
|
107
|
-
Flag every one. AI components don't fail like regular code - they degrade as the world changes. Each needs: model version, fallback path (or note its absence), observability (or note its absence).
|
|
108
|
-
|
|
109
|
-
**6. Data flow.** Where data enters, how it moves, where it stops. Entry points first: routes, queues, cron, file drops.
|
|
110
|
-
|
|
111
|
-
**7. Existing capability.** Trace the requested user action through existing code, configuration, tests, and operating workarounds. In `terrain.md`, record what can already be reused and the evidence that it works or fails. Check whether a configuration, ownership, or process change could resolve the observed break. A disabled feature is a lead, not a proven root cause. Keep observations and hypotheses distinct; option selection still belongs to plan / three-options. Summarize the remaining gap in `reality.md`: what works today → what the customer needs → what is still missing, with sources. If existing capability meets the need, say so; do not manufacture a build requirement.
|
|
112
|
-
|
|
113
|
-
## Method - part 2: the humans (you coach, the FDE asks)
|
|
114
|
-
|
|
115
|
-
The real spec is what people **do** when the system fails - not what the slide deck says. Arm the FDE with these, in their own words:
|
|
116
|
-
|
|
117
|
-
- **"How is the team coping today without the fix?"** - the workaround is the honest requirements doc.
|
|
118
|
-
- **Find the spreadsheet.** Almost always there. Whoever maintains it is the best interview in the building.
|
|
119
|
-
- **The hesitation.** When someone says "well, there's also this other thing we do…" - stop them, ask them to finish. The main story is what they're comfortable explaining; the hesitation is the real problem.
|
|
120
|
-
- **"Which part of the codebase do you least want to touch?"** The answer is unanimous and it's the load-bearing wall. Check it against your churn scan - when the human answer and the churn data agree, that's your first map landmark.
|
|
121
|
-
- **Shadow AI.** Someone pasting data into ChatGPT to cope = a real unmet need + an uncontrolled data risk. Note both.
|
|
122
|
-
- **Exception-led operating map.** For each real break (not the slide-deck process): what fails, who notices first, what they do today, and which artifact is trusted in that moment. Prefer exceptions over happy-path swimlanes - the workaround is the operating system. Write rows under `terrain.md` → `## Operating map (exception-led)`. If the section is missing on an older engagement, add it; never regenerate the rest of terrain. When AI is in play, also fill `## Intelligence placement` (deterministic vs LLM judgement vs human approve). **`fde doctor` requires at least one filled exception row before plan/ship/outcome/close** - empty map after discover is a hygiene fail, not optional polish.
|
|
123
|
-
|
|
124
|
-
## Method - part 3: workshop facilitation
|
|
125
|
-
|
|
126
|
-
When discovery requires a structured session with multiple stakeholders (alignment, prioritisation, design):
|
|
127
|
-
|
|
128
|
-
**Before the room:**
|
|
129
|
-
- Define the single decision the workshop must produce - not "discuss options" but "rank the three candidates and commit to one."
|
|
130
|
-
- Cap at 8 people. Every person above 8 halves the probability of a decision.
|
|
131
|
-
- Time-box: 90 minutes max. Anything longer splits into two sessions.
|
|
132
|
-
- Pre-read: one page, sent 48 hours ahead. Nobody will read more.
|
|
133
|
-
|
|
134
|
-
**In the room (the FDE facilitates, not presents):**
|
|
135
|
-
1. **5 min - frame.** One slide: the decision, the constraint, the deadline. No history lesson.
|
|
136
|
-
2. **15 min - diverge.** Silent post-its (or digital equivalent). Everyone writes before anyone talks - prevents the loudest voice dominating.
|
|
137
|
-
3. **20 min - cluster.** Group themes, name them. The FDE does NOT label - the room labels.
|
|
138
|
-
4. **30 min - converge.** Dot-vote or forced-rank. The FDE counts, the room decides.
|
|
139
|
-
5. **10 min - lock.** State the decision back. "We're saying X. Anyone who can't live with this, speak now." Silence = consent.
|
|
140
|
-
6. **10 min - next steps.** Who does what by when. Written before people stand up.
|
|
141
|
-
|
|
142
|
-
**After the room:** Summary in `decisions.md` within 2 hours. Decisions decay - what felt clear at 3pm is debatable by 5pm if unwritten.
|
|
143
|
-
|
|
144
|
-
## Method - part 4: data estate and the pipe
|
|
145
|
-
|
|
146
|
-
Always map the estate before you score a use case - not only when someone said "AI." A path they cannot feed is a discover miss, not a ship surprise.
|
|
147
|
-
|
|
148
|
-
**Their words first.** In `terrain.md`, write the names the floor uses for the workaround, the sheet, the exception path, and the person who left. Later plan/ship/review sentences use those names. Do not translate their floor into generic product language.
|
|
149
|
-
|
|
150
|
-
**The 5 questions (ask the data owner, not the sponsor):**
|
|
151
|
-
1. **Where does data live?** - List every source: databases, warehouses, SaaS exports, spreadsheets, S3 buckets, vendor APIs. Map it.
|
|
152
|
-
2. **How fresh is it?** - Real-time, daily batch, "someone uploads a CSV on Mondays"? Freshness determines what's buildable.
|
|
153
|
-
3. **Who owns it?** - Not "IT" - the named person who can grant access and explain the schema. No named owner: access responsibility remains unverified.
|
|
154
|
-
4. **What's the quality?** - Sample 100 rows from each critical source. Check: nulls, duplicates, format consistency, semantic correctness. A 60% null rate in a key field = that source is fiction.
|
|
155
|
-
5. **What are the governance constraints?** - PII classification, retention policies, cross-border rules, consent basis. One missed constraint = a compliance stop later.
|
|
156
|
-
|
|
157
|
-
**The pipe (what talks to what).** For each source that a use case depends on, write: the system it flows from and to, the contract (object, table, file, API), whose credentials, what happens when the vendor 500s or the Monday file does not land, and whether the join the sponsor described actually exists. Their IdP, CRM, and warehouse are delivery work when the path needs them - policy questions in `trust-profile.md` are not a substitute.
|
|
158
|
-
|
|
159
|
-
**The data readiness matrix:**
|
|
160
|
-
|
|
161
|
-
| Source | Location | Freshness | Owner | Quality (sample) | Governance | Pipe | Verdict |
|
|
162
|
-
|--------|----------|-----------|-------|-----------------|------------|------|---------|
|
|
163
|
-
| _fill per source_ | | | | | | | Ready / Needs work / Blocker |
|
|
164
|
-
|
|
165
|
-
A use case that depends on a "Blocker" source **or a Blocker pipe** doesn't get scored - it gets a remediation conversation first. `what-breaks` finding an invisible integration at ship is already too late. Write this to `terrain.md` under a `## Data estate` section.
|
|
166
|
-
|
|
167
|
-
**Promised dependencies are not ready dependencies.** For consequential promises such as "data in two weeks," record or update one dependency entry in `assumptions.md` with the responsible owner, dated verification checkpoint, and evidence needed. Unknown owners or dates stay unknown; propose a checkpoint for confirmation. Link the affected work; if the checkpoint slips, identify what can proceed and what needs replanning. Missing ownership is an unresolved dependency, not proof that the project will fail. On-prem or restricted access is a constraint to investigate, not a red flag by itself.
|
|
168
|
-
|
|
169
|
-
**Verify the future operator now.** Check the proposed owner in `success.md` against who will actually monitor, recover, and support the result. Record whether they have agreed, access or training gaps, and a practical handoff check there; carry these into `handoff.md` at close. Keep unconfirmed ownership explicit. Reuse supplied evidence and ask only what changes the plan.
|
|
170
|
-
|
|
171
|
-
## When scope is a transformation, not a single problem
|
|
172
|
-
|
|
173
|
-
Score every candidate use case before anything gets prototyped:
|
|
174
|
-
|
|
175
|
-
| Dimension | Question | 1-5 |
|
|
176
|
-
|---|---|---|
|
|
177
|
-
| Business value | What does it cost them unsolved? | |
|
|
178
|
-
| Complexity | How hard to build safely? (5 = hardest) | |
|
|
179
|
-
| Data readiness | Available, clean, sufficient volume today? | |
|
|
180
|
-
|
|
181
|
-
**Score = (Value × Data readiness) / Complexity.** Highest score gets prototyped first (hand to `poc`). A 5-value/1-complexity/5-readiness case scores 25; a 5-value/5-complexity/2-readiness case scores 2 - they look identical on a whiteboard. Never let a technically interesting use case override the score.
|
|
182
|
-
|
|
183
|
-
## Artifact (this IS the memory - write it as you work)
|
|
184
|
-
|
|
185
|
-
**`reality.md`** - the readout the FDE takes into the sponsor meeting. Keep the three schema lines the dashboard reads (`Working theory` / `Evidence` / `Differs from brief how`). Then the decision frame:
|
|
186
|
-
|
|
187
|
-
```markdown
|
|
188
|
-
# Reality (actual problem)
|
|
189
|
-
**Working theory:** <the real problem, one sentence>
|
|
190
|
-
**Evidence:** <workaround/data/quote, source, day>
|
|
191
|
-
**Differs from brief how:** <delta, with evidence>
|
|
192
|
-
**Situation:** <what the floor already treats as true>
|
|
193
|
-
**Complication:** <what forces a decision now>
|
|
194
|
-
**Question:** <one decision-shaped sentence>
|
|
195
|
-
**Answer-space:** confirm brief / descope / rescope / pause - and what a yes looks like
|
|
196
|
-
**Implication for build:** <first change they can see>
|
|
197
|
-
**Validated with:** <who, when>
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
**`terrain.md`** - the map every later phase loads:
|
|
201
|
-
```markdown
|
|
202
|
-
# Terrain
|
|
203
|
-
**Stack:** <lang/framework/build, age>
|
|
204
|
-
**Hotspots (handle with care):** <file - churn n/90d - tests: none/weak/ok - why it matters>
|
|
205
|
-
**AI components:** <file - model - fallback? - observability?>
|
|
206
|
-
**Data flow:** <entry → transform → store → exit>
|
|
207
|
-
**Test landscape:** <covered / gaps / lies>
|
|
208
|
-
**Unknowns:** <named explicitly - an honest gap beats a confident guess>
|
|
209
|
-
|
|
210
|
-
## Operating map (exception-led)
|
|
211
|
-
| Exception / break | Who notices first | What they do today | System of record then | Blast | Evidence |
|
|
212
|
-
|-------------------|-------------------|--------------------|----------------------|-------|----------|
|
|
213
|
-
| <break> | <role> | <workaround> | <sheet/DB/person> | CRITICAL / LOAD-BEARING / CONVENIENCE | <who/day> |
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
Every line carries its evidence. `(churn: 47/90d)` `(ops lead, Day 5)` `(stated, unverified)`.
|
|
217
|
-
|
|
218
|
-
**`assumptions.md`** - update statuses from what discovery proved or disproved. Seed any new OPEN assumptions the brief never named. CRITICAL + OPEN must be named in the checkpoint.
|
|
219
|
-
|
|
220
|
-
## Checkpoint (before any build)
|
|
221
|
-
|
|
222
|
-
Present to the FDE, five things, one paragraph each - no padding:
|
|
223
|
-
1. The Question, then the real problem, with the two strongest pieces of evidence.
|
|
224
|
-
2. The top 3 risk areas of the codebase, one line of why each.
|
|
225
|
-
3. What must not be touched without characterisation tests.
|
|
226
|
-
4. The exception-led operating map: the two breaks that matter most, who owns the workaround, and where shadow systems live.
|
|
227
|
-
5. The Answer-space: confirm brief / descope / rescope - and the decision it puts in front of the sponsor.
|
|
228
|
-
|
|
229
|
-
If discovery revealed the problem is 3× the brief: the FDE tells the customer **before** telling themselves it's manageable. Lead with evidence, offer three paths (descope / rescope / pause-and-plan), confirm any reset in writing - update `success.md` and `brief.md` before continuing.
|
|
230
|
-
|
|
231
|
-
## If you've formed three wrong reads
|
|
232
|
-
|
|
233
|
-
Stop. Don't form a fourth hypothesis. Three disproven reads means the brief is actively misleading - usually the person who briefed doesn't know, or knows and can't say. Change method: stop analysing the system, ask three people separately "if you had to bet on what's actually wrong here, what would you say?" The thing they all hesitate before saying is the real problem.
|
|
234
|
-
|
|
235
|
-
## Worked example
|
|
236
|
-
|
|
237
|
-
Acme's brief blamed missing monitoring. Discovery goes to the workaround first.
|
|
238
|
-
|
|
239
|
-
`git log` shows the reconciliation module at 47 commits/90d with no tests, all from one author who left in February. Marco (ops lead) turns out to keep a spreadsheet: every morning he re-runs the job manually and eyeballs the totals - a habit nobody mentioned because to him it is just the job. That spreadsheet is the system of record when the job fails, which is the actual finding.
|
|
240
|
-
|
|
241
|
-
`reality.md` keeps the schema, then the frame. **Working theory:** the job has no owner, and the manual re-run masks failures for a day. **Evidence:** Marco's sheet, Day 5; two silent failures since March, finance escalation Mar 14. **Differs from brief how:** alerting existed last year and was disabled - adding it again without an owner reproduces the same outcome. **Situation:** Marco re-runs the job every morning and the spreadsheet is truth when it fails. **Complication:** two silent failures since March already hit finance, and the author of the module left in February. **Question:** should Priya fund a named owner on the failure path, or fund alerting and accept the same miss in six months? **Answer-space:** fund ownership / fund alerting-as-theatre / pause until she names who acks. `terrain.md` gets the hotspot row and an operating-map row: `job fails silently → Marco notices next morning → re-runs by hand → spreadsheet is truth → LOAD-BEARING (Marco, Day 5)`.
|
|
242
|
-
|
|
243
|
-
Checkpoint to the FDE leads with that Question, not a tour of the repo.
|
|
244
|
-
|
|
245
|
-
## Principles
|
|
246
|
-
|
|
247
|
-
- The brief is a hypothesis until evidence confirms it.
|
|
248
|
-
- No scan until the Question is one decision the signer must make.
|
|
249
|
-
- The workaround is more honest than the requirements document.
|
|
250
|
-
- Churn data + the human's "don't touch that" pointing at the same module = the map is true.
|
|
251
|
-
- Never modify code before the terrain map exists.
|
|
252
|
-
- Scan wide, read deep only on hotspots.
|
|
253
|
-
|
|
254
|
-
Before changing a surprising workaround, use the targeted history check in [audit](audit.md#before-changing-an-unfamiliar-workaround). Inspect only the implicated file or region; commit messages supply clues, not proof of current requirements.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|