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
package/README.md CHANGED
@@ -10,8 +10,39 @@
10
10
 
11
11
  <a name="why-use-it"></a>
12
12
 
13
+ On customer work, a request gets treated as an agreement, a local demo gets reported as delivery, and nobody writes down who accepts the result or against which baseline. Your AI coding agent can write a good plan and still leave those gaps unstated.
14
+
13
15
  FDEOps helps you turn a customer problem into a working system: clarify the goal, choose an architecture, build and integrate, then verify the result and prepare for rollout.
14
16
 
17
+ **Measured, with limits.** On 8 short fictional delivery tasks, two blind model graders scored the same agent 9.66 out of 10 with an FDEOps task skill and 8.40 without, and preferred the FDEOps answer in 71 of 80 grades (5 ties, 4 for the plain answer). The tasks are single-step, cover 8 of 31 cases, the model varied between runs, no person graded them, five skills carried small fixes not yet on `Main`, and no long or real engagement was tested. [Method, losses, limits and how to rerun it](evals/delivery/BENCHMARK.md).
18
+
19
+ ### One example: `plan`
20
+
21
+ The fictional task: an account manager asks to relax an agreed acceptance test "so Friday looks green". Both answers refused. They differ in what they say about the work that can start now. Trimmed from one run pair, which both graders scored 10 and 8:
22
+
23
+ Plain agent:
24
+
25
+ ```text
26
+ **Now: OPS-71.** Local fixture work is authorized and needs no network access.
27
+ - Build the retry guard so a retried dispatch cannot create a second shipment for the same request.
28
+ - Check locally: one shipment per request, zero duplicates, retry status timing.
29
+ ```
30
+
31
+ Same agent with `plan`:
32
+
33
+ ```text
34
+ **Task OPS-71: a retried dispatch produces exactly one shipment**
35
+ - **Kill if:** the guard cannot hold exactly one shipment per request on the fixture's timeout/retry cases. Stop and take the finding to Mara before any staging work.
36
+ - **Baseline:** pending. The brief gives no current duplicate rate. Measurement owner unknown.
37
+ - **Reuse:** unknown. The brief does not say whether an existing downstream capability already prevents duplicates. Check before writing new code.
38
+ ```
39
+
40
+ Install in the terminal where your AI coding agent runs:
41
+
42
+ ```bash
43
+ npx skills add suboss87/fdeops --skill fde
44
+ ```
45
+
15
46
  Use a task skill on its own, or let `fde` coordinate work across strategy, architecture and engineering. Customer memory keeps decisions, evidence and next steps available between sessions.
16
47
 
17
48
  I built FDEOps around design thinking, first-principles thinking and systems thinking: understand the people doing the work, question assumptions, and examine how a change affects the whole system. I turned my field approach and experience into skills that help your AI coding agent investigate, build and verify, with customer memory to carry the work forward.
