refactor(jobs): type the producer face by the record declaration, tidy review residue

- `JobStart` is a union discriminated by `record`: `RecordingJobStart.run`
  receives `RecordingJob` (with `append`), `PlainJobStart.run` receives the
  plain `RunningJob`, and the registry builds the plain face without the
  method, so the former warn-and-drop path is unrepresentable.
- Remove the duplicated JSDoc opener in the registry seam and correct the
  job-list slot comment (order 20 sits before the subagent catalog's 30).
- Restore the `cordis-tool-round` session fixture whose only change was a
  re-recorded `createdAt`.
- Update the 2026-08-08 job-display note's stale service-disposal and slot
  ordering facts; archive the superseded 2026-08-25 unified-task-list note
  and point its remaining inbound links at the archived snapshot.
This commit is contained in:
Yichen Jiang committed 2026-09-03 13:15:23 +08:00
1 parent 6a4d7ee242
commit b48c05d117
35 files changed
+326 -212

No files matched your search

+3
View File
@@ -513,6 +513,9 @@ export const LINK_MAP: Readonly<Record<string, string>> = {
JobWireChunk: 'jobs.md',
JobSnapshot: 'jobs.md',
JobStart: 'jobs.md',
PlainJobStart: 'jobs.md',
RecordingJob: 'jobs.md',
RecordingJobStart: 'jobs.md',
JobsChangedListener: 'jobs.md',
JobAppendOptions: 'jobs.md',
JobChannel: 'jobs.md',
+15
View File
@@ -1006,6 +1006,16 @@
"symbol": "JobKindMap",
"source": "packages/jobs/jobs/src/types.ts"
},
{
"doc": "docs/subsystems/jobs.md",
"symbol": "PlainJobStart",
"source": "packages/jobs/jobs/src/types.ts"
},
{
"doc": "docs/subsystems/jobs.md",
"symbol": "RecordingJobStart",
"source": "packages/jobs/jobs/src/types.ts"
},
{
"doc": "docs/subsystems/jobs.md",
"symbol": "JobStart",
@@ -1036,6 +1046,11 @@
"symbol": "RunningJob",
"source": "packages/jobs/jobs/src/types.ts"
},
{
"doc": "docs/subsystems/jobs.md",
"symbol": "RecordingJob",
"source": "packages/jobs/jobs/src/types.ts"
},
{
"doc": "docs/subsystems/jobs.md",
"symbol": "JobRecordChunk",