@intentius/chant 0.118.0 → 0.120.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 (89) hide show
  1. package/dist/cli/commands/build.d.ts.map +1 -1
  2. package/dist/cli/handlers/emulator.d.ts +24 -0
  3. package/dist/cli/handlers/emulator.d.ts.map +1 -1
  4. package/dist/cli/handlers/lifecycle.d.ts.map +1 -1
  5. package/dist/cli/handlers/operator.d.ts.map +1 -1
  6. package/dist/cli/handlers/run.d.ts +15 -0
  7. package/dist/cli/handlers/run.d.ts.map +1 -1
  8. package/dist/cli/main.d.ts.map +1 -1
  9. package/dist/cli/plugins.d.ts +9 -1
  10. package/dist/cli/plugins.d.ts.map +1 -1
  11. package/dist/cli/registry.d.ts +6 -0
  12. package/dist/cli/registry.d.ts.map +1 -1
  13. package/dist/components/driver-output.d.ts.map +1 -1
  14. package/dist/deep-observation.d.ts +22 -1
  15. package/dist/deep-observation.d.ts.map +1 -1
  16. package/dist/detectLexicon.d.ts +2 -1
  17. package/dist/detectLexicon.d.ts.map +1 -1
  18. package/dist/lifecycle/deep-diff.d.ts +9 -1
  19. package/dist/lifecycle/deep-diff.d.ts.map +1 -1
  20. package/dist/lifecycle/deep-observe.d.ts.map +1 -1
  21. package/dist/lifecycle/git.d.ts +12 -0
  22. package/dist/lifecycle/git.d.ts.map +1 -1
  23. package/dist/lifecycle/local-note.d.ts +14 -0
  24. package/dist/lifecycle/local-note.d.ts.map +1 -0
  25. package/dist/op/activities/converge.d.ts.map +1 -1
  26. package/dist/op/activities/lifecycle.d.ts +6 -1
  27. package/dist/op/activities/lifecycle.d.ts.map +1 -1
  28. package/dist/op/composites/watch-op.d.ts +8 -0
  29. package/dist/op/composites/watch-op.d.ts.map +1 -1
  30. package/dist/op/emulator-lifecycle.d.ts +31 -0
  31. package/dist/op/emulator-lifecycle.d.ts.map +1 -1
  32. package/dist/op/gate-summary.d.ts.map +1 -1
  33. package/dist/op/gate.d.ts +4 -1
  34. package/dist/op/gate.d.ts.map +1 -1
  35. package/dist/op/index.d.ts +3 -3
  36. package/dist/op/index.d.ts.map +1 -1
  37. package/dist/op/local-output.d.ts.map +1 -1
  38. package/dist/op/op-ir.d.ts +2 -0
  39. package/dist/op/op-ir.d.ts.map +1 -1
  40. package/dist/op/types.d.ts +10 -0
  41. package/dist/op/types.d.ts.map +1 -1
  42. package/dist/serializer.d.ts +11 -0
  43. package/dist/serializer.d.ts.map +1 -1
  44. package/dist/workspace/lineage-upgrade-cli.d.ts.map +1 -1
  45. package/package.json +1 -1
  46. package/src/cli/commands/build.test.ts +29 -0
  47. package/src/cli/commands/build.ts +11 -2
  48. package/src/cli/handlers/emulator.test.ts +136 -4
  49. package/src/cli/handlers/emulator.ts +171 -14
  50. package/src/cli/handlers/lifecycle.ts +13 -2
  51. package/src/cli/handlers/operator.test.ts +9 -7
  52. package/src/cli/handlers/operator.ts +18 -23
  53. package/src/cli/handlers/run.test.ts +52 -0
  54. package/src/cli/handlers/run.ts +43 -3
  55. package/src/cli/lexicon-subpath-build.test.ts +129 -0
  56. package/src/cli/main.ts +24 -6
  57. package/src/cli/plugins.ts +26 -5
  58. package/src/cli/registry.ts +6 -0
  59. package/src/components/driver-output.ts +4 -1
  60. package/src/deep-observation.ts +29 -1
  61. package/src/detectLexicon.test.ts +38 -0
  62. package/src/detectLexicon.ts +7 -2
  63. package/src/lifecycle/deep-diff.test.ts +24 -1
  64. package/src/lifecycle/deep-diff.ts +15 -0
  65. package/src/lifecycle/deep-observe.ts +5 -2
  66. package/src/lifecycle/git.test.ts +18 -0
  67. package/src/lifecycle/git.ts +25 -0
  68. package/src/lifecycle/local-note.ts +17 -0
  69. package/src/op/activities/converge-push.test.ts +8 -6
  70. package/src/op/activities/converge.ts +2 -7
  71. package/src/op/activities/lifecycle-gate.test.ts +147 -0
  72. package/src/op/activities/lifecycle.test.ts +5 -0
  73. package/src/op/activities/lifecycle.ts +18 -6
  74. package/src/op/composites/composites.test.ts +5 -0
  75. package/src/op/composites/watch-op.ts +9 -0
  76. package/src/op/emulator-lifecycle.test.ts +13 -1
  77. package/src/op/emulator-lifecycle.ts +48 -0
  78. package/src/op/gate-summary.test.ts +6 -0
  79. package/src/op/gate-summary.ts +4 -1
  80. package/src/op/gate.ts +7 -25
  81. package/src/op/index.ts +3 -3
  82. package/src/op/local-output.test.ts +12 -0
  83. package/src/op/local-output.ts +5 -1
  84. package/src/op/op-ir.test.ts +9 -0
  85. package/src/op/op-ir.ts +4 -0
  86. package/src/op/types.ts +11 -0
  87. package/src/serializer.ts +11 -0
  88. package/src/workspace/ci-green-workflow.ts +1 -1
  89. package/src/workspace/lineage-upgrade-cli.ts +3 -1
@@ -190,7 +190,7 @@ export function renderCiGreenWorkflow(input: WorkflowInput): string {
190
190
  `name: ${CI_GREEN_WORKFLOW_NAME}`,
191
191
  "",
192
192
  "# Tags each commit on the branch that passed its required phases ci/green/<sha>,",
193
- "# and a green commit that later fails one ci/revoked/<sha> (#3573).",
193
+ "# and a green commit that later fails one ci/revoked/<sha>.",
194
194
  "on:",
195
195
  " workflow_run:",
196
196
  " workflows:",
@@ -17,6 +17,7 @@ import { formatError, formatInfo, formatSuccess, formatWarning } from "../cli/fo
17
17
  import type { CommandContext } from "../cli/registry";
18
18
  import { approveCommand, describeGateMismatch, evaluateGate, gateIsSealed, gitGateLedgerPort, type GateLedgerPort } from "../op/gate";
19
19
  import { WORKSPACE_UPGRADE_GATE_OP } from "../op/gate-name";
20
+ import { LIFECYCLE_LOCAL_NOTE, isLifecycleLocalNote } from "../lifecycle/local-note";
20
21
  import { LockError } from "./lineage-lock";
21
22
  import { applyStagedUpgrade, describeStaged, stageUpgrade, type ChantRunner, type StagedUpgrade } from "./lineage-upgrade";
22
23
 
@@ -106,7 +107,8 @@ export async function upgradeCommand(opts: UpgradeCommandOptions): Promise<Upgra
106
107
  if (!opts.json) {
107
108
  const sealed = await gateIsSealed(gate);
108
109
  if (check.mismatch) console.error(formatWarning({ message: describeGateMismatch(WORKSPACE_UPGRADE_GATE_OP, gate, check.mismatch, sealed) }));
109
- if (check.pushWarning) console.error(formatWarning({ message: check.pushWarning }));
110
+ if (isLifecycleLocalNote(check.pushWarning)) console.error(formatInfo(LIFECYCLE_LOCAL_NOTE));
111
+ else if (check.pushWarning) console.error(formatWarning({ message: check.pushWarning }));
110
112
  if (check.quorum) console.error(formatInfo(`approvals so far: ${check.quorum.approvers.length} of ${check.quorum.need}`));
111
113
  console.error(
112
114
  formatInfo(