fdeops 5.0.0 → 5.1.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 +1 -1
- package/README.md +22 -24
- package/bin/catalog-doc.js +38 -0
- package/bin/check.js +20 -49
- package/bin/fde.js +2 -2
- package/bin/generate-skills.js +9 -1
- package/bin/install.js +9 -3
- package/bin/skill-catalog.js +283 -16
- package/mcp/fdeops-ingest/package.json +1 -1
- package/package.json +2 -2
- package/plugin.json +1 -1
- package/skills/README.md +7 -0
- package/skills/audit/.fde-generated.json +10 -0
- package/skills/audit/SKILL.md +21 -0
- package/skills/audit/references/audit.md +71 -0
- package/skills/audit/references/discover.md +112 -0
- package/skills/audit/references/task-context.md +18 -0
- package/skills/board-memo/.fde-generated.json +10 -0
- package/skills/board-memo/SKILL.md +21 -0
- package/skills/board-memo/references/board-memo.md +108 -0
- package/skills/board-memo/references/business-case.md +90 -0
- package/skills/board-memo/references/task-context.md +18 -0
- package/skills/brief/.fde-generated.json +9 -0
- package/skills/brief/SKILL.md +21 -0
- package/skills/brief/references/land.md +136 -0
- package/skills/brief/references/task-context.md +18 -0
- package/skills/build/.fde-generated.json +1 -1
- package/skills/build/references/task-context.md +7 -1
- package/skills/business-case/.fde-generated.json +9 -0
- package/skills/business-case/SKILL.md +21 -0
- package/skills/business-case/references/business-case.md +90 -0
- package/skills/business-case/references/task-context.md +18 -0
- package/skills/connect/.fde-generated.json +12 -0
- package/skills/connect/SKILL.md +21 -0
- package/skills/connect/references/connect.md +24 -0
- package/skills/connect/references/debrief.md +91 -0
- package/skills/connect/references/ingest.md +75 -0
- package/skills/connect/references/source-setup.md +30 -0
- package/skills/connect/references/task-context.md +18 -0
- package/skills/dashboard/.fde-generated.json +9 -0
- package/skills/dashboard/SKILL.md +21 -0
- package/skills/dashboard/references/dashboard.md +40 -0
- package/skills/dashboard/references/task-context.md +18 -0
- package/skills/debrief/.fde-generated.json +12 -0
- package/skills/debrief/SKILL.md +21 -0
- package/skills/debrief/references/connect.md +24 -0
- package/skills/debrief/references/debrief.md +91 -0
- package/skills/debrief/references/ingest.md +75 -0
- package/skills/debrief/references/source-setup.md +30 -0
- package/skills/debrief/references/task-context.md +18 -0
- package/skills/debug/.fde-generated.json +1 -1
- package/skills/debug/references/task-context.md +7 -1
- package/skills/demo-prep/.fde-generated.json +9 -0
- package/skills/demo-prep/SKILL.md +21 -0
- package/skills/demo-prep/references/demo-prep.md +31 -0
- package/skills/demo-prep/references/task-context.md +18 -0
- package/skills/discover/.fde-generated.json +1 -1
- package/skills/discover/references/task-context.md +7 -1
- package/skills/earn-trust/.fde-generated.json +9 -0
- package/skills/earn-trust/SKILL.md +21 -0
- package/skills/earn-trust/references/earn-trust.md +100 -0
- package/skills/earn-trust/references/task-context.md +18 -0
- package/skills/evaluate/.fde-generated.json +1 -1
- package/skills/evaluate/references/task-context.md +7 -1
- package/skills/fde/SKILL.md +9 -8
- package/skills/fde/references/connect.md +14 -24
- package/skills/fde/references/debrief.md +2 -0
- package/skills/fde/references/ingest.md +4 -2
- package/skills/fde/references/plan.md +6 -6
- package/skills/fde/references/runbook.md +52 -120
- package/skills/fde/references/source-setup.md +30 -0
- package/skills/fde/references/task-context.md +7 -1
- package/skills/feedback/.fde-generated.json +1 -1
- package/skills/feedback/references/task-context.md +7 -1
- package/skills/handoff/.fde-generated.json +1 -1
- package/skills/handoff/references/task-context.md +7 -1
- package/skills/ingest/.fde-generated.json +12 -0
- package/skills/ingest/SKILL.md +21 -0
- package/skills/ingest/references/connect.md +24 -0
- package/skills/ingest/references/debrief.md +91 -0
- package/skills/ingest/references/ingest.md +75 -0
- package/skills/ingest/references/source-setup.md +30 -0
- package/skills/ingest/references/task-context.md +18 -0
- package/skills/integrate/.fde-generated.json +1 -1
- package/skills/integrate/references/task-context.md +7 -1
- package/skills/options/.fde-generated.json +1 -1
- package/skills/options/references/task-context.md +7 -1
- package/skills/plan/.fde-generated.json +10 -0
- package/skills/plan/SKILL.md +21 -0
- package/skills/plan/references/business-case.md +90 -0
- package/skills/plan/references/plan.md +167 -0
- package/skills/plan/references/task-context.md +18 -0
- package/skills/poc/.fde-generated.json +2 -2
- package/skills/poc/references/plan.md +6 -6
- package/skills/poc/references/task-context.md +7 -1
- package/skills/prioritize/.fde-generated.json +10 -0
- package/skills/prioritize/SKILL.md +21 -0
- package/skills/prioritize/references/business-case.md +90 -0
- package/skills/prioritize/references/pick-three.md +95 -0
- package/skills/prioritize/references/task-context.md +18 -0
- package/skills/qa/.fde-generated.json +1 -1
- package/skills/qa/references/task-context.md +7 -1
- package/skills/readout/.fde-generated.json +1 -1
- package/skills/readout/references/task-context.md +7 -1
- package/skills/red-team/.fde-generated.json +9 -0
- package/skills/red-team/SKILL.md +21 -0
- package/skills/red-team/references/red-team.md +105 -0
- package/skills/red-team/references/task-context.md +18 -0
- package/skills/rescue/.fde-generated.json +9 -0
- package/skills/rescue/SKILL.md +21 -0
- package/skills/rescue/references/rescue.md +82 -0
- package/skills/rescue/references/task-context.md +18 -0
- package/skills/review/.fde-generated.json +1 -1
- package/skills/review/references/task-context.md +7 -1
- package/skills/rollback/.fde-generated.json +9 -0
- package/skills/rollback/SKILL.md +21 -0
- package/skills/rollback/references/rollback.md +102 -0
- package/skills/rollback/references/task-context.md +18 -0
- package/skills/runbook/.fde-generated.json +11 -0
- package/skills/runbook/SKILL.md +21 -0
- package/skills/runbook/references/close.md +66 -0
- package/skills/runbook/references/encode-pattern.md +96 -0
- package/skills/runbook/references/runbook.md +73 -0
- package/skills/runbook/references/task-context.md +18 -0
- package/skills/scope/.fde-generated.json +1 -1
- package/skills/scope/references/task-context.md +7 -1
- package/skills/score-use-cases/.fde-generated.json +10 -0
- package/skills/score-use-cases/SKILL.md +21 -0
- package/skills/score-use-cases/references/business-case.md +90 -0
- package/skills/score-use-cases/references/score-use-cases.md +70 -0
- package/skills/score-use-cases/references/task-context.md +18 -0
- package/skills/ship/.fde-generated.json +1 -1
- package/skills/ship/references/task-context.md +7 -1
- package/skills/switch-clients/.fde-generated.json +9 -0
- package/skills/switch-clients/SKILL.md +21 -0
- package/skills/switch-clients/references/switch-clients.md +114 -0
- package/skills/switch-clients/references/task-context.md +18 -0
- package/skills/test-assumptions/.fde-generated.json +9 -0
- package/skills/test-assumptions/SKILL.md +21 -0
- package/skills/test-assumptions/references/task-context.md +18 -0
- package/skills/test-assumptions/references/test-assumptions.md +102 -0
- package/skills/what-breaks/.fde-generated.json +9 -0
- package/skills/what-breaks/SKILL.md +21 -0
- package/skills/what-breaks/references/task-context.md +18 -0
- package/skills/what-breaks/references/what-breaks.md +91 -0
- package/skills/who-decides/.fde-generated.json +9 -0
- package/skills/who-decides/SKILL.md +21 -0
- package/skills/who-decides/references/task-context.md +18 -0
- package/skills/who-decides/references/who-decides.md +91 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# encode-pattern - Encode the pattern
|
|
2
|
+
|
|
3
|
+
**Context:** apply [task context and evidence](task-context.md) before using the named records below.
|
|
4
|
+
|
|
5
|
+
**Enter when:** the engagement is closing and reusable patterns exist, a technique worked well and will apply to future clients, the FDE notices themselves doing the same thing on a second engagement, or close identified a pattern worth preserving.
|
|
6
|
+
|
|
7
|
+
**Read first:** `decisions.md`, `reality.md`, `delivery.md`, `retrospectives/`, `context.md`. Patterns live in what was *done*, not what was planned.
|
|
8
|
+
|
|
9
|
+
The difference between a 5-year FDE and a 15-year FDE is not talent - it's encoded patterns. The 15-year FDE walks into a new engagement and recognises the situation in minutes because they've seen it before, named it, and know the move. Pattern extraction turns experience into reusable intelligence.
|
|
10
|
+
|
|
11
|
+
## Method (you do this work)
|
|
12
|
+
|
|
13
|
+
**1. Identify the pattern candidates.** Scan the engagement for things that:
|
|
14
|
+
|
|
15
|
+
| Signal | Example |
|
|
16
|
+
|--------|---------|
|
|
17
|
+
| Worked well and would work again in a similar situation | The "show the workaround first" approach to earning ops team trust |
|
|
18
|
+
| Failed and the failure mode is predictable | The "refactor before understanding" mistake on legacy codebases |
|
|
19
|
+
| Was discovered late and should have been discovered early | The hidden cron job that broke the migration - always ask about cron jobs |
|
|
20
|
+
| Required a workaround that others would face too | The compliance dance for getting AI tools approved in regulated environments |
|
|
21
|
+
| Involved a political dynamic that repeats | The passed-over internal team dynamic - present in every engagement with external FDEs |
|
|
22
|
+
|
|
23
|
+
**2. Write the pattern in a transferable format.** Each pattern must be usable by a future FDE who has never heard of this engagement:
|
|
24
|
+
|
|
25
|
+
```markdown
|
|
26
|
+
## Pattern: <name>
|
|
27
|
+
|
|
28
|
+
### Situation
|
|
29
|
+
<When does this pattern apply? What does the FDE see/hear that triggers recognition?>
|
|
30
|
+
|
|
31
|
+
### The move
|
|
32
|
+
<What to do, specifically. Not advice - steps.>
|
|
33
|
+
|
|
34
|
+
### Why it works
|
|
35
|
+
<The mechanism - why this approach succeeds where the obvious approach fails.>
|
|
36
|
+
|
|
37
|
+
### Watch out for
|
|
38
|
+
<The failure mode or edge case that makes the pattern not apply.>
|
|
39
|
+
|
|
40
|
+
### Evidence
|
|
41
|
+
<Permitted source, what happened, measured result, and limits. Keep identifying evidence in its original customer record.>
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**3. The pattern quality test.** Before encoding:
|
|
45
|
+
|
|
46
|
+
| Test | Pass | Fail |
|
|
47
|
+
|------|------|------|
|
|
48
|
+
| **Transferable?** | Another FDE could apply this without context from this engagement | Only makes sense if you know the specific client |
|
|
49
|
+
| **Specific enough?** | Contains concrete steps, not just principles | "Build trust" / "Communicate well" - too vague to act on |
|
|
50
|
+
| **Repeatable?** | Applies to a class of situations, not just this one | Only worked because of a unique circumstance |
|
|
51
|
+
| **Falsifiable?** | You can tell when the pattern is working or not | No way to measure whether applying it helped |
|
|
52
|
+
| **Monday bag?** | You would refuse the next similar embed without this in your bag - a named move plus an artifact you can drop on day one (pipe questions, CAB dance, eval golden shape, floor-drill script) | "We learned to communicate." Patterns that only live in this client's `.fde/` do not compound |
|
|
53
|
+
|
|
54
|
+
**4. Classify by stage.** Patterns sort into the same stages as the skills:
|
|
55
|
+
|
|
56
|
+
| Stage | Pattern type | Example |
|
|
57
|
+
|--------|-------------|---------|
|
|
58
|
+
| **Land** | Political / relational | "The passed-over team warm-up protocol" |
|
|
59
|
+
| **Discover** | Investigative / analytical | "The cron-job discovery checklist for legacy systems" |
|
|
60
|
+
| **Plan** | Structural / strategic | "The three-option presentation for nervous sponsors" |
|
|
61
|
+
| **Ship** | Technical / safety | "The Strangler Fig on financial transaction code" |
|
|
62
|
+
| **Outcome** | Operational / process | "The regulated-environment change-approval timeline buffer" |
|
|
63
|
+
| **Close** | Knowledge / handoff | "The 2am document format that actually gets used" |
|
|
64
|
+
|
|
65
|
+
**5. Version and evolve.** Patterns are living documents:
|
|
66
|
+
|
|
67
|
+
- First use: **v0.1** - hypothesis based on one engagement
|
|
68
|
+
- Later uses: record context, observed results, failures, and refinements. Repetition supplies evidence; it does not automatically validate the pattern. Promote a version when a substantive revision warrants it, not at a fixed use count.
|
|
69
|
+
- After modification: increment minor version with what changed and why
|
|
70
|
+
- After contradiction: note the counter-example, adjust the "watch out for" section
|
|
71
|
+
|
|
72
|
+
**6. Cross-engagement pattern mining.** Only when explicitly authorized for the named engagements and permitted by each customer's data policy. Keep records separate; use sanitized CLI packets or targeted recall in each authorized context, never raw file comparisons. Otherwise extract a candidate from the current permitted context only.
|
|
73
|
+
|
|
74
|
+
- Compare permitted problem summaries - do the same problems recur?
|
|
75
|
+
- Compare permitted decision summaries - are the same decisions being made?
|
|
76
|
+
- Compare permitted lessons - are the same lessons being learned twice?
|
|
77
|
+
|
|
78
|
+
A pattern learned twice is a process failure. Encoding it prevents the third time.
|
|
79
|
+
|
|
80
|
+
## Artifact
|
|
81
|
+
|
|
82
|
+
**`patterns.md`** - candidates and evidence for this engagement, indexed by stage and situation trigger. A shared library is a separate, authorized export: remove names, identifiers, distinctive operational details, secrets, and confidential code or data. Keep source receipts in the original record and export only permitted generalizations.
|
|
83
|
+
|
|
84
|
+
**`retrospectives/YYYY-MM-DD-<engagement>.md`** - reference to which patterns were extracted from this engagement.
|
|
85
|
+
|
|
86
|
+
## Checkpoint
|
|
87
|
+
|
|
88
|
+
Present the extracted patterns to the FDE: "From this engagement, I've identified N patterns worth encoding. The highest-value one is <name> because <it will apply to future engagements in these situations>." Confirm the pattern is accurate - the FDE's field judgment outranks the analysis.
|
|
89
|
+
|
|
90
|
+
## Principles
|
|
91
|
+
|
|
92
|
+
- If you did it twice, encode it. The same lesson learned three times is a failure.
|
|
93
|
+
- Patterns are steps, not principles. "Build trust" isn't a pattern; "fix a small visible bug on day one" is.
|
|
94
|
+
- Every pattern needs a situation trigger - the FDE must recognise when it applies.
|
|
95
|
+
- Version substantive changes. State the evidence and limits; repeated use is not automatic confirmation.
|
|
96
|
+
- The pattern library is the FDE's compound interest. It's what separates 5 years of experience from 1 year repeated 5 times.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# runbook - Write an operating guide
|
|
2
|
+
|
|
3
|
+
**Enter when:** the team needs instructions to operate, diagnose or recover a system, or an engineer is preparing to transfer responsibility.
|
|
4
|
+
|
|
5
|
+
Apply [task context](task-context.md). Use supplied operational facts, relevant code and verified procedures. For a bound engagement, retrieve relevant sanitized delivery, dependency and ownership evidence; do not load the full customer record or raw private material.
|
|
6
|
+
|
|
7
|
+
## Match the request
|
|
8
|
+
|
|
9
|
+
- **Draft a guide:** write what is known, mark unverified procedures and missing evidence, and return the requested document. No customer record, live access, drill or closure ceremony is required.
|
|
10
|
+
- **Verify an operating guide:** agree the permitted environment and checks, exercise relevant procedures, and record what happened. Do not run a destructive or production drill from a documentation request alone.
|
|
11
|
+
- **Complete a handoff:** use [handoff](close.md) for the wider ownership and acceptance decision. A written guide is one part of that decision, not proof of readiness.
|
|
12
|
+
|
|
13
|
+
## Build the guide from evidence
|
|
14
|
+
|
|
15
|
+
Identify the system, the intended reader and the decisions that reader can make. Follow the actual operating path and include only relevant sections:
|
|
16
|
+
|
|
17
|
+
```markdown
|
|
18
|
+
# Operating guide - <system>
|
|
19
|
+
Status: Draft / Verified for <environment and scope>
|
|
20
|
+
Evidence: <code, observed run, operator statement or existing document>
|
|
21
|
+
Operating owner: <confirmed role/person and source, or proposed/unconfirmed>
|
|
22
|
+
|
|
23
|
+
## Normal operation
|
|
24
|
+
What should happen, how often, and how to check it.
|
|
25
|
+
|
|
26
|
+
## Known failure modes
|
|
27
|
+
Symptom: <what the operator sees>
|
|
28
|
+
Evidence: <what establishes this behavior>
|
|
29
|
+
Cause: <verified cause or explicit unknown>
|
|
30
|
+
Action: <supported steps, constraints and stop conditions>
|
|
31
|
+
Validation: <tested environment/date/result, or unverified>
|
|
32
|
+
Escalation: <confirmed role/channel, or missing>
|
|
33
|
+
|
|
34
|
+
## Deploy and recover
|
|
35
|
+
Procedure: <verified commands or a source link; do not invent commands>
|
|
36
|
+
Permissions and prerequisites: <required access and safety conditions>
|
|
37
|
+
Check: <expected observable result>
|
|
38
|
+
Recovery: <tested procedure or the missing recovery evidence>
|
|
39
|
+
|
|
40
|
+
## Monitor and escalate
|
|
41
|
+
Signal: <existing alert or check>
|
|
42
|
+
Meaning: <known interpretation>
|
|
43
|
+
Response: <authorized action and when to escalate>
|
|
44
|
+
|
|
45
|
+
## Open readiness gaps
|
|
46
|
+
Missing evidence, owner to confirm, and proposed next check.
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Do not pad the document with an arbitrary number of failures, contacts or commands. A stated retry problem without a known cause should remain an investigation item, not become a fabricated repair procedure. A suggested owner is not an accepted operating responsibility.
|
|
50
|
+
|
|
51
|
+
For AI components, include relevant model and configuration versions, evaluation checks, failure limits and the supported way to pause actions. Do not assume retraining or autonomous operation is required.
|
|
52
|
+
|
|
53
|
+
## Verify when requested
|
|
54
|
+
|
|
55
|
+
Select checks based on the system's actual consequences. For example, the receiving operator may demonstrate normal operation, diagnose a known failure, or recover a failed release in a permitted test environment.
|
|
56
|
+
|
|
57
|
+
Record each critical capability separately as verified, failed or untested, with evidence. A successful walkthrough cannot compensate for an untested recovery path. Avoid an averaged confidence score that hides a critical gap.
|
|
58
|
+
|
|
59
|
+
If a procedure fails, correct the guide or system within scope and repeat the affected check. If verification is unavailable, deliver the draft with its limits and propose the next check; do not claim the handoff complete or indefinitely extend the engagement yourself.
|
|
60
|
+
|
|
61
|
+
## Deliver and retain ownership boundaries
|
|
62
|
+
|
|
63
|
+
Return the guide, its verification status and any remaining operating decisions. Save it to the requested location. In a bound engagement, propose updates to `handoff.md` and relevant current-state records under their confirmation rules.
|
|
64
|
+
|
|
65
|
+
Access changes, exports of customer records, sponsor messages and closure decisions require their own authorization. A request for a runbook does not authorize these actions. Transfer only the material the recipient is entitled to receive.
|
|
66
|
+
|
|
67
|
+
## Principles
|
|
68
|
+
|
|
69
|
+
- Write for the person handling the actual failure.
|
|
70
|
+
- Supported procedures beat plausible commands.
|
|
71
|
+
- Draft, tested procedure and accepted ownership remain distinct.
|
|
72
|
+
- Verify critical capabilities individually.
|
|
73
|
+
- Keep private relationship notes and credentials out of an operating guide.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Task context and evidence
|
|
2
|
+
|
|
3
|
+
Use this contract for standalone methods and methods routed through `@fde`.
|
|
4
|
+
|
|
5
|
+
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite for work on supplied context. Tasks that inspect actual records need those records; staging or saving requires a selected customer. Never fabricate records to make an operational task appear complete. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
6
|
+
- **Artifact names are destinations:** names such as `success.md`, `decisions.md`, and `delivery.md` identify relevant evidence and, when bound, record destinations. If absent, use supplied facts and return the requested draft or result in the current workspace or conversation. Do not invent files or require initialization to complete useful work.
|
|
7
|
+
- **Bound engagement:** honor the current client binding and constraints. Before reading records, run `fde privacy` to verify masking support. Obtain a fresh, identity-matching sanitized `fde resume` packet for this task (or reuse a fresh session-hook packet); retrieve missing evidence with targeted `fde recall <topic>`. Use bounded `fde handoff` for transfer work. Refresh after binding, masking, or record changes. Never substitute raw `.fde/` reads, private blocks, masking dictionaries, or full transcripts. If the CLI is unavailable, use only permitted supplied excerpts and report the context limitation.
|
|
8
|
+
- **Authority:** continue reversible work within authorized scope. Reuse prior authorization when it covers the specific action. Show consequential engagement-record judgments and uncertainties for confirmation before saving unless already explicitly confirmed. New scope, acceptance changes, production actions, exports, and external messages need the applicable authority; a method invocation alone does not supply it. Keep one customer's writes in that customer's record.
|
|
9
|
+
- **Evidence:** distinguish supplied facts, estimates, hypotheses, and unknowns. Cite actual sources; a log date is not attribution. Never invent a source, signer, signature, customer reaction, or acceptance. Keep outcomes **promised → measured → accepted** distinct, and implementation, verification, deployment, and customer acceptance separate. Missing evidence means unproven, not an observed failure.
|
|
10
|
+
- **Data boundary:** use only data permitted by the customer's AI policy; clarify unknown policy before loading their code or data. Never load `<private>` content into a model. Cross-client comparison and exporting reusable material require permission and removal of customer-identifying or confidential content; anonymization alone does not grant permission.
|
|
11
|
+
|
|
12
|
+
## CLI availability
|
|
13
|
+
|
|
14
|
+
Only locate the CLI when the selected task needs it. Check `fde` on PATH and its `fde privacy` capability before reading records. If unavailable, use `node ~/.claude/fdeops/fde.js` when the disk installer placed it there, or `npx --yes fdeops <command>` when package downloads are permitted. Respect local installation and network rules. Run commands for the user; do not turn a missing bare `fde` command into unnecessary manual setup.
|
|
15
|
+
|
|
16
|
+
If no permitted executable is available, explain the missing capability. Continue any useful draft from supplied excerpts, but do not claim to have read, switched, staged, saved or rendered real records. Do not read raw private record files as a fallback.
|
|
17
|
+
|
|
18
|
+
Apply the selected method to this context. Follow its linked supporting methods only when needed; do not restart discovery or repeat already answered questions.
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "13640b029f34068b08f2b0532ad7d2bae2d1063eeff17ec85a840bfbf832311e",
|
|
6
6
|
"references/hold-scope.md": "42b3823f6b49b87b432f81208b0a61115f22340f6a922a4e858012e908c6643d",
|
|
7
|
-
"references/task-context.md": "
|
|
7
|
+
"references/task-context.md": "73eea2d7f164fac3226599e5be26ae4e79dcf69e0d24428dd12d623861410490"
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Use this contract for standalone methods and methods routed through `@fde`.
|
|
4
4
|
|
|
5
|
-
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
5
|
+
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite for work on supplied context. Tasks that inspect actual records need those records; staging or saving requires a selected customer. Never fabricate records to make an operational task appear complete. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
6
6
|
- **Artifact names are destinations:** names such as `success.md`, `decisions.md`, and `delivery.md` identify relevant evidence and, when bound, record destinations. If absent, use supplied facts and return the requested draft or result in the current workspace or conversation. Do not invent files or require initialization to complete useful work.
|
|
7
7
|
- **Bound engagement:** honor the current client binding and constraints. Before reading records, run `fde privacy` to verify masking support. Obtain a fresh, identity-matching sanitized `fde resume` packet for this task (or reuse a fresh session-hook packet); retrieve missing evidence with targeted `fde recall <topic>`. Use bounded `fde handoff` for transfer work. Refresh after binding, masking, or record changes. Never substitute raw `.fde/` reads, private blocks, masking dictionaries, or full transcripts. If the CLI is unavailable, use only permitted supplied excerpts and report the context limitation.
|
|
8
8
|
- **Authority:** continue reversible work within authorized scope. Reuse prior authorization when it covers the specific action. Show consequential engagement-record judgments and uncertainties for confirmation before saving unless already explicitly confirmed. New scope, acceptance changes, production actions, exports, and external messages need the applicable authority; a method invocation alone does not supply it. Keep one customer's writes in that customer's record.
|
|
9
9
|
- **Evidence:** distinguish supplied facts, estimates, hypotheses, and unknowns. Cite actual sources; a log date is not attribution. Never invent a source, signer, signature, customer reaction, or acceptance. Keep outcomes **promised → measured → accepted** distinct, and implementation, verification, deployment, and customer acceptance separate. Missing evidence means unproven, not an observed failure.
|
|
10
10
|
- **Data boundary:** use only data permitted by the customer's AI policy; clarify unknown policy before loading their code or data. Never load `<private>` content into a model. Cross-client comparison and exporting reusable material require permission and removal of customer-identifying or confidential content; anonymization alone does not grant permission.
|
|
11
11
|
|
|
12
|
+
## CLI availability
|
|
13
|
+
|
|
14
|
+
Only locate the CLI when the selected task needs it. Check `fde` on PATH and its `fde privacy` capability before reading records. If unavailable, use `node ~/.claude/fdeops/fde.js` when the disk installer placed it there, or `npx --yes fdeops <command>` when package downloads are permitted. Respect local installation and network rules. Run commands for the user; do not turn a missing bare `fde` command into unnecessary manual setup.
|
|
15
|
+
|
|
16
|
+
If no permitted executable is available, explain the missing capability. Continue any useful draft from supplied excerpts, but do not claim to have read, switched, staged, saved or rendered real records. Do not read raw private record files as a fallback.
|
|
17
|
+
|
|
12
18
|
Apply the selected method to this context. Follow its linked supporting methods only when needed; do not restart discovery or repeat already answered questions.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generator": "bin/generate-skills.js",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"files": {
|
|
5
|
+
"SKILL.md": "d201fe1d784eea04ce25bde63fb3e6beb129ac4924b8f654b7c4fd5b3022f2d1",
|
|
6
|
+
"references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
|
|
7
|
+
"references/score-use-cases.md": "bb304cf2de26a2df0b9f2a299e3a6b2760ebce15b8b523d9cb4a584cc26038f8",
|
|
8
|
+
"references/task-context.md": "73eea2d7f164fac3226599e5be26ae4e79dcf69e0d24428dd12d623861410490"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: score-use-cases
|
|
3
|
+
description: Compare competing customer use cases by value, feasibility and evidence. Use when several problems compete for delivery capacity.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# score-use-cases
|
|
7
|
+
|
|
8
|
+
<!-- Generated by bin/generate-skills.js; edit the canonical references and catalog. -->
|
|
9
|
+
|
|
10
|
+
## Purpose
|
|
11
|
+
|
|
12
|
+
Compare competing customer use cases by value, feasibility and evidence. Use when several problems compete for delivery capacity.
|
|
13
|
+
|
|
14
|
+
Read [the task context contract](references/task-context.md), then [the method](references/score-use-cases.md). Load further references only when the task needs them. Everything linked is included in this skill; no other skill pack is required.
|
|
15
|
+
|
|
16
|
+
## Principles
|
|
17
|
+
|
|
18
|
+
- Work directly from the supplied permitted context. Standalone work does not require an engagement folder or initialization. Record filenames in the method are optional persistence destinations when no engagement is bound.
|
|
19
|
+
- If called by @fde, reuse its current sanitized packet and scope. Do not restart setup, discovery or questions already answered.
|
|
20
|
+
- The task context contract controls persistence and authority in both modes. Preserve unknowns and distinguish implementation, verification, deployment and acceptance.
|
|
21
|
+
- Use the customer's repository instructions and available tools. Report a missing capability or unrun check honestly; do not claim that installing a skill provisions infrastructure.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# business-case - Build the business case
|
|
2
|
+
|
|
3
|
+
**Context:** apply [task context and evidence](task-context.md) before using the named records below.
|
|
4
|
+
|
|
5
|
+
**Enter when:** the sponsor needs justification for the next phase, the FDE needs to defend budget or timeline, a feature decision needs cost/benefit evidence, or poc produced a direction that needs funding.
|
|
6
|
+
|
|
7
|
+
**Read first:** `reality.md`, `success.md`, `delivery.md`, `context.md`. Load `business-case.md` from poc if it exists - extend it, don't restart.
|
|
8
|
+
|
|
9
|
+
Technical FDEs lose engagements by shipping good code without business justification. The sponsor's boss doesn't ask "is the code clean?" - they ask "what did we get for the money?" A business case translates technical work into the language that keeps the engagement alive.
|
|
10
|
+
|
|
11
|
+
## Method (you do this work)
|
|
12
|
+
|
|
13
|
+
**1. Name the cost of doing nothing.** This is the anchor. Every business case starts not with what you'll build, but with what it costs them to leave the problem unsolved:
|
|
14
|
+
|
|
15
|
+
| Cost type | How to find it | Example |
|
|
16
|
+
|-----------|---------------|---------|
|
|
17
|
+
| **Labor capacity / direct spend** | Ask: "What does this problem cost per month in money?" | Manual reconciliation hours × loaded rate = capacity value; separately identify reducible spend |
|
|
18
|
+
| **Opportunity cost** | Ask: "What can't you do because of this problem?" | Can't onboard enterprise clients because the API can't handle their volume |
|
|
19
|
+
| **Risk cost** | Ask: "What happens if this breaks at the worst time?" | A payment processing outage during Black Friday = $X/hour in lost sales |
|
|
20
|
+
| **Velocity cost** | Measure: deployment frequency, lead time, change failure rate | Team ships once/month instead of once/week; each delay = N features not reaching customers |
|
|
21
|
+
|
|
22
|
+
**2. Build the driver model.** Not a spreadsheet - a logic chain the sponsor can trace:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
Investment: <hours × rate, or fixed cost>
|
|
26
|
+
→ Delivers: <specific outcome from success.md>
|
|
27
|
+
→ Benefit: <capacity released, avoidable cash spend, revenue, or risk reduction>
|
|
28
|
+
→ Net cash: realizable incremental cash benefit - full costs over <time horizon>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Keep drivers, units, sources, and ranges explicit. For example, 3 people × 8h/week × $75/h × 52 weeks = $93.6K/year of labor capacity value. It is cash savings only if spend actually falls (for example, paid overtime or a contractor cost ends). Name who can realize the benefit and how. Include build, ongoing operation, adoption, and transition costs; avoid double-counting capacity and revenue enabled by the same hours. Do not calculate cash payback from capacity value alone.
|
|
32
|
+
|
|
33
|
+
**3. Sensitivity check - name the two drivers that swing the result:**
|
|
34
|
+
|
|
35
|
+
Every business case has 1-2 variables where a small change flips the outcome. Name them explicitly:
|
|
36
|
+
|
|
37
|
+
> "The capacity case assumes the team reclaims 6 hours/week per person. At 3 hours, that benefit halves. Cash payback remains unproven until finance identifies avoidable spend. Validate time-spent before and after the pilot with representative team members."
|
|
38
|
+
|
|
39
|
+
The sponsor who sees you've identified where the case could break trusts the case more, not less.
|
|
40
|
+
|
|
41
|
+
**4. Frame for the audience.** Different stakeholders need different lenses on the same case:
|
|
42
|
+
|
|
43
|
+
| Audience | Lead with | Avoid |
|
|
44
|
+
|----------|----------|-------|
|
|
45
|
+
| **CFO / finance** | ROI, payback period, cash flow impact | Technical architecture, feature lists |
|
|
46
|
+
| **CTO / engineering** | Technical debt retired, velocity improved, risk reduced | Revenue projections they can't verify |
|
|
47
|
+
| **CEO / founder** | Strategic enablement, competitive edge, customer impact | Detailed calculations (give the summary, offer the detail) |
|
|
48
|
+
| **Product** | User impact, adoption metrics, feature velocity | Cost structures that aren't their domain |
|
|
49
|
+
|
|
50
|
+
**5. The one-page format.** The business case fits one page or it isn't understood:
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
## Business case: <initiative name>
|
|
54
|
+
|
|
55
|
+
**The problem costs:** <one line, quantified>
|
|
56
|
+
**The investment:** <hours and cost>
|
|
57
|
+
**The return:** <quantified, with time horizon>
|
|
58
|
+
**Payback:** <months from realizable cash benefits, or not established>
|
|
59
|
+
**Sensitivity:** <the 1-2 drivers that swing it, with thresholds>
|
|
60
|
+
**Risks:** <what must be true for this to hold>
|
|
61
|
+
**Recommendation:** <proceed / proceed-with-conditions / defer>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Artifact
|
|
65
|
+
|
|
66
|
+
**`business-case.md`** - the one-page case. Lives alongside `success.md` and `reality.md` as a first-class engagement artifact. Referenced by plan, status, and close.
|
|
67
|
+
|
|
68
|
+
**`decisions.md`** - log the sponsor's response: approved, modified, deferred. With the date.
|
|
69
|
+
|
|
70
|
+
## Checkpoint
|
|
71
|
+
|
|
72
|
+
Walk the FDE through: the cost of doing nothing (anchor), the investment, the return, and the one sensitivity that matters most. If the FDE says "the sponsor won't buy the ROI number," inspect the disputed inputs and sources, test plausible ranges, and identify what measurement would resolve the disagreement. Never reverse-engineer assumptions to hit a desired number.
|
|
73
|
+
|
|
74
|
+
## Worked example
|
|
75
|
+
|
|
76
|
+
Acme phase 2 needs funding. The case starts with the cost of doing nothing, not the cost of building.
|
|
77
|
+
|
|
78
|
+
Anchor: two silent failures since March, each one day of finance reconciliation by hand plus a late close (`reality.md`, Marco's sheet). That is the number the sponsor already believes because her own team reported it.
|
|
79
|
+
|
|
80
|
+
Driver model the sponsor can trace: incidents/quarter × hours of manual reconciliation × loaded cost, plus the tail risk of a late regulatory close - stated separately, because mixing a certain small number with an uncertain large one is how a case loses credibility.
|
|
81
|
+
|
|
82
|
+
Sensitivity names the two drivers that swing it: incident frequency (2/quarter → 1/quarter and the case halves) and whether the manual re-run continues in parallel (if Marco keeps re-running every morning, the saving is theoretical). The second one is the honest weakness, so it is in the case rather than waiting to be found in the room - with the condition that makes it hold: the morning re-run stops after two clean cycles, agreed with Marco.
|
|
83
|
+
|
|
84
|
+
## Principles
|
|
85
|
+
|
|
86
|
+
- The cost of doing nothing is always the opening move. Anchor before proposing.
|
|
87
|
+
- Driver models with visible arithmetic beat magic spreadsheets.
|
|
88
|
+
- Name the sensitivity. The case that admits its weakness earns more trust.
|
|
89
|
+
- One page. If it doesn't fit, you don't understand it yet.
|
|
90
|
+
- A business case the FDE can't explain in 60 seconds won't survive the sponsor's boss.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# score-use-cases - Score use cases
|
|
2
|
+
|
|
3
|
+
**Enter when:** multiple potential use cases compete for attention, the customer says "we want to do everything," a transformation engagement needs a starting point, or the FDE needs to recommend which problem to solve first.
|
|
4
|
+
|
|
5
|
+
**Read first:** `reality.md`, `brief.md`, `terrain.md`, `context.md`. If `business-case.md` or `prototype-log.md` exist from poc, load those - they carry forward.
|
|
6
|
+
|
|
7
|
+
The most dangerous moment in a multi-use-case engagement is when the technically interesting problem wins over the high-value problem. Scoring replaces opinion with arithmetic. The arithmetic is wrong - all models are - but it's *visibly* wrong, which means it can be debated and corrected. Opinion can't.
|
|
8
|
+
|
|
9
|
+
## Method (you do this work)
|
|
10
|
+
|
|
11
|
+
**1. List every candidate.** From the brief, from discovery conversations, from the FDE's own observations. Include the ones the customer hasn't said aloud but the codebase implies - a high-churn module with no tests is a candidate even if nobody named it.
|
|
12
|
+
|
|
13
|
+
**2. Score on five dimensions.** Each 1-5, with the scoring rubric below. If discover already ranked candidates with (Value × Data readiness) / Complexity, reuse that order; this table extends the conversation. Do not invent dimension scores from a thin brief - write `unknown` and ask.
|
|
14
|
+
|
|
15
|
+
| Dimension | 1 | 3 | 5 |
|
|
16
|
+
|-----------|---|---|---|
|
|
17
|
+
| **Business value** | Nice-to-have improvement | Noticeable cost or revenue impact | Existential - they lose customers or face regulatory action without it |
|
|
18
|
+
| **Urgency** | Someday; no deadline | Needed this quarter; mild pressure | Burning now; every week costs real money or trust |
|
|
19
|
+
| **Feasibility** | Requires new infrastructure, skills, or major refactoring | Moderate effort with known patterns | Can be built on existing systems with existing team |
|
|
20
|
+
| **Data readiness** | Data doesn't exist or is deeply unclean | Data exists but needs work; volume uncertain | Available, clean, sufficient volume today |
|
|
21
|
+
| **Stakeholder alignment** | No sponsor; political resistance | One sponsor but competing priorities | Active sponsor with budget and decision authority |
|
|
22
|
+
|
|
23
|
+
**3. Calculate the score.**
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Score = (Business value × Urgency × Stakeholder alignment) / (6 - Feasibility) × Data readiness
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Why this formula:
|
|
30
|
+
- **Multiplied numerator** - all three must be present. A high-value problem with no urgency or no sponsor scores low because it won't ship.
|
|
31
|
+
- **Feasibility inverted** - harder problems get a higher denominator, pulling the score down. A feasibility of 5 (easy) gives denominator 1; feasibility of 1 (hard) gives denominator 5.
|
|
32
|
+
- **Data readiness as multiplier** - for data-dependent use cases (ML, analytics). For pure engineering work, set to 3 (neutral) unless data quality is genuinely a factor.
|
|
33
|
+
|
|
34
|
+
**4. Rank and present.** Sort by score. Present the top 3 to the FDE and the sponsor:
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
| Rank | Use case | Value | Urgency | Feasibility | Data | Alignment | Score | Recommend |
|
|
38
|
+
|------|----------|-------|---------|-------------|------|-----------|-------|-----------|
|
|
39
|
+
| 1 | Fix payment reconciliation | 5 | 5 | 4 | 3 | 5 | 187.5 | Start here |
|
|
40
|
+
| 2 | Dashboard redesign | 3 | 2 | 5 | 3 | 3 | 54.0 | Quick win if capacity |
|
|
41
|
+
| 3 | ML fraud detection | 5 | 3 | 2 | 2 | 4 | 30.0 | Phase 2 after data prep |
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**5. Defend the recommendation, not the model.** The model is a reasoning tool, not a decision. When presenting:
|
|
45
|
+
|
|
46
|
+
- "The scoring puts payment reconciliation first because it's the only use case where all three conditions hold: the sponsor is active, the problem is burning, and we can build it on the existing system."
|
|
47
|
+
- Never: "The model says X." Models don't decide; people decide with evidence.
|
|
48
|
+
|
|
49
|
+
**6. Handle the CEO's pet project.** Sometimes the highest-scoring use case isn't the one the most powerful stakeholder wants. That's information, not a problem:
|
|
50
|
+
|
|
51
|
+
- Present the scores honestly - the stakeholder sees you're being rigorous, not political.
|
|
52
|
+
- If they override: log it in `decisions.md` as a deliberate choice, note the trade-off, and build what they chose. The FDE who was honest about the trade-off is protected when the override creates problems.
|
|
53
|
+
|
|
54
|
+
## Artifact
|
|
55
|
+
|
|
56
|
+
**`reality.md`** - the scored use-case table with the recommendation. This is the evidence the sponsor references when justifying the prioritisation upward.
|
|
57
|
+
|
|
58
|
+
**`decisions.md`** - if the scored recommendation was overridden: what was chosen, by whom, the trade-off accepted.
|
|
59
|
+
|
|
60
|
+
## Checkpoint
|
|
61
|
+
|
|
62
|
+
Walk the FDE through the top 3 scores and the recommendation. One question: "Does the sponsor have a strong preference that overrides the scoring?" If yes, log it. If no, proceed with the highest score to poc or plan.
|
|
63
|
+
|
|
64
|
+
## Principles
|
|
65
|
+
|
|
66
|
+
- Score replaces opinion. Visible arithmetic beats invisible judgment.
|
|
67
|
+
- All three conditions (value, urgency, alignment) must hold - or the use case won't ship.
|
|
68
|
+
- The technically interesting problem that scores low gets deferred, not pursued.
|
|
69
|
+
- Present the model; let the human decide. If overridden, log the trade-off.
|
|
70
|
+
- A use case with no active sponsor is a research project, not an engagement deliverable.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Task context and evidence
|
|
2
|
+
|
|
3
|
+
Use this contract for standalone methods and methods routed through `@fde`.
|
|
4
|
+
|
|
5
|
+
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite for work on supplied context. Tasks that inspect actual records need those records; staging or saving requires a selected customer. Never fabricate records to make an operational task appear complete. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
6
|
+
- **Artifact names are destinations:** names such as `success.md`, `decisions.md`, and `delivery.md` identify relevant evidence and, when bound, record destinations. If absent, use supplied facts and return the requested draft or result in the current workspace or conversation. Do not invent files or require initialization to complete useful work.
|
|
7
|
+
- **Bound engagement:** honor the current client binding and constraints. Before reading records, run `fde privacy` to verify masking support. Obtain a fresh, identity-matching sanitized `fde resume` packet for this task (or reuse a fresh session-hook packet); retrieve missing evidence with targeted `fde recall <topic>`. Use bounded `fde handoff` for transfer work. Refresh after binding, masking, or record changes. Never substitute raw `.fde/` reads, private blocks, masking dictionaries, or full transcripts. If the CLI is unavailable, use only permitted supplied excerpts and report the context limitation.
|
|
8
|
+
- **Authority:** continue reversible work within authorized scope. Reuse prior authorization when it covers the specific action. Show consequential engagement-record judgments and uncertainties for confirmation before saving unless already explicitly confirmed. New scope, acceptance changes, production actions, exports, and external messages need the applicable authority; a method invocation alone does not supply it. Keep one customer's writes in that customer's record.
|
|
9
|
+
- **Evidence:** distinguish supplied facts, estimates, hypotheses, and unknowns. Cite actual sources; a log date is not attribution. Never invent a source, signer, signature, customer reaction, or acceptance. Keep outcomes **promised → measured → accepted** distinct, and implementation, verification, deployment, and customer acceptance separate. Missing evidence means unproven, not an observed failure.
|
|
10
|
+
- **Data boundary:** use only data permitted by the customer's AI policy; clarify unknown policy before loading their code or data. Never load `<private>` content into a model. Cross-client comparison and exporting reusable material require permission and removal of customer-identifying or confidential content; anonymization alone does not grant permission.
|
|
11
|
+
|
|
12
|
+
## CLI availability
|
|
13
|
+
|
|
14
|
+
Only locate the CLI when the selected task needs it. Check `fde` on PATH and its `fde privacy` capability before reading records. If unavailable, use `node ~/.claude/fdeops/fde.js` when the disk installer placed it there, or `npx --yes fdeops <command>` when package downloads are permitted. Respect local installation and network rules. Run commands for the user; do not turn a missing bare `fde` command into unnecessary manual setup.
|
|
15
|
+
|
|
16
|
+
If no permitted executable is available, explain the missing capability. Continue any useful draft from supplied excerpts, but do not claim to have read, switched, staged, saved or rendered real records. Do not read raw private record files as a fallback.
|
|
17
|
+
|
|
18
|
+
Apply the selected method to this context. Follow its linked supporting methods only when needed; do not restart discovery or repeat already answered questions.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"references/qa.md": "d8f58e6d36436469a58aeb1107037f3e27fa81ff5b82d0e4df3c23eeadaf683c",
|
|
11
11
|
"references/review.md": "63a007f78288089cc84cccc72647e8ce6721b7efa0f4f8d6774c0f0af594749d",
|
|
12
12
|
"references/ship.md": "8cdcb2d4d6eb57e0adf3f1996bc02ae66920852ca304d2afd778fa483b7e969a",
|
|
13
|
-
"references/task-context.md": "
|
|
13
|
+
"references/task-context.md": "73eea2d7f164fac3226599e5be26ae4e79dcf69e0d24428dd12d623861410490",
|
|
14
14
|
"references/verification.md": "d453c075b849437375338fd23782ca7fe6d427b05137a2b10fc2f724aaf7f8a9"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Use this contract for standalone methods and methods routed through `@fde`.
|
|
4
4
|
|
|
5
|
-
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
5
|
+
- **Standalone work:** use the supplied, permitted facts, notes, code, and artifacts. A client name, `.fde/` directory, or initialized engagement is not a prerequisite for work on supplied context. Tasks that inspect actual records need those records; staging or saving requires a selected customer. Never fabricate records to make an operational task appear complete. Do not bootstrap records merely to run a method. Ask only for missing information or authority that changes the next action; mark other gaps as unknown.
|
|
6
6
|
- **Artifact names are destinations:** names such as `success.md`, `decisions.md`, and `delivery.md` identify relevant evidence and, when bound, record destinations. If absent, use supplied facts and return the requested draft or result in the current workspace or conversation. Do not invent files or require initialization to complete useful work.
|
|
7
7
|
- **Bound engagement:** honor the current client binding and constraints. Before reading records, run `fde privacy` to verify masking support. Obtain a fresh, identity-matching sanitized `fde resume` packet for this task (or reuse a fresh session-hook packet); retrieve missing evidence with targeted `fde recall <topic>`. Use bounded `fde handoff` for transfer work. Refresh after binding, masking, or record changes. Never substitute raw `.fde/` reads, private blocks, masking dictionaries, or full transcripts. If the CLI is unavailable, use only permitted supplied excerpts and report the context limitation.
|
|
8
8
|
- **Authority:** continue reversible work within authorized scope. Reuse prior authorization when it covers the specific action. Show consequential engagement-record judgments and uncertainties for confirmation before saving unless already explicitly confirmed. New scope, acceptance changes, production actions, exports, and external messages need the applicable authority; a method invocation alone does not supply it. Keep one customer's writes in that customer's record.
|
|
9
9
|
- **Evidence:** distinguish supplied facts, estimates, hypotheses, and unknowns. Cite actual sources; a log date is not attribution. Never invent a source, signer, signature, customer reaction, or acceptance. Keep outcomes **promised → measured → accepted** distinct, and implementation, verification, deployment, and customer acceptance separate. Missing evidence means unproven, not an observed failure.
|
|
10
10
|
- **Data boundary:** use only data permitted by the customer's AI policy; clarify unknown policy before loading their code or data. Never load `<private>` content into a model. Cross-client comparison and exporting reusable material require permission and removal of customer-identifying or confidential content; anonymization alone does not grant permission.
|
|
11
11
|
|
|
12
|
+
## CLI availability
|
|
13
|
+
|
|
14
|
+
Only locate the CLI when the selected task needs it. Check `fde` on PATH and its `fde privacy` capability before reading records. If unavailable, use `node ~/.claude/fdeops/fde.js` when the disk installer placed it there, or `npx --yes fdeops <command>` when package downloads are permitted. Respect local installation and network rules. Run commands for the user; do not turn a missing bare `fde` command into unnecessary manual setup.
|
|
15
|
+
|
|
16
|
+
If no permitted executable is available, explain the missing capability. Continue any useful draft from supplied excerpts, but do not claim to have read, switched, staged, saved or rendered real records. Do not read raw private record files as a fallback.
|
|
17
|
+
|
|
12
18
|
Apply the selected method to this context. Follow its linked supporting methods only when needed; do not restart discovery or repeat already answered questions.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generator": "bin/generate-skills.js",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"files": {
|
|
5
|
+
"SKILL.md": "f675a420f65b1542a66e713bb15f83c06310c0a8f4fa6d4a4d1b15672dea51c3",
|
|
6
|
+
"references/switch-clients.md": "4e8cb763db871b38fece3adaf9d1ac3b995c21dd1d0e463903eaa3854332c389",
|
|
7
|
+
"references/task-context.md": "73eea2d7f164fac3226599e5be26ae4e79dcf69e0d24428dd12d623861410490"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: switch-clients
|
|
3
|
+
description: Switch between existing customer engagements and triage competing needs. Use when context switching causes confusion; requires engagement records and preserves one client per write.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# switch-clients
|
|
7
|
+
|
|
8
|
+
<!-- Generated by bin/generate-skills.js; edit the canonical references and catalog. -->
|
|
9
|
+
|
|
10
|
+
## Purpose
|
|
11
|
+
|
|
12
|
+
Switch between existing customer engagements and triage competing needs. Use when context switching causes confusion; requires engagement records and preserves one client per write.
|
|
13
|
+
|
|
14
|
+
Read [the task context contract](references/task-context.md), then [the method](references/switch-clients.md). Load further references only when the task needs them. Everything linked is included in this skill; no other skill pack is required.
|
|
15
|
+
|
|
16
|
+
## Principles
|
|
17
|
+
|
|
18
|
+
- This task operates on existing engagement records. Use the local CLI and permitted sanitized packets; do not invent a portfolio or initialize records merely to complete the task. Report missing records or access as a limitation.
|
|
19
|
+
- If called by @fde, reuse its current sanitized packet and scope. Do not restart setup, discovery or questions already answered.
|
|
20
|
+
- The task context contract controls persistence and authority in both modes. Preserve unknowns and distinguish implementation, verification, deployment and acceptance.
|
|
21
|
+
- Use the customer's repository instructions and available tools. Report a missing capability or unrun check honestly; do not claim that installing a skill provisions infrastructure.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# switch-clients - Switch engagements
|
|
2
|
+
|
|
3
|
+
**Enter when:** the FDE is running 2+ engagements simultaneously, context-switching is causing mistakes or delays, a new customer is being onboarded while existing engagements are active, or the FDE says "I'm losing track."
|
|
4
|
+
|
|
5
|
+
**Read first:** Run `fde status --all` for the portfolio view. Then per engagement: `context.md` only - load deeper files only for the engagement being worked on.
|
|
6
|
+
|
|
7
|
+
The solo FDE running three customers simultaneously is the norm, not the exception. Without a system, the third customer gets the scraps of attention left after the other two have their crises. Multi-customer ops is the discipline of giving each customer the experience of being your only customer.
|
|
8
|
+
|
|
9
|
+
## Method (you do this work)
|
|
10
|
+
|
|
11
|
+
**1. The hard boundary: one `.fde/` per customer, always.**
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
~/fde-engagements/
|
|
15
|
+
garvey-payments/.fde/ ← Garvey's engagement memory
|
|
16
|
+
kesterman-freight/.fde/ ← Kesterman's engagement memory
|
|
17
|
+
rennick-health/.fde/ ← Rennick's engagement memory
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Never:**
|
|
21
|
+
- Merge two customers' data into one folder
|
|
22
|
+
- Reference one customer's code/data in another's context
|
|
23
|
+
- Load two customers' `.fde/` folders in the same session
|
|
24
|
+
- Copy patterns between customers without stripping identifying information
|
|
25
|
+
|
|
26
|
+
Cross-contamination is the fastest way to lose two engagements at once.
|
|
27
|
+
|
|
28
|
+
**2. The daily triage.** Every morning, before opening any editor:
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
## Daily triage - <date>
|
|
32
|
+
|
|
33
|
+
| Customer | Trust signal | Top risk | Today's action | Time budget |
|
|
34
|
+
|----------|-------------|----------|---------------|-------------|
|
|
35
|
+
| Garvey | green | Canary blocked on their security ticket | Chase ticket, prep ship checklist | 4h |
|
|
36
|
+
| Kesterman | AMBER | Sponsor went quiet Tue | Proactive conversation TODAY | 2h |
|
|
37
|
+
| Rennick | green | None active | Build slice 3, push PR | 2h |
|
|
38
|
+
|
|
39
|
+
Priority order: Kesterman (amber trust), Garvey (deadline), Rennick (steady)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**3. The triage rules.** In order of priority:
|
|
43
|
+
|
|
44
|
+
| Priority | Rule | Why |
|
|
45
|
+
|----------|------|-----|
|
|
46
|
+
| **1** | Trust fires first | A green-trust engagement with a deadline can wait 4 hours. An amber-trust engagement cannot wait 4 hours - it's 48 hours from red. |
|
|
47
|
+
| **2** | Deadlines second | Real deadlines (customer-facing, regulatory, contractual) outrank planned milestones. |
|
|
48
|
+
| **3** | Highest-value delivery third | The engagement where today's work produces the most visible outcome. |
|
|
49
|
+
| **4** | Steady-state last | Engagements on track with no urgent needs get allocated remaining time. |
|
|
50
|
+
|
|
51
|
+
**4. Context-switch protocol.** When moving between customers:
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
BEFORE LEAVING CUSTOMER A:
|
|
55
|
+
1. Write 3 lines to context.md: where we are, what changed, next step
|
|
56
|
+
2. Commit or stash any work in progress
|
|
57
|
+
3. Close all customer A files and browser tabs
|
|
58
|
+
|
|
59
|
+
BEFORE STARTING CUSTOMER B:
|
|
60
|
+
1. Run: fde resume (loads Customer B's engagement)
|
|
61
|
+
2. Read context.md - where did we leave off?
|
|
62
|
+
3. Confirm: what's the one thing to accomplish in this block?
|
|
63
|
+
4. Set a time boundary (e.g., "2 hours on Kesterman, then back to Garvey")
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
The 3-line context update is the bridge. Without it, the next session starts with "what was I doing?" - that's 20 minutes of re-discovery each time.
|
|
67
|
+
|
|
68
|
+
**5. The communication cadence.** Each customer gets a rhythm:
|
|
69
|
+
|
|
70
|
+
| Engagement intensity | Status cadence | Touchpoint type |
|
|
71
|
+
|---------------------|---------------|-----------------|
|
|
72
|
+
| Active build (daily work) | Weekly written + ad-hoc Slack | Status update + visible progress |
|
|
73
|
+
| Light touch (2-3 days/week) | Weekly written | Status update + next week's plan |
|
|
74
|
+
| Monitoring only | Bi-weekly written | Health check + any emerging risks |
|
|
75
|
+
|
|
76
|
+
**The golden rule: no customer should have to chase you for an update.** Proactive status updates are cheaper than reactive ones - and they protect trust across all engagements.
|
|
77
|
+
|
|
78
|
+
**6. Capacity management.** The honest conversation with yourself:
|
|
79
|
+
|
|
80
|
+
| Situation | Action |
|
|
81
|
+
|-----------|--------|
|
|
82
|
+
| All engagements are steady | Allocate by value; reserve 20% for unplanned |
|
|
83
|
+
| One engagement is on fire | Other engagements get a proactive heads-up: "Focus is on X this week; here's what's planned for you next week" |
|
|
84
|
+
| Two engagements are on fire | Triage - one gets full attention, one gets stabilised, tell the sponsor of the stabilised one what's happening |
|
|
85
|
+
| Three+ are on fire simultaneously | Escalate to your manager/team. Solo capacity is exceeded - communicate before quality drops |
|
|
86
|
+
|
|
87
|
+
**7. The cross-contamination checklist.** Before every customer interaction:
|
|
88
|
+
|
|
89
|
+
- [ ] Am I in the right `.fde/` folder?
|
|
90
|
+
- [ ] Am I referencing the right customer's context?
|
|
91
|
+
- [ ] Is the status update addressed to the right person?
|
|
92
|
+
- [ ] Does my current context contain any data from another customer?
|
|
93
|
+
- [ ] Are my browser tabs / code editors pointed at the right customer?
|
|
94
|
+
|
|
95
|
+
One wrong customer name in a status update damages both relationships.
|
|
96
|
+
|
|
97
|
+
## Artifact
|
|
98
|
+
|
|
99
|
+
**`context.md`** (per customer) - the 3-line bridge updated at every context switch. The most-written file in multi-customer ops.
|
|
100
|
+
|
|
101
|
+
**`fieldbook.html`** - regenerated by `fde dashboard --all` (deterministic, zero tokens) for the portfolio. Bare `fde dashboard` refreshes the bound `fieldbook-current.html`.
|
|
102
|
+
|
|
103
|
+
## Checkpoint
|
|
104
|
+
|
|
105
|
+
The daily triage is the checkpoint. One line per customer: signal, priority, today's action. If any customer hasn't been touched in 3+ business days: flag it - silence is noticed.
|
|
106
|
+
|
|
107
|
+
## Principles
|
|
108
|
+
|
|
109
|
+
- One `.fde/` per customer. Never merge. Never cross-reference.
|
|
110
|
+
- Trust fires outrank deadlines. A deadline can be renegotiated; trust can't.
|
|
111
|
+
- Write the 3-line context bridge at every switch. 20 seconds saves 20 minutes.
|
|
112
|
+
- No customer should have to chase for an update.
|
|
113
|
+
- Two fires simultaneously is a triage decision. Three is an escalation.
|
|
114
|
+
- The wrong customer name in a status update is a two-customer trust fire.
|