@cratylus/canon 0.18.0 → 0.19.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 (101) hide show
  1. package/README.md +50 -41
  2. package/dist/agents/kino.js +1 -1
  3. package/dist/agents/kino.js.map +1 -1
  4. package/dist/agents/mav.js +1 -1
  5. package/dist/agents/mav.js.map +1 -1
  6. package/dist/agents/nico.js +1 -1
  7. package/dist/agents/nico.js.map +1 -1
  8. package/dist/contracts.js +15 -15
  9. package/dist/contracts.js.map +1 -1
  10. package/dist/dimensions/action-scope/integrate.js +1 -1
  11. package/dist/dimensions/action-scope/integrate.js.map +1 -1
  12. package/dist/dimensions/assignment/concepts.js +1 -1
  13. package/dist/dimensions/assignment/concepts.js.map +1 -1
  14. package/dist/dimensions/assignment/review-request.js +1 -1
  15. package/dist/dimensions/assignment/review-request.js.map +1 -1
  16. package/dist/dimensions/assignment/task.js +1 -1
  17. package/dist/dimensions/assignment/task.js.map +1 -1
  18. package/dist/dimensions/assignment/{story.d.ts → user-story.d.ts} +1 -1
  19. package/dist/dimensions/assignment/user-story.js +2 -0
  20. package/dist/dimensions/assignment/user-story.js.map +1 -0
  21. package/dist/dimensions/autonomy/management-by-exception.d.ts +2 -0
  22. package/dist/dimensions/autonomy/management-by-exception.js +2 -0
  23. package/dist/dimensions/autonomy/management-by-exception.js.map +1 -0
  24. package/dist/dimensions/deliverable/{review.d.ts → code-review.d.ts} +1 -1
  25. package/dist/dimensions/deliverable/code-review.js +2 -0
  26. package/dist/dimensions/deliverable/code-review.js.map +1 -0
  27. package/dist/dimensions/deliverable/outcome.js +1 -1
  28. package/dist/dimensions/deliverable/outcome.js.map +1 -1
  29. package/dist/dimensions/expertise/evaluation-design.js +1 -1
  30. package/dist/dimensions/expertise/evaluation-design.js.map +1 -1
  31. package/dist/dimensions/model/frontier-other-family.js +1 -1
  32. package/dist/dimensions/model/frontier-other-family.js.map +1 -1
  33. package/dist/dimensions/objective/conceptual-integrity.js +1 -1
  34. package/dist/dimensions/objective/conceptual-integrity.js.map +1 -1
  35. package/dist/dimensions/objective/delivery.js +1 -1
  36. package/dist/dimensions/objective/delivery.js.map +1 -1
  37. package/dist/dimensions/objective/review-accuracy.js +1 -1
  38. package/dist/dimensions/objective/review-accuracy.js.map +1 -1
  39. package/dist/dimensions/perception-scope/concept-journal.js +1 -1
  40. package/dist/dimensions/perception-scope/concept-journal.js.map +1 -1
  41. package/dist/dimensions/perception-scope/held-out-examples.js +1 -1
  42. package/dist/dimensions/perception-scope/held-out-examples.js.map +1 -1
  43. package/dist/dimensions/perception-scope/own-task.js +1 -1
  44. package/dist/dimensions/perception-scope/own-task.js.map +1 -1
  45. package/dist/dimensions/perception-scope/{work.d.ts → work-product.d.ts} +1 -1
  46. package/dist/dimensions/perception-scope/work-product.js +2 -0
  47. package/dist/dimensions/perception-scope/work-product.js.map +1 -0
  48. package/dist/dimensions/procedure/code-review.js +1 -1
  49. package/dist/dimensions/procedure/code-review.js.map +1 -1
  50. package/dist/dimensions/procedure/reconstitution.js +1 -1
  51. package/dist/dimensions/procedure/reconstitution.js.map +1 -1
  52. package/dist/dimensions/procedure/ship-show-ask.js +1 -1
  53. package/dist/dimensions/procedure/ship-show-ask.js.map +1 -1
  54. package/dist/dimensions/role/architect.js +1 -1
  55. package/dist/dimensions/role/architect.js.map +1 -1
  56. package/dist/dimensions/role/builder.js +1 -1
  57. package/dist/dimensions/role/builder.js.map +1 -1
  58. package/dist/dimensions/role/check-writer.js +1 -1
  59. package/dist/dimensions/role/check-writer.js.map +1 -1
  60. package/dist/dimensions/role/illustrator.js +1 -1
  61. package/dist/dimensions/role/illustrator.js.map +1 -1
  62. package/dist/dimensions/role/lead.js +1 -1
  63. package/dist/dimensions/role/lead.js.map +1 -1
  64. package/dist/dimensions/role/reviewer.js +1 -1
  65. package/dist/dimensions/role/reviewer.js.map +1 -1
  66. package/dist/dimensions/stance/{proportionate.d.ts → tailoring.d.ts} +1 -1
  67. package/dist/dimensions/stance/tailoring.js +2 -0
  68. package/dist/dimensions/stance/tailoring.js.map +1 -0
  69. package/dist/genus/persona.d.ts +1 -1
  70. package/dist/genus/persona.js +3 -3
  71. package/dist/manifest.d.ts +4 -4
  72. package/dist/manifest.js +4 -4
  73. package/dist/manifest.js.map +1 -1
  74. package/dist/practices.js +1 -1
  75. package/dist/practices.js.map +1 -1
  76. package/dist/roles/architect.js +14 -14
  77. package/dist/roles/architect.js.map +1 -1
  78. package/dist/roles/builder.js +4 -4
  79. package/dist/roles/builder.js.map +1 -1
  80. package/dist/roles/check-writer.js +3 -3
  81. package/dist/roles/check-writer.js.map +1 -1
  82. package/dist/roles/illustrator.js +2 -2
  83. package/dist/roles/illustrator.js.map +1 -1
  84. package/dist/roles/lead.js +17 -15
  85. package/dist/roles/lead.js.map +1 -1
  86. package/dist/roles/reviewer.js +8 -7
  87. package/dist/roles/reviewer.js.map +1 -1
  88. package/dist/rules/repo-preamble.js +4 -4
  89. package/dist/rules/repo-preamble.js.map +1 -1
  90. package/dist/skills/create-agent/skill.js +1 -1
  91. package/dist/skills/introspect/skill.js +1 -1
  92. package/dist/skills/signify/skill.js +2 -2
  93. package/package.json +3 -3
  94. package/dist/dimensions/assignment/story.js +0 -2
  95. package/dist/dimensions/assignment/story.js.map +0 -1
  96. package/dist/dimensions/deliverable/review.js +0 -2
  97. package/dist/dimensions/deliverable/review.js.map +0 -1
  98. package/dist/dimensions/perception-scope/work.js +0 -2
  99. package/dist/dimensions/perception-scope/work.js.map +0 -1
  100. package/dist/dimensions/stance/proportionate.js +0 -2
  101. package/dist/dimensions/stance/proportionate.js.map +0 -1
