fdeops 5.2.3 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/bin/fde.js +13 -5
- package/mcp/fdeops-ingest/package.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/audit/.fde-generated.json +2 -1
- package/skills/audit/references/discover.md +4 -2
- package/skills/audit/references/domain-map.md +50 -0
- package/skills/board-memo/.fde-generated.json +1 -1
- package/skills/board-memo/references/business-case.md +6 -0
- package/skills/brief/.fde-generated.json +1 -1
- package/skills/brief/references/land.md +11 -0
- package/skills/build/.fde-generated.json +6 -5
- package/skills/build/references/build.md +2 -0
- package/skills/build/references/debug.md +3 -1
- package/skills/build/references/domain-map.md +50 -0
- package/skills/build/references/eval-pack.md +1 -0
- package/skills/build/references/integrate.md +2 -0
- package/skills/build/references/ship.md +1 -1
- package/skills/business-case/.fde-generated.json +1 -1
- package/skills/business-case/references/business-case.md +6 -0
- package/skills/debug/.fde-generated.json +6 -5
- package/skills/debug/references/build.md +2 -0
- package/skills/debug/references/debug.md +3 -1
- package/skills/debug/references/domain-map.md +50 -0
- package/skills/debug/references/eval-pack.md +1 -0
- package/skills/debug/references/integrate.md +2 -0
- package/skills/debug/references/ship.md +1 -1
- package/skills/discover/.fde-generated.json +2 -1
- package/skills/discover/references/discover.md +4 -2
- package/skills/discover/references/domain-map.md +50 -0
- package/skills/evaluate/.fde-generated.json +6 -5
- package/skills/evaluate/references/build.md +2 -0
- package/skills/evaluate/references/debug.md +3 -1
- package/skills/evaluate/references/domain-map.md +50 -0
- package/skills/evaluate/references/eval-pack.md +1 -0
- package/skills/evaluate/references/integrate.md +2 -0
- package/skills/evaluate/references/ship.md +1 -1
- package/skills/fde/references/artifacts.md +32 -0
- package/skills/fde/references/build.md +2 -0
- package/skills/fde/references/business-case.md +6 -0
- package/skills/fde/references/close.md +17 -4
- package/skills/fde/references/debug.md +3 -1
- package/skills/fde/references/discover.md +4 -2
- package/skills/fde/references/domain-map.md +50 -0
- package/skills/fde/references/encode-pattern.md +4 -0
- package/skills/fde/references/eval-pack.md +1 -0
- package/skills/fde/references/integrate.md +2 -0
- package/skills/fde/references/land.md +11 -0
- package/skills/fde/references/pick-three.md +2 -0
- package/skills/fde/references/readout.md +2 -0
- package/skills/fde/references/score-use-cases.md +10 -0
- package/skills/fde/references/ship.md +1 -1
- package/skills/fde/references/what-breaks.md +2 -0
- package/skills/fde/references/who-decides.md +1 -1
- package/skills/feedback/.fde-generated.json +1 -1
- package/skills/feedback/references/encode-pattern.md +4 -0
- package/skills/handoff/.fde-generated.json +4 -3
- package/skills/handoff/references/close.md +17 -4
- package/skills/handoff/references/domain-map.md +50 -0
- package/skills/handoff/references/encode-pattern.md +4 -0
- package/skills/handoff/references/land.md +11 -0
- package/skills/integrate/.fde-generated.json +6 -5
- package/skills/integrate/references/build.md +2 -0
- package/skills/integrate/references/debug.md +3 -1
- package/skills/integrate/references/domain-map.md +50 -0
- package/skills/integrate/references/eval-pack.md +1 -0
- package/skills/integrate/references/integrate.md +2 -0
- package/skills/integrate/references/ship.md +1 -1
- package/skills/options/.fde-generated.json +1 -1
- package/skills/options/references/business-case.md +6 -0
- package/skills/plan/.fde-generated.json +1 -1
- package/skills/plan/references/business-case.md +6 -0
- package/skills/poc/.fde-generated.json +8 -7
- package/skills/poc/references/build.md +2 -0
- package/skills/poc/references/business-case.md +6 -0
- package/skills/poc/references/debug.md +3 -1
- package/skills/poc/references/discover.md +4 -2
- package/skills/poc/references/domain-map.md +50 -0
- package/skills/poc/references/eval-pack.md +1 -0
- package/skills/poc/references/integrate.md +2 -0
- package/skills/poc/references/ship.md +1 -1
- package/skills/prioritize/.fde-generated.json +2 -2
- package/skills/prioritize/references/business-case.md +6 -0
- package/skills/prioritize/references/pick-three.md +2 -0
- package/skills/qa/.fde-generated.json +6 -5
- package/skills/qa/references/build.md +2 -0
- package/skills/qa/references/debug.md +3 -1
- package/skills/qa/references/domain-map.md +50 -0
- package/skills/qa/references/eval-pack.md +1 -0
- package/skills/qa/references/integrate.md +2 -0
- package/skills/qa/references/ship.md +1 -1
- package/skills/readout/.fde-generated.json +2 -2
- package/skills/readout/references/business-case.md +6 -0
- package/skills/readout/references/readout.md +2 -0
- package/skills/review/.fde-generated.json +6 -5
- package/skills/review/references/build.md +2 -0
- package/skills/review/references/debug.md +3 -1
- package/skills/review/references/domain-map.md +50 -0
- package/skills/review/references/eval-pack.md +1 -0
- package/skills/review/references/integrate.md +2 -0
- package/skills/review/references/ship.md +1 -1
- package/skills/runbook/.fde-generated.json +4 -3
- package/skills/runbook/references/close.md +17 -4
- package/skills/runbook/references/domain-map.md +50 -0
- package/skills/runbook/references/encode-pattern.md +4 -0
- package/skills/runbook/references/land.md +11 -0
- package/skills/score-use-cases/.fde-generated.json +2 -2
- package/skills/score-use-cases/references/business-case.md +6 -0
- package/skills/score-use-cases/references/score-use-cases.md +10 -0
- package/skills/ship/.fde-generated.json +6 -5
- package/skills/ship/references/build.md +2 -0
- package/skills/ship/references/debug.md +3 -1
- package/skills/ship/references/domain-map.md +50 -0
- package/skills/ship/references/eval-pack.md +1 -0
- package/skills/ship/references/integrate.md +2 -0
- package/skills/ship/references/ship.md +1 -1
- package/skills/what-breaks/.fde-generated.json +1 -1
- package/skills/what-breaks/references/what-breaks.md +2 -0
- package/skills/who-decides/.fde-generated.json +1 -1
- package/skills/who-decides/references/who-decides.md +1 -1
- package/templates/.fde/terrain.md +18 -0
- package/templates/.fde/trust-profile.md +1 -0
|
@@ -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,6 +5,6 @@
|
|
|
5
5
|
"SKILL.md": "01cc6338b4be09561af68de2af0d7d62de7d2ea73d3659cfb880cd2e6f9894ce",
|
|
6
6
|
"agents/openai.yaml": "6c4b97d3268698d1eed0b628f9872351f29b91dd47c9de371a12c584983cb0fe",
|
|
7
7
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
8
|
-
"references/what-breaks.md": "
|
|
8
|
+
"references/what-breaks.md": "fcb7619f989e28a94a2931a138503600613a419ea8138767e75e5ef6a545352a"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -59,6 +59,8 @@ Time to detect: <5 minutes via error rate alert
|
|
|
59
59
|
| SYSTEMIC | Full test suite + team review + staged rollout + incident playbook |
|
|
60
60
|
| IRREVERSIBLE | All of the above + sponsor approval + tested rollback of the rollback + go/no-go checkpoint |
|
|
61
61
|
|
|
62
|
+
When you assess from supplied notes alone, mark the classification as your reading. Offer the checks in this table as your proposal; they are not facts about the customer's process.
|
|
63
|
+
|
|
62
64
|
**5. The invisible integration.** The most dangerous blast radius is the one you can't see in the code:
|
|
63
65
|
|
|
64
66
|
- A webhook endpoint that an external system calls - not in your repo's imports
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
"SKILL.md": "46d1bdcd3159e93345dbe0f70192251f7a4d44cf8d46c06c2a3f5d58d2209848",
|
|
6
6
|
"agents/openai.yaml": "fee09f0f2cc7d0c07a1aefa592e10f046abb8951f157ca3336a6233edd3a61ea",
|
|
7
7
|
"references/task-context.md": "7885c38b6342920b91caf1682fd06e9edd59f15941e96575f168acb95ea4398d",
|
|
8
|
-
"references/who-decides.md": "
|
|
8
|
+
"references/who-decides.md": "e23bc260b0e9d0f0865a17a00d20322d420de6f2532bb94b3ebb75954ca15069"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
@@ -46,7 +46,7 @@ Preserve the existing `## Signal history` section and its dated `[signal:...]` e
|
|
|
46
46
|
|
|
47
47
|
## Checkpoint
|
|
48
48
|
|
|
49
|
-
State the decision that can proceed under confirmed authority and any dependent action still blocked by an unknown or disputed right. Include material observed changes and the next evidence or conversation needed. If nothing relevant changed, reuse the map; no calendar interval alone requires a new review.
|
|
49
|
+
State the decision that can proceed under confirmed authority and any dependent action still blocked by an unknown or disputed right. Name who accepts the result of the work that proceeds, or state that the acceptance owner is unknown. Mark a signal that rests on one event as a single observation. Include material observed changes and the next evidence or conversation needed. If nothing relevant changed, reuse the map; no calendar interval alone requires a new review.
|
|
50
50
|
|
|
51
51
|
## Worked example
|
|
52
52
|
|
|
@@ -18,6 +18,24 @@
|
|
|
18
18
|
**Sacred / untouchable in ops:**
|
|
19
19
|
**Previous attempt residue:**
|
|
20
20
|
|
|
21
|
+
## Domain map
|
|
22
|
+
|
|
23
|
+
<!-- The customer's entities, identifiers and owners. Fill in discover; integrate reads it before mapping fields.
|
|
24
|
+
Status: confirmed / reading / conflict. Write "not stated" for a missing value. Cite a source in every row. -->
|
|
25
|
+
|
|
26
|
+
| Entity (customer's term) | Meaning | Identifier and origin | System of record | Related to | Who may create / change | Evidence | Status |
|
|
27
|
+
|---|---|---|---|---|---|---|---|
|
|
28
|
+
|
|
29
|
+
**Terms that mean different things:**
|
|
30
|
+
|
|
31
|
+
| Term | Team or system | Meaning there | Evidence |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
|
|
34
|
+
**Open conflicts:**
|
|
35
|
+
|
|
36
|
+
| Conflict | Sources that disagree | Who decides | Next check | Status (open / settled) |
|
|
37
|
+
|---|---|---|---|---|
|
|
38
|
+
|
|
21
39
|
## Intelligence placement (when AI is in play)
|
|
22
40
|
|
|
23
41
|
| Step | Deterministic | Model judgement | Human approve |
|