fdeops 5.2.3 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/bin/fde.js +13 -5
- package/mcp/fdeops-ingest/package.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/audit/.fde-generated.json +2 -1
- package/skills/audit/references/discover.md +4 -2
- package/skills/audit/references/domain-map.md +50 -0
- package/skills/board-memo/.fde-generated.json +1 -1
- package/skills/board-memo/references/business-case.md +6 -0
- package/skills/brief/.fde-generated.json +1 -1
- package/skills/brief/references/land.md +11 -0
- package/skills/build/.fde-generated.json +6 -5
- package/skills/build/references/build.md +2 -0
- package/skills/build/references/debug.md +3 -1
- package/skills/build/references/domain-map.md +50 -0
- package/skills/build/references/eval-pack.md +1 -0
- package/skills/build/references/integrate.md +2 -0
- package/skills/build/references/ship.md +1 -1
- package/skills/business-case/.fde-generated.json +1 -1
- package/skills/business-case/references/business-case.md +6 -0
- package/skills/debug/.fde-generated.json +6 -5
- package/skills/debug/references/build.md +2 -0
- package/skills/debug/references/debug.md +3 -1
- package/skills/debug/references/domain-map.md +50 -0
- package/skills/debug/references/eval-pack.md +1 -0
- package/skills/debug/references/integrate.md +2 -0
- package/skills/debug/references/ship.md +1 -1
- package/skills/discover/.fde-generated.json +2 -1
- package/skills/discover/references/discover.md +4 -2
- package/skills/discover/references/domain-map.md +50 -0
- package/skills/evaluate/.fde-generated.json +6 -5
- package/skills/evaluate/references/build.md +2 -0
- package/skills/evaluate/references/debug.md +3 -1
- package/skills/evaluate/references/domain-map.md +50 -0
- package/skills/evaluate/references/eval-pack.md +1 -0
- package/skills/evaluate/references/integrate.md +2 -0
- package/skills/evaluate/references/ship.md +1 -1
- package/skills/fde/references/artifacts.md +32 -0
- package/skills/fde/references/build.md +2 -0
- package/skills/fde/references/business-case.md +6 -0
- package/skills/fde/references/close.md +17 -4
- package/skills/fde/references/debug.md +3 -1
- package/skills/fde/references/discover.md +4 -2
- package/skills/fde/references/domain-map.md +50 -0
- package/skills/fde/references/encode-pattern.md +4 -0
- package/skills/fde/references/eval-pack.md +1 -0
- package/skills/fde/references/integrate.md +2 -0
- package/skills/fde/references/land.md +11 -0
- package/skills/fde/references/pick-three.md +2 -0
- package/skills/fde/references/readout.md +2 -0
- package/skills/fde/references/score-use-cases.md +10 -0
- package/skills/fde/references/ship.md +1 -1
- package/skills/fde/references/what-breaks.md +2 -0
- package/skills/fde/references/who-decides.md +1 -1
- package/skills/feedback/.fde-generated.json +1 -1
- package/skills/feedback/references/encode-pattern.md +4 -0
- package/skills/handoff/.fde-generated.json +4 -3
- package/skills/handoff/references/close.md +17 -4
- package/skills/handoff/references/domain-map.md +50 -0
- package/skills/handoff/references/encode-pattern.md +4 -0
- package/skills/handoff/references/land.md +11 -0
- package/skills/integrate/.fde-generated.json +6 -5
- package/skills/integrate/references/build.md +2 -0
- package/skills/integrate/references/debug.md +3 -1
- package/skills/integrate/references/domain-map.md +50 -0
- package/skills/integrate/references/eval-pack.md +1 -0
- package/skills/integrate/references/integrate.md +2 -0
- package/skills/integrate/references/ship.md +1 -1
- package/skills/options/.fde-generated.json +1 -1
- package/skills/options/references/business-case.md +6 -0
- package/skills/plan/.fde-generated.json +1 -1
- package/skills/plan/references/business-case.md +6 -0
- package/skills/poc/.fde-generated.json +8 -7
- package/skills/poc/references/build.md +2 -0
- package/skills/poc/references/business-case.md +6 -0
- package/skills/poc/references/debug.md +3 -1
- package/skills/poc/references/discover.md +4 -2
- package/skills/poc/references/domain-map.md +50 -0
- package/skills/poc/references/eval-pack.md +1 -0
- package/skills/poc/references/integrate.md +2 -0
- package/skills/poc/references/ship.md +1 -1
- package/skills/prioritize/.fde-generated.json +2 -2
- package/skills/prioritize/references/business-case.md +6 -0
- package/skills/prioritize/references/pick-three.md +2 -0
- package/skills/qa/.fde-generated.json +6 -5
- package/skills/qa/references/build.md +2 -0
- package/skills/qa/references/debug.md +3 -1
- package/skills/qa/references/domain-map.md +50 -0
- package/skills/qa/references/eval-pack.md +1 -0
- package/skills/qa/references/integrate.md +2 -0
- package/skills/qa/references/ship.md +1 -1
- package/skills/readout/.fde-generated.json +2 -2
- package/skills/readout/references/business-case.md +6 -0
- package/skills/readout/references/readout.md +2 -0
- package/skills/review/.fde-generated.json +6 -5
- package/skills/review/references/build.md +2 -0
- package/skills/review/references/debug.md +3 -1
- package/skills/review/references/domain-map.md +50 -0
- package/skills/review/references/eval-pack.md +1 -0
- package/skills/review/references/integrate.md +2 -0
- package/skills/review/references/ship.md +1 -1
- package/skills/runbook/.fde-generated.json +4 -3
- package/skills/runbook/references/close.md +17 -4
- package/skills/runbook/references/domain-map.md +50 -0
- package/skills/runbook/references/encode-pattern.md +4 -0
- package/skills/runbook/references/land.md +11 -0
- package/skills/score-use-cases/.fde-generated.json +2 -2
- package/skills/score-use-cases/references/business-case.md +6 -0
- package/skills/score-use-cases/references/score-use-cases.md +10 -0
- package/skills/ship/.fde-generated.json +6 -5
- package/skills/ship/references/build.md +2 -0
- package/skills/ship/references/debug.md +3 -1
- package/skills/ship/references/domain-map.md +50 -0
- package/skills/ship/references/eval-pack.md +1 -0
- package/skills/ship/references/integrate.md +2 -0
- package/skills/ship/references/ship.md +1 -1
- package/skills/what-breaks/.fde-generated.json +1 -1
- package/skills/what-breaks/references/what-breaks.md +2 -0
- package/skills/who-decides/.fde-generated.json +1 -1
- package/skills/who-decides/references/who-decides.md +1 -1
- package/templates/.fde/terrain.md +18 -0
- package/templates/.fde/trust-profile.md +1 -0
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "af0a4ef69e4ded553d99313ffd50468e43e68ba744c24f14d730367d8ebd57ea",
|
|
6
6
|
"agents/openai.yaml": "6c551dbdb5f0d27f908cc6de580a5f0a840dca1e01e1d3feaedd81bd349d8dc9",
|
|
7
|
-
"references/build.md": "
|
|
8
|
-
"references/debug.md": "
|
|
9
|
-
"references/
|
|
10
|
-
"references/
|
|
7
|
+
"references/build.md": "6eb35b2b6caba04c415c34b2dcfe4195596a73b571711adbceec183ff35eb307",
|
|
8
|
+
"references/debug.md": "8b1c2ed334f1d661f0b28707202fe6cb67416a8b07d32ac1117c4c7e460bb990",
|
|
9
|
+
"references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
|
|
10
|
+
"references/eval-pack.md": "5a784ab5ecacb85c8704e129dbf0ec9733370d54284aa2fd449e799db15690a5",
|
|
11
|
+
"references/integrate.md": "7b6c62cd64c95fa00856cca5ac29ba6adb6ffb96cd0d28a09c7bfddbd66fad8c",
|
|
11
12
|
"references/qa.md": "41de4d70827c83291efa217e97d777f62ec2849827687fbba7e4b1d17484b87e",
|
|
12
13
|
"references/review.md": "36b77ed44989a125a36e9948ce19c2ced57d529bee06643e32dda96f896d9d5b",
|
|
13
|
-
"references/ship.md": "
|
|
14
|
+
"references/ship.md": "67490410aac89bfbe2121a9936f70516b2db3df7f737da05471a8c05099f9201",
|
|
14
15
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
15
16
|
"references/verification.md": "8ee2502112a37eedfdacf929041e7b91e9e6fabb007408a1ee2e2992e3af6ff6"
|
|
16
17
|
}
|
|
@@ -10,6 +10,8 @@ Follow [task context](task-context.md). Supplied permitted context or an existin
|
|
|
10
10
|
|
|
11
11
|
Inspect repository instructions, working tree, relevant callers, examples, and test commands. Preserve unrelated edits. Follow its branch policy and choose checkout isolation according to overlapping work. Identify the dependencies and interfaces the change touches. Before changing an untested legacy path, use targeted characterization checks to capture undocumented behavior callers rely on; separate that behavior from the intended change.
|
|
12
12
|
|
|
13
|
+
Read **Do not change without asking** in `trust-profile.md` when it exists. Ask before you edit a listed path or setting, even for a routine fix; record the answer in `decisions.md`.
|
|
14
|
+
|
|
13
15
|
State the observable outcome, constraints, and acceptance checks, reusing agreed criteria for routine fixes. Surface unresolved consequential product choices while continuing independent investigation; do not invent acceptance.
|
|
14
16
|
|
|
15
17
|
## Build one complete slice
|
|
@@ -8,7 +8,7 @@ Follow [task context](task-context.md); permitted supplied evidence is enough wi
|
|
|
8
8
|
|
|
9
9
|
## Establish what failed
|
|
10
10
|
|
|
11
|
-
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports.
|
|
11
|
+
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports. In a request or draft for another person, give only the values the source gives; write a missing date, limit or version as not stated.
|
|
12
12
|
|
|
13
13
|
Inspect the affected path, callers, relevant changes, and existing tests. Reproduce with the smallest representative case in a permitted environment when practical. If reproduction is unavailable, state the gap and use traces or other safe observations to distinguish causes. Keep investigating without promoting a hypothesis to a finding. Ask for the smallest permitted observation that distinguishes the remaining causes; an operator-run check or approved excerpt may be enough without granting the agent additional access.
|
|
14
14
|
|
|
@@ -22,6 +22,8 @@ After two unsuccessful repair cycles, reassess the evidence and approach. That i
|
|
|
22
22
|
|
|
23
23
|
Fix the cause at the appropriate layer, preserving evidence of the original failure. Consider other callers, stale data, retries, concurrency, and permissions; leave unrelated cleanup out.
|
|
24
24
|
|
|
25
|
+
Name the hazard behind the mistake, not just the bad line, and search for other places where the same hazard exists. Report how many you found and which you fixed or left with an owner. Prefer a fix that makes the mistake impossible over one that warns about it, and a warning over a check that only detects it afterwards; say which you chose. End with one recurrence line: `Recurrence: down | unchanged - <mechanism>`. A fix that only silences the alert or retries past the error is `unchanged`; say so.
|
|
26
|
+
|
|
25
27
|
Add a regression check when it can meaningfully reproduce the bug. Show failure before and success after when practical, and disclose when the before-state could not be checked. Exercise the original journey and run affected adjacent and required checks using [verification](verification.md). Review the diff; use [review](review.md) for substantial or risky fixes.
|
|
26
28
|
|
|
27
29
|
*Fictional example:* Northstar's imports sometimes duplicate orders. A lost-response trace suggests a retry after a committed write. If staging cannot reproduce it, report the supported hypothesis and missing evidence rather than calling a longer timeout a root-cause fix.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# domain-map - Pin down the customer's words, records and owners
|
|
2
|
+
|
|
3
|
+
**Enter when:** one word means different things to different teams, two systems claim the same record, an identifier is unclear, or an integration is about to map fields. Discover builds the map. Integrate reads it before mapping. Close hands it to the next owner.
|
|
4
|
+
|
|
5
|
+
Apply [task context and evidence](task-context.md) first. Map only the entities the current decision touches. A full enterprise data model is not a prerequisite.
|
|
6
|
+
|
|
7
|
+
## Record each entity
|
|
8
|
+
|
|
9
|
+
Use the customer's own name for the entity, not a vendor or generic term. Write one row per entity:
|
|
10
|
+
|
|
11
|
+
| Entity (customer's term) | Meaning | Identifier and origin | System of record | Related to | Who may create / change | Evidence | Status |
|
|
12
|
+
|---|---|---|---|---|---|---|---|
|
|
13
|
+
|
|
14
|
+
- **Meaning:** one line, in the customer's words.
|
|
15
|
+
- **Identifier and origin:** the key field and the system or process that issues it. Note when the same entity has a different key in another system.
|
|
16
|
+
- **System of record:** the system people trust when copies disagree.
|
|
17
|
+
- **Who may create / change:** the team or role with that authority, and where they do it.
|
|
18
|
+
- **Status:** `confirmed` when an owner or authoritative source states it; `reading` when inferred from code, data or notes; `conflict` when sources disagree.
|
|
19
|
+
|
|
20
|
+
## Record terms and conflicts
|
|
21
|
+
|
|
22
|
+
List each word that means different things to different teams:
|
|
23
|
+
|
|
24
|
+
| Term | Team or system | Meaning there | Evidence |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
|
|
27
|
+
Record each disagreement once, with the person who can settle it:
|
|
28
|
+
|
|
29
|
+
| Conflict | Sources that disagree | Who decides | Next check | Status (open / settled) |
|
|
30
|
+
|---|---|---|---|---|
|
|
31
|
+
|
|
32
|
+
## Rules
|
|
33
|
+
|
|
34
|
+
- Cite a source in every row: person and date, document, file path, query or sample. A log date is not a source.
|
|
35
|
+
- Mark an inferred row `reading`. Code that writes a field shows behavior, not ownership.
|
|
36
|
+
- Write `not stated` for a missing value. Do not fill a cell from convention or another customer.
|
|
37
|
+
- Record a conflict; do not resolve it. When the named owner settles it, cite that source and update the row.
|
|
38
|
+
- Never copy `<private>` content into the map. Use field names and value shapes, not real record values.
|
|
39
|
+
- Update a row when evidence changes. Do not keep a second copy elsewhere.
|
|
40
|
+
|
|
41
|
+
## Where it lives
|
|
42
|
+
|
|
43
|
+
In a bound engagement, propose rows for `terrain.md` under `## Domain map`; add the section if the file lacks it. Find existing rows with `fde recall <term>`. For standalone work, return the map in the conversation or the requested document.
|
|
44
|
+
|
|
45
|
+
## Use it downstream
|
|
46
|
+
|
|
47
|
+
- **Integrate:** find both sides of each field mapping in the map first. A write path must not depend on a `reading` or `conflict` row until the owner confirms it; record the gap instead.
|
|
48
|
+
- **Close:** carry the map, the terms list and open conflicts with their owners into the handoff, so the next owner knows which system wins and whom to ask.
|
|
49
|
+
|
|
50
|
+
*Fictional example:* at Northstar, "account" is a billing account in the ERP (`ERP-ACCT-` prefix) and a portal login keyed by email. Finance and support each name their system as the owner of the customer. Record two entities, add "account" to the terms list, and log the ownership conflict with the decision owner named in `stakeholders.md`. Integrate links logins to billing accounts only after that owner confirms the key.
|
|
@@ -8,6 +8,7 @@ Use [task context](task-context.md). Supplied permitted context and an evaluatio
|
|
|
8
8
|
|
|
9
9
|
1. **Define the evaluated surface.** Name the model judgment, inputs, outputs, downstream actions, environment, and relevant failure impact. Separate model quality from deterministic tool authorization and application checks. Document the actual allowed action boundary and its source; missing authority remains unknown. When diagnosing quality failures, connect each observed failure to a permitted trace, expected behavior, and a code, human, or model check in the existing report; label anticipated risks separately.
|
|
10
10
|
2. **Choose cases by risk and coverage.** Use permitted historical examples, expert-labeled cases, or clearly marked synthetic fixtures. Cover relevant segments, boundary conditions, known failure modes, and critical harms. Record input, expected outcome/rubric, provenance, and critical-failure rule per case. Keep evaluation cases separate from tuning where possible; no fixed case count proves safety. State whether sampling seeks failure coverage or estimates usage frequency. Include random exploration where permitted; targeted or synthetic case results alone do not estimate production failure rates.
|
|
11
|
+
Keep two named sets. The **golden set** is small, expert-labelled with a named judge, and used while the behaviour is being shaped. The **regression set** only grows: every production failure becomes a case before its fix ships, and it runs at every release. A release gate without the regression set is a demo check.
|
|
11
12
|
3. **Agree the pass rule before the run.** Define quality thresholds, critical failures, coverage expectations, and acceptable uncertainty for this use. Use deterministic checks where possible and inspect subjective labels or judge reliability. Validate new or changed code evaluators against independently expected passing, failing, and boundary cases. Check judgment proxies against expert labels: a citation ID found in retrieved sources does not prove that the answer is supported. Propose missing criteria for agreement; do not manufacture acceptance from the observed scores.
|
|
12
13
|
4. **Run the actual evaluated path.** Record model/provider version, prompts/configuration, retrieval corpus or tools, application revision, environment, fixtures, and run date. Repeat where variability matters. Report totals, per-segment results, critical failures, and limitations using [verification](verification.md). A model-only run does not prove the agent's tool boundary works.
|
|
13
14
|
5. **Verify action authority and controls.** Human approval is required where the user's policy or task requires it. Already agreed bounded automation may run within its documented actions, identities, environments, and limits; do not require fresh approval for every authorized action. Check enforcement outside the model, least privilege, input/output validation, cost/rate limits, stop conditions, observability, and recovery as applicable. Unknown or exceeded authority blocks those actions. Evaluation success never grants new authority.
|
|
@@ -10,6 +10,8 @@ Follow [task context](task-context.md); `.fde/` is optional. Use the customer's
|
|
|
10
10
|
|
|
11
11
|
Map producer, consumer, owner, direction, and side effects. Inspect the installed version and local implementation; check uncertain behavior against current official documentation. Identify schemas, authentication scopes, network boundaries, and the permitted test environment. Before changing an untested boundary, characterize mappings, ordering, and other behavior its callers depend on.
|
|
12
12
|
|
|
13
|
+
Before you map fields, read the [domain map](domain-map.md) for each entity that crosses the boundary: its identifier, system of record and who may change it. If an entity has no row, or its row is a `reading` or `conflict`, record the gap and get the owner's confirmation before a write depends on it.
|
|
14
|
+
|
|
13
15
|
Write a real input and expected downstream result, plus a rejection or failure example. Keep configuration validity, authentication, connectivity, contract compatibility, and end-to-end behavior separate: evidence for one does not prove the next.
|
|
14
16
|
|
|
15
17
|
Inspect credentials by presence and scope without printing values; use existing secret storage. Check classification and retention before moving data. Never load raw `<private>` blocks into a model. Prefer sanitized or synthetic cases approved for the target environment.
|
|
@@ -51,7 +51,7 @@ During rollout inspect health, errors, key user behavior, and side-effect integr
|
|
|
51
51
|
|
|
52
52
|
Run permitted smoke and acceptance checks against the deployed candidate. Record deployment identity/time, observed signals, sample/window, failures, recovery actions, and remaining gaps. Define the pulse: metric, cadence, threshold, owner, and response. For AI, include permitted output sampling and drift/action-boundary monitoring.
|
|
53
53
|
|
|
54
|
-
Before wider exposure, verify expected load/cost, data pipeline behavior, ownership, support, and applicable governance for the proposed audience. Choose expansion conditions from evidence; a successful pilot does not establish readiness for an arbitrary larger scale. Measure adoption against the eligible users, expected workflow frequency, and agreed observation window; investigate misses without guessing their cause.
|
|
54
|
+
Before wider exposure, verify expected load/cost, data pipeline behavior, ownership, support, and applicable governance for the proposed audience. Choose expansion conditions from evidence; a successful pilot does not establish readiness for an arbitrary larger scale. Measure adoption against the eligible users, expected workflow frequency, and agreed observation window; investigate misses without guessing their cause. Report two rates with their denominators pinned in `success.md`: activation (users who completed the workflow at least once ÷ eligible users) and fallback (work that went back to the old path ÷ eligible work). Before blaming training, ask three incentive questions: did anyone's scorecard change; who keeps the time saved; who carries the blame when the system errs. A no on all three predicts low use regardless of quality.
|
|
55
55
|
|
|
56
56
|
## Receipt and completion
|
|
57
57
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"SKILL.md": "77c00384d8bde137919cbf4e791f7cb59a70a141fc65afe3298032a6ef33545f",
|
|
6
6
|
"agents/openai.yaml": "7eed15e7cb50ba726c666313381bb4e108b36f2285dcfdff5a248c6dbcb98b8b",
|
|
7
7
|
"references/board-memo.md": "44eb3c27f164da63af694591025b3fc96bb23d149c29de400997c1653e3322f8",
|
|
8
|
-
"references/business-case.md": "
|
|
9
|
-
"references/readout.md": "
|
|
8
|
+
"references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
|
|
9
|
+
"references/readout.md": "65975ff8df8066faec042c7cce1c818ae526aa7efe70ee715bb780fc25201e04",
|
|
10
10
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -61,6 +61,12 @@ The sponsor who sees you've identified where the case could break trusts the cas
|
|
|
61
61
|
**Recommendation:** <proceed / proceed-with-conditions / defer>
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
## When the sponsor asks how the work is priced
|
|
65
|
+
|
|
66
|
+
Three models carry different risk. Time and materials: the customer carries the outcome risk. Fixed scope: the vendor carries the scope risk, and change control is the safeguard. Outcome share: both carry it, and it needs four preconditions: a measured baseline, attribution the customer's finance team accepts, a cash gap the vendor can survive, and a downside floor. The FDE does not set the price; the FDE's evidence sets whether outcome pricing is possible. Record the model in `business-case.md`.
|
|
67
|
+
|
|
68
|
+
Whatever the model, five items belong in the agreement: the acceptance criteria and who judges them, the customer's cooperation duties, milestones with their rollout steps, responsibility after handoff, and ownership (custom code to the customer, reusable components to the vendor, the eval set travels with the handoff). A missing item is a `decisions.md` gap, not an assumption.
|
|
69
|
+
|
|
64
70
|
## Artifact
|
|
65
71
|
|
|
66
72
|
**`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.
|
|
@@ -42,6 +42,8 @@ Append the draft to `delivery.md` under `## Status - <date>` using the SCQA head
|
|
|
42
42
|
**Q:** ...
|
|
43
43
|
**A:** ...
|
|
44
44
|
**Value ledger:** promised … / measured … / accepted by … (evidence) - or `claimed, unaccepted`
|
|
45
|
+
**Needs sponsor action:** <the one decision or access only the sponsor can give, and the date it starts to cost>
|
|
46
|
+
**30-day horizon:** <what the sponsor sees in a month if nothing changes>
|
|
45
47
|
**Kill list reminder:** …
|
|
46
48
|
**Hostile Qs:** 1) … 2) … 3) …
|
|
47
49
|
```
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "82836bf1ef6ce269446f7d1ff5f5913df38da5fc4d1d07fb3cbc82b8f742b193",
|
|
6
6
|
"agents/openai.yaml": "d928b571b9ebbb29ea8acd2e38769087288e2500f0ce9ab7f20f3f57a0e3d8d2",
|
|
7
|
-
"references/build.md": "
|
|
8
|
-
"references/debug.md": "
|
|
9
|
-
"references/
|
|
10
|
-
"references/
|
|
7
|
+
"references/build.md": "6eb35b2b6caba04c415c34b2dcfe4195596a73b571711adbceec183ff35eb307",
|
|
8
|
+
"references/debug.md": "8b1c2ed334f1d661f0b28707202fe6cb67416a8b07d32ac1117c4c7e460bb990",
|
|
9
|
+
"references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
|
|
10
|
+
"references/eval-pack.md": "5a784ab5ecacb85c8704e129dbf0ec9733370d54284aa2fd449e799db15690a5",
|
|
11
|
+
"references/integrate.md": "7b6c62cd64c95fa00856cca5ac29ba6adb6ffb96cd0d28a09c7bfddbd66fad8c",
|
|
11
12
|
"references/qa.md": "41de4d70827c83291efa217e97d777f62ec2849827687fbba7e4b1d17484b87e",
|
|
12
13
|
"references/review.md": "36b77ed44989a125a36e9948ce19c2ced57d529bee06643e32dda96f896d9d5b",
|
|
13
|
-
"references/ship.md": "
|
|
14
|
+
"references/ship.md": "67490410aac89bfbe2121a9936f70516b2db3df7f737da05471a8c05099f9201",
|
|
14
15
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
15
16
|
"references/verification.md": "8ee2502112a37eedfdacf929041e7b91e9e6fabb007408a1ee2e2992e3af6ff6"
|
|
16
17
|
}
|
|
@@ -10,6 +10,8 @@ Follow [task context](task-context.md). Supplied permitted context or an existin
|
|
|
10
10
|
|
|
11
11
|
Inspect repository instructions, working tree, relevant callers, examples, and test commands. Preserve unrelated edits. Follow its branch policy and choose checkout isolation according to overlapping work. Identify the dependencies and interfaces the change touches. Before changing an untested legacy path, use targeted characterization checks to capture undocumented behavior callers rely on; separate that behavior from the intended change.
|
|
12
12
|
|
|
13
|
+
Read **Do not change without asking** in `trust-profile.md` when it exists. Ask before you edit a listed path or setting, even for a routine fix; record the answer in `decisions.md`.
|
|
14
|
+
|
|
13
15
|
State the observable outcome, constraints, and acceptance checks, reusing agreed criteria for routine fixes. Surface unresolved consequential product choices while continuing independent investigation; do not invent acceptance.
|
|
14
16
|
|
|
15
17
|
## Build one complete slice
|
|
@@ -8,7 +8,7 @@ Follow [task context](task-context.md); permitted supplied evidence is enough wi
|
|
|
8
8
|
|
|
9
9
|
## Establish what failed
|
|
10
10
|
|
|
11
|
-
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports.
|
|
11
|
+
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports. In a request or draft for another person, give only the values the source gives; write a missing date, limit or version as not stated.
|
|
12
12
|
|
|
13
13
|
Inspect the affected path, callers, relevant changes, and existing tests. Reproduce with the smallest representative case in a permitted environment when practical. If reproduction is unavailable, state the gap and use traces or other safe observations to distinguish causes. Keep investigating without promoting a hypothesis to a finding. Ask for the smallest permitted observation that distinguishes the remaining causes; an operator-run check or approved excerpt may be enough without granting the agent additional access.
|
|
14
14
|
|
|
@@ -22,6 +22,8 @@ After two unsuccessful repair cycles, reassess the evidence and approach. That i
|
|
|
22
22
|
|
|
23
23
|
Fix the cause at the appropriate layer, preserving evidence of the original failure. Consider other callers, stale data, retries, concurrency, and permissions; leave unrelated cleanup out.
|
|
24
24
|
|
|
25
|
+
Name the hazard behind the mistake, not just the bad line, and search for other places where the same hazard exists. Report how many you found and which you fixed or left with an owner. Prefer a fix that makes the mistake impossible over one that warns about it, and a warning over a check that only detects it afterwards; say which you chose. End with one recurrence line: `Recurrence: down | unchanged - <mechanism>`. A fix that only silences the alert or retries past the error is `unchanged`; say so.
|
|
26
|
+
|
|
25
27
|
Add a regression check when it can meaningfully reproduce the bug. Show failure before and success after when practical, and disclose when the before-state could not be checked. Exercise the original journey and run affected adjacent and required checks using [verification](verification.md). Review the diff; use [review](review.md) for substantial or risky fixes.
|
|
26
28
|
|
|
27
29
|
*Fictional example:* Northstar's imports sometimes duplicate orders. A lost-response trace suggests a retry after a committed write. If staging cannot reproduce it, report the supported hypothesis and missing evidence rather than calling a longer timeout a root-cause fix.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# domain-map - Pin down the customer's words, records and owners
|
|
2
|
+
|
|
3
|
+
**Enter when:** one word means different things to different teams, two systems claim the same record, an identifier is unclear, or an integration is about to map fields. Discover builds the map. Integrate reads it before mapping. Close hands it to the next owner.
|
|
4
|
+
|
|
5
|
+
Apply [task context and evidence](task-context.md) first. Map only the entities the current decision touches. A full enterprise data model is not a prerequisite.
|
|
6
|
+
|
|
7
|
+
## Record each entity
|
|
8
|
+
|
|
9
|
+
Use the customer's own name for the entity, not a vendor or generic term. Write one row per entity:
|
|
10
|
+
|
|
11
|
+
| Entity (customer's term) | Meaning | Identifier and origin | System of record | Related to | Who may create / change | Evidence | Status |
|
|
12
|
+
|---|---|---|---|---|---|---|---|
|
|
13
|
+
|
|
14
|
+
- **Meaning:** one line, in the customer's words.
|
|
15
|
+
- **Identifier and origin:** the key field and the system or process that issues it. Note when the same entity has a different key in another system.
|
|
16
|
+
- **System of record:** the system people trust when copies disagree.
|
|
17
|
+
- **Who may create / change:** the team or role with that authority, and where they do it.
|
|
18
|
+
- **Status:** `confirmed` when an owner or authoritative source states it; `reading` when inferred from code, data or notes; `conflict` when sources disagree.
|
|
19
|
+
|
|
20
|
+
## Record terms and conflicts
|
|
21
|
+
|
|
22
|
+
List each word that means different things to different teams:
|
|
23
|
+
|
|
24
|
+
| Term | Team or system | Meaning there | Evidence |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
|
|
27
|
+
Record each disagreement once, with the person who can settle it:
|
|
28
|
+
|
|
29
|
+
| Conflict | Sources that disagree | Who decides | Next check | Status (open / settled) |
|
|
30
|
+
|---|---|---|---|---|
|
|
31
|
+
|
|
32
|
+
## Rules
|
|
33
|
+
|
|
34
|
+
- Cite a source in every row: person and date, document, file path, query or sample. A log date is not a source.
|
|
35
|
+
- Mark an inferred row `reading`. Code that writes a field shows behavior, not ownership.
|
|
36
|
+
- Write `not stated` for a missing value. Do not fill a cell from convention or another customer.
|
|
37
|
+
- Record a conflict; do not resolve it. When the named owner settles it, cite that source and update the row.
|
|
38
|
+
- Never copy `<private>` content into the map. Use field names and value shapes, not real record values.
|
|
39
|
+
- Update a row when evidence changes. Do not keep a second copy elsewhere.
|
|
40
|
+
|
|
41
|
+
## Where it lives
|
|
42
|
+
|
|
43
|
+
In a bound engagement, propose rows for `terrain.md` under `## Domain map`; add the section if the file lacks it. Find existing rows with `fde recall <term>`. For standalone work, return the map in the conversation or the requested document.
|
|
44
|
+
|
|
45
|
+
## Use it downstream
|
|
46
|
+
|
|
47
|
+
- **Integrate:** find both sides of each field mapping in the map first. A write path must not depend on a `reading` or `conflict` row until the owner confirms it; record the gap instead.
|
|
48
|
+
- **Close:** carry the map, the terms list and open conflicts with their owners into the handoff, so the next owner knows which system wins and whom to ask.
|
|
49
|
+
|
|
50
|
+
*Fictional example:* at Northstar, "account" is a billing account in the ERP (`ERP-ACCT-` prefix) and a portal login keyed by email. Finance and support each name their system as the owner of the customer. Record two entities, add "account" to the terms list, and log the ownership conflict with the decision owner named in `stakeholders.md`. Integrate links logins to billing accounts only after that owner confirms the key.
|
|
@@ -8,6 +8,7 @@ Use [task context](task-context.md). Supplied permitted context and an evaluatio
|
|
|
8
8
|
|
|
9
9
|
1. **Define the evaluated surface.** Name the model judgment, inputs, outputs, downstream actions, environment, and relevant failure impact. Separate model quality from deterministic tool authorization and application checks. Document the actual allowed action boundary and its source; missing authority remains unknown. When diagnosing quality failures, connect each observed failure to a permitted trace, expected behavior, and a code, human, or model check in the existing report; label anticipated risks separately.
|
|
10
10
|
2. **Choose cases by risk and coverage.** Use permitted historical examples, expert-labeled cases, or clearly marked synthetic fixtures. Cover relevant segments, boundary conditions, known failure modes, and critical harms. Record input, expected outcome/rubric, provenance, and critical-failure rule per case. Keep evaluation cases separate from tuning where possible; no fixed case count proves safety. State whether sampling seeks failure coverage or estimates usage frequency. Include random exploration where permitted; targeted or synthetic case results alone do not estimate production failure rates.
|
|
11
|
+
Keep two named sets. The **golden set** is small, expert-labelled with a named judge, and used while the behaviour is being shaped. The **regression set** only grows: every production failure becomes a case before its fix ships, and it runs at every release. A release gate without the regression set is a demo check.
|
|
11
12
|
3. **Agree the pass rule before the run.** Define quality thresholds, critical failures, coverage expectations, and acceptable uncertainty for this use. Use deterministic checks where possible and inspect subjective labels or judge reliability. Validate new or changed code evaluators against independently expected passing, failing, and boundary cases. Check judgment proxies against expert labels: a citation ID found in retrieved sources does not prove that the answer is supported. Propose missing criteria for agreement; do not manufacture acceptance from the observed scores.
|
|
12
13
|
4. **Run the actual evaluated path.** Record model/provider version, prompts/configuration, retrieval corpus or tools, application revision, environment, fixtures, and run date. Repeat where variability matters. Report totals, per-segment results, critical failures, and limitations using [verification](verification.md). A model-only run does not prove the agent's tool boundary works.
|
|
13
14
|
5. **Verify action authority and controls.** Human approval is required where the user's policy or task requires it. Already agreed bounded automation may run within its documented actions, identities, environments, and limits; do not require fresh approval for every authorized action. Check enforcement outside the model, least privilege, input/output validation, cost/rate limits, stop conditions, observability, and recovery as applicable. Unknown or exceeded authority blocks those actions. Evaluation success never grants new authority.
|
|
@@ -10,6 +10,8 @@ Follow [task context](task-context.md); `.fde/` is optional. Use the customer's
|
|
|
10
10
|
|
|
11
11
|
Map producer, consumer, owner, direction, and side effects. Inspect the installed version and local implementation; check uncertain behavior against current official documentation. Identify schemas, authentication scopes, network boundaries, and the permitted test environment. Before changing an untested boundary, characterize mappings, ordering, and other behavior its callers depend on.
|
|
12
12
|
|
|
13
|
+
Before you map fields, read the [domain map](domain-map.md) for each entity that crosses the boundary: its identifier, system of record and who may change it. If an entity has no row, or its row is a `reading` or `conflict`, record the gap and get the owner's confirmation before a write depends on it.
|
|
14
|
+
|
|
13
15
|
Write a real input and expected downstream result, plus a rejection or failure example. Keep configuration validity, authentication, connectivity, contract compatibility, and end-to-end behavior separate: evidence for one does not prove the next.
|
|
14
16
|
|
|
15
17
|
Inspect credentials by presence and scope without printing values; use existing secret storage. Check classification and retention before moving data. Never load raw `<private>` blocks into a model. Prefer sanitized or synthetic cases approved for the target environment.
|
|
@@ -51,7 +51,7 @@ During rollout inspect health, errors, key user behavior, and side-effect integr
|
|
|
51
51
|
|
|
52
52
|
Run permitted smoke and acceptance checks against the deployed candidate. Record deployment identity/time, observed signals, sample/window, failures, recovery actions, and remaining gaps. Define the pulse: metric, cadence, threshold, owner, and response. For AI, include permitted output sampling and drift/action-boundary monitoring.
|
|
53
53
|
|
|
54
|
-
Before wider exposure, verify expected load/cost, data pipeline behavior, ownership, support, and applicable governance for the proposed audience. Choose expansion conditions from evidence; a successful pilot does not establish readiness for an arbitrary larger scale. Measure adoption against the eligible users, expected workflow frequency, and agreed observation window; investigate misses without guessing their cause.
|
|
54
|
+
Before wider exposure, verify expected load/cost, data pipeline behavior, ownership, support, and applicable governance for the proposed audience. Choose expansion conditions from evidence; a successful pilot does not establish readiness for an arbitrary larger scale. Measure adoption against the eligible users, expected workflow frequency, and agreed observation window; investigate misses without guessing their cause. Report two rates with their denominators pinned in `success.md`: activation (users who completed the workflow at least once ÷ eligible users) and fallback (work that went back to the old path ÷ eligible work). Before blaming training, ask three incentive questions: did anyone's scorecard change; who keeps the time saved; who carries the blame when the system errs. A no on all three predicts low use regardless of quality.
|
|
55
55
|
|
|
56
56
|
## Receipt and completion
|
|
57
57
|
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "0e15cf5d479bfb490d34122bf6a6d5df5f9f822f14d4d9b805af29348af0fbd0",
|
|
6
6
|
"agents/openai.yaml": "53922bbe55ba23dc812c9bef311fbef238e2e25252100bdac7a8bd4f6c5e2780",
|
|
7
|
-
"references/close.md": "
|
|
8
|
-
"references/
|
|
9
|
-
"references/
|
|
7
|
+
"references/close.md": "93f10aba6cbbcc2ce1248af64077bf1d81bcb0d7721880cb2835a17eebea8aa1",
|
|
8
|
+
"references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
|
|
9
|
+
"references/encode-pattern.md": "cbe73e7784b6a21093e555a50919ed26c7511e3024a1313eef34e4f9e7885bab",
|
|
10
|
+
"references/land.md": "2485e3a23bfa3804716f45ccfbc1cf74081620302d52e3c49a34bfe7205da655",
|
|
10
11
|
"references/runbook.md": "d32a40113941c603b97f09eabfd0e25afd25129102c6b07fa91a04fb4f8e93e7",
|
|
11
12
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
12
13
|
"references/verification.md": "8ee2502112a37eedfdacf929041e7b91e9e6fabb007408a1ee2e2992e3af6ff6"
|
|
@@ -6,7 +6,7 @@ For a standalone handoff draft, use the supplied notes and project evidence; no
|
|
|
6
6
|
|
|
7
7
|
**Enter when:** the engagement is ending - the customer team must run this without the FDE.
|
|
8
8
|
|
|
9
|
-
**Read first:** for standalone work, use the supplied permitted operating notes, evidence and ownership; no engagement binding or CLI command is required. For a bound engagement, use bounded `fde handoff` or `fde resume`, then `fde recall <topic>` for relevant client patterns, earlier retrospectives, and missing evidence. Never initialize records merely to draft a handoff. Build the picture through relevant excerpts, not a full-directory load. Consult `terrain.md` only for code paths needed by the successor.
|
|
9
|
+
**Read first:** for standalone work, use the supplied permitted operating notes, evidence and ownership; no engagement binding or CLI command is required. For a bound engagement, use bounded `fde handoff` or `fde resume`, then `fde recall <topic>` for relevant client patterns, earlier retrospectives, and missing evidence. Never initialize records merely to draft a handoff. Build the picture through relevant excerpts, not a full-directory load. Consult `terrain.md` only for code paths and the domain map needed by the successor.
|
|
10
10
|
|
|
11
11
|
A handoff transfers the ability to operate the system, not just its files.
|
|
12
12
|
|
|
@@ -26,6 +26,7 @@ Lead with what is being transferred, what the receiving team can demonstrably do
|
|
|
26
26
|
- Which trust moments mattered?
|
|
27
27
|
- What did the codebase teach that `terrain.md` didn't know at the start?
|
|
28
28
|
- Which risk almost became real?
|
|
29
|
+
- Fix the class: sample up to five fixes from this engagement. For each, did the hazard sweep run, and did the same failure return? A failure that returned twice is a class; name the change that prevents it, or record it as an open risk with an owner.
|
|
29
30
|
- AI components: did they behave in production? What failure modes did the prototype hide? Is the team equipped to maintain them?
|
|
30
31
|
|
|
31
32
|
**1b. Closure/readiness assessment only: value + receipts gate (refuse green close if any fail):**
|
|
@@ -33,11 +34,23 @@ Lead with what is being transferred, what the receiving team can demonstrably do
|
|
|
33
34
|
- The receiving team has accepted the operating responsibilities with a source. Critical operating capabilities (such as access, failure triage, recovery and disabling an AI action) are recorded as verified, failed or untested under the receiving team's intended access. Reuse applicable accepted ownership and drill evidence; a lookup exercise or a run using only the departing FDE's credentials is insufficient. Unresolved critical gaps prevent green closure.
|
|
34
35
|
- Audit receipt exists for the final shipped path (exceptions/operating map walked; cite file).
|
|
35
36
|
- Eval receipt: **n/a if no AI**, else final scoped eval result + operating owner and required human-review or bounded-automation authority recorded; kill switch / fallback named in `handoff.md`.
|
|
37
|
+
- Exit access and record disposition: list each grant the FDE or their agents hold in customer systems (accounts, API keys, OAuth grants, connectors, webhooks, scheduled jobs) with who revokes it and the check that should now fail. A revocation request is not revocation until that check fails. Record what happens to the local engagement record and raw source pulls: returned to the customer, kept with a named owner and retention period, or deleted and how. A vendor deletion request is not deletion. Unrevoked access to customer data prevents green closure.
|
|
38
|
+
- Use after launch: evidence, with its source, that the intended users still use the result after the first weeks, or a note that it was not checked. Name any group that has gone back to the old way and why. Missing use evidence is a recorded gap; it blocks green closure only when `success.md` depends on use.
|
|
36
39
|
- One line in the retrospective: which bucket moved, by how much, vs baseline.
|
|
37
40
|
|
|
38
41
|
**2. Closure only: the pattern.** Anything that happened here and may happen again - a compliance approach, a migration pattern, a stakeholder dynamic - is a candidate for the client's `patterns.md`. Use [encode-pattern](encode-pattern.md) to record applicability, counterexamples, and evidence. Cross-client generalizations need explicit approval and a user-chosen export destination under the applicable policy; closing an engagement does not authorize an automatic scan or export.
|
|
39
42
|
|
|
40
|
-
**3. The handoff.** Operational knowledge for the person woken at 2am, not technical documentation: the relevant observed failures, their recovery steps and any untested procedure · who holds the tribal knowledge · what each alert means · deploy and rollback in plain language. AI components additionally: model version, what normal output looks like (so drift is recognisable), fallback behaviour, who owns evaluation and corrective changes, and how to disable or contain the AI path using the supported fallback. Do not assume retraining is available or appropriate.
|
|
43
|
+
**3. The handoff.** Operational knowledge for the person woken at 2am, not technical documentation: the relevant observed failures, their recovery steps and any untested procedure · who holds the tribal knowledge · what each alert means · deploy and rollback in plain language · the [domain map](domain-map.md): which system owns each record, its identifier, terms that confuse teams, and open conflicts with their owners. AI components additionally: model version, what normal output looks like (so drift is recognisable), fallback behaviour, who owns evaluation and corrective changes, and how to disable or contain the AI path using the supported fallback. Do not assume retraining is available or appropriate.
|
|
44
|
+
|
|
45
|
+
**3b. Stage the exit.** Transfer operations in three steps. Move to the next step only when its exit evidence exists; a date alone is not enough:
|
|
46
|
+
|
|
47
|
+
| Step | Who operates | Exit evidence |
|
|
48
|
+
|------|--------------|---------------|
|
|
49
|
+
| Run alongside | The customer runs it; the FDE fixes in the open | Several consecutive weeks with no FDE intervention |
|
|
50
|
+
| Shadow | The customer runs it; the FDE only watches and keeps a weekly list of missed issues | The customer's calls on anomalies match the FDE's calls several times in a row |
|
|
51
|
+
| Exit | The customer alone; one escalation channel remains | The last shadow list is empty; a check-in is booked months out |
|
|
52
|
+
|
|
53
|
+
Three assets must be rehearsed, not read: a one-page operating note (who watches which alert, which page for which incident, when to roll back); the eval set with a named maintainer and a refresh cadence; an incident playbook with a first response per failure class. Record each as `rehearsed by <name> on <date>` or `untested`. If the customer cannot reach exit, name managed operation as a priced line with its own scope; do not leave it as an open favor. Hold at least two customer relationships beyond the sponsor; a sponsor who leaves is the common cause of quiet churn.
|
|
41
54
|
|
|
42
55
|
**4. Transformation engagements - four extra answers in `handoff.md`:**
|
|
43
56
|
- Who owns AI governance after the FDE leaves? (Who can pull a model from production?)
|
|
@@ -49,7 +62,7 @@ Lead with what is being transferred, what the receiving team can demonstrably do
|
|
|
49
62
|
|
|
50
63
|
For a draft-only request, return the handoff in the requested format with evidence gaps and readiness status. Do not create retrospective or pattern artifacts. The following record destinations apply when closing a bound engagement under its write rules.
|
|
51
64
|
|
|
52
|
-
**`retrospectives/YYYY-MM-DD-<engagement>.md`** - one file per close, retaining dated lessons for targeted recall within this client. **`patterns.md`** - client pattern candidates and evidence. **`handoff.md`** - the 2am document, including the deployed revision
|
|
65
|
+
**`retrospectives/YYYY-MM-DD-<engagement>.md`** - one file per close, retaining dated lessons for targeted recall within this client. **`patterns.md`** - client pattern candidates and evidence. **`handoff.md`** - the 2am document, including the deployed revision, the policy, access, and ownership evidence current at handoff, and the exit access table with each revocation check. If the project reopens, use [land](land.md) to recheck these before dependent action; closure evidence remains historical.
|
|
53
66
|
|
|
54
67
|
## Checkpoint
|
|
55
68
|
|
|
@@ -71,7 +84,7 @@ The close gate bites in a useful way. The ledger shows detection at 12 minutes m
|
|
|
71
84
|
|
|
72
85
|
## Principles
|
|
73
86
|
|
|
74
|
-
- Done = the customer operates without you.
|
|
87
|
+
- Done = the customer operates without you, and none of your access remains.
|
|
75
88
|
- No named value bucket moved (or sponsor-accepted pending) = not a green close.
|
|
76
89
|
- The retrospective is an investment in the next engagement, not a post-mortem.
|
|
77
90
|
- Encode what repeated. The same lesson learned twice is a process failure.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# domain-map - Pin down the customer's words, records and owners
|
|
2
|
+
|
|
3
|
+
**Enter when:** one word means different things to different teams, two systems claim the same record, an identifier is unclear, or an integration is about to map fields. Discover builds the map. Integrate reads it before mapping. Close hands it to the next owner.
|
|
4
|
+
|
|
5
|
+
Apply [task context and evidence](task-context.md) first. Map only the entities the current decision touches. A full enterprise data model is not a prerequisite.
|
|
6
|
+
|
|
7
|
+
## Record each entity
|
|
8
|
+
|
|
9
|
+
Use the customer's own name for the entity, not a vendor or generic term. Write one row per entity:
|
|
10
|
+
|
|
11
|
+
| Entity (customer's term) | Meaning | Identifier and origin | System of record | Related to | Who may create / change | Evidence | Status |
|
|
12
|
+
|---|---|---|---|---|---|---|---|
|
|
13
|
+
|
|
14
|
+
- **Meaning:** one line, in the customer's words.
|
|
15
|
+
- **Identifier and origin:** the key field and the system or process that issues it. Note when the same entity has a different key in another system.
|
|
16
|
+
- **System of record:** the system people trust when copies disagree.
|
|
17
|
+
- **Who may create / change:** the team or role with that authority, and where they do it.
|
|
18
|
+
- **Status:** `confirmed` when an owner or authoritative source states it; `reading` when inferred from code, data or notes; `conflict` when sources disagree.
|
|
19
|
+
|
|
20
|
+
## Record terms and conflicts
|
|
21
|
+
|
|
22
|
+
List each word that means different things to different teams:
|
|
23
|
+
|
|
24
|
+
| Term | Team or system | Meaning there | Evidence |
|
|
25
|
+
|---|---|---|---|
|
|
26
|
+
|
|
27
|
+
Record each disagreement once, with the person who can settle it:
|
|
28
|
+
|
|
29
|
+
| Conflict | Sources that disagree | Who decides | Next check | Status (open / settled) |
|
|
30
|
+
|---|---|---|---|---|
|
|
31
|
+
|
|
32
|
+
## Rules
|
|
33
|
+
|
|
34
|
+
- Cite a source in every row: person and date, document, file path, query or sample. A log date is not a source.
|
|
35
|
+
- Mark an inferred row `reading`. Code that writes a field shows behavior, not ownership.
|
|
36
|
+
- Write `not stated` for a missing value. Do not fill a cell from convention or another customer.
|
|
37
|
+
- Record a conflict; do not resolve it. When the named owner settles it, cite that source and update the row.
|
|
38
|
+
- Never copy `<private>` content into the map. Use field names and value shapes, not real record values.
|
|
39
|
+
- Update a row when evidence changes. Do not keep a second copy elsewhere.
|
|
40
|
+
|
|
41
|
+
## Where it lives
|
|
42
|
+
|
|
43
|
+
In a bound engagement, propose rows for `terrain.md` under `## Domain map`; add the section if the file lacks it. Find existing rows with `fde recall <term>`. For standalone work, return the map in the conversation or the requested document.
|
|
44
|
+
|
|
45
|
+
## Use it downstream
|
|
46
|
+
|
|
47
|
+
- **Integrate:** find both sides of each field mapping in the map first. A write path must not depend on a `reading` or `conflict` row until the owner confirms it; record the gap instead.
|
|
48
|
+
- **Close:** carry the map, the terms list and open conflicts with their owners into the handoff, so the next owner knows which system wins and whom to ask.
|
|
49
|
+
|
|
50
|
+
*Fictional example:* at Northstar, "account" is a billing account in the ERP (`ERP-ACCT-` prefix) and a portal login keyed by email. Finance and support each name their system as the owner of the customer. Record two entities, add "account" to the terms list, and log the ownership conflict with the decision owner named in `stakeholders.md`. Integrate links logins to billing accounts only after that owner confirms the key.
|
|
@@ -79,6 +79,10 @@ Cross-client reuse requires an explicitly approved generalization exported to a
|
|
|
79
79
|
|
|
80
80
|
A pattern learned twice is a process failure. Encoding it prevents the third time.
|
|
81
81
|
|
|
82
|
+
## Tag the customization
|
|
83
|
+
|
|
84
|
+
Tag each customization built in the engagement: `one-off` (this customer only), `industry-common` (customers in this sector will need it) or `general` (any customer will need it). Record the tag with the pattern and in `delivery.md`. A `one-off` carries a sunset date and an owner who removes or replaces it. Across engagements, the share of `one-off` work should fall. If it does not fall over three engagements, the feedback loop to the product is broken; say so in the retrospective.
|
|
85
|
+
|
|
82
86
|
## Artifact
|
|
83
87
|
|
|
84
88
|
**`patterns.md`** - candidates and evidence for this engagement, indexed by stage and situation trigger. A cross-client export is separate and explicitly approved, to a user-chosen destination: remove names, identifiers, distinctive operational details, secrets, and confidential code or data. Keep source receipts in the original record and export only permitted generalizations with their limits and counterexamples.
|
|
@@ -83,6 +83,17 @@ Choose an early useful result within confirmed scope: a verified small fix, a pe
|
|
|
83
83
|
|
|
84
84
|
**`brief.md`** - what they said, who sent the FDE, the timeline, **and the gap list**.
|
|
85
85
|
|
|
86
|
+
**Site survey** - a `## Site survey` section in `brief.md`, written in the first week from permitted observation, not from the pitch:
|
|
87
|
+
|
|
88
|
+
| Field | Record |
|
|
89
|
+
|-------|--------|
|
|
90
|
+
| Systems | Each source of record, its owner, where the bulk data sits, known quality problems |
|
|
91
|
+
| Constraints | Identity and access path, network reach, what must not leave the customer boundary |
|
|
92
|
+
| The gap | What the product or current stack cannot do alone, and the glue the FDE must build |
|
|
93
|
+
| First visible result | One bounded outcome for week two that a named person will notice |
|
|
94
|
+
|
|
95
|
+
Mark each row `observed` or `stated`. A stated row is an assumption; add it to `assumptions.md`.
|
|
96
|
+
|
|
86
97
|
**`success.md`** - what done looks like, **primary value bucket** (`cost-save` | `risk-mitigation` | `revenue-uplift`), baseline → target, who actually signs off, what is explicitly out of scope. Record agreement only with its source and scope; otherwise label the target proposed. For each baseline, record source, date/window, environment, and sample size when relevant. An operator recollection is reported, not measured. If no baseline exists, name the measurement owner and cheapest way to obtain it; do not manufacture a number.
|
|
87
98
|
|
|
88
99
|
For every target number, run the **gaming check** before it is written down: *how could this metric hit its target without the customer being any better off?* Identify plausible failure modes without predicting that the customer will exploit them. Write a relevant guard next to the metric:
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "0187bd5f4cea72e6c87ad31765b9b025cba8b8d95dd935582cdd36acc92df73d",
|
|
6
6
|
"agents/openai.yaml": "8f4af12758edb1a4648bb7917ef4c52eb4eb209a3917ae3e04904cdd5fd4dec0",
|
|
7
|
-
"references/business-case.md": "
|
|
8
|
-
"references/score-use-cases.md": "
|
|
7
|
+
"references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
|
|
8
|
+
"references/score-use-cases.md": "8d09cb9a0ed5e22a4a94bac3d748d6e58b4ec0d90ce5897c460b6af14271249c",
|
|
9
9
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -61,6 +61,12 @@ The sponsor who sees you've identified where the case could break trusts the cas
|
|
|
61
61
|
**Recommendation:** <proceed / proceed-with-conditions / defer>
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
## When the sponsor asks how the work is priced
|
|
65
|
+
|
|
66
|
+
Three models carry different risk. Time and materials: the customer carries the outcome risk. Fixed scope: the vendor carries the scope risk, and change control is the safeguard. Outcome share: both carry it, and it needs four preconditions: a measured baseline, attribution the customer's finance team accepts, a cash gap the vendor can survive, and a downside floor. The FDE does not set the price; the FDE's evidence sets whether outcome pricing is possible. Record the model in `business-case.md`.
|
|
67
|
+
|
|
68
|
+
Whatever the model, five items belong in the agreement: the acceptance criteria and who judges them, the customer's cooperation duties, milestones with their rollout steps, responsibility after handoff, and ownership (custom code to the customer, reusable components to the vendor, the eval set travels with the handoff). A missing item is a `decisions.md` gap, not an assumption.
|
|
69
|
+
|
|
64
70
|
## Artifact
|
|
65
71
|
|
|
66
72
|
**`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.
|
|
@@ -12,6 +12,16 @@ The most dangerous moment in a multi-use-case engagement is when the technically
|
|
|
12
12
|
|
|
13
13
|
Before ranking work for the proposed step, identify hard feasibility, access, data-permission and policy constraints. Keep blocked or unverified candidates visible with the affected step, owner or authority gap, and evidence needed to reconsider. A high score cannot make dependent work eligible. An authorized design or evidence check may proceed while implementation is blocked; a sponsor's preference does not grant missing API or data permission.
|
|
14
14
|
|
|
15
|
+
**1b. Check the go gate before scoring.** Five conditions. A candidate that fails one is listed as blocked with the owner who can clear it; it is not ranked:
|
|
16
|
+
|
|
17
|
+
| Condition | Pass |
|
|
18
|
+
|-----------|------|
|
|
19
|
+
| Real pain | A named person feels it today and can describe its cost |
|
|
20
|
+
| Bounded scope | A first result can land inside 60 to 90 days |
|
|
21
|
+
| Countable value | A metric with a baseline, or a named owner who can measure one |
|
|
22
|
+
| Data readiness | Green: reachable now. Amber: reachable after a named grant. Red: not available |
|
|
23
|
+
| Named owner | A customer-side person accepts the result and operates it afterwards |
|
|
24
|
+
|
|
15
25
|
**2. Score on five dimensions.** Each 1-5, with the scoring rubric below. Reuse discovery's evidence and rationale, rechecking whether the candidates are eligible for the same next step. Do not invent dimension scores from a thin brief - write `unknown`, return a conditional recommendation and ask only what changes the decision.
|
|
16
26
|
|
|
17
27
|
| Dimension | 1 | 3 | 5 |
|
|
@@ -4,13 +4,14 @@
|
|
|
4
4
|
"files": {
|
|
5
5
|
"SKILL.md": "fdbbf24a9268ab843e025af7608814e0c3615b724866505c70040b8f19e44622",
|
|
6
6
|
"agents/openai.yaml": "f114bfdaf8ae71139fe5903965187dca326edb015c709a8e9d74ddd771ac8a6f",
|
|
7
|
-
"references/build.md": "
|
|
8
|
-
"references/debug.md": "
|
|
9
|
-
"references/
|
|
10
|
-
"references/
|
|
7
|
+
"references/build.md": "6eb35b2b6caba04c415c34b2dcfe4195596a73b571711adbceec183ff35eb307",
|
|
8
|
+
"references/debug.md": "8b1c2ed334f1d661f0b28707202fe6cb67416a8b07d32ac1117c4c7e460bb990",
|
|
9
|
+
"references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
|
|
10
|
+
"references/eval-pack.md": "5a784ab5ecacb85c8704e129dbf0ec9733370d54284aa2fd449e799db15690a5",
|
|
11
|
+
"references/integrate.md": "7b6c62cd64c95fa00856cca5ac29ba6adb6ffb96cd0d28a09c7bfddbd66fad8c",
|
|
11
12
|
"references/qa.md": "41de4d70827c83291efa217e97d777f62ec2849827687fbba7e4b1d17484b87e",
|
|
12
13
|
"references/review.md": "36b77ed44989a125a36e9948ce19c2ced57d529bee06643e32dda96f896d9d5b",
|
|
13
|
-
"references/ship.md": "
|
|
14
|
+
"references/ship.md": "67490410aac89bfbe2121a9936f70516b2db3df7f737da05471a8c05099f9201",
|
|
14
15
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
15
16
|
"references/verification.md": "8ee2502112a37eedfdacf929041e7b91e9e6fabb007408a1ee2e2992e3af6ff6"
|
|
16
17
|
}
|
|
@@ -10,6 +10,8 @@ Follow [task context](task-context.md). Supplied permitted context or an existin
|
|
|
10
10
|
|
|
11
11
|
Inspect repository instructions, working tree, relevant callers, examples, and test commands. Preserve unrelated edits. Follow its branch policy and choose checkout isolation according to overlapping work. Identify the dependencies and interfaces the change touches. Before changing an untested legacy path, use targeted characterization checks to capture undocumented behavior callers rely on; separate that behavior from the intended change.
|
|
12
12
|
|
|
13
|
+
Read **Do not change without asking** in `trust-profile.md` when it exists. Ask before you edit a listed path or setting, even for a routine fix; record the answer in `decisions.md`.
|
|
14
|
+
|
|
13
15
|
State the observable outcome, constraints, and acceptance checks, reusing agreed criteria for routine fixes. Surface unresolved consequential product choices while continuing independent investigation; do not invent acceptance.
|
|
14
16
|
|
|
15
17
|
## Build one complete slice
|
|
@@ -8,7 +8,7 @@ Follow [task context](task-context.md); permitted supplied evidence is enough wi
|
|
|
8
8
|
|
|
9
9
|
## Establish what failed
|
|
10
10
|
|
|
11
|
-
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports.
|
|
11
|
+
Capture expected and observed behavior, the trigger or input, revision, environment, and last known working state. Keep useful errors and timestamps, without secrets or raw private data. Label unverified reports as reports. In a request or draft for another person, give only the values the source gives; write a missing date, limit or version as not stated.
|
|
12
12
|
|
|
13
13
|
Inspect the affected path, callers, relevant changes, and existing tests. Reproduce with the smallest representative case in a permitted environment when practical. If reproduction is unavailable, state the gap and use traces or other safe observations to distinguish causes. Keep investigating without promoting a hypothesis to a finding. Ask for the smallest permitted observation that distinguishes the remaining causes; an operator-run check or approved excerpt may be enough without granting the agent additional access.
|
|
14
14
|
|
|
@@ -22,6 +22,8 @@ After two unsuccessful repair cycles, reassess the evidence and approach. That i
|
|
|
22
22
|
|
|
23
23
|
Fix the cause at the appropriate layer, preserving evidence of the original failure. Consider other callers, stale data, retries, concurrency, and permissions; leave unrelated cleanup out.
|
|
24
24
|
|
|
25
|
+
Name the hazard behind the mistake, not just the bad line, and search for other places where the same hazard exists. Report how many you found and which you fixed or left with an owner. Prefer a fix that makes the mistake impossible over one that warns about it, and a warning over a check that only detects it afterwards; say which you chose. End with one recurrence line: `Recurrence: down | unchanged - <mechanism>`. A fix that only silences the alert or retries past the error is `unchanged`; say so.
|
|
26
|
+
|
|
25
27
|
Add a regression check when it can meaningfully reproduce the bug. Show failure before and success after when practical, and disclose when the before-state could not be checked. Exercise the original journey and run affected adjacent and required checks using [verification](verification.md). Review the diff; use [review](review.md) for substantial or risky fixes.
|
|
26
28
|
|
|
27
29
|
*Fictional example:* Northstar's imports sometimes duplicate orders. A lost-response trace suggests a retry after a committed write. If staging cannot reproduce it, report the supported hypothesis and missing evidence rather than calling a longer timeout a root-cause fix.
|