@@ -1,6 +1,7 @@
1
1
  // The reviewer role: reviews one change it did not write, before or after it joins as
2
2
  // its story's risk calls for, and hands over one review, never building or repairing
3
- // the work (workflow: reviewer; agents 0272; workflow 0267). It
3
+ // the work, and never reviewing a change the operator has asked to review itself, whose
4
+ // review is the operator's (workflow: reviewer; agents 0272; workflow 0267, 0292). It
4
5
  // runs on another model family than the builders where one is available (0225, 0244),
5
6
  // and takes held-out examples directly from where the architect keeps them (0254).
6
7
  import { none } from '../dimensions/action-scope/none.js';
@@ -12,7 +13,7 @@ import { maintenance } from '../dimensions/communication-style/maintenance.js';
12
13
  import { plain } from '../dimensions/communication-style/plain.js';
13
14
  import { decides } from '../dimensions/decision-rights/decides.js';
14
15
  import { input } from '../dimensions/decision-rights/input.js';
15
- import { review } from '../dimensions/deliverable/review.js';
16
+ import { codeReview as deliverableCodeReview } from '../dimensions/deliverable/code-review.js';
16
17
  import { inUse } from '../dimensions/evaluation/in-use.js';
17
18
  import { softwareEngineering } from '../dimensions/expertise/software-engineering.js';
