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.
Files changed (123) hide show
  1. package/README.md +31 -0
  2. package/bin/fde.js +13 -5
  3. package/mcp/fdeops-ingest/package.json +1 -1
  4. package/package.json +1 -1
  5. package/plugin.json +1 -1
  6. package/skills/audit/.fde-generated.json +2 -1
  7. package/skills/audit/references/discover.md +4 -2
  8. package/skills/audit/references/domain-map.md +50 -0
  9. package/skills/board-memo/.fde-generated.json +1 -1
  10. package/skills/board-memo/references/business-case.md +6 -0
  11. package/skills/brief/.fde-generated.json +1 -1
  12. package/skills/brief/references/land.md +11 -0
  13. package/skills/build/.fde-generated.json +6 -5
  14. package/skills/build/references/build.md +2 -0
  15. package/skills/build/references/debug.md +3 -1
  16. package/skills/build/references/domain-map.md +50 -0
  17. package/skills/build/references/eval-pack.md +1 -0
  18. package/skills/build/references/integrate.md +2 -0
  19. package/skills/build/references/ship.md +1 -1
  20. package/skills/business-case/.fde-generated.json +1 -1
  21. package/skills/business-case/references/business-case.md +6 -0
  22. package/skills/debug/.fde-generated.json +6 -5
  23. package/skills/debug/references/build.md +2 -0
  24. package/skills/debug/references/debug.md +3 -1
  25. package/skills/debug/references/domain-map.md +50 -0
  26. package/skills/debug/references/eval-pack.md +1 -0
  27. package/skills/debug/references/integrate.md +2 -0
  28. package/skills/debug/references/ship.md +1 -1
  29. package/skills/discover/.fde-generated.json +2 -1
  30. package/skills/discover/references/discover.md +4 -2
  31. package/skills/discover/references/domain-map.md +50 -0
  32. package/skills/evaluate/.fde-generated.json +6 -5
  33. package/skills/evaluate/references/build.md +2 -0
  34. package/skills/evaluate/references/debug.md +3 -1
  35. package/skills/evaluate/references/domain-map.md +50 -0
  36. package/skills/evaluate/references/eval-pack.md +1 -0
  37. package/skills/evaluate/references/integrate.md +2 -0
  38. package/skills/evaluate/references/ship.md +1 -1
  39. package/skills/fde/references/artifacts.md +32 -0
  40. package/skills/fde/references/build.md +2 -0
  41. package/skills/fde/references/business-case.md +6 -0
  42. package/skills/fde/references/close.md +17 -4
  43. package/skills/fde/references/debug.md +3 -1
  44. package/skills/fde/references/discover.md +4 -2
  45. package/skills/fde/references/domain-map.md +50 -0
  46. package/skills/fde/references/encode-pattern.md +4 -0
  47. package/skills/fde/references/eval-pack.md +1 -0
  48. package/skills/fde/references/integrate.md +2 -0
  49. package/skills/fde/references/land.md +11 -0
  50. package/skills/fde/references/pick-three.md +2 -0
  51. package/skills/fde/references/readout.md +2 -0
  52. package/skills/fde/references/score-use-cases.md +10 -0
  53. package/skills/fde/references/ship.md +1 -1
  54. package/skills/fde/references/what-breaks.md +2 -0
  55. package/skills/fde/references/who-decides.md +1 -1
  56. package/skills/feedback/.fde-generated.json +1 -1
  57. package/skills/feedback/references/encode-pattern.md +4 -0
  58. package/skills/handoff/.fde-generated.json +4 -3
  59. package/skills/handoff/references/close.md +17 -4
  60. package/skills/handoff/references/domain-map.md +50 -0
  61. package/skills/handoff/references/encode-pattern.md +4 -0
  62. package/skills/handoff/references/land.md +11 -0
  63. package/skills/integrate/.fde-generated.json +6 -5
  64. package/skills/integrate/references/build.md +2 -0
  65. package/skills/integrate/references/debug.md +3 -1
  66. package/skills/integrate/references/domain-map.md +50 -0
  67. package/skills/integrate/references/eval-pack.md +1 -0
  68. package/skills/integrate/references/integrate.md +2 -0
  69. package/skills/integrate/references/ship.md +1 -1
  70. package/skills/options/.fde-generated.json +1 -1
  71. package/skills/options/references/business-case.md +6 -0
  72. package/skills/plan/.fde-generated.json +1 -1
  73. package/skills/plan/references/business-case.md +6 -0
  74. package/skills/poc/.fde-generated.json +8 -7
  75. package/skills/poc/references/build.md +2 -0
  76. package/skills/poc/references/business-case.md +6 -0
  77. package/skills/poc/references/debug.md +3 -1
  78. package/skills/poc/references/discover.md +4 -2
  79. package/skills/poc/references/domain-map.md +50 -0
  80. package/skills/poc/references/eval-pack.md +1 -0
  81. package/skills/poc/references/integrate.md +2 -0
  82. package/skills/poc/references/ship.md +1 -1
  83. package/skills/prioritize/.fde-generated.json +2 -2
  84. package/skills/prioritize/references/business-case.md +6 -0
  85. package/skills/prioritize/references/pick-three.md +2 -0
  86. package/skills/qa/.fde-generated.json +6 -5
  87. package/skills/qa/references/build.md +2 -0
  88. package/skills/qa/references/debug.md +3 -1
  89. package/skills/qa/references/domain-map.md +50 -0
  90. package/skills/qa/references/eval-pack.md +1 -0
  91. package/skills/qa/references/integrate.md +2 -0
  92. package/skills/qa/references/ship.md +1 -1
  93. package/skills/readout/.fde-generated.json +2 -2
  94. package/skills/readout/references/business-case.md +6 -0
  95. package/skills/readout/references/readout.md +2 -0
  96. package/skills/review/.fde-generated.json +6 -5
  97. package/skills/review/references/build.md +2 -0
  98. package/skills/review/references/debug.md +3 -1
  99. package/skills/review/references/domain-map.md +50 -0
  100. package/skills/review/references/eval-pack.md +1 -0
  101. package/skills/review/references/integrate.md +2 -0
  102. package/skills/review/references/ship.md +1 -1
  103. package/skills/runbook/.fde-generated.json +4 -3
  104. package/skills/runbook/references/close.md +17 -4
  105. package/skills/runbook/references/domain-map.md +50 -0
  106. package/skills/runbook/references/encode-pattern.md +4 -0
  107. package/skills/runbook/references/land.md +11 -0
  108. package/skills/score-use-cases/.fde-generated.json +2 -2
  109. package/skills/score-use-cases/references/business-case.md +6 -0
  110. package/skills/score-use-cases/references/score-use-cases.md +10 -0
  111. package/skills/ship/.fde-generated.json +6 -5
  112. package/skills/ship/references/build.md +2 -0
  113. package/skills/ship/references/debug.md +3 -1
  114. package/skills/ship/references/domain-map.md +50 -0
  115. package/skills/ship/references/eval-pack.md +1 -0
  116. package/skills/ship/references/integrate.md +2 -0
  117. package/skills/ship/references/ship.md +1 -1
  118. package/skills/what-breaks/.fde-generated.json +1 -1
  119. package/skills/what-breaks/references/what-breaks.md +2 -0
  120. package/skills/who-decides/.fde-generated.json +1 -1
  121. package/skills/who-decides/references/who-decides.md +1 -1
  122. package/templates/.fde/terrain.md +18 -0
  123. package/templates/.fde/trust-profile.md +1 -0
