@wildo-ai/platform-core-shared 1.1.4 → 1.1.6

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 (82) hide show
  1. package/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
  2. package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
  3. package/dist/esm/index.d.ts +4 -1
  4. package/dist/esm/index.d.ts.map +1 -1
  5. package/dist/esm/index.js +4 -1
  6. package/dist/esm/index.js.map +1 -1
  7. package/dist/esm/runtime/application-backend-env.contracts.d.ts +49 -4
  8. package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
  9. package/dist/esm/runtime/application-backend-env.contracts.js +48 -1
  10. package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
  11. package/dist/esm/runtime/http-server-env.contracts.d.ts +46 -0
  12. package/dist/esm/runtime/http-server-env.contracts.d.ts.map +1 -0
  13. package/dist/esm/runtime/http-server-env.contracts.js +55 -0
  14. package/dist/esm/runtime/http-server-env.contracts.js.map +1 -0
  15. package/dist/esm/runtime/runtime-topology.contracts.d.ts +0 -4
  16. package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
  17. package/dist/esm/runtime/runtime-topology.contracts.js +0 -12
  18. package/dist/esm/runtime/runtime-topology.contracts.js.map +1 -1
  19. package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
  20. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +166 -70
  21. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  22. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +166 -70
  23. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
  24. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +2 -2
  25. package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
  26. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +21 -10
  27. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
  28. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +21 -10
  29. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
  30. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +26 -28
  31. package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
  32. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
  33. package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
  34. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +29 -0
  35. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
  36. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +58 -0
  37. package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
  38. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
  39. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
  40. package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
  41. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts +13 -0
  42. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
  43. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +441 -1
  44. package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
  45. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts +279 -0
  46. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.d.ts.map +1 -0
  47. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js +303 -0
  48. package/dist/esm/workbench/workbench-creation-console.custom.shared.schemas.js.map +1 -0
  49. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts +199 -0
  50. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -0
  51. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js +185 -0
  52. package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -0
  53. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts +49 -0
  54. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -0
  55. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js +42 -0
  56. package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -0
  57. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +461 -11
  58. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
  59. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +509 -6
  60. package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
  61. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +1102 -12
  62. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
  63. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +1520 -19
  64. package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
  65. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +123 -1
  66. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
  67. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +168 -0
  68. package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
  69. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +229 -9
  70. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
  71. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +2 -2
  72. package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
  73. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +18 -3
  74. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
  75. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +35 -7
  76. package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
  77. package/dist/tsconfig.build.tsbuildinfo +1 -1
  78. package/package.json +4 -13
  79. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts +0 -98
  80. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts.map +0 -1
  81. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js +0 -86
  82. package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wildo-ai/platform-core-shared",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "Todo app specific models and types",
6
6
  "author": "Wildo AI",
@@ -30,20 +30,11 @@
30
30
  "test:watch": "vitest"
31
31
  },
32
32
  "dependencies": {
33
- "@wildo-ai/saas-models": "1.1.4",
34
- "@wildo-ai/presets-components-models": "1.1.4",
35
- "@wildo-ai/zod-decorators": "1.1.4"
33
+ "@wildo-ai/saas-models": "1.1.6",
34
+ "@wildo-ai/presets-components-models": "1.1.6",
35
+ "@wildo-ai/zod-decorators": "1.1.6"
36
36
  },
37
37
  "peerDependencies": {
38
- "big.js": "^6.2.2",
39
- "date-fns": "^4.1.0",
40
- "inversify": "^8.1.0",
41
- "jsonwebtoken": "^9.0.2",
42
- "lodash": "^4.17.23",
43
- "mime": "^4.0.1",
44
- "reflect-metadata": "^0.2.2",
45
- "ufo": "^1.6.3",
46
- "yaml": "^2.3.4",
47
38
  "zod": "^4.3.6"
48
39
  },
49
40
  "devDependencies": {
@@ -1,98 +0,0 @@
1
- /**
2
- * The application-creation board's identity, shared because THREE packages must agree on it.
3
- *
4
- * - the workbench declares the composite view under {@link WORKBENCH_CREATION_BOARD_VIEW_REF} and
5
- * renders one `<Section>` per {@link WorkbenchCreationBoardSection};
6
- * - the companion authors the labels the view resolves, keyed by exactly those refs;
7
- * - and neither can see the other's source.
8
- *
9
- * Three string literals in three packages compile perfectly and fail at runtime as a blank sidebar
10
- * row and headless sections — `tCompositeView` and `tCompositeViewSection` answer the EMPTY STRING
11
- * for a missing key rather than echoing it, so nothing reports the drift. That is the same failure
12
- * the workbench's two resource launchers shipped with, and the same reason their vocabulary lives
13
- * here rather than on either side.
14
- *
15
- * This carries NO React and NO Node: it is a vocabulary, which is what makes it importable by a
16
- * browser bundle and by a daemon at once.
17
- */
18
- /**
19
- * The view's `ref` — the composite-view key, the launcher target, and the `/composite/<ref>` route.
20
- *
21
- * It MUST NOT contain a dot. The label lookup path is `composite_views.<translationRef>.<key>` and
22
- * BOTH readers — the backend's key filter and the frontend's `t` — split that whole path on `.` and
23
- * walk it segment by segment. A dotted ref therefore nests its labels one level deeper than anything
24
- * that reads them expects, and the failure is silent: `tCompositeView` answers the empty string.
25
- */
26
- export declare const WORKBENCH_CREATION_BOARD_VIEW_REF = "creation-board";
27
- /**
28
- * The label PATH the view's title and description hang off — `composite_views.<this>.title`.
29
- *
30
- * DERIVED by the engine's `buildApplicationViewTranslationRef` (`app.<ref>`), not chosen here. It is
31
- * restated because the companion cannot import a frontend package to compute it, and the workbench's
32
- * own test asserts this constant against the engine's derivation — so the copy cannot drift silently
33
- * from the function that actually produces it at runtime.
34
- *
35
- * A DOT PATH, not an object key. The label file nests `app` and then the ref; a single
36
- * `'app.creation-board'` property is unreachable from either reader. Measured 2026-08-31, after a
37
- * flat key made the board's title, its six section headings and its sidebar row all render empty with
38
- * nothing reporting it.
39
- */
40
- export declare const WORKBENCH_CREATION_BOARD_TRANSLATION_REF = "app.creation-board";
41
- /**
42
- * The board's sections, in the order they are read.
43
- *
44
- * The order is a decision, not a listing: a playbook run lands families, which make build-plan tasks
45
- * ready, which the coding lane executes, which the write register records. Reading them in that order
46
- * is reading the loop. The evidence section is LAST and always visible rather than behind a tab,
47
- * because it is the undo that sits in front of every dispatch button above it.
48
- *
49
- * The governance-facts section sits between the executions and the evidence: it is the point in the
50
- * loop where derivation stops and a person decides, and it belongs after everything a machine can do
51
- * for them rather than before it — a creator answering it first would be answering questions the
52
- * accepted specifications have not yet made concrete.
53
- */
54
- export declare enum WorkbenchCreationBoardSection {
55
- /** Every compiled playbook and whether it can run right now, with the reasons it cannot. */
56
- PLAYBOOKS = "playbooks",
57
- /** What is running in the companion process, and what died leaving a resumable checkpoint. */
58
- RUNS = "runs",
59
- /** The next ready build-plan task and the exact paths it may and may not write. */
60
- BUILD_PLAN = "build-plan",
61
- /** Whether the coding agent is registered, and whether a run holds the workspace mutation lock. */
62
- CODING_LANE = "coding-lane",
63
- /** The actor and flow executions the control plane holds, and the tasks they created. */
64
- EXECUTIONS = "executions",
65
- /**
66
- * The governed-document facts only a PERSON may establish — a creator decision or a qualified
67
- * review — and the file their answers land in (#192).
68
- *
69
- * Its own section rather than a page of the playbook lane, because it is the one place on this
70
- * board where a HUMAN is the authority. Everything above dispatches derivation; this collects
71
- * decisions no derivation may make, and its answers land in `document-facts-authored`, a family no
72
- * producer writes.
73
- */
74
- GOVERNANCE_FACTS = "governance-facts",
75
- /** What each run wrote, with its revert, and the execution traces behind it. */
76
- EVIDENCE = "evidence"
77
- }
78
- /**
79
- * The section refs in render order.
80
- *
81
- * `Object.values` on a string enum preserves declaration order, so this IS the enum rather than a
82
- * second list beside it — the shape that would let the two disagree.
83
- */
84
- export declare const WORKBENCH_CREATION_BOARD_SECTION_REFS: readonly WorkbenchCreationBoardSection[];
85
- /**
86
- * One authored title and description per section — the type the companion's label file satisfies.
87
- *
88
- * A `Record` keyed by the enum is what makes label coverage a COMPILE error rather than a test: add a
89
- * section and the label file stops compiling until it is described. A test could only report the gap
90
- * after someone ran it, and the gap's runtime symptom is a headless section nobody notices.
91
- */
92
- export type WorkbenchCreationBoardSectionLabels = {
93
- readonly [section in WorkbenchCreationBoardSection]: {
94
- readonly title: string;
95
- readonly description: string;
96
- };
97
- };
98
- //# sourceMappingURL=workbench-creation-board.custom.shared.schemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workbench-creation-board.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/workbench/workbench-creation-board.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,iCAAiC,mBAAmB,CAAC;AAElE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wCAAwC,uBAA6C,CAAC;AAEnG;;;;;;;;;;;;GAYG;AACH,oBAAY,6BAA6B;IACvC,4FAA4F;IAC5F,SAAS,cAAc;IACvB,8FAA8F;IAC9F,IAAI,SAAS;IACb,mFAAmF;IACnF,UAAU,eAAe;IACzB,mGAAmG;IACnG,WAAW,gBAAgB;IAC3B,yFAAyF;IACzF,UAAU,eAAe;IACzB;;;;;;;;OAQG;IACH,gBAAgB,qBAAqB;IACrC,gFAAgF;IAChF,QAAQ,aAAa;CACtB;AAED;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC,EAAE,SAAS,6BAA6B,EAC5C,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,MAAM,mCAAmC,GAAG;IAChD,QAAQ,EAAE,OAAO,IAAI,6BAA6B,GAAG;QACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B;CACF,CAAC"}
@@ -1,86 +0,0 @@
1
- /**
2
- * The application-creation board's identity, shared because THREE packages must agree on it.
3
- *
4
- * - the workbench declares the composite view under {@link WORKBENCH_CREATION_BOARD_VIEW_REF} and
5
- * renders one `<Section>` per {@link WorkbenchCreationBoardSection};
6
- * - the companion authors the labels the view resolves, keyed by exactly those refs;
7
- * - and neither can see the other's source.
8
- *
9
- * Three string literals in three packages compile perfectly and fail at runtime as a blank sidebar
10
- * row and headless sections — `tCompositeView` and `tCompositeViewSection` answer the EMPTY STRING
11
- * for a missing key rather than echoing it, so nothing reports the drift. That is the same failure
12
- * the workbench's two resource launchers shipped with, and the same reason their vocabulary lives
13
- * here rather than on either side.
14
- *
15
- * This carries NO React and NO Node: it is a vocabulary, which is what makes it importable by a
16
- * browser bundle and by a daemon at once.
17
- */
18
- /**
19
- * The view's `ref` — the composite-view key, the launcher target, and the `/composite/<ref>` route.
20
- *
21
- * It MUST NOT contain a dot. The label lookup path is `composite_views.<translationRef>.<key>` and
22
- * BOTH readers — the backend's key filter and the frontend's `t` — split that whole path on `.` and
23
- * walk it segment by segment. A dotted ref therefore nests its labels one level deeper than anything
24
- * that reads them expects, and the failure is silent: `tCompositeView` answers the empty string.
25
- */
26
- export const WORKBENCH_CREATION_BOARD_VIEW_REF = 'creation-board';
27
- /**
28
- * The label PATH the view's title and description hang off — `composite_views.<this>.title`.
29
- *
30
- * DERIVED by the engine's `buildApplicationViewTranslationRef` (`app.<ref>`), not chosen here. It is
31
- * restated because the companion cannot import a frontend package to compute it, and the workbench's
32
- * own test asserts this constant against the engine's derivation — so the copy cannot drift silently
33
- * from the function that actually produces it at runtime.
34
- *
35
- * A DOT PATH, not an object key. The label file nests `app` and then the ref; a single
36
- * `'app.creation-board'` property is unreachable from either reader. Measured 2026-08-31, after a
37
- * flat key made the board's title, its six section headings and its sidebar row all render empty with
38
- * nothing reporting it.
39
- */
40
- export const WORKBENCH_CREATION_BOARD_TRANSLATION_REF = `app.${WORKBENCH_CREATION_BOARD_VIEW_REF}`;
41
- /**
42
- * The board's sections, in the order they are read.
43
- *
44
- * The order is a decision, not a listing: a playbook run lands families, which make build-plan tasks
45
- * ready, which the coding lane executes, which the write register records. Reading them in that order
46
- * is reading the loop. The evidence section is LAST and always visible rather than behind a tab,
47
- * because it is the undo that sits in front of every dispatch button above it.
48
- *
49
- * The governance-facts section sits between the executions and the evidence: it is the point in the
50
- * loop where derivation stops and a person decides, and it belongs after everything a machine can do
51
- * for them rather than before it — a creator answering it first would be answering questions the
52
- * accepted specifications have not yet made concrete.
53
- */
54
- export var WorkbenchCreationBoardSection;
55
- (function (WorkbenchCreationBoardSection) {
56
- /** Every compiled playbook and whether it can run right now, with the reasons it cannot. */
57
- WorkbenchCreationBoardSection["PLAYBOOKS"] = "playbooks";
58
- /** What is running in the companion process, and what died leaving a resumable checkpoint. */
59
- WorkbenchCreationBoardSection["RUNS"] = "runs";
60
- /** The next ready build-plan task and the exact paths it may and may not write. */
61
- WorkbenchCreationBoardSection["BUILD_PLAN"] = "build-plan";
62
- /** Whether the coding agent is registered, and whether a run holds the workspace mutation lock. */
63
- WorkbenchCreationBoardSection["CODING_LANE"] = "coding-lane";
64
- /** The actor and flow executions the control plane holds, and the tasks they created. */
65
- WorkbenchCreationBoardSection["EXECUTIONS"] = "executions";
66
- /**
67
- * The governed-document facts only a PERSON may establish — a creator decision or a qualified
68
- * review — and the file their answers land in (#192).
69
- *
70
- * Its own section rather than a page of the playbook lane, because it is the one place on this
71
- * board where a HUMAN is the authority. Everything above dispatches derivation; this collects
72
- * decisions no derivation may make, and its answers land in `document-facts-authored`, a family no
73
- * producer writes.
74
- */
75
- WorkbenchCreationBoardSection["GOVERNANCE_FACTS"] = "governance-facts";
76
- /** What each run wrote, with its revert, and the execution traces behind it. */
77
- WorkbenchCreationBoardSection["EVIDENCE"] = "evidence";
78
- })(WorkbenchCreationBoardSection || (WorkbenchCreationBoardSection = {}));
79
- /**
80
- * The section refs in render order.
81
- *
82
- * `Object.values` on a string enum preserves declaration order, so this IS the enum rather than a
83
- * second list beside it — the shape that would let the two disagree.
84
- */
85
- export const WORKBENCH_CREATION_BOARD_SECTION_REFS = Object.values(WorkbenchCreationBoardSection);
86
- //# sourceMappingURL=workbench-creation-board.custom.shared.schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workbench-creation-board.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/workbench/workbench-creation-board.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,gBAAgB,CAAC;AAElE;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,OAAO,iCAAiC,EAAE,CAAC;AAEnG;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,6BAuBX;AAvBD,WAAY,6BAA6B;IACvC,4FAA4F;IAC5F,wDAAuB,CAAA;IACvB,8FAA8F;IAC9F,8CAAa,CAAA;IACb,mFAAmF;IACnF,0DAAyB,CAAA;IACzB,mGAAmG;IACnG,4DAA2B,CAAA;IAC3B,yFAAyF;IACzF,0DAAyB,CAAA;IACzB;;;;;;;;OAQG;IACH,sEAAqC,CAAA;IACrC,gFAAgF;IAChF,sDAAqB,CAAA;AACvB,CAAC,EAvBW,6BAA6B,KAA7B,6BAA6B,QAuBxC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAChD,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC","sourcesContent":["/**\n * The application-creation board's identity, shared because THREE packages must agree on it.\n *\n * - the workbench declares the composite view under {@link WORKBENCH_CREATION_BOARD_VIEW_REF} and\n * renders one `<Section>` per {@link WorkbenchCreationBoardSection};\n * - the companion authors the labels the view resolves, keyed by exactly those refs;\n * - and neither can see the other's source.\n *\n * Three string literals in three packages compile perfectly and fail at runtime as a blank sidebar\n * row and headless sections — `tCompositeView` and `tCompositeViewSection` answer the EMPTY STRING\n * for a missing key rather than echoing it, so nothing reports the drift. That is the same failure\n * the workbench's two resource launchers shipped with, and the same reason their vocabulary lives\n * here rather than on either side.\n *\n * This carries NO React and NO Node: it is a vocabulary, which is what makes it importable by a\n * browser bundle and by a daemon at once.\n */\n\n/**\n * The view's `ref` — the composite-view key, the launcher target, and the `/composite/<ref>` route.\n *\n * It MUST NOT contain a dot. The label lookup path is `composite_views.<translationRef>.<key>` and\n * BOTH readers — the backend's key filter and the frontend's `t` — split that whole path on `.` and\n * walk it segment by segment. A dotted ref therefore nests its labels one level deeper than anything\n * that reads them expects, and the failure is silent: `tCompositeView` answers the empty string.\n */\nexport const WORKBENCH_CREATION_BOARD_VIEW_REF = 'creation-board';\n\n/**\n * The label PATH the view's title and description hang off — `composite_views.<this>.title`.\n *\n * DERIVED by the engine's `buildApplicationViewTranslationRef` (`app.<ref>`), not chosen here. It is\n * restated because the companion cannot import a frontend package to compute it, and the workbench's\n * own test asserts this constant against the engine's derivation — so the copy cannot drift silently\n * from the function that actually produces it at runtime.\n *\n * A DOT PATH, not an object key. The label file nests `app` and then the ref; a single\n * `'app.creation-board'` property is unreachable from either reader. Measured 2026-08-31, after a\n * flat key made the board's title, its six section headings and its sidebar row all render empty with\n * nothing reporting it.\n */\nexport const WORKBENCH_CREATION_BOARD_TRANSLATION_REF = `app.${WORKBENCH_CREATION_BOARD_VIEW_REF}`;\n\n/**\n * The board's sections, in the order they are read.\n *\n * The order is a decision, not a listing: a playbook run lands families, which make build-plan tasks\n * ready, which the coding lane executes, which the write register records. Reading them in that order\n * is reading the loop. The evidence section is LAST and always visible rather than behind a tab,\n * because it is the undo that sits in front of every dispatch button above it.\n *\n * The governance-facts section sits between the executions and the evidence: it is the point in the\n * loop where derivation stops and a person decides, and it belongs after everything a machine can do\n * for them rather than before it — a creator answering it first would be answering questions the\n * accepted specifications have not yet made concrete.\n */\nexport enum WorkbenchCreationBoardSection {\n /** Every compiled playbook and whether it can run right now, with the reasons it cannot. */\n PLAYBOOKS = 'playbooks',\n /** What is running in the companion process, and what died leaving a resumable checkpoint. */\n RUNS = 'runs',\n /** The next ready build-plan task and the exact paths it may and may not write. */\n BUILD_PLAN = 'build-plan',\n /** Whether the coding agent is registered, and whether a run holds the workspace mutation lock. */\n CODING_LANE = 'coding-lane',\n /** The actor and flow executions the control plane holds, and the tasks they created. */\n EXECUTIONS = 'executions',\n /**\n * The governed-document facts only a PERSON may establish — a creator decision or a qualified\n * review — and the file their answers land in (#192).\n *\n * Its own section rather than a page of the playbook lane, because it is the one place on this\n * board where a HUMAN is the authority. Everything above dispatches derivation; this collects\n * decisions no derivation may make, and its answers land in `document-facts-authored`, a family no\n * producer writes.\n */\n GOVERNANCE_FACTS = 'governance-facts',\n /** What each run wrote, with its revert, and the execution traces behind it. */\n EVIDENCE = 'evidence',\n}\n\n/**\n * The section refs in render order.\n *\n * `Object.values` on a string enum preserves declaration order, so this IS the enum rather than a\n * second list beside it — the shape that would let the two disagree.\n */\nexport const WORKBENCH_CREATION_BOARD_SECTION_REFS: readonly WorkbenchCreationBoardSection[] =\n Object.values(WorkbenchCreationBoardSection);\n\n/**\n * One authored title and description per section — the type the companion's label file satisfies.\n *\n * A `Record` keyed by the enum is what makes label coverage a COMPILE error rather than a test: add a\n * section and the label file stops compiling until it is described. A test could only report the gap\n * after someone ran it, and the gap's runtime symptom is a headless section nobody notices.\n */\nexport type WorkbenchCreationBoardSectionLabels = {\n readonly [section in WorkbenchCreationBoardSection]: {\n readonly title: string;\n readonly description: string;\n };\n};\n"]}