@suss/intent-ir 0.21.0 → 0.22.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 +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ transitions:
|
|
|
81
81
|
- invokes: unit:lambda ArchiveWorker
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
A run that reads the deployment template gives a unit its name, so the boundary a document declares is `unit:lambda ReportBuilder`. The callee on a `results` line is spelled the way the invoking code
|
|
84
|
+
A run that reads the deployment template gives a unit its name, so the boundary a document declares is `unit:lambda ReportBuilder`. The callee on a `results` line is spelled the same way, even when the invoking code reaches it through an env var: `deploymentOf` in `@suss/behavioral-ir` says which resource the template points that variable at, and the drafter and the intent checker both go through it, so a document says which function rather than which variable. A run with no template in it has nothing to put in, and then the line keeps the code's own spelling, `unit:lambda {ARCHIVE_WORKER_FUNCTION}`, and the document's header says which variable it is waiting on. A store the code reaches through a variable works the same way.
|
|
85
85
|
|
|
86
86
|
A clause can go further, since the summary does. `fields` is the columns the access touches and `by` is what it picks the item out by:
|
|
87
87
|
|
package/dist/index.cjs
CHANGED
|
@@ -49,6 +49,8 @@ var IntentFindingKindSchema = import_zod.z.enum([
|
|
|
49
49
|
// code produces a REST status the intent doesn't declare
|
|
50
50
|
"unkeyableBoundary",
|
|
51
51
|
// intent boundary can't be keyed, so it can't be checked
|
|
52
|
+
"renamedBoundary",
|
|
53
|
+
// a declared store vanished and an undeclared one of the same system appeared with the same outcomes
|
|
52
54
|
// Outcome intent (kind: prd), scenario link coverage against system
|
|
53
55
|
// intent. These concretise the proposal's "scenario not linked /
|
|
54
56
|
// dangling / ambiguous" set (design/proposals/intent-specs.md);
|
package/dist/index.d.cts
CHANGED
|
@@ -7,6 +7,7 @@ declare const IntentFindingKindSchema: z.ZodEnum<{
|
|
|
7
7
|
outcomeShapeMismatch: "outcomeShapeMismatch";
|
|
8
8
|
undeclaredOutcome: "undeclaredOutcome";
|
|
9
9
|
unkeyableBoundary: "unkeyableBoundary";
|
|
10
|
+
renamedBoundary: "renamedBoundary";
|
|
10
11
|
unlinkedScenario: "unlinkedScenario";
|
|
11
12
|
danglingScenarioLink: "danglingScenarioLink";
|
|
12
13
|
ambiguousScenarioLink: "ambiguousScenarioLink";
|
|
@@ -51,6 +52,7 @@ declare const IntentFindingSchema: z.ZodObject<{
|
|
|
51
52
|
outcomeShapeMismatch: "outcomeShapeMismatch";
|
|
52
53
|
undeclaredOutcome: "undeclaredOutcome";
|
|
53
54
|
unkeyableBoundary: "unkeyableBoundary";
|
|
55
|
+
renamedBoundary: "renamedBoundary";
|
|
54
56
|
unlinkedScenario: "unlinkedScenario";
|
|
55
57
|
danglingScenarioLink: "danglingScenarioLink";
|
|
56
58
|
ambiguousScenarioLink: "ambiguousScenarioLink";
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare const IntentFindingKindSchema: z.ZodEnum<{
|
|
|
7
7
|
outcomeShapeMismatch: "outcomeShapeMismatch";
|
|
8
8
|
undeclaredOutcome: "undeclaredOutcome";
|
|
9
9
|
unkeyableBoundary: "unkeyableBoundary";
|
|
10
|
+
renamedBoundary: "renamedBoundary";
|
|
10
11
|
unlinkedScenario: "unlinkedScenario";
|
|
11
12
|
danglingScenarioLink: "danglingScenarioLink";
|
|
12
13
|
ambiguousScenarioLink: "ambiguousScenarioLink";
|
|
@@ -51,6 +52,7 @@ declare const IntentFindingSchema: z.ZodObject<{
|
|
|
51
52
|
outcomeShapeMismatch: "outcomeShapeMismatch";
|
|
52
53
|
undeclaredOutcome: "undeclaredOutcome";
|
|
53
54
|
unkeyableBoundary: "unkeyableBoundary";
|
|
55
|
+
renamedBoundary: "renamedBoundary";
|
|
54
56
|
unlinkedScenario: "unlinkedScenario";
|
|
55
57
|
danglingScenarioLink: "danglingScenarioLink";
|
|
56
58
|
ambiguousScenarioLink: "ambiguousScenarioLink";
|
package/dist/index.js
CHANGED
|
@@ -12,6 +12,8 @@ var IntentFindingKindSchema = z.enum([
|
|
|
12
12
|
// code produces a REST status the intent doesn't declare
|
|
13
13
|
"unkeyableBoundary",
|
|
14
14
|
// intent boundary can't be keyed, so it can't be checked
|
|
15
|
+
"renamedBoundary",
|
|
16
|
+
// a declared store vanished and an undeclared one of the same system appeared with the same outcomes
|
|
15
17
|
// Outcome intent (kind: prd), scenario link coverage against system
|
|
16
18
|
// intent. These concretise the proposal's "scenario not linked /
|
|
17
19
|
// dangling / ambiguous" set (design/proposals/intent-specs.md);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suss/intent-ir",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Intent IR for suss — the team-authored side of the loop. PRD (outcome) intent and system intent, in shapes that pair against derived behavioral summaries.",
|
|
6
6
|
"keywords": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"zod": "^4.0.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@suss/ir-core": "0.
|
|
50
|
+
"@suss/ir-core": "0.22.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"tsup": "*",
|