@@ -4,9 +4,10 @@
4
4
  "files": {
5
5
  "SKILL.md": "8612e6176b7c7216a0f404517261f556c8e39b9b20187695053f6bbe14f83bb5",
6
6
  "agents/openai.yaml": "93ac049cf1a9d0fdfdf67d34ca6d3dd33800e91334f38bb303828eab8c4b3aaf",
7
- "references/close.md": "4c75697bb7c85af3b4054bf427d0f265d388972a3139f1e25a1bc9f56ac65cf4",
8
- "references/encode-pattern.md": "10fc5679752f0ea0b4d3004e4c7e282bb17f9b496ab99e5c7aae04ac942fb3c1",
9
- "references/land.md": "f33f1b9e03a3c23c39ffce925a8f8b956b48a53982f55246752a48a317cb084d",
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/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
11
12
  }
12
13
  }
@@ -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 and the policy, access, and ownership evidence current at handoff. If the project reopens, use [land](land.md) to recheck these before dependent action; closure evidence remains historical.
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,13 +4,14 @@
4
4
  "files": {
5
5
  "SKILL.md": "899d8b070c88513ae86d07c2afe7ec8b9b94a82b13ff2d56479da6206375ad61",
6
6
  "agents/openai.yaml": "20f8c8f7ab4bc2730260052e378a86c062b503a3ba26fd4b7a37559756b0f756",
7
- "references/build.md": "daaa7be30ce6e4c42715dc708f877ab1d2270df0dffdcc33680085450b9f0b2f",
8
- "references/debug.md": "bdc09abdd7a075574fc2daf91cecfd2858e67d75a964146a118bf782328192f6",
9
- "references/eval-pack.md": "40ca29fbee82ac1846d3a31ddf92ef20c6d7906ade53571decf81d2f79ee936c",
10
- "references/integrate.md": "1cb7a60d7545b0bf224fce678a04ce6ccdf368c47877d9c8e4dc4272bb0d5b0c",
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": "95f51772b29de6f7d174f1f7678f15d46a3a5327dcb8facb94288e27907ae92c",
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,7 +4,7 @@
4
4
  "files": {
5
5
  "SKILL.md": "6b0a8e02fd4e7a9b0834d18d050dd07ec4fb50eb4b5b7df8abb528a8dbeb10d3",
6
6
  "agents/openai.yaml": "ff5da2d5215943e5c4e2a1339c11101035ed2741ded38e443af5180239e2a24b",
7
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
7
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
8
8
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
9
9
  "references/test-assumptions.md": "977acbf88dc0468afeb0fb222fae88100ee6a5078a729e0651c28a45870e3925",
10
10
  "references/three-options.md": "2c979027c09af936f9a50446721e344f15e3e3bf43d3c1b7b0b85240747168c4"
@@ -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.
@@ -4,7 +4,7 @@
4
4
  "files": {
5
5
  "SKILL.md": "e9755d59c1cd04973f2c922a4adcb24b2d1c1603def2031a3270fe67c281d67e",
6
6
  "agents/openai.yaml": "09f79a8a6f59741be07ae42adb9187ef790c1c4dd0341adc22ca70cd043e9ac1",
7
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
7
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
8
8
  "references/plan.md": "5f0330ab7195a5dec406463824b2c00dd013b70626ec52f7de4dfa0d401c1575",
9
9
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
10
10
  }
@@ -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.
@@ -5,17 +5,18 @@
5
5
  "SKILL.md": "d4e57fd53d1c4ba4ff3b9d4aaecbe7384c45a6b0bb76e21cbee9a2b7f07b1154",
6
6
  "agents/openai.yaml": "d5b07161e8fd27eae7af233da4b872719cf723696cbb30614909bcbf6550bbf3",
7
7
  "references/audit.md": "ed32ea78cbccb100742dd838e8cf4cd4b6f33ad44b3de7424fc624670d571dbc",
8
- "references/build.md": "daaa7be30ce6e4c42715dc708f877ab1d2270df0dffdcc33680085450b9f0b2f",
9
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
10
- "references/debug.md": "bdc09abdd7a075574fc2daf91cecfd2858e67d75a964146a118bf782328192f6",
11
- "references/discover.md": "f65aa11a539b4dbbed70cfaa94ec2a35595aa9a2d0282790510b933ac9c721ce",
12
- "references/eval-pack.md": "40ca29fbee82ac1846d3a31ddf92ef20c6d7906ade53571decf81d2f79ee936c",
13
- "references/integrate.md": "1cb7a60d7545b0bf224fce678a04ce6ccdf368c47877d9c8e4dc4272bb0d5b0c",
8
+ "references/build.md": "6eb35b2b6caba04c415c34b2dcfe4195596a73b571711adbceec183ff35eb307",
9
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
10
+ "references/debug.md": "8b1c2ed334f1d661f0b28707202fe6cb67416a8b07d32ac1117c4c7e460bb990",
11
+ "references/discover.md": "4d803dfd6c017d37165db8581cc936ff728f673a85638ff821f10c41167c45ed",
12
+ "references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
13
+ "references/eval-pack.md": "5a784ab5ecacb85c8704e129dbf0ec9733370d54284aa2fd449e799db15690a5",
14
+ "references/integrate.md": "7b6c62cd64c95fa00856cca5ac29ba6adb6ffb96cd0d28a09c7bfddbd66fad8c",
14
15
  "references/plan.md": "5f0330ab7195a5dec406463824b2c00dd013b70626ec52f7de4dfa0d401c1575",
15
16
  "references/poc.md": "65c91866037dc034a64484683ad9a329896786f1487265c9fddecd19b09a3039",
16
17
  "references/qa.md": "41de4d70827c83291efa217e97d777f62ec2849827687fbba7e4b1d17484b87e",
17
18
  "references/review.md": "36b77ed44989a125a36e9948ce19c2ced57d529bee06643e32dda96f896d9d5b",
18
- "references/ship.md": "95f51772b29de6f7d174f1f7678f15d46a3a5327dcb8facb94288e27907ae92c",
19
+ "references/ship.md": "67490410aac89bfbe2121a9936f70516b2db3df7f737da05471a8c05099f9201",
19
20
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
20
21
  "references/test-assumptions.md": "977acbf88dc0468afeb0fb222fae88100ee6a5078a729e0651c28a45870e3925",
21
22
  "references/three-options.md": "2c979027c09af936f9a50446721e344f15e3e3bf43d3c1b7b0b85240747168c4",
@@ -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
@@ -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.
@@ -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.
@@ -61,6 +61,8 @@ For each relevant source, establish where it lives, how fresh it is, who control
61
61
  |---|---|---|---|---|---|
62
62
  | Fill only relevant sources | | | Unknown if unconfirmed | | |
63
63
 
64
+ When the work touches customer records, or teams use one word for different things, build a [domain map](domain-map.md) for the entities involved: the customer's term, identifier, system of record, who may change it, and open conflicts.
65
+
64
66
  Check mappings between systems, supported APIs, permissions and retry behavior where they affect feasibility. A promised export or integration is not yet an available dependency. Record its responsible owner, verification date and required evidence when known; propose missing commitments for confirmation.
65
67
 
66
68
  For AI work, identify which steps can use deterministic logic, which need model judgment, and which require a human decision. Keep that allocation provisional until the affected owners agree. Establish who would operate the resulting change and what access or training they would need.
@@ -86,10 +88,10 @@ Do not fill a quota of risks, exceptions or questions. If no system was inspecte
86
88
  For a bound engagement, propose updates to the existing records after the discovery result is reviewed:
87
89
 
88
90
  - `reality.md`: preserve `Working theory`, `Evidence` and `Differs from brief how`; add the decision frame and validation status.
89
- - `terrain.md`: relevant steps, system behavior, data dependencies and unknowns. Preserve the `## Operating map (exception-led)` section and its columns when recording observed breaks.
91
+ - `terrain.md`: relevant steps, system behavior, data dependencies and unknowns. Preserve the `## Operating map (exception-led)` section and its columns when recording observed breaks. Add entities, terms and conflicts under `## Domain map`.
90
92
  - `assumptions.md`: new or changed assumptions, verification owners and checkpoints.
91
93
 
92
- An operating-map row uses: `Exception / break | Who notices first | What they do today | System of record then | Blast | Evidence`. Preserve the existing schema. If no break has been observed, report that gap; do not fabricate a row to satisfy a readiness check.
94
+ An operating-map row uses: `Exception / break | Who notices first | What they do today | System of record then | Blast | Evidence`. Preserve the existing schema. `System of record then` is the system people trust during the exception; name it as the domain map does. An agreed fallback is not a conflict. Record a conflict only when sources disagree about authority under the same conditions. If no break has been observed, report that gap; do not fabricate a row to satisfy a readiness check.
93
95
 
94
96
  For standalone work, return the same findings in the conversation or requested document. No `.fde/` write or initialization is needed.
95
97
 
@@ -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,8 +4,8 @@
4
4
  "files": {
5
5
  "SKILL.md": "a6585410418a601c92bffd3ca888947f07b6c98396160bbd830aefaa5856b45d",
6
6
  "agents/openai.yaml": "3cfc01668b1bc6ec42d429e9730c68fd01520a7d15ea4289dee265e16bcd6b55",
7
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
8
- "references/pick-three.md": "c64a04fd0724b28701bbe334f444d0df93da4d858de993e82ccae04e48b66db9",
7
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
8
+ "references/pick-three.md": "bf9615a346675071fa9663b9e3752dc1694349d8079ce7fc6e7e6ab00628b7c2",
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.
@@ -46,6 +46,8 @@ Notice: every stakeholder's initiative is P0 or P1. That's the problem this skil
46
46
  - Show the capacity and dependency trade-off. If Now is full for the available team, adding X requires deferring work or an explicitly agreed capacity change; a vacant slot alone is not capacity.
47
47
  - Ask the responsible decision-maker to resolve the actual choice, without assuming three items are already active. Record the supplied choice and its source under the existing confirmation rules.
48
48
  - An override cannot waive required permissions or create capacity. Keep an unresolved request proposed, with its impact, rather than reporting it as an allocated commitment.
49
+ - Do not refuse an addition that could fit at a cost. When it fits only by spending contingency, displacing work or waiting on another decision, offer it as a conditional trade-off: what it costs, which decision it waits on, and who decides. Refuse outright only what the facts rule out, such as a date after a freeze or effort beyond total capacity.
50
+ - Build the trade-off from the supplied effort, capacity and dates. Do not invent a schedule, an estimate or a daily plan to support a choice.
49
51
 
50
52
  **5. Set the triage cadence.** Triage is not a one-time event:
51
53