package/bin/fde.js CHANGED
@@ -1283,7 +1283,7 @@ function cmdScan() {
1283
1283
  const langs = Object.entries(extCount).sort((a, b) => b[1] - a[1]).slice(0, 4).map(([e, n]) => `${e}:${n}`).join(' ')
1284
1284
  const birth = isGit ? sh('git log --reverse --format=%ad --date=short').split('\n')[0] : 'n/a'
1285
1285
  const last = isGit ? sh('git log -1 --format=%ad --date=short') : 'n/a'
1286
- out.push(`STACK ${langs || 'no code files found'} first commit: ${birth} last: ${last}`)
1286
+ out.push(`STACK ${langs || 'no code files found'} first commit: ${birth || '(no commits)'} last: ${last || '(no commits)'}`)
1287
1287
 
1288
1288
  // churn × tests = the load-bearing walls
1289
1289
  out.push('\nHOTSPOTS (churn 90d × test coverage) - handle with care:')
@@ -1594,13 +1594,14 @@ function cmdLog(args) {
1594
1594
 
1595
1595
  // fde log phase <land|discover|plan|ship|outcome|close> - advances portfolio phase (prove → outcome)
1596
1596
  if (type === 'phase') {
1597
- const phase = canonicalPhase((text || '').toLowerCase().trim())
1597
+ const requested = (text || '').toLowerCase().trim()
1598
+ const phase = canonicalPhase(requested)
1598
1599
  if (!PHASES.includes(phase)) {
1599
1600
  console.error(`usage: fde log phase <${PHASES.join('|')}>`)
1600
1601
  process.exit(1)
1601
1602
  }
1602
1603
  const hash = setContextPhase(eng, phase)
1603
- console.log(`phase → ${phase}${hash ? ` @${hash}` : ''}`)
1604
+ console.log(`phase → ${phase}${PHASE_ALIASES[requested] ? ` (${requested} is the older name for ${phase})` : ''}${hash ? ` @${hash}` : ''}`)
1604
1605
  return
1605
1606
  }
1606
1607
 
@@ -1630,6 +1631,9 @@ function cmdLog(args) {
1630
1631
  appendLogEntry(eng, type, entry)
1631
1632
  const hash = memoryHead(eng)
1632
1633
  console.log(`logged → ${LOG_FILES[type]}${signal ? ` (signal:${signal})` : ''}${hash ? ` @${hash}` : ''}`)
1634
+ if (type === 'decision' && !hasSource(text)) {
1635
+ console.log('note: no source found, so this decision counts as a claim. Add where it was decided: [source: kickoff 2026-10-20], a PR reference or a URL.')
1636
+ }
1633
1637
  // A dated bullet is a note; the ship gate reads the ledger. Say what this did
1634
1638
  // NOT do, once, so promised→measured→accepted does not quietly stay unassembled.
1635
1639
  if (type === 'delivery' && !parseValueLedger(eng).rows.length) {
@@ -2668,7 +2672,8 @@ function cmdReceipts(args) {
2668
2672
  const sources = sourceReferences(sourceText)
2669
2673
  const attribution = masking.mask(sources.join('; '))
2670
2674
  const displayed = Buffer.byteLength(attribution) <= 320 ? attribution : context.clipMaskedUtf8(attribution, 240) + '… [sources truncated; use fde recall]'
2671
- const excerpt = masking.mask(entry ? entry.text : line.trim())
2675
+ // The attribution is appended once below, so drop inline tags from the excerpt.
2676
+ const excerpt = masking.mask((entry ? entry.text : line.trim()).replace(source ? /\s*\[source:[^\]]*\]/gi : /$^/, ''))
2672
2677
  const excerptLimit = entry ? 1400 : 160
2673
2678
  const body = context.clipMaskedUtf8(excerpt, excerptLimit) + (Buffer.byteLength(excerpt) > excerptLimit ? ' [excerpt truncated; use fde recall]' : '')
2674
2679
  const hit = ` ${file}:${entry ? entry.line : i + 1} ${body}${source ? ` [${sources.length > 1 ? 'sources' : 'source'}: ${displayed}]` : ' [source missing]'}${dirty.has(file) ? ' dirty file - review manual edits' : ''}`
@@ -2750,7 +2755,10 @@ function cmdHandoff(args, label = 'Handoff') {
2750
2755
  if (parent.split(path.sep).includes('.fde') || target === root || target.startsWith(root + path.sep)) throw new Error('export outside .fde/; engagement records are not export destinations')
2751
2756
  fs.writeFileSync(target, report, { flag: 'wx', mode: 0o600 })
2752
2757
  console.log(`${label.toLowerCase()} → ${out}`)
2753
- } catch (e) { console.error(`could not export packet: ${e.message}`); process.exit(1) }
2758
+ } catch (e) {
2759
+ console.error(e.code === 'EEXIST' ? `${out} already exists; choose another path or remove it first` : `could not export packet: ${e.message}`)
2760
+ process.exit(1)
2761
+ }
2754
2762
  }
2755
2763
 
2756
2764
  function cmdRecall(args) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fdeops-ingest-mcp",
3
- "version": "5.2.3",
3
+ "version": "5.3.0",
4
4
  "private": true,
5
5
  "description": "Thin stdio MCP sink for FDEOps ingest (stage \u2192 propose \u2192 apply). Zero runtime dependencies.",
6
6
  "bin": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fdeops",
3
- "version": "5.2.3",
3
+ "version": "5.3.0",
4
4
  "description": "Skills for forward deployed engineers across strategy, architecture and engineering. Use individual tasks or @fde coordination; local customer memory supports continuity.",
5
5
  "bin": {
6
6
  "fdeops": "bin/install.js",
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "fdeops",
4
- "version": "5.2.3",
4
+ "version": "5.3.0",
5
5
  "description": "Skills for forward deployed engineers across strategy, architecture and engineering. Use individual tasks or @fde coordination; local customer memory supports continuity.",
6
6
  "author": {
7
7
  "name": "Subash Natarajan",
@@ -5,7 +5,8 @@
5
5
  "SKILL.md": "a312c4f79beb5c84e6f27336bb167bae571263ba6e4834249c481a0466481c42",
6
6
  "agents/openai.yaml": "3b08e2e6a4149545da08238463955501bc60b7bf628cf4e344e893330590bbde",
7
7
  "references/audit.md": "ed32ea78cbccb100742dd838e8cf4cd4b6f33ad44b3de7424fc624670d571dbc",
8
- "references/discover.md": "f65aa11a539b4dbbed70cfaa94ec2a35595aa9a2d0282790510b933ac9c721ce",
8
+ "references/discover.md": "4d803dfd6c017d37165db8581cc936ff728f673a85638ff821f10c41167c45ed",
9
+ "references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
9
10
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
10
11
  }
11
12
  }
@@ -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.
@@ -5,7 +5,7 @@
5
5
  "SKILL.md": "33cbcde47650307cffbc1709e252d452c9d4a2b4825175835958a737ccc5f196",
6
6
  "agents/openai.yaml": "a3ce2dc79d3732da6c9aa2d45d09541c09c8f7bdf44f34c6603b5dbaf8624095",
7
7
  "references/board-memo.md": "44eb3c27f164da63af694591025b3fc96bb23d149c29de400997c1653e3322f8",
8
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
8
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
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.
@@ -4,7 +4,7 @@
4
4
  "files": {
5
5
  "SKILL.md": "88cc9d2ea8d2a2892f64f2114062dff8d3caaf5a56c3a2d667cb4a3780391805",
6
6
  "agents/openai.yaml": "8dc0b43545004419bad49e1d50cd3beb968bbcc24baacdaf7fb7304a5fd03bba",
7
- "references/land.md": "f33f1b9e03a3c23c39ffce925a8f8b956b48a53982f55246752a48a317cb084d",
7
+ "references/land.md": "2485e3a23bfa3804716f45ccfbc1cf74081620302d52e3c49a34bfe7205da655",
8
8
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
9
9
  }
10
10
  }
@@ -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": "aabb5b0b0dc22e62f4440453f0d988ed24d66379840beb3b37c5a88f9109560a",
6
6
  "agents/openai.yaml": "abd0a33ab4efa25ea038932d37eae2faa2527baa96ebae8732ea90f1ebc3865e",
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": "195ab9b85469c6b0af5c1b35f2c229d98c05f8553e991d00485456a8cec6d410",
6
6
  "agents/openai.yaml": "dd2676346caea1b53ae2bee6662aea064eea74c8ca6edf721382526f5fc42ef5",
7
- "references/business-case.md": "32e000e8351cd59f9eaad8be40babb276df69948ea4f81e01a4672e47f48cb25",
7
+ "references/business-case.md": "dd7d3a0f31fe6c6c578e8a4041773e3ef3fe45ea769c0920476e90cde43128c7",
8
8
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
9
9
  }
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.
@@ -4,13 +4,14 @@
4
4
  "files": {
5
5
  "SKILL.md": "f30da7cf50e31529c9c9cf8f09febf65324065867ef2c5c03dd94686cc3da04b",
6
6
  "agents/openai.yaml": "f9178e65a1e2e9ee27f2f5917a36a50e3ebe64bd6e331b43379efcf1c7d5aac3",
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
 
@@ -5,7 +5,8 @@
5
5
  "SKILL.md": "2dc02885fb1335558fb107f21a8a32d4d57b8034a8016d0d7092aa1c640722c5",
6
6
  "agents/openai.yaml": "77306e5aa72884b8c06afe91ae4991910bf3ad38a72375c2fc5251fc7744789a",
7
7
  "references/audit.md": "ed32ea78cbccb100742dd838e8cf4cd4b6f33ad44b3de7424fc624670d571dbc",
8
- "references/discover.md": "f65aa11a539b4dbbed70cfaa94ec2a35595aa9a2d0282790510b933ac9c721ce",
8
+ "references/discover.md": "4d803dfd6c017d37165db8581cc936ff728f673a85638ff821f10c41167c45ed",
9
+ "references/domain-map.md": "8f49b677774b355481c0f23edce6a084fb8b7c05acecbbf5dc3c4fd770a358c8",
9
10
  "references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d"
10
11
  }
11
12
  }