@intentius/chant 0.87.0 → 0.89.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 (79) hide show
  1. package/dist/cli/handlers/misc.d.ts.map +1 -1
  2. package/dist/cli/handlers/serve.d.ts.map +1 -1
  3. package/dist/cli/main.d.ts.map +1 -1
  4. package/dist/cli/mcp/server.d.ts +10 -1
  5. package/dist/cli/mcp/server.d.ts.map +1 -1
  6. package/dist/cli/mcp/workspace-plugins.d.ts +40 -0
  7. package/dist/cli/mcp/workspace-plugins.d.ts.map +1 -0
  8. package/dist/cli/registry.d.ts +6 -1
  9. package/dist/cli/registry.d.ts.map +1 -1
  10. package/dist/cli/version.d.ts +8 -0
  11. package/dist/cli/version.d.ts.map +1 -0
  12. package/dist/workspace/__fixtures__/sessions.d.ts +9 -0
  13. package/dist/workspace/__fixtures__/sessions.d.ts.map +1 -1
  14. package/dist/workspace/composites.d.ts +13 -0
  15. package/dist/workspace/composites.d.ts.map +1 -1
  16. package/dist/workspace/environments.d.ts +80 -0
  17. package/dist/workspace/environments.d.ts.map +1 -0
  18. package/dist/workspace/reason-codes.d.ts +14 -5
  19. package/dist/workspace/reason-codes.d.ts.map +1 -1
  20. package/dist/workspace/records-cli.d.ts +6 -2
  21. package/dist/workspace/records-cli.d.ts.map +1 -1
  22. package/dist/workspace/records-close.d.ts +41 -0
  23. package/dist/workspace/records-close.d.ts.map +1 -0
  24. package/dist/workspace/records-since.d.ts +40 -1
  25. package/dist/workspace/records-since.d.ts.map +1 -1
  26. package/dist/workspace/records-write.d.ts +109 -11
  27. package/dist/workspace/records-write.d.ts.map +1 -1
  28. package/dist/workspace/records.d.ts +40 -12
  29. package/dist/workspace/records.d.ts.map +1 -1
  30. package/dist/workspace/runtimes.d.ts +6 -0
  31. package/dist/workspace/runtimes.d.ts.map +1 -1
  32. package/dist/workspace/session-kinds.d.ts +28 -0
  33. package/dist/workspace/session-kinds.d.ts.map +1 -0
  34. package/dist/workspace/status.d.ts +2 -0
  35. package/dist/workspace/status.d.ts.map +1 -1
  36. package/dist/workspace/trust/seal.d.ts +42 -0
  37. package/dist/workspace/trust/seal.d.ts.map +1 -1
  38. package/package.json +1 -1
  39. package/src/cli/handlers/misc.ts +1 -9
  40. package/src/cli/handlers/serve.ts +10 -1
  41. package/src/cli/main.test.ts +7 -0
  42. package/src/cli/main.ts +60 -9
  43. package/src/cli/mcp/server.test.ts +14 -1
  44. package/src/cli/mcp/server.ts +13 -2
  45. package/src/cli/mcp/workspace-plugins.ts +123 -0
  46. package/src/cli/registry.ts +6 -1
  47. package/src/cli/serve-mcp-workspace.test.ts +142 -0
  48. package/src/cli/version.ts +15 -0
  49. package/src/workspace/__fixtures__/sessions.ts +41 -0
  50. package/src/workspace/composites.schema.json +68 -3
  51. package/src/workspace/composites.test.ts +119 -5
  52. package/src/workspace/composites.ts +26 -7
  53. package/src/workspace/conformance/__fixture__/decisions/decision.schema.json +11 -0
  54. package/src/workspace/environments.ts +165 -0
  55. package/src/workspace/read-contract.test.ts +3 -0
  56. package/src/workspace/reason-codes.test.ts +8 -3
  57. package/src/workspace/reason-codes.ts +18 -6
  58. package/src/workspace/record-assets.test.ts +4 -3
  59. package/src/workspace/records-amend.schema.json +30 -1
  60. package/src/workspace/records-cli.ts +44 -7
  61. package/src/workspace/records-close.schema.json +192 -0
  62. package/src/workspace/records-close.ts +129 -0
  63. package/src/workspace/records-contract.test.ts +4 -3
  64. package/src/workspace/records-new.schema.json +25 -0
  65. package/src/workspace/records-review.schema.json +55 -2
  66. package/src/workspace/records-sessions-write.test.ts +274 -0
  67. package/src/workspace/records-since.schema.json +27 -2
  68. package/src/workspace/records-since.ts +120 -6
  69. package/src/workspace/records-write-contract.test.ts +5 -1
  70. package/src/workspace/records-write.test.ts +4 -2
  71. package/src/workspace/records-write.ts +307 -43
  72. package/src/workspace/records.schema.json +22 -3
  73. package/src/workspace/records.ts +73 -22
  74. package/src/workspace/runtimes.ts +12 -3
  75. package/src/workspace/session-kinds.ts +79 -0
  76. package/src/workspace/status.ts +1 -1
  77. package/src/workspace/trust/record-seal.test.ts +315 -0
  78. package/src/workspace/trust/seal.test.ts +4 -14
  79. package/src/workspace/trust/seal.ts +119 -25
@@ -1 +1 @@
1
- {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/misc.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAsDlD,wBAAsB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAqGnE;AAED,wBAAsB,OAAO,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuClE;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA8CtE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAsIpE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAKpE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBpE"}
1
+ {"version":3,"file":"misc.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/misc.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8ClD,wBAAsB,QAAQ,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAqGnE;AAED,wBAAsB,OAAO,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAuClE;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA8CtE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAsIpE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAKpE;AAED,wBAAsB,SAAS,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/serve.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAMtE;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAMtE;AAED,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAM1E"}
1
+ {"version":3,"file":"serve.d.ts","sourceRoot":"","sources":["../../../src/cli/handlers/serve.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAMtE;AAED,wBAAsB,WAAW,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAetE;AAED,wBAAsB,eAAe,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAM1E"}
@@ -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;AAkG9E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CA6cpD;AAkmBD;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAuBzE;AAID;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,EA8HvC,CAAC;AAiKF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB5E"}
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;AAqG9E;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAgdpD;AAooBD;;;;;;;;;;GAUG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAuBzE;AAID;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,UAAU,EA8HvC,CAAC;AA4KF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAuB5E"}
@@ -54,7 +54,16 @@ export declare class McpServer {
54
54
  private toolHandlers;
55
55
  private pluginResources;
56
56
  private plugins;
57
- constructor(plugins?: LexiconPlugin[]);
57
+ private instructions;
58
+ /**
59
+ * `options.instructions` is sent as the `initialize` result's
60
+ * `instructions`, the text a client may give its model about this server.
61
+ * Only a workspace root with no lexicon of its own sets it (#2700), to say
62
+ * which members' lexicons were loaded.
63
+ */
64
+ constructor(plugins?: LexiconPlugin[], options?: {
65
+ instructions?: string;
66
+ });
58
67
  /**
59
68
  * Register tools contributed by a plugin, namespaced as `lexicon:toolName`.
60
69
  *
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/cli/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;IACrH,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,YAAY,CAAqB;IAEzC;;;;;OAKG;gBACS,OAAO,CAAC,EAAE,aAAa,EAAE,EAAE,OAAO,GAAE;QAAE,YAAY,CAAC,EAAE,MAAM,CAAA;KAAO;IAkC9E;;;;;;;;;;OAUG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IAgB/B;;OAEG;IACH,OAAO,CAAC,YAAY;IAQpB;;;;;;;OAOG;IACG,aAAa,CAAC,OAAO,EAAE,UAAU,GAAG;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,WAAW,CAAC;IAClF,aAAa,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAwBrE;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAW7B;;OAEG;YACW,QAAQ;IAiCtB;;OAEG;YACW,eAAe;IAyC7B;;OAEG;IACG,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAsC7B;AAED;;GAEG;AACH,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAYpD"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * #2700 — the lexicons `chant serve mcp` loads at the root of a declared
3
+ * workspace that has no lexicon of its own.
4
+ *
5
+ * Such a root (a generated chud repo, say, whose lexicons are all in
6
+ * `delivery/`) used to refuse with "No lexicon detected", so an agent started
7
+ * there got none of chant's tools. The server now starts with core's tools and
8
+ * resources, and with the lexicons of the workspace's members of kind chant,
9
+ * each read from that member's own config the way `chant build` in the
10
+ * member's directory reads it.
11
+ *
12
+ * Loading is best effort, one member and one lexicon at a time: a member whose
13
+ * config does not load, or a lexicon this chant cannot import, is left out and
14
+ * named in the server's `instructions`, and the rest are served. Nothing here
15
+ * fails the server; with nothing loaded it serves core alone and says so.
16
+ */
17
+ import type { LexiconPlugin } from "../../lexicon.js";
18
+ /** One member of kind chant, and what came of reading its lexicons. */
19
+ export interface MemberLexicons {
20
+ member: string;
21
+ dir: string;
22
+ /** The lexicon names its config declares or its source imports, or null when they could not be read. */
23
+ lexicons: string[] | null;
24
+ /** Why they could not be read. */
25
+ error?: string;
26
+ }
27
+ export interface WorkspacePlugins {
28
+ plugins: LexiconPlugin[];
29
+ members: MemberLexicons[];
30
+ /** Lexicons named by a member that did not load, with the reason. */
31
+ failed: {
32
+ lexicon: string;
33
+ error: string;
34
+ }[];
35
+ /** The text the MCP server gives as its `instructions`. */
36
+ instructions: string;
37
+ }
38
+ /** Load the lexicons of the chant members of the workspace declared at `root`. */
39
+ export declare function loadWorkspacePlugins(root: string): Promise<WorkspacePlugins>;
40
+ //# sourceMappingURL=workspace-plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace-plugins.d.ts","sourceRoot":"","sources":["../../../src/cli/mcp/workspace-plugins.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,uEAAuE;AACvE,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,wGAAwG;IACxG,QAAQ,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC1B,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,qEAAqE;IACrE,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC7C,2DAA2D;IAC3D,YAAY,EAAE,MAAM,CAAC;CACtB;AAOD,kFAAkF;AAClF,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CA+ClF"}
@@ -17,6 +17,8 @@ export interface ParsedArgs {
17
17
  watch: boolean;
18
18
  verbose: boolean;
19
19
  help: boolean;
20
+ /** `--version` / `-V` (#2701): print the installed chant's version. */
21
+ version?: boolean;
20
22
  report?: boolean;
21
23
  /** `chant run` — force the local in-process executor (the default). */
22
24
  local?: boolean;
@@ -296,7 +298,10 @@ export interface ParsedArgs {
296
298
  verdict?: string;
297
299
  /** `chant workspace records review <id> --by <principal>` (#2670): the reviewer, as the caller names them. */
298
300
  by?: string;
299
- /** `chant workspace records review <id> --sign [<key file>]` (#2687): the key that seals the verdict, or true for git's user.signingkey. */
301
+ /**
302
+ * `chant workspace records review <id> --sign [<key file>]` (#2687): the key that seals the verdict, or true for git's user.signingkey.
303
+ * On `records new` and `records amend`, the key that seals the record's author (#2688).
304
+ */
300
305
  sign?: string | true;
301
306
  /** `chant workspace records review <id> --session <id>` (#2670): the review session the verdict was given in. */
302
307
  session?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/cli/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OA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CAAC;IAC1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,OAAO,CAAC,CAAC;IACzD,0CAA0C;IAC1C,OAAO,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,WAAW,EAAE,UAAU,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,UAAU,CAAC;IAChB,4FAA4F;IAC5F,QAAQ,EAAE,OAAO,CAAC;CACnB;AAWD,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,eAAe,GAAG,IAAI,CAiB/F"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * The installed chant's version, read from `@intentius/chant`'s own
3
+ * package.json, or "0.0.0" when it can't be read. The path is the same from
4
+ * `src/cli/` and `dist/cli/`, so it holds whether chant runs from source or
5
+ * from its build.
6
+ */
7
+ export declare const CHANT_VERSION: string;
8
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/cli/version.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,MAMxB,CAAC"}
@@ -20,4 +20,13 @@ export declare function sessionText(s: {
20
20
  }): string;
21
21
  /** Rewrite ref-001 with the given review entries, each naming `session`. */
22
22
  export declare function reviewed(root: string, reviewers: string[], session: string, state?: string): void;
23
+ /**
24
+ * Declare the fixture's two kinds in a chant.workspace.json (#2693): the
25
+ * decisions at the root and the session kind in the design member, as the
26
+ * reference workspace declares them, so review --session, close and
27
+ * --since <session id> find the session kind.
28
+ */
29
+ export declare function declareSessions(root: string): void;
30
+ /** The fields of a new open session, as a UI sends them to records new. */
31
+ export declare function newSessionFields(over?: Record<string, unknown>): string;
23
32
  //# sourceMappingURL=sessions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../../src/workspace/__fixtures__/sessions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,eAAO,MAAM,aAAa,qCAAqC,CAAC;AAChE,eAAO,MAAM,cAAc,gCAAgC,CAAC;AAE5D,gGAAgG;AAChG,wBAAgB,YAAY,IAAI,MAAM,CAMrC;AAED,uDAAuD;AACvD,wBAAgB,WAAW,CAAC,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC;IAAC,QAAQ,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,MAAM,CA6BvK;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,SAAY,GAAG,IAAI,CASpG"}
1
+ {"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../../src/workspace/__fixtures__/sessions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,eAAO,MAAM,aAAa,qCAAqC,CAAC;AAChE,eAAO,MAAM,cAAc,gCAAgC,CAAC;AAE5D,gGAAgG;AAChG,wBAAgB,YAAY,IAAI,MAAM,CAMrC;AAED,uDAAuD;AACvD,wBAAgB,WAAW,CAAC,CAAC,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,QAAQ,CAAC;IAAC,QAAQ,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,MAAM,CA6BvK;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,SAAY,GAAG,IAAI,CASpG;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAelD;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,IAAI,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAAG,MAAM,CAe3E"}
@@ -32,12 +32,18 @@
32
32
  * Each component also lists the runtimes it can deploy on (#2674,
33
33
  * `runtimes.ts`): `local`, and each lexicon its member configures that hosts
34
34
  * `chant run --components`, with the command line for each.
35
+ *
36
+ * And each component lists the environments it may deploy to (#2695,
37
+ * `environments.ts`): `local`, the environments its member's config declares,
38
+ * and those with a release in the member's ledger on `chant/lifecycle`, with
39
+ * the command line for each.
35
40
  */
36
41
  import type { CommandContext } from "../cli/registry.js";
37
42
  import { type JoinLabel } from "../join-key.js";
38
43
  import type { MemberReason, WorkspaceGraph } from "./compose-graph.js";
39
44
  import { type GraphQuery } from "./graph-cli.js";
40
45
  import { type ErrorLocation, type WorkspaceErrorCode } from "./declaration.js";
46
+ import { type ComponentEnvironment, type EnvironmentReason, type LedgerEnvironmentReader } from "./environments.js";
41
47
  import { type ComponentRuntime, type PluginLoader, type RuntimeReason } from "./runtimes.js";
42
48
  /** `$id` of the JSON Schema for the document, shipped beside this file. */
43
49
  export declare const COMPOSITES_OUTPUT_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/composites/v1/composites.schema.json";
@@ -50,6 +56,8 @@ export declare const COMPOSITES_REASON_CODES: readonly ["composites-no-chant-mem
50
56
  export type CompositesReasonCode = (typeof COMPOSITES_REASON_CODES)[number];
51
57
  /** Why a member's runtimes are only `local`, or leave out a lexicon its config lists (#2674). Closed. */
52
58
  export declare const COMPOSITES_RUNTIME_REASON_CODES: readonly ["runtimes-config-unreadable", "runtimes-lexicon-unreadable"];
59
+ /** Why a member's environments are only `local`, or leave out one its ledger has (#2695). Closed. */
60
+ export declare const COMPOSITES_ENVIRONMENT_REASON_CODES: readonly ["runtimes-config-unreadable", "environments-none-declared", "environments-ledger-undeclared", "environments-ledger-unreadable"];
53
61
  export interface CompositesMember {
54
62
  name: string;
55
63
  dir: string;
@@ -60,6 +68,8 @@ export interface CompositesMember {
60
68
  chant: string | null;
61
69
  /** Why its components' runtimes leave something out: its config, or a lexicon, couldn't be read. Empty for a member not of kind chant. */
62
70
  runtimeReasons: RuntimeReason[];
71
+ /** Why its components' environments are only `local`, or leave one out. Empty for a member not of kind chant. */
72
+ environmentReasons: EnvironmentReason[];
63
73
  }
64
74
  export interface ComponentEntry {
65
75
  /** `<member>/<name>`. */
@@ -74,6 +84,8 @@ export interface ComponentEntry {
74
84
  file: string | null;
75
85
  /** The runtimes it can deploy on: `local` first, then each hosting lexicon its member configures. */
76
86
  runtimes: ComponentRuntime[];
87
+ /** The environments it may deploy to: `local` first, then the config's, then the ledger's. */
88
+ environments: ComponentEnvironment[];
77
89
  }
78
90
  export interface ComponentMatch {
79
91
  /** The {@link ComponentEntry} id. */
@@ -145,6 +157,7 @@ export declare function joinComponents(instances: CompositeInstanceRow[], compon
145
157
  /** Read the workspace's composites and components, and build the document. Never throws a `WorkspaceReadError`. */
146
158
  export declare function workspaceComposites(query: Omit<GraphQuery, "kind" | "components" | "inTree"> & {
147
159
  loadPlugin?: PluginLoader;
160
+ readLedgerEnvironments?: LedgerEnvironmentReader;
148
161
  }): Promise<CompositesResult>;
149
162
  /** `chant workspace graph --composites`: print the document as JSON, always, like the composed graph. */
150
163
  export declare function runWorkspaceComposites(ctx: CommandContext, cwd: string): Promise<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"composites.d.ts","sourceRoot":"","sources":["../../src/workspace/composites.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAkB,YAAY,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEpF,OAAO,EAAqC,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGjF,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAE3F,OAAO,EAA2D,KAAK,gBAAgB,EAAuB,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAExK,2EAA2E;AAC3E,eAAO,MAAM,2BAA2B,sFAAsF,CAAC;AAE/H,sDAAsD;AACtD,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,qEAAqE;AACrE,eAAO,MAAM,sBAAsB,uNAAoB,CAAC;AAExD,oGAAoG;AACpG,eAAO,MAAM,uBAAuB,gGAOM,CAAC;AAC3C,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE5E,yGAAyG;AACzG,eAAO,MAAM,+BAA+B,wEAAuB,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;IACtC,MAAM,EAAE,YAAY,GAAG,IAAI,CAAC;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,0IAA0I;IAC1I,cA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ACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,oBAAoB,EAAE,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,GAAG,oBAAoB,EAAE,CA8BtJ;AAQD,mHAAmH;AACnH,wBAAsB,mBAAmB,CACvC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,GAAG,YAAY,GAAG,QAAQ,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,YAAY,CAAC;IAAC,sBAAsB,CAAC,EAAE,uBAAuB,CAAA;CAAE,GAC1I,OAAO,CAAC,gBAAgB,CAAC,CA0D3B;AAED,yGAAyG;AACzG,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAe9F"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * The environments a member's components may deploy to, for `chant workspace
3
+ * graph --composites` (#2695), so a reader such as hud can offer staging or
4
+ * prod beside the default without guessing a name.
5
+ *
6
+ * Each environment comes from one of three places, and says which:
7
+ *
8
+ * - `config`: a name the member's `chant.config.ts` declares in
9
+ * `environments`. A pattern such as `pr-*` names no environment by itself
10
+ * and is not listed, but it legalizes the ledger's `pr-42`.
11
+ * - `ledger`: an environment with a release ledger for the member on
12
+ * `chant/lifecycle` (`_members/<member>/<env>/releases.jsonl`, or the flat
13
+ * `<env>/releases.jsonl`, read the way `workspace status` reads it).
14
+ * - `builtin`: `local`, which `chant run --components` uses without `--env`
15
+ * (`../cli/handlers/run.ts`), when neither the config nor the ledger names
16
+ * it.
17
+ *
18
+ * The component contract declares no environments, so every component of a
19
+ * member lists the member's environments.
20
+ *
21
+ * `chant run --env` refuses a name the config's `environments` doesn't cover
22
+ * whenever it declares any (`unknownEnvError` in `../env.ts`), so a ledger
23
+ * environment the config no longer covers is left out, with a reason. The
24
+ * default is `local`: `chant.config.ts` has no default environment, and
25
+ * `chant run` without `--env` deploys to `local` even when the config's
26
+ * `environments` leaves it out.
27
+ *
28
+ * The config is the one `runtimes.ts` loads, in the working tree or the tree
29
+ * `--at` exported. The ledger is always the local `chant/lifecycle` branch,
30
+ * as for `workspace status`, and is never fetched.
31
+ */
32
+ import { type MemberRuntimes } from "./runtimes.js";
33
+ /** The environment `chant run --components` deploys to without `--env`. */
34
+ export declare const LOCAL_ENVIRONMENT = "local";
35
+ /** Why a member's environments are only `local`, or leave out one the ledger has. Closed: part of the read contract. */
36
+ export declare const ENVIRONMENT_REASON_CODES: readonly ["runtimes-config-unreadable", "environments-none-declared", "environments-ledger-undeclared", "environments-ledger-unreadable"];
37
+ export type EnvironmentReasonCode = (typeof ENVIRONMENT_REASON_CODES)[number];
38
+ export interface EnvironmentReason {
39
+ code: EnvironmentReasonCode;
40
+ message: string;
41
+ }
42
+ /** One environment a component may deploy to. */
43
+ export interface ComponentEnvironment {
44
+ /** What `--env` takes. */
45
+ name: string;
46
+ /** True for the environment `chant run --components` deploys to without `--env`. */
47
+ default: boolean;
48
+ /** Where the name came from; the first of config, ledger and builtin that names it. */
49
+ source: "config" | "ledger" | "builtin";
50
+ /** The command that deploys the component there on the default runtime, run in the member's directory. */
51
+ command: string;
52
+ }
53
+ /** The environments a member's ledger has, or why they couldn't be listed. */
54
+ export interface LedgerEnvironments {
55
+ envs: string[];
56
+ reason: EnvironmentReason | null;
57
+ }
58
+ /** Lists one member's ledger environments; git unless a test swaps it. */
59
+ export type LedgerEnvironmentReader = (member: {
60
+ name: string;
61
+ dir: string;
62
+ }, cwd: string) => LedgerEnvironments;
63
+ /** What one member's config and ledger say about environments. */
64
+ export interface MemberEnvironments {
65
+ /** Each environment in list order, without the per-component command. */
66
+ environments: Omit<ComponentEnvironment, "command">[];
67
+ reasons: EnvironmentReason[];
68
+ }
69
+ /**
70
+ * The environments with a release ledger for `member` on the local
71
+ * `chant/lifecycle` branch: the directories under `_members/<member>/` when it
72
+ * exists (the root member never has one), else the flat layout's top-level
73
+ * directories, that hold a `releases.jsonl`.
74
+ */
75
+ export declare const readLedgerEnvironments: LedgerEnvironmentReader;
76
+ /** Join a member's config and ledger into its environment list, `local` first, then config order, then the ledger's. */
77
+ export declare function memberEnvironments(runtimes: MemberRuntimes | undefined, ledger: LedgerEnvironments | undefined): MemberEnvironments;
78
+ /** The environments one component may deploy to, each with its command line on the member's default runtime. */
79
+ export declare function componentEnvironments(component: string, member: MemberEnvironments | undefined, runtime?: string): ComponentEnvironment[];
80
+ //# sourceMappingURL=environments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environments.d.ts","sourceRoot":"","sources":["../../src/workspace/environments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAKH,OAAO,EAAiB,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAGhE,2EAA2E;AAC3E,eAAO,MAAM,iBAAiB,UAAU,CAAC;AAEzC,wHAAwH;AACxH,eAAO,MAAM,wBAAwB,2IASK,CAAC;AAC3C,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9E,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,iDAAiD;AACjD,MAAM,WAAW,oBAAoB;IACnC,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,oFAAoF;IACpF,OAAO,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxC,0GAA0G;IAC1G,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;CAClC;AAED,0EAA0E;AAC1E,MAAM,MAAM,uBAAuB,GAAG,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,EAAE,MAAM,KAAK,kBAAkB,CAAC;AAEjH,kEAAkE;AAClE,MAAM,WAAW,kBAAkB;IACjC,yEAAyE;IACzE,YAAY,EAAE,IAAI,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,CAAC;IACtD,OAAO,EAAE,iBAAiB,EAAE,CAAC;CAC9B;AAeD;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,uBAkBpC,CAAC;AAEF,wHAAwH;AACxH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,cAAc,GAAG,SAAS,EAAE,MAAM,EAAE,kBAAkB,GAAG,SAAS,GAAG,kBAAkB,CA8BnI;AAED,gHAAgH;AAChH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,SAAS,EAAE,OAAO,SAAgB,GAAG,oBAAoB,EAAE,CAIhJ"}
@@ -72,10 +72,11 @@ export declare const REASONS: {
72
72
  readonly "review-duplicate": "A later verdict by the same principal replaces this one. Names are compared after NFKC, trimming and lower-casing.";
73
73
  readonly "review-older-digest": "The verdict names a digest other than the record's text now: the record changed after the verdict.";
74
74
  readonly "review-unattested": "An attestation policy is active at base, and the verdict carries no seal that verifies for its reviewer.";
75
- readonly "seal-missing": "The verdict carries no seal.";
76
- readonly "seal-signer-unlisted": "The reviewer has no key in the signers file at base, so the seal can't count.";
77
- readonly "seal-signature-invalid": "The seal is malformed, names a signer other than the reviewer, or its signature does not verify over the verdict.";
75
+ readonly "seal-missing": "The verdict, or the record, carries no seal.";
76
+ readonly "seal-signer-unlisted": "The reviewer, or the record's author, has no key in the signers file at base, so the seal can't count.";
77
+ readonly "seal-signature-invalid": "The seal is malformed, names a signer other than the reviewer or author, or its signature does not verify over the verdict or record.";
78
78
  readonly "seal-unverifiable": "Nothing here can say whose seal it is: there is no signers file at base, or ssh-keygen is not installed.";
79
+ readonly "record-unattested": "A signers file is active at base, and the record names an author whose seal does not verify: it has none, the author has no key in the file, or the signature fails.";
79
80
  readonly "kind-unreadable": "The record kind file is missing or could not be imported.";
80
81
  readonly "kind-invalid": "The record kind file exports no recordKind, or its shape is wrong.";
81
82
  readonly "schema-unreadable": "The schema file the record kind names is missing or is not JSON.";
@@ -94,7 +95,12 @@ export declare const REASONS: {
94
95
  readonly "review-unsupported": "The kind's schema has no reviews field, so its records take no review.";
95
96
  readonly "review-note-required": "A dissent was given with no note: a dissent needs a reason.";
96
97
  readonly "review-sign-failed": "--sign was given and no seal could be made: the key can't be read or used, git names no ssh signing key, or ssh-keygen is not installed.";
97
- readonly "since-rev-unknown": "--since names no commit.";
98
+ readonly "record-sign-failed": "--sign was given and no author seal could be made: the record names no author, the key can't be read or used, git names no ssh signing key, or ssh-keygen is not installed.";
99
+ readonly "session-unknown": "--session names no session of a session kind whose subjects are the record's kind.";
100
+ readonly "session-not-open": "--session names a session in a closed state, which takes no more verdicts.";
101
+ readonly "since-rev-unknown": "--since names no commit, or a session with no opening revision and no commit that added it.";
102
+ readonly "since-session-unknown": "--since has the shape of a session id and names no commit, and no session the kind or the declaration reads has that id.";
103
+ readonly "since-session-open": "--since names a session that is still open, so the comparison runs to the working tree.";
98
104
  readonly "intent-region-invalid": "The region's path, or its line range, does not exist in the tree read.";
99
105
  readonly "intent-history-shallow": "The repository is a shallow clone, so the region's history stops at the clone's boundary.";
100
106
  readonly "intent-plugin-failed": "A kind file's commitJoins, which joins commits to units, contracts and evidence, failed for a commit.";
@@ -118,8 +124,11 @@ export declare const REASONS: {
118
124
  readonly "composites-no-chant-member": "No member of kind chant was read, so nothing declares a composite instance or a component.";
119
125
  readonly "composites-none-declared": "The members read declare no composite instance.";
120
126
  readonly "composites-no-component": "The members read declare no component, so no composite instance has one.";
121
- readonly "runtimes-config-unreadable": "The member's chant.config.ts could not be read, so only the built-in local runtime is listed.";
127
+ readonly "runtimes-config-unreadable": "The member's chant.config.ts could not be read, so only the built-in local runtime is listed, and no environment from the config.";
122
128
  readonly "runtimes-lexicon-unreadable": "A lexicon the member's config lists could not be loaded, so it is not listed as a runtime.";
129
+ readonly "environments-none-declared": "The member's chant.config.ts declares no environments, so only local and the environments in its ledger are listed.";
130
+ readonly "environments-ledger-undeclared": "The member's ledger has releases in an environment its config's environments don't cover, so chant run --env would refuse it and it is not listed.";
131
+ readonly "environments-ledger-unreadable": "The chant/lifecycle branch exists and the member's ledger environments could not be listed.";
123
132
  readonly "lock-invalid": "The lineage lock can't be read.";
124
133
  readonly "manual-step-open": "A scope in the lineage lock has an open manual step.";
125
134
  };
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyHV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,mDAAmD;AACnD,eAAO,MAAM,YAAY,EAA2B,UAAU,EAAE,CAAC;AAEjE,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,eAAO,MAAM,WAAW,QAAkD,CAAC;AAE3E,2HAA2H;AAC3H,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAI/E"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqIV,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC;AAE9C,mDAAmD;AACnD,eAAO,MAAM,YAAY,EAA2B,UAAU,EAAE,CAAC;AAEjE,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,UAAU,MAAM,IAAI,MAAM,EAAE,CAAC;AAEtD,eAAO,MAAM,WAAW,QAAkD,CAAC;AAE3E,2HAA2H;AAC3H,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAI/E"}
@@ -18,7 +18,7 @@
18
18
  */
19
19
  import type { CommandContext } from "../cli/registry.js";
20
20
  import { type RecordKindDeclaration } from "./declaration.js";
21
- import { type LoadedRecordKind, type Quorum, type ReadErrorCode, type ReadRecordsResult, type RecordEntry, type RecordFormat } from "./records.js";
21
+ import { type LoadedRecordKind, type Quorum, type ReadErrorCode, type ReadRecordsResult, type RecordEntry, type RecordFormat, type VerdictAttestation } from "./records.js";
22
22
  import { type WorkspaceTree } from "./tree.js";
23
23
  import type { DecisionWork } from "./work.js";
24
24
  import { type ProvenanceLevel } from "./trust/attestor.js";
@@ -46,11 +46,15 @@ export interface RecordsQuery {
46
46
  }
47
47
  /**
48
48
  * A record as the output carries it: the entry plus its provenance (#2547),
49
- * and its quorum when the kind has a reviews list (#2671).
49
+ * and, when the kind has a reviews list, its quorum (#2671) and what its
50
+ * author seal establishes (#2688).
50
51
  */
51
52
  export type RecordView = RecordEntry & {
52
53
  provenance: RecordProvenance;
53
54
  quorum?: Quorum | null;
55
+ /** true when the record's seal verifies for its author against the signers at base; false when it fails, or is missing under an active policy; null when nothing here can say (#2688). */
56
+ attested?: boolean | null;
57
+ attestation?: VerdictAttestation;
54
58
  };
55
59
  /** The role in the trust policy whose holders' verdicts the quorum does not count (#2671). */
56
60
  export declare const AGENT_ROLE = "agent";
@@ -1 +1 @@
1
- {"version":3,"file":"records-cli.d.ts","sourceRoot":"","sources":["../../src/workspace/records-cli.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAMH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAItD,OAAO,EAA4D,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAGrH,OAAO,EAOL,KAAK,gBAAgB,EACrB,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,YAAY,EAGlB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAA+C,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEzH,6DAA6D;AAC7D,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C,kFAAkF;AAClF,eAAO,MAAM,wBAAwB,gFAAgF,CAAC;AAKtH,2EAA2E;AAC3E,eAAO,MAAM,mBA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IG;AACH,wBAAsB,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,CA0B5F;AAED,oGAAoG;AACpG,wBAAsB,YAAY,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,eAAe,CAAC,CAsDhF;AA2ED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAUvG;AAED,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAiE9E;AAuFD,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;AAkCD,yCAAyC;AACzC,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CAS9E"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * `chant workspace records close <session id>` (#2693): close a review
3
+ * session in one write. It sets the session's state to its kind's closed
4
+ * state, the time it closed and the commit it closed at (the fields the
5
+ * kind's `session` block names in `closedOn` and `closedRev`), and then the
6
+ * seal by chant's rule ({@link sessionSeal}), so a UI never computes a seal.
7
+ *
8
+ * Like `new`, `amend` and `review`, it reads the records again with the file
9
+ * in place and writes only when the session comes back valid: a verdict
10
+ * naming a record the subjects lack is refused with
11
+ * `session-verdict-unknown-record`. A session already closed is
12
+ * `record-closed`. It writes one file or none and never commits.
13
+ */
14
+ import { type WriteFailure, type WriteResult } from "./records-write.js";
15
+ export declare const RECORDS_CLOSE_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/records-close/v1/records-close.schema.json";
16
+ /** Why `records close` wrote nothing. Closed. */
17
+ export declare const CLOSE_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "write-usage-invalid", "record-not-found", "record-closed", "record-unparseable", "record-schema-invalid", "record-id-duplicate", "record-supersedes-unknown", "record-supersedes-conflict", "session-seal-mismatch", "session-verdict-unknown-record"];
18
+ export type CloseErrorCode = (typeof CLOSE_ERROR_CODES)[number];
19
+ export type CloseDocument = (WriteResult & {
20
+ /** The top-level fields the close set, in the order written. */
21
+ changed: string[];
22
+ /** The seal field and the digest written in it. */
23
+ seal: {
24
+ field: string;
25
+ digest: string;
26
+ };
27
+ /** The commit HEAD named at the close, or null outside git or before the first commit. */
28
+ closedRev: string | null;
29
+ }) | WriteFailure<CloseErrorCode>;
30
+ export interface CloseRecordOptions {
31
+ /** The session kind file, resolved against `cwd`. */
32
+ kind: string;
33
+ id: string;
34
+ dryRun?: boolean;
35
+ cwd: string;
36
+ /** The close time. Defaults to now. */
37
+ now?: Date;
38
+ }
39
+ /** `records close`: close one open session and seal it. */
40
+ export declare function closeRecord(opts: CloseRecordOptions): Promise<CloseDocument>;
41
+ //# sourceMappingURL=records-close.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"records-close.d.ts","sourceRoot":"","sources":["../../src/workspace/records-close.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAMH,OAAO,EAaL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,uBAAuB,4FAA4F,CAAC;AAEjI,iDAAiD;AACjD,eAAO,MAAM,iBAAiB,uXAMY,CAAC;AAC3C,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,aAAa,GACrB,CAAC,WAAW,GAAG;IACb,gEAAgE;IAChE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,mDAAmD;IACnD,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACxC,0FAA0F;IAC1F,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC,GACF,YAAY,CAAC,cAAc,CAAC,CAAC;AAEjC,MAAM,WAAW,kBAAkB;IACjC,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,GAAG,CAAC,EAAE,IAAI,CAAC;CACZ;AAOD,2DAA2D;AAC3D,wBAAsB,WAAW,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,aAAa,CAAC,CAqDlF"}
@@ -9,13 +9,50 @@
9
9
  *
10
10
  * Records are matched by id. A record whose id could not be read is left
11
11
  * out of the comparison, since nothing says which record it was before.
12
+ *
13
+ * `--since <session id>` (#2693) compares the commit a review session
14
+ * opened at with the commit that carries its close. The first is the
15
+ * record's opening revision (the kind's `session.openedRev` field). The
16
+ * record's closing revision (`session.closedRev`) is HEAD when `records
17
+ * close` wrote the close, before the caller committed it, so the close and
18
+ * the verdicts committed with it are in the first commit after it that
19
+ * changed the session file. A session written before chant wrote these
20
+ * fields falls back to its file's history: the commit that added it and the
21
+ * last commit that changed it. An open session, or one whose close is not
22
+ * committed yet, is compared with the working tree, and an open one says so
23
+ * with `since-session-open`.
12
24
  */
13
25
  import { type RecordEntry, type RecordKind } from "./records.js";
14
26
  /** `$id` of the JSON Schema for `records --since --json`, shipped beside this file. */
15
27
  export declare const RECORDS_SINCE_OUTPUT_SCHEMA_ID = "https://intentius.io/chant/schemas/workspace/records-since/v1/records-since.schema.json";
16
28
  /** Why a `--since` read failed: any records read error, or a `--since` that names no commit. Closed. */
17
- export declare const RECORDS_SINCE_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "not-a-git-repository", "revision-unknown", "since-rev-unknown"];
29
+ export declare const RECORDS_SINCE_ERROR_CODES: readonly ["kind-unreadable", "kind-invalid", "schema-unreadable", "schema-id-mismatch", "schema-invalid", "location-missing", "not-a-git-repository", "revision-unknown", "since-rev-unknown", "since-session-unknown"];
18
30
  export type RecordsSinceErrorCode = (typeof RECORDS_SINCE_ERROR_CODES)[number];
31
+ /** Why a session's comparison is not the one between its open and close commits (#2693). Closed. */
32
+ export declare const RECORDS_SINCE_REASON_CODES: readonly ["since-session-open"];
33
+ /**
34
+ * The session `--since` named (#2693), and where the two revisions came
35
+ * from: the record's own fields, or git's history of its file for a session
36
+ * written before chant wrote them.
37
+ */
38
+ export interface SinceSession {
39
+ id: string;
40
+ /** The session file, from the repository root, with / separators. */
41
+ path: string;
42
+ state: string | null;
43
+ /** Where `since` came from: the session's opening revision field, or the last commit that added its file. */
44
+ sinceFrom: "opened-rev" | "history";
45
+ /**
46
+ * Where `at` came from: the first commit after the closing revision that
47
+ * changed the session file (the commit carrying the close), the last
48
+ * commit that changed the file, --at, or the working tree.
49
+ */
50
+ atFrom: "close-commit" | "history" | "at" | "working-tree";
51
+ reasons: {
52
+ code: (typeof RECORDS_SINCE_REASON_CODES)[number];
53
+ message: string;
54
+ }[];
55
+ }
19
56
  /** The kinds of change, in the order the output lists them. */
20
57
  export declare const SINCE_CHANGE_KINDS: readonly ["new", "removed", "state", "verdict", "supersession", "pin"];
21
58
  export type SinceChangeKind = (typeof SINCE_CHANGE_KINDS)[number];
@@ -63,6 +100,8 @@ export type RecordsSinceDocument = {
63
100
  };
64
101
  since: string;
65
102
  at: string | null;
103
+ /** With `--since <session id>` only. */
104
+ session?: SinceSession;
66
105
  changes: SinceChange[];
67
106
  summary: Record<SinceChangeKind, number>;
68
107
  } | {
@@ -1 +1 @@
1
- {"version":3,"file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