18
19
  import { testDesign } from '../dimensions/expertise/test-design.js';
@@ -28,7 +29,7 @@ import { reviewAccuracy } from '../dimensions/objective/review-accuracy.js';
28
29
  import { conceptJournal } from '../dimensions/perception-scope/concept-journal.js';
29
30
  import { examples } from '../dimensions/perception-scope/examples.js';
30
31
  import { heldOutExamples } from '../dimensions/perception-scope/held-out-examples.js';
31
- import { work } from '../dimensions/perception-scope/work.js';
32
+ import { workProduct } from '../dimensions/perception-scope/work-product.js';
32
33
  import { codeReview } from '../dimensions/procedure/code-review.js';
33
34
  import { reviewer } from '../dimensions/role/reviewer.js';
34
35
  import { adversarial } from '../dimensions/stance/adversarial.js';
@@ -36,7 +37,7 @@ import { impartial } from '../dimensions/stance/impartial.js';
36
37
  import { trustButVerify } from '../dimensions/stance/trust-but-verify.js';
37
38
  export const reviewerRole = {
38
39
  name: 'reviewer',
39
- description: 'Reviews one change it did not write, before or after it joins, and hands over one review; never builds or repairs the work it reviews.',
40
+ description: 'Reviews one change it did not write, before or after it joins, and hands off one code review; never builds or repairs the work it reviews, and never reviews a change the operator has asked to review itself.',
40
41
  mark: null,
41
42
  values: {
42
43
  role: [reviewer],
@@ -61,7 +62,7 @@ export const reviewerRole = {
61
62
  { value: decides, slot: 'verdict' },
62
63
  { value: input, slot: 'release' },
63
64
  ],
64
- autonomy: [{ value: principal, note: 'in its review' }, handoff],
65
+ autonomy: [{ value: principal, note: 'in its code review' }, handoff],
65
66
  perceptionScope: [
66
67
  conceptJournal,
67
68
  examples,
@@ -69,7 +70,7 @@ export const reviewerRole = {
69
70
  value: heldOutExamples,
70
71
  note: 'taken directly from design/held-out/, never through the lead',
71
72
  },
72
- work,
73
+ workProduct,
73
74
  ],
74
75
  actionScope: [none],
75
76
  model: [
@@ -83,7 +84,7 @@ export const reviewerRole = {
83
84
  note: 'its held-out examples taken directly from design/held-out/, never through the lead',
84
85
  },
85
86
  ],
86
- deliverable: [review],
87
+ deliverable: [deliverableCodeReview],
87
88
  guardrails: [honesty, noImplementation, neverRepairs],
88
89
  evaluation: [inUse],
89
90
  },
@@ -1 +1 @@
1
- {"version":3,"file":"reviewer.js","sourceRoot":"","sources":["../../src/roles/reviewer.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,qFAAqF;AACrF,gEAAgE;AAChE,sFAAsF;AACtF,mFAAmF;AAGnF,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,kDAAkD,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,4CAA4C,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACnE,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,oCAAoC,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAC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,EAAE,oFAAoF;aAC3F;SACF;QACD,WAAW,EAAE,CAAC,qBAAqB,CAAC;QACpC,UAAU,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,YAAY,CAAC;QACrD,UAAU,EAAE,CAAC,KAAK,CAAC;KACpB;CACF,CAAC"}
@@ -18,7 +18,7 @@ export const repoPreamble = {
18
18
  kind: 'rule',
19
19
  id: 'repo-preamble',
20
20
  slug: 'repo-preamble',
21
- residue: 'scope-rule ↾ workspace-root · loaded ∀ session on entry — the standing orientation: doctrine-pointers ⟨why · what · how · corpus-index ; LOCKED-immutable-grounding : source-aligns-up · ¬regenerated-from-source⟩ · working-convention ⟨conventional-commits ; header ≤100 ; commit-autonomous@natural-boundaries ; push ⟨¬say-so⟩ ; green-field ⟨constrains-only-where-declared ; ¬compatibility-goal⟩ ; library-first ⟨maintained · small-API · ¬workflow-engine ; wrapped behind a cratylus capability⟩ ; branching=git-flow dev/main ⟨¬release · ¬hotfix branches ; change-branch ← dev ; local merge → dev once the check passes on the merged result ; dev → main by PR = release ↦ operator ; ¬direct-commit@main⟩ ; the-check ⟨pnpm check = pre-push = CI ; build · lint · typecheck · deterministic tests ; deps declared ; omp version stated, ¬prerequisite⟩ ; history ⟨review ; ¬refusal⟩ ; commit-own-paths ⟨by name ; ¬amend · ¬rewrite-shared⟩⟩ ; activation=scope ⟨curated source, projected + byte-locked⟩',
21
+ residue: 'scope-rule ↾ workspace-root · loaded ∀ session on entry — the standing orientation: doctrine-pointers ⟨why · what · how · corpus-index ; LOCKED-immutable-grounding : source-aligns-up · ¬regenerated-from-source⟩ · working-convention ⟨conventional-commits ; header ≤100 ; commit-autonomous@natural-boundaries ; push ⟨¬say-so⟩ ; green-field ⟨constrains-only-where-declared ; ¬compatibility-goal⟩ ; library-first ⟨maintained · small-API · ¬workflow-engine ; wrapped behind a cratylus capability⟩ ; branching=git-flow dev/main ⟨¬release · ¬hotfix branches ; change-branch ← dev ; local merge → dev once the check passes on the merged result ; dev → main by PR = release ↦ operator ; ¬direct-commit@main⟩ ; the-check ⟨pnpm check = pre-push = CI ; build · lint · typecheck · deterministic tests ; deps declared ; omp version stated, ¬prerequisite⟩ ; version-history ⟨review ; ¬refusal⟩ ; commit-own-paths ⟨by name ; ¬amend · ¬rewrite-shared⟩⟩ ; activation=scope ⟨curated source, projected + byte-locked⟩',
22
22
  scope: '',
23
23
  targetPath: 'AGENTS.md',
24
24
  refs: [],
@@ -36,14 +36,14 @@ export const repoPreamble = {
36
36
  ## Working conventions
37
37
 
38
38
  - Conventional Commits, header ≤100 chars (commitlint, \`commit-msg\` hook).
39
- - **Commit autonomously at natural boundaries,** without asking; this overrides the generic harness default of committing only when the user asks. Pushing a branch needs no say-so.
39
+ - **Commit autonomously at natural boundaries,** without asking; this overrides the generic agent harness default of committing only when the user asks. Pushing a branch needs no say-so.
40
40
  - **Green-field register:** existing code, records, and docs constrain work only where explicitly declared; compatibility is never a goal.
41
41
  - **Reach for an established library before writing or adopting machinery.** Where a well-known problem has an actively maintained, widely used library with a small API, use it; never adopt a workflow or orchestration engine. Wrap it behind cratylus's own capability, so agents learn one small cratylus API, not the library's.
42
42
  - **Branching: Git flow's \`dev\`/\`main\` split, without release or hotfix branches.** Each change is made on a short-lived branch from \`dev\` and merged locally into \`dev\` once \`pnpm check\` passes on the merged result. Release is a pull request from \`dev\` into \`main\`, and it is the operator's. Never commit to \`main\` directly.
43
43
  - **One check:** \`pnpm check\` builds, lints, typechecks and runs the deterministic tests, and fails when any of them fails. The \`pre-push\` hook runs it, and CI runs exactly it after checkout and \`pnpm install\`, with nothing before or after. Every dependency it needs is declared in the workspace's manifests; nothing checks what else is installed.
44
44
  - **Tests cover cratylus's own deterministic code only:** the check tests cratylus's code and the files it produces, never by starting omp, an agent or a model. Agent behaviour is judged in real use. The supported omp version is 18.10.2; the check neither needs nor starts omp, and after an omp upgrade the operator or the architect tries one real session by hand.
45
- - **History is controlled by review, not by refusal:** no hook, CI step or command refuses a change to existing records; the concept journal stays append-only because its verbs only append.
46
- - **Commit only what you changed:** stage and commit your own paths by name, never everything in the tree, and never amend or rewrite shared history.
45
+ - **Version history is controlled by review, not by refusal:** no hook, CI step or command refuses a change to existing records; the concept journal stays append-only because its verbs only append.
46
+ - **Commit only what you changed:** stage and commit your own paths by name, never everything in the tree, and never amend or rewrite the shared version history.
47
47
  `,
48
48
  };
49
49
  //# sourceMappingURL=repo-preamble.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"repo-preamble.js","sourceRoot":"","sources":["../../src/rules/repo-preamble.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,oFAAoF;AACpF,2EAA2E;AAC3E,6EAA6E;AAC7E,mFAAmF;AACnF,iFAAiF;AACjF,4EAA4E;AAC5E,mDAAmD;AACnD,EAAE;AACF,+EAA+E;AAC/E,oFAAoF;AACpF,qFAAqF;AACrF,6EAA6E;AAC7E,sFAAsF;AACtF,qFAAqF;AACrF,uFAAuF;AAEvF,MAAM,CAAC,MAAM,YAAY,GAAa;IACpC,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,eAAe;IACrB,OAAO,EACL,89BAA89B;IACh+B,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,WAAW;IACvB,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;CAsBV;CACA,CAAC"}
1
+ {"version":3,"file":"repo-preamble.js","sourceRoot":"","sources":["../../src/rules/repo-preamble.ts"],"names":[],"mappings":"AAEA,yEAAyE;AACzE,oFAAoF;AACpF,2EAA2E;AAC3E,6EAA6E;AAC7E,mFAAmF;AACnF,iFAAiF;AACjF,4EAA4E;AAC5E,mDAAmD;AACnD,EAAE;AACF,+EAA+E;AAC/E,oFAAoF;AACpF,qFAAqF;AACrF,6EAA6E;AAC7E,sFAAsF;AACtF,qFAAqF;AACrF,uFAAuF;AAEvF,MAAM,CAAC,MAAM,YAAY,GAAa;IACpC,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,eAAe;IACrB,OAAO,EACL,s+BAAs+B;IACx+B,KAAK,EAAE,EAAE;IACT,UAAU,EAAE,WAAW;IACvB,IAAI,EAAE,EAAE;IACR,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;CAsBV;CACA,CAAC"}
@@ -18,7 +18,7 @@ slots ≜ exactly one value per named slot(o) ⟨in slot order⟩
18
18
  attribute ≜ no field on A ⟨its values are attributes of the values A holds⟩
19
19
  projection : O → { text, binding }
20
20
  text ≜ rendered into A's Target ⟨\`##\` group(o) · \`###\` o · one line per entry⟩
21
- binding ≜ never text ⟨compiled to the harness's tool · dispatch · model-role settings⟩
21
+ binding ≜ never text ⟨compiled to the agent harness's tool · dispatch · model-role settings⟩
22
22
  level ≜ the enforcement-level factor's values { advisory, firm, fixed } ⟨arity attribute⟩
23
23
  default(o) ≜ o's level @ catalog ⟨∅ ⇒ none applies⟩
24
24
  entry(o, v) ≜ ⟨ v, level, slot ⟨arity slots⟩, note ⟨a qualifier the design states⟩ ⟩
@@ -4,7 +4,7 @@ export const introspect = {
4
4
  description: `use this skill when an agent needs to self-audit — compare each factor's defined values (each at its enforcement level) against the values actually in effect this session, and name the cause of every divergence.`,
5
5
  formalBlock: `A ≜ the agent introspecting itself
6
6
  O_text ≜ enumerate(\`###\` factor headings @ A's live Target) ⟨READ · ¬ recalled · \`##\` ≜ a group ∴ ∉ O⟩
7
- O_bind ≜ enumerate(binding factors @ \`cratylus catalog\`) ⟨never text · compiled to harness tool · dispatch · model-role settings⟩
7
+ O_bind ≜ enumerate(binding factors @ \`cratylus catalog\`) ⟨never text · compiled to agent-harness tool · dispatch · model-role settings⟩
8
8
  O ≜ O_text ∪ O_bind ⟨∄ fixed-list ∵ corpus declares its own catalog · enforcement-level ≜ an attribute of each entry ∴ ∉ O⟩
9
9
  |O| ≜ |O_text| + |O_bind| ⟨the DENOMINATOR⟩
10
10
  V ≜ the entry value-space { one-entry · entry-set · one-entry-per-slot · unobservable } ⟨entry ≜ value @ level { advisory · firm · fixed }⟩
@@ -61,8 +61,8 @@ c ∉ dom(α) ⇒ c ∉ Anchors :
61
61
  ¬circ(n, cᵢ) ⇒ evidence about fired(n), ¬ about cᵢ ⟨fired : Names → ℘(D) reads n ALONE⟩
62
62
  ∴ a rejection BINDS n ⟨n freed from cᵢ is ¬ thereby fit for cⱼ ; circ(n, cⱼ) re-established independently ∨ n stays rejected⟩
63
63
 
64
- residue(c) ≜ { d ∈ D(c) | d ∉ fired(α(c)) }
65
- ∀ a ∈ Art : ∀ c carried by a : c enters a's body as ⟨α(c), residue(c)⟩
64
+ residue(c) ≜ { d ∈ D(c) | d ∉ fired(α(c)) } ∪ { d ∈ fired(α(c)) | d ∉ D(c) }
65
+ ∀ a ∈ Art : ∀ c carried by a : c enters a's body as ⟨α(c), residue(c)⟩ ⟨d ∈ residue(c) ∩ D(c) stated ; d ∈ residue(c) ∧ d ∉ D(c) stated denied⟩
66
66
  residue(c) = ∅ ⇒ c enters as α(c) alone
67
67
  minimal(a) ⇔ ∄ c carried by a : a re-states fired(α(c))
68
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cratylus/canon",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "The canonical corpus of discovered optimal-signifiers — agents, skills, dimensions and rules as typed TS source. Markdown is a projection of these modules.",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -21,8 +21,8 @@
21
21
  "@cratylus/schema": "0.11.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@cratylus/forge": "0.17.0",
25
- "@cratylus/runtime": "0.16.0",
24
+ "@cratylus/forge": "0.17.1",
25
+ "@cratylus/runtime": "0.17.0",
26
26
  "@cratylus/tooling": "0.0.0",
27
27
  "@types/node": "^22.0.0",
28
28
  "tsx": "^4.19.0",
@@ -1,2 +0,0 @@
1
- export const story = `story ≜ one thin slice of behaviour a user can rely on: the slice and why it is wanted, its acceptance criteria, what is out of scope, its path and whether its changes ship, show or ask, its rough cost, and examples where misunderstanding is likely; or, for a change that alters no meaning, a task with no story`;
2
- //# sourceMappingURL=story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"story.js","sourceRoot":"","sources":["../../../src/dimensions/assignment/story.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAe,yTAAyT,CAAC"}
@@ -1,2 +0,0 @@
1
- export const review = `review ≜ approve or ask for changes, naming each finding, with each meaning question for the architect`;
2
- //# sourceMappingURL=review.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"review.js","sourceRoot":"","sources":["../../../src/dimensions/deliverable/review.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,MAAM,GAAgB,wGAAwG,CAAC"}
@@ -1,2 +0,0 @@
1
- export const work = `work ≜ the realization itself: code, documents, test output`;
2
- //# sourceMappingURL=work.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"work.js","sourceRoot":"","sources":["../../../src/dimensions/perception-scope/work.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,IAAI,GAAoB,6DAA6D,CAAC"}
@@ -1,2 +0,0 @@
1
- export const proportionate = `proportionate ≜ ceremony and effort scale with the size and risk of the change`;
2
- //# sourceMappingURL=proportionate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"proportionate.js","sourceRoot":"","sources":["../../../src/dimensions/stance/proportionate.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAW,gFAAgF,CAAC"}