Repository navigation
Description
Sub-issue 1 of #2116.
Delete the Temporal half of core. Every item below is unreachable after #2114 sub-issue 5 put chant run behind the runtime seam; this issue removes it and the flags that led to it.
packages/core/src/cli/handlers/: delete run-client.ts (loadTemporalClient, connectionOptions, the history normalisers) and op-progress.ts (history-to-StepRecord reconstruction); strip the Temporal branch from run-report.ts; in run.ts delete makeTemporalClient, requireTemporalMode, runOpTemporal, runComponentTemporal, componentWorkflowId, workflowFnName, kebabToCamel, ensureSearchAttributes, waitForTemporalServer, and both spawnChild("temporal", ["server", "start-dev"], ...) sites. packages/core/src/components/: delete temporal-codegen-loader.ts; rewrite the comments in driver.ts (lines around 30 and 288), cli-support.ts (446 to 463), auto-release.ts (the runComponentTemporal and workflow-state paragraphs), manifest-persistence.ts (16, 73, 104). packages/core/src/cli/main.ts: remove --temporal from the flag list, the parser case, and the help text at lines 508 to 510; cli/registry.ts: drop temporal?: boolean and the --progress-json comment's Temporal clause. For one minor version, --temporal prints --temporal was removed in #2116; use --on fountain and exits 2; then the parser forgets it.
packages/core/src/lint/rules/comp/comp004-gate-needs-temporal.ts becomes comp004-gate-needs-durable-runtime.ts with a message that says a gate ends the run pending chant approve (the id COMP004 stays; the docs page under lint-rules/composition.mdx follows). packages/core/src/op/operator.ts comments at lines 3, 44 and 47; lifecycle/gate-ledger.ts line 34; cli/commands/build.ts lines 662 to 666; cli/build-params-cli.ts line 13; op/activity-runtime.ts's heartbeat docstring.
Tests: 24 files under packages/core/src reference Temporal (rg -il temporal packages/core/src --glob '*.test.ts'). Delete the ones that test deleted code, rewrite the fixtures in the rest.
Waits on #2114 sub-issues 1, 3 and 5. Sub-issue 2 waits on this one.
Acceptance
-
rg -i temporal packages/core/srcreturns only the one-line--temporalremoval message and its test. -
run-client.ts,op-progress.ts,temporal-codegen-loader.tsdo not exist;run.tshas no function named above. -
chant run <op> --temporalexits 2 with the removal message;chant run <op>and--onbehave as after epic: ops in core without Temporal — base activities, gate-as-fact, a runtime hook, and a schedule that belongs to the op #2114. -
COMP004fires with the new message;lint-rules/composition.mdxshows it. -
packages/corehas no dependency, optional or dynamic, on@intentius/chant-lexicon-temporalor@temporalio/*(rg 'temporalio|lexicon-temporal' packages/core). - Repo-wide typecheck and
npm testpass.
Activity
lex00 commentedon Sep 6, 2026
Working #2130 on top of the epic-A stack (
feat/2122-ops-rules-into-core, 7388b27). One deviation from the acceptance checklist, flagged here rather than papered over:packages/core/src/cli/handlers/run-client.tssurvives as a shim.lexicons/temporal/src/describe-resources.tsanddeep-observe.tsimportloadTemporalClient,connectionOptions,resolveProfileandWorkerProfilefrom@intentius/chant/cli/handlers/run-client. Deleting the module breaks the repo-wide typecheck andnpx vitest run lexicons/temporal, and #2130's scope is core only, so the file is now four exports and a header marked// #2131 deletes this file.Nothing inpackages/coreimports it. That means:rg -i temporal packages/core/srcreturns the removal message and its test, the shim, and two false positives in the vendored SARIF schema fixture ("temporally ordered","temporal order"— plain English incli/commands/__fixtures__/schemas/sarif-2.1.0.schema.json, not editable).rg 'temporalio|lexicon-temporal' packages/corereturns two lines, both the shim's dynamic@temporalio/clientimport. It is not a declared, optional or static dependency —node scripts/depcheck.mjspasses.Both greps go clean the moment #2131 deletes
lexicons/temporaland this file with it.Two smaller judgement calls:
chant run --reportwas reachable only behind--temporal(it rendered a past durable run's workflow history). It now refuses with one line pointing atchant run log <op>, rather than silently falling through to a real run.run list/status/log/cancel --componentswere allrequireTemporalMode-gated, so they already errored without--temporal. Each now refuses with\chant run --components` read a component's durable run state, which epic: remove Temporal from chant — lexicon, core, examples, docs, CI, npm #2116 removed` plus the command that still answers.chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
1 remaining item
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130)
docs: regenerate the egress catalogue after the Temporal runtime's re…
chore(core): delete the Temporal runtime and its flags from core (#2130…
chore: delete lexicons/temporal and every place the workspace knew it (…