@intentius/chant 0.93.0 → 0.94.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/dist/cli/main.d.ts.map +1 -1
- package/dist/cli/mcp/workspace-plugins.d.ts +6 -6
- package/dist/workspace/box-intent.d.ts +85 -0
- package/dist/workspace/box-intent.d.ts.map +1 -0
- package/dist/workspace/chant-migrations.d.ts +5 -0
- package/dist/workspace/chant-migrations.d.ts.map +1 -1
- package/dist/workspace/checks/boxes.d.ts +14 -1
- package/dist/workspace/checks/boxes.d.ts.map +1 -1
- package/dist/workspace/checks.d.ts +4 -0
- package/dist/workspace/checks.d.ts.map +1 -1
- package/dist/workspace/decision-points.schema.json +3 -3
- package/dist/workspace/declaration.d.ts +6 -0
- package/dist/workspace/declaration.d.ts.map +1 -1
- package/dist/workspace/declaration.schema.json +6 -1
- package/dist/workspace/intent-joins.d.ts +5 -5
- package/dist/workspace/points-cli.d.ts +2 -0
- package/dist/workspace/points-cli.d.ts.map +1 -1
- package/dist/workspace/points.d.ts +3 -5
- package/dist/workspace/points.d.ts.map +1 -1
- package/dist/workspace/reason-codes.d.ts +2 -0
- package/dist/workspace/reason-codes.d.ts.map +1 -1
- package/dist/workspace/records-cli.d.ts.map +1 -1
- package/dist/workspace/status-stewards.d.ts +8 -2
- package/dist/workspace/status-stewards.d.ts.map +1 -1
- package/dist/workspace/status.d.ts +8 -0
- package/dist/workspace/status.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/cli/main.ts +4 -3
- package/src/cli/mcp/workspace-plugins.ts +6 -6
- package/src/cli/serve-mcp-workspace.test.ts +6 -6
- package/src/op/activities/decide.test.ts +8 -0
- package/src/op/steward-points.test.ts +51 -0
- package/src/workspace/box-intent.test.ts +205 -0
- package/src/workspace/box-intent.ts +159 -0
- package/src/workspace/chant-migrations.ts +5 -0
- package/src/workspace/check.schema.json +7 -3
- package/src/workspace/checks/boxes.test.ts +2 -1
- package/src/workspace/checks/boxes.ts +66 -0
- package/src/workspace/checks.ts +12 -1
- package/src/workspace/decision-points.schema.json +3 -3
- package/src/workspace/declaration.schema.json +6 -1
- package/src/workspace/declaration.ts +8 -0
- package/src/workspace/declared-kinds.test.ts +26 -0
- package/src/workspace/intent-joins.test.ts +5 -5
- package/src/workspace/intent-joins.ts +5 -5
- package/src/workspace/points-cli.ts +3 -0
- package/src/workspace/points.schema.json +18 -0
- package/src/workspace/points.test.ts +15 -14
- package/src/workspace/points.ts +4 -16
- package/src/workspace/read-contract.test.ts +8 -0
- package/src/workspace/reason-codes.test.ts +7 -7
- package/src/workspace/reason-codes.ts +3 -0
- package/src/workspace/records-cli.ts +14 -1
- package/src/workspace/records-formats.test.ts +15 -15
- package/src/workspace/records-since.test.ts +8 -7
- package/src/workspace/records.test.ts +1 -1
- package/src/workspace/status-contract.test.ts +1 -0
- package/src/workspace/status-stewards.ts +49 -3
- package/src/workspace/status.schema.json +19 -2
- package/src/workspace/status.ts +10 -0
- package/src/workspace/{work-readiness-chud.test.ts → work-readiness.test.ts} +30 -32
- package/src/workspace/work.test.ts +17 -0
package/dist/cli/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAMA,OAAO,EAAkB,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAsG9E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAmgBpD;
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/cli/main.ts"],"names":[],"mappings":";AAMA,OAAO,EAAkB,KAAK,UAAU,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAsG9E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAmgBpD;AA4qBD;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAuBzE;AAID;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,EAkIvC,CAAC;AA4KF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB5E"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* #2700 — the lexicons `chant serve mcp` loads at the root of a declared
|
|
3
3
|
* workspace that has no lexicon of its own.
|
|
4
4
|
*
|
|
5
|
-
* Such a root (a generated
|
|
6
|
-
*
|
|
7
|
-
* there got none of chant's tools. The server now starts with core's
|
|
8
|
-
* resources, and with the lexicons of the workspace's members of
|
|
9
|
-
* each read from that member's own config the way `chant build`
|
|
10
|
-
* member's directory reads it.
|
|
5
|
+
* Such a root (a generated app repo, say, whose lexicons are all under a
|
|
6
|
+
* delivery directory) used to refuse with "No lexicon detected", so an agent
|
|
7
|
+
* started there got none of chant's tools. The server now starts with core's
|
|
8
|
+
* tools and resources, and with the lexicons of the workspace's members of
|
|
9
|
+
* kind chant, each read from that member's own config the way `chant build`
|
|
10
|
+
* in the member's directory reads it.
|
|
11
11
|
*
|
|
12
12
|
* Loading is best effort, one member and one lexicon at a time: a member whose
|
|
13
13
|
* config does not load, or a lexicon this chant cannot import, is left out and
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A box's intent (#2850): the decision record its box block names.
|
|
3
|
+
*
|
|
4
|
+
* A new box starts as a question, and the first answer to it is what the box
|
|
5
|
+
* is for. That answer is a decision record, so the intent graph, hud and a
|
|
6
|
+
* box's runtime all read the same thing. The box block names the record's
|
|
7
|
+
* id in `intent`; the record is looked for among the records of every
|
|
8
|
+
* declared kind named `decision` (the entry's `name`, or the kind file's
|
|
9
|
+
* `recordKind.name`), read from the working tree through the same reader as
|
|
10
|
+
* `chant workspace records`.
|
|
11
|
+
*
|
|
12
|
+
* `chant workspace status --json` reports the record's state and answer
|
|
13
|
+
* under the member's `box.intent`, and `chant workspace check` fails when no
|
|
14
|
+
* decision record has the id (WSP126) and warns when the record constrains
|
|
15
|
+
* no member or path of this workspace at all (WSP127, #2857): the member it
|
|
16
|
+
* names need not be the box's own, since a decision naming another member
|
|
17
|
+
* can be what the box is for, such as the app it runs.
|
|
18
|
+
*/
|
|
19
|
+
import { type DeclaredKind } from "./declared-kinds.js";
|
|
20
|
+
import type { Declaration } from "./declaration.js";
|
|
21
|
+
/** The declared kind name a box's intent is looked for in. */
|
|
22
|
+
export declare const INTENT_KIND_NAME = "decision";
|
|
23
|
+
/** A box's intent as `status --json` reports it: the record's id, state and answer. */
|
|
24
|
+
export interface BoxIntent {
|
|
25
|
+
id: string;
|
|
26
|
+
/** The record's state, such as proposed or decided, or null when no decision record has the id. */
|
|
27
|
+
state: string | null;
|
|
28
|
+
question: string | null;
|
|
29
|
+
/** The record's choice as written, such as `{ option, reason }`, or null while it is proposed. */
|
|
30
|
+
choice: unknown;
|
|
31
|
+
/** The chosen option's label, from `options[]`, or null while no option is chosen. */
|
|
32
|
+
answer: string | null;
|
|
33
|
+
decided_by: string | null;
|
|
34
|
+
decided_on: string | null;
|
|
35
|
+
}
|
|
36
|
+
/** The decision record a box's intent names, as the checks read it. */
|
|
37
|
+
export interface ResolvedBoxIntent {
|
|
38
|
+
member: string;
|
|
39
|
+
id: string;
|
|
40
|
+
/** The `intent` field's JSON Pointer in the declaration. */
|
|
41
|
+
pointer: string;
|
|
42
|
+
/** The record, or null when no decision record has the id. */
|
|
43
|
+
record: {
|
|
44
|
+
/** The kind file that holds it, from the workspace root. */
|
|
45
|
+
kind: string;
|
|
46
|
+
/** The record file, from the repository root. */
|
|
47
|
+
path: string;
|
|
48
|
+
/** The record's constrains entries, as written. */
|
|
49
|
+
constrains: string[];
|
|
50
|
+
intent: BoxIntent;
|
|
51
|
+
} | null;
|
|
52
|
+
/** Why no record was found when none was, such as no declared decision kind. Empty when one was found. */
|
|
53
|
+
why: string;
|
|
54
|
+
}
|
|
55
|
+
/** The intent of `id` with no record: every field but the id null. */
|
|
56
|
+
export declare function unresolvedIntent(id: string): BoxIntent;
|
|
57
|
+
/**
|
|
58
|
+
* Resolve the intent of every box that names one, reading the records of each
|
|
59
|
+
* declared decision kind once. `kinds` are the declared kinds already loaded,
|
|
60
|
+
* when the caller has them. Only the working tree is read.
|
|
61
|
+
*/
|
|
62
|
+
export declare function resolveBoxIntents(declaration: Declaration, root: string, kinds?: readonly DeclaredKind[]): Promise<ResolvedBoxIntent[]>;
|
|
63
|
+
/**
|
|
64
|
+
* Whether a constrains entry covers something of the box: `member:<name>`, or
|
|
65
|
+
* a `path:` entry that is the member's directory, a directory above it or a
|
|
66
|
+
* path inside it.
|
|
67
|
+
*/
|
|
68
|
+
export declare function constrainsBox(entry: string, member: {
|
|
69
|
+
name: string;
|
|
70
|
+
dir: string;
|
|
71
|
+
}): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Whether a constrains entry names a member or path of this workspace at
|
|
74
|
+
* all: `member:<name>` for any declared member, or a `path:` entry that is
|
|
75
|
+
* some member's directory, a directory above it or a path inside it. An
|
|
76
|
+
* intent's constrains can govern a member other than the one whose box
|
|
77
|
+
* names it (a box run by one member can be what a decision about another
|
|
78
|
+
* member's app is for), so this asks only whether the entry is real, not
|
|
79
|
+
* whether it reaches a particular member.
|
|
80
|
+
*/
|
|
81
|
+
export declare function constrainsWorkspace(entry: string, members: readonly {
|
|
82
|
+
name: string;
|
|
83
|
+
dir: string;
|
|
84
|
+
}[]): boolean;
|
|
85
|
+
//# sourceMappingURL=box-intent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box-intent.d.ts","sourceRoot":"","sources":["../../src/workspace/box-intent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,EAAqB,KAAK,YAA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AE,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAQ3F;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,OAAO,CAE7G"}
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
* still the template's, so to a later upgrade they are the project's own
|
|
27
27
|
* edits, merged per file like any other (ws-005). A deleted file keeps its
|
|
28
28
|
* entry too, so a template version that still has it leaves it deleted.
|
|
29
|
+
*
|
|
30
|
+
* chant itself carries no chud lexicon or chud-shaped code (#2830, once
|
|
31
|
+
* #2715's proof passed): `chud-lexicon-exit` and its follow-ons are the
|
|
32
|
+
* retirement tool, not a remaining dependency. They stay until no known repo
|
|
33
|
+
* still depends on chud, and are removed only in a major version.
|
|
29
34
|
*/
|
|
30
35
|
import type { Lineage } from "./lineage-lock.js";
|
|
31
36
|
/** One file a plan writes or deletes, relative to the scope. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chant-migrations.d.ts","sourceRoot":"","sources":["../../src/workspace/chant-migrations.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"chant-migrations.d.ts","sourceRoot":"","sources":["../../src/workspace/chant-migrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAIH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQ9C,gEAAgE;AAChE,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC3B,2BAA2B;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,oCAAoC;IACpC,IAAI,CAAC,EAAE,MA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AAmB,CAAC,IAAI,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAYjG;AAED,0DAA0D;AAC1D,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAC5C,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,SAAS,EAAE,YAAY,EAAE,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,oBAAoB,CAS3F"}
|
|
@@ -37,14 +37,27 @@
|
|
|
37
37
|
* imports `Box` from `@intentius/chant-lexicon-fountain` and calls it, read as
|
|
38
38
|
* syntax and never run. Upstream, managoat/fountain#2497 asks for a way to run
|
|
39
39
|
* a persistent agent with no callback token.
|
|
40
|
+
*
|
|
41
|
+
* WSP126 (`box-intent-unknown`) and WSP127 (`box-intent-unconstrained`), #2850,
|
|
42
|
+
* read the decision record a box block names as its intent (`box-intent.ts`).
|
|
43
|
+
* WSP126 fails when no record of a declared kind named decision has the id.
|
|
44
|
+
* WSP127 warns when the record's constrains names no member or path of this
|
|
45
|
+
* workspace at all: no `member:` entry for a declared member and no `path:`
|
|
46
|
+
* entry at, above or inside one's directory. It need not reach the box's own
|
|
47
|
+
* member: the decision an intent names can constrain the member whose app the
|
|
48
|
+
* box runs, on a workspace where the box block sits on a different member,
|
|
49
|
+
* the box's steward (studio's template, #2857). Both read the working
|
|
50
|
+
* tree's records, so neither runs under `--at`.
|
|
40
51
|
*/
|
|
41
52
|
import * as ts from "typescript";
|
|
42
53
|
import type { WorkspaceCheck } from "../checks.js";
|
|
43
54
|
/** The read contract's codes for the box findings, carried as `code` on each. */
|
|
44
|
-
export declare const BOX_FINDING_CODES: readonly ["box-credential-declared", "box-capability-unbrokered", "box-isolation-collision", "box-isolation-literal", "box-fountain-callback-undeclared"];
|
|
55
|
+
export declare const BOX_FINDING_CODES: readonly ["box-credential-declared", "box-capability-unbrokered", "box-isolation-collision", "box-isolation-literal", "box-fountain-callback-undeclared", "box-intent-unknown", "box-intent-unconstrained"];
|
|
45
56
|
export declare const WSP_BOX_CREDENTIAL = "WSP121";
|
|
46
57
|
export declare const WSP_BOX_UNBROKERED = "WSP122";
|
|
47
58
|
export declare const WSP_BOX_FOUNTAIN_CALLBACK = "WSP125";
|
|
59
|
+
export declare const WSP_BOX_INTENT_UNKNOWN = "WSP126";
|
|
60
|
+
export declare const WSP_BOX_INTENT_UNCONSTRAINED = "WSP127";
|
|
48
61
|
/**
|
|
49
62
|
* The capability a box block declares for fountain's callback token (#2780).
|
|
50
63
|
* The fountain lexicon exports the same value as `BOX_FOUNTAIN_CALLBACK_CAPABILITY`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boxes.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/boxes.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"boxes.d.ts","sourceRoot":"","sources":["../../../src/workspace/checks/boxes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAEH,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,KAAK,EAAE,cAAc,EAA8C,MAAM,WAAW,CAAC;AAO5F,iFAAiF;AACjF,eAAO,MAAM,iBAAiB,6MAQY,CAAC;AAE3C,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAClD,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAC/C,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAKrD;;;GAGG;AACH,eA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,aAAa,EAAE,CAMhF;AAmBD,eAAO,MAAM,UAAU,EAAE,SAAS,cAAc,EA2K/C,CAAC"}
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
* | WSP121, WSP122 | boxes: no literal credential, every capability brokered (#2726) |
|
|
34
34
|
* | WSP123, WSP124 | box isolation: no shared port, state path or cookie, no literal machine path (#2727) |
|
|
35
35
|
* | WSP125 | boxes: a fountain Box declares the callback token fountain gives its sandbox (#2780) |
|
|
36
|
+
* | WSP126, WSP127 | box intent: the decision record a box names exists, and constrains a member or path of this workspace (#2850, #2857) |
|
|
36
37
|
* | WSP131 to WSP133 | diagram artifacts: source and render exist, a recorded source hash still matches (#2764) |
|
|
37
38
|
*/
|
|
38
39
|
import type { LintDiagnostic, LintRule, Severity } from "../lint/rule.js";
|
|
@@ -47,6 +48,7 @@ import { type MemberLedgerFacts } from "./checks/ledgers.js";
|
|
|
47
48
|
import { type MemberPipelineFacts } from "./checks/pipelines.js";
|
|
48
49
|
import { type RecordFacts } from "./checks/records.js";
|
|
49
50
|
import { type DeclaredKind } from "./declared-kinds.js";
|
|
51
|
+
import { type ResolvedBoxIntent } from "./box-intent.js";
|
|
50
52
|
/**
|
|
51
53
|
* What the checks beyond the declaration read, gathered from the checkout
|
|
52
54
|
* before any check runs. A field left out was not gathered, and the checks
|
|
@@ -63,6 +65,8 @@ export interface WorkspaceFacts {
|
|
|
63
65
|
records?: RecordFacts;
|
|
64
66
|
/** The record kinds the declaration names, each loaded, or only looked for under `--at` (#2680). */
|
|
65
67
|
declaredKinds?: readonly DeclaredKind[];
|
|
68
|
+
/** The decision record each box's intent names, read from the working tree (#2850). */
|
|
69
|
+
boxIntents?: readonly ResolvedBoxIntent[];
|
|
66
70
|
}
|
|
67
71
|
/** What every declaration check reads. */
|
|
68
72
|
export interface WorkspaceCheckContext {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/workspace/checks.ts"],"names":[],"mapp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;AAUD;;;;;;;;GAQG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAiB,EAC5C,OAAO,GAAE,uBAA4B,GACpC,OAAO,CAAC,sBAAsB,CAAC,CA8DjC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://intentius.io/chant/schemas/workspace/decision-points/v1/decision-points.schema.json",
|
|
4
4
|
"title": "Decision points",
|
|
5
|
-
"description": "A workspace's decision points (ws-058, #2738): the recurring questions it asks of its own graph, declared as data in a JSON file that an answer record kind names in `answers.points`. Each point is a typed question (`noul`, `choice` with 2 to 255 options, or `score` with 2 to 10 ordered levels, the question types of the POST /v1/systemone wire format, #2491), the inputs it reads, each named as a read-contract output, and an ordered chain of deciders: `table` rows, `model` deciders with a backend, a pinned model id and a threshold, and a `quorum` of people, always last.
|
|
5
|
+
"description": "A workspace's decision points (ws-058, #2738): the recurring questions it asks of its own graph, declared as data in a JSON file that an answer record kind names in `answers.points`. Each point is a typed question (`noul`, `choice` with 2 to 255 options, or `score` with 2 to 10 ordered levels, the question types of the POST /v1/systemone wire format, #2491), the inputs it reads, each named as a read-contract output, and an ordered chain of deciders: `table` rows, `model` deciders with a backend, a pinned model id and a threshold, and a `quorum` of people, always last. What JSON Schema cannot say is checked in code (`points.ts`): an input's output is one the read contract has, a table row tests declared inputs and answers a candidate, a field belongs to its decider's kind, a model id is pinned rather than an alias, and the chain ends in its one quorum. Unknown fields are refused, except fields whose names start with x-.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["points"],
|
|
8
8
|
"properties": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"type": "object",
|
|
45
45
|
"required": ["type", "instructions", "criteria"],
|
|
46
46
|
"properties": {
|
|
47
|
-
"type": { "enum": ["noul", "
|
|
47
|
+
"type": { "enum": ["noul", "choice", "score"] },
|
|
48
48
|
"instructions": { "$ref": "#/$defs/text" },
|
|
49
49
|
"criteria": {
|
|
50
50
|
"description": "The candidates. noul: {true, false} descriptions. choice: option to description, 2 to 255 options. score: 2 to 10 ordered levels.",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"additionalProperties": false,
|
|
55
55
|
"allOf": [
|
|
56
56
|
{
|
|
57
|
-
"if": { "properties": { "type": { "
|
|
57
|
+
"if": { "properties": { "type": { "const": "noul" } } },
|
|
58
58
|
"then": {
|
|
59
59
|
"properties": {
|
|
60
60
|
"criteria": {
|
|
@@ -155,6 +155,12 @@ export interface BoxDeclaration {
|
|
|
155
155
|
capabilities: BoxCapability[];
|
|
156
156
|
/** The host and slot of the box's isolation, or null when the block declares none (#2727). The values are derived in `boxes.ts`. */
|
|
157
157
|
isolation: BoxIsolationDeclaration | null;
|
|
158
|
+
/**
|
|
159
|
+
* The id of the decision record that says what the box is for, or null when
|
|
160
|
+
* the block names none (#2850). A box starts as a question: the record is
|
|
161
|
+
* proposed with no choice until the person who answers it decides it.
|
|
162
|
+
*/
|
|
163
|
+
intent: string | null;
|
|
158
164
|
/** The block's JSON Pointer in the file, for messages. */
|
|
159
165
|
pointer: string;
|
|
160
166
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../src/workspace/declaration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAOH,OAAO,EAAE,aAAa,EAAqB,MAAM,SAAS,CAAC;AAC3D,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEzE,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEtD,eAAO,MAAM,qBAAqB,QAAa,CAAC;AAChD,eAAO,MAAM,iBAAiB,4DAA6D,CAAC;AAC5F,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,gFAAgF;AAChF,eAAO,MAAM,cAAc,qC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AM,EAAE,CAAC;IAClB,uEAAuE;IACvE,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,aAAa,GAAG,aAAa,EAAE,CA8B5F;AAID;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,aAAa,EAAE,EACvB,IAAI,EAAE,MAAM,GACX;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAWlE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EAAE,CAWlH"}
|
|
@@ -402,8 +402,13 @@
|
|
|
402
402
|
},
|
|
403
403
|
"box": {
|
|
404
404
|
"type": "object",
|
|
405
|
-
"description": "The member is a box, or holds a box's declarations (#2726). A box holds no credential: each capability it needs outside itself is reached through a broker, a runtime such as a lobby or a door, which holds the credential and enforces the scope. chant workspace check fails when a file in the member's directory carries a literal secret (WSP121) and when a capability names no broker (WSP122). chant workspace status --json lists the capabilities, so a broker can read the scopes. Its host, slot, ports, state and cookies state the box's isolation (#2727): chant derives each value from the box's identity, its host, the member's name and its slot, and prints them in chant workspace status --json, so a runtime reads them instead of choosing its own. chant workspace check fails when two boxes on a host resolve to the same value (WSP123) and when a box hard-codes a machine path (WSP124). A member that builds the fountain lexicon's Box declares the callback token fountain gives its persistent sandbox as the capability fountain-callback, brokered by fountain, with scope owner, or chant workspace check fails (WSP125, #2780). Added in schema 1 by chant 0.91.0, so a declaration that uses it sets minReader to 0.91.0 or newer.",
|
|
405
|
+
"description": "The member is a box, or holds a box's declarations (#2726). A box holds no credential: each capability it needs outside itself is reached through a broker, a runtime such as a lobby or a door, which holds the credential and enforces the scope. chant workspace check fails when a file in the member's directory carries a literal secret (WSP121) and when a capability names no broker (WSP122). chant workspace status --json lists the capabilities, so a broker can read the scopes. Its host, slot, ports, state and cookies state the box's isolation (#2727): chant derives each value from the box's identity, its host, the member's name and its slot, and prints them in chant workspace status --json, so a runtime reads them instead of choosing its own. chant workspace check fails when two boxes on a host resolve to the same value (WSP123) and when a box hard-codes a machine path (WSP124). A member that builds the fountain lexicon's Box declares the callback token fountain gives its persistent sandbox as the capability fountain-callback, brokered by fountain, with scope owner, or chant workspace check fails (WSP125, #2780). Its intent names the decision record that says what the box is for (#2850): chant workspace status --json reports the record's state and answer, and chant workspace check fails when no decision record has the id (WSP126) and warns when the record constrains no member or path of this workspace (WSP127, #2857). Added in schema 1 by chant 0.91.0, so a declaration that uses it sets minReader to 0.91.0 or newer.",
|
|
406
406
|
"properties": {
|
|
407
|
+
"intent": {
|
|
408
|
+
"type": "string",
|
|
409
|
+
"minLength": 1,
|
|
410
|
+
"description": "The id of the decision record that says what the box is for (#2850), a record of a declared kind named decision. A new box starts as a question: the record is proposed with a null choice until the person who answers it decides it. The record constrains a member or path of this workspace, with member:<a member's name> or a path: entry at, above or inside a member's directory. It need not be this member: the intent can constrain the app the box runs when that app is another member (#2857). When it constrains this member, chant workspace graph --intent shows it for the box's files. Added by chant 0.94.0, so a declaration that uses it sets minReader to 0.94.0 or newer."
|
|
411
|
+
},
|
|
407
412
|
"capabilities": {
|
|
408
413
|
"type": "array",
|
|
409
414
|
"description": "Each capability the box reaches outside itself, named once. None when omitted.",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* The commit-join hook of the intent graph (#2651; #2650 C1 and C13).
|
|
3
3
|
*
|
|
4
4
|
* Commits, decisions and artifacts come from core. Units of work, contracts
|
|
5
|
-
* and evidence come from a plugin, such as
|
|
6
|
-
* core ships no model of them (#2555, "Core ships no decision
|
|
7
|
-
* file passed to `chant workspace graph --intent --kind <file>`
|
|
8
|
-
* through one export, `commitJoins`, in one of two forms:
|
|
5
|
+
* and evidence come from a plugin, such as a workspace's own development
|
|
6
|
+
* model, because core ships no model of them (#2555, "Core ships no decision
|
|
7
|
+
* kind"). A kind file passed to `chant workspace graph --intent --kind <file>`
|
|
8
|
+
* supplies them through one export, `commitJoins`, in one of two forms:
|
|
9
9
|
*
|
|
10
10
|
* - A function `commitJoins(commit, context)` that returns the unit, contract
|
|
11
11
|
* and evidence for one commit, or nothing. It is given the commit's sha,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* `<name>` is the kind's name by default: its record kind's name, or the
|
|
37
37
|
* file's name without `.kind.mjs`. A kind file may name its findings itself
|
|
38
38
|
* with a sibling export, `commitJoinsName` (#2663), so joins that live beside
|
|
39
|
-
* a record kind called `decision` can still report `plugin:
|
|
39
|
+
* a record kind called `decision` can still report `plugin:acme:<code>`. It is
|
|
40
40
|
* a sibling export rather than a property because the data form is a closed
|
|
41
41
|
* object whose keys are all joins, and a function's `name` property is
|
|
42
42
|
* already its own name.
|
|
@@ -37,6 +37,8 @@ export interface PointView {
|
|
|
37
37
|
questionType: string;
|
|
38
38
|
instructions: string;
|
|
39
39
|
candidates: (string | boolean)[];
|
|
40
|
+
/** What each candidate means, as the points file declares it: an object of strings for noul and choice, an array for score. */
|
|
41
|
+
criteria: Record<string, string> | string[];
|
|
40
42
|
/** Each input: its name, the read-contract output it names, and its description. */
|
|
41
43
|
inputs: {
|
|
42
44
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"points-cli.d.ts","sourceRoot":"","sources":["../../src/workspace/points-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAA2E,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAErJ,OAAO,EAAwH,KAAK,Y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W;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,0HAA0H;AAC1H,wBAAsB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC,CA8EjF;AAED,0CAA0C;AAC1C,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,cAAc,EAAE;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,CAAC,GAAG,MAAM,CAatF;AAED,8GAA8G;AAC9G,wBAAgB,WAAW,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,CASvD;AA0BD,kEAAkE;AAClE,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAsC7E"}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
* runtime's decider or a test's stub supplies. Without one, a model decider is
|
|
21
21
|
* not asked and the chain moves on.
|
|
22
22
|
*
|
|
23
|
-
*
|
|
23
|
+
* Ported from chud's `packages/runtime/src/decide.mjs` at 43afcf1: the chain,
|
|
24
24
|
* the observation rule, the point version and the inputs hash. The records
|
|
25
25
|
* are chant records: `decide.ts` writes them, and {@link applyAnswers} warns
|
|
26
26
|
* about them on read.
|
|
@@ -97,7 +97,6 @@ export declare const POINT_INPUT_OUTPUT_NAMES: PointInputOutput[];
|
|
|
97
97
|
export declare function inputOutput(name: string): string;
|
|
98
98
|
export type QuestionType = "noul" | "choice" | "score";
|
|
99
99
|
export interface Question {
|
|
100
|
-
/** `boolean` in a points file is read as `noul`. */
|
|
101
100
|
type: QuestionType;
|
|
102
101
|
instructions: string;
|
|
103
102
|
criteria: Record<string, string> | string[];
|
|
@@ -155,9 +154,8 @@ export declare function candidates(question: Question): (string | boolean)[];
|
|
|
155
154
|
/** The schema's problems with `data`, as JSON paths. */
|
|
156
155
|
export declare function schemaProblems(data: unknown): PointProblem[];
|
|
157
156
|
/**
|
|
158
|
-
* Parse and validate a points file's text. Returns its points
|
|
159
|
-
*
|
|
160
|
-
* each field.
|
|
157
|
+
* Parse and validate a points file's text. Returns its points. Throws a
|
|
158
|
+
* {@link PointsError} naming the file and each field.
|
|
161
159
|
*/
|
|
162
160
|
export declare function parsePoints(text: string, file: string): Record<string, Point>;
|
|
163
161
|
/** One point by name, or undefined. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"points.d.ts","sourceRoot":"","sources":["../../src/workspace/points.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAOH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEnF,eAAO,MAAM,yBAAyB,QAAa,CAAC;AAIpD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYtB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAChE,eAAO,MAAM,wBAAwB,EAAuC,gBAAgB,EAAE,CAAC;AAE/F,qEAAqE;AACrE,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAGhD;AAID,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEvD,MAAM,WAAW,QAAQ;IACvB,
|
|
1
|
+
{"version":3,"file":"points.d.ts","sourceRoot":"","sources":["../../src/workspace/points.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAOH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,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|
|
|
158
158
|
readonly "box-credential-declared": "A file in a box member's directory carries a literal secret: a credential's shape, or a literal where a credential goes. A variable or secret-manager reference is not one.";
|
|
159
159
|
readonly "box-capability-unbrokered": "A capability in a member's box block names no broker, so the box would hold its credential.";
|
|
160
160
|
readonly "box-fountain-callback-undeclared": "A box member builds a fountain Box, whose persistent sandbox fountain gives a callback token scoped to its owner, and the member's box block does not declare the fountain-callback capability brokered by fountain with scope owner.";
|
|
161
|
+
readonly "box-intent-unknown": "A box block names an intent, and no record of a declared kind named decision has that id.";
|
|
162
|
+
readonly "box-intent-unconstrained": "The decision record a box names as its intent constrains no member or path of this workspace: no member: entry for a declared member and no path: entry at, above or inside one's directory.";
|
|
161
163
|
readonly "work-kind-missing": "No work kind to find the item in: --kind names a kind with no work block, or the declaration names no work kind.";
|
|
162
164
|
readonly "work-kind-ambiguous": "More than one declared work kind has a record with the id, so --kind must name one.";
|
|
163
165
|
readonly "work-item-unknown": "No work record has the id, so there is nothing to lease.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reason-codes.d.ts","sourceRoot":"","sources":["../../src/workspace/reason-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uHAAuH;AACvH,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"reason-codes.d.ts","sourceRoot":"","sources":["../../src/workspace/reason-codes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,sHAAsH;AACtH,eAAO,MAAM,qBAAqB,IAAI,CAAC;AAEvC,uHAAuH;AACvH,eAAO,MAAM,mBAAmB,WAAW,CAAC;AAE5C,qFAAqF;AACrF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAUvG;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiE9E;AAoGD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM9C;AAED,wFAAwF;AACxF,wBAAgB,aAAa,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,eAAe,GAAG,UAAU,EAAE,CAE5F;AAoCD,yCAAyC;AACzC,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAS9E"}
|
|
@@ -16,7 +16,11 @@
|
|
|
16
16
|
* is the Op's own `labels.Env` or `local`;
|
|
17
17
|
* - `waiting` lists the open decision points the steward waits on (#2749):
|
|
18
18
|
* each Op whose newest run is the steward's own and stopped on a question,
|
|
19
|
-
* as the run ledger records it. The question's state now is `points`'s
|
|
19
|
+
* as the run ledger records it. The question's state now is `points`'s.
|
|
20
|
+
* A run is the steward's when its record names it (`steward`, written for
|
|
21
|
+
* a run started in the steward's turn or under `CHANT_STEWARD`), so this
|
|
22
|
+
* also covers the member's other Ops, those no steward lists, that such a
|
|
23
|
+
* run belongs to, such as an Op the steward's process starts itself;
|
|
20
24
|
* - `lease` is the local steward's own lease ref
|
|
21
25
|
* (`refs/chant/lease/[<prefix>]_stewards/<name>`), present while a
|
|
22
26
|
* `chant operator --steward` holds it or until it expires;
|
|
@@ -152,7 +156,9 @@ export interface StatusSteward {
|
|
|
152
156
|
ops: StatusStewardOp[];
|
|
153
157
|
/**
|
|
154
158
|
* The open decision points the steward waits on (#2749): each Op whose
|
|
155
|
-
* newest run is the steward's own and stopped on a question.
|
|
159
|
+
* newest run is the steward's own and stopped on a question. Its declared
|
|
160
|
+
* Ops come first, in `ops` order, then any other Op of the member whose
|
|
161
|
+
* newest run names the steward, by Op name.
|
|
156
162
|
*/
|
|
157
163
|
waiting: (StatusStewardWait & {
|
|
158
164
|
op: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-stewards.d.ts","sourceRoot":"","sources":["../../src/workspace/status-stewards.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"status-stewards.d.ts","sourceRoot":"","sources":["../../src/workspace/status-stewards.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAKH,OAAO,EAAoC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,EAAsB,KAAK,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAO3F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAIjD,8FAA8F;AAC9F,eAAO,MAAM,oBAAoB,kFAOS,CAAC;AAC3C,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd;;;;;OAKG;IACH,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC1E,+EAA+E;IAC/E,KAAK,EAAE,iBAAiB,GAAG,IAAI,CAAC;CACjC;AAED,+FAA+F;AAC/F,MAAM,WAAW,iBAAiB;IAChC,oFAAoF;IACpF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,KAAK,EAAE,WAAW,GAAG,UAAU,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO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AO,EAAE;QAAE,IAAI,EAAE,iBAAiB,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CACzD;AAyED;;;GAGG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,SAAU,EACd,GAAG,GAAE;IAAE,YAAY,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,CAAA;CAAE,GAAG,IAAW,GAC7E,OAAO,CAAC,cAAc,CAAC,CAoFzB"}
|
|
@@ -35,6 +35,7 @@ import { type ReleaseRecord } from "../lifecycle/release-ledger.js";
|
|
|
35
35
|
import { type ReleasePlan } from "../lifecycle/plan-ledger.js";
|
|
36
36
|
import { type WorkLeaseState } from "../lifecycle/work-lease.js";
|
|
37
37
|
import { type ResolvedIsolation } from "./box-isolation.js";
|
|
38
|
+
import { type BoxIntent } from "./box-intent.js";
|
|
38
39
|
import { type ErrorLocation } from "./declaration.js";
|
|
39
40
|
import { type GateLedgerReader, type StatusGate, type StatusGateLedger } from "./status-gates.js";
|
|
40
41
|
import { readMemberStewards, type StatusSteward, type StewardReasonCode } from "./status-stewards.js";
|
|
@@ -147,6 +148,13 @@ export interface StatusBox {
|
|
|
147
148
|
}[];
|
|
148
149
|
/** The box's ports, state paths and cookie names, resolved from its identity, or null when the block declares no host (#2727). */
|
|
149
150
|
isolation: ResolvedIsolation | null;
|
|
151
|
+
/**
|
|
152
|
+
* The decision record the block names as the box's intent (#2850): its id,
|
|
153
|
+
* state, question, choice, answer (the chosen option's label), decided_by
|
|
154
|
+
* and decided_on. Null when the block names none; every field but the id
|
|
155
|
+
* is null when no decision record has the id (WSP126).
|
|
156
|
+
*/
|
|
157
|
+
intent: BoxIntent | null;
|
|
150
158
|
}
|
|
151
159
|
/**
|
|
152
160
|
* One work lease (#2732): a work item's lease ref in the ledger of the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