Add: Job concept implementation (schema, runtime, CLI)#78
Merged
FL4TLiN3 merged 7 commits intoepic/job-conceptfrom Dec 9, 2025
Merged
Add: Job concept implementation (schema, runtime, CLI)#78FL4TLiN3 merged 7 commits intoepic/job-conceptfrom
FL4TLiN3 merged 7 commits intoepic/job-conceptfrom
Conversation
Introduce Job as a parent concept for Runs: - Add Job schema with status, totalSteps, maxSteps, usage - Add jobId to Checkpoint, RunSetting, and all Event types - Change delegateTo to array to support parallel delegation - Update runtime and skill managers to propagate jobId - Update all tests for new schema structure
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This was referenced Dec 9, 2025
668acd5 to
faa9024
Compare
dfe5124 to
d2cf500
Compare
9 tasks
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the Job concept as a parent container for Runs, enabling future parallel delegation support.
Jobschema andjobIdtoCheckpoint,RunSetting, andEventtypesperstack/runs/{runId}/toperstack/jobs/{jobId}/runs/{runId}/--job-id,--continue-job(replacing--continue-run)Test plan
pnpm typecheckpassespnpm testpasses (357 tests)pnpm test:e2epasses (37 tests)pnpm buildpassesCloses #76
Note
Introduce Job as a parent for Runs, propagate jobId across schemas/events, switch storage to jobs/{jobId}/runs/{runId}, and update CLI, runtime, TUI, and tests accordingly.
Jobschema andjobStatusSchemainschemas/job.ts.jobIdtoCheckpoint,RunSetting,RunEvent, andRuntimeEvent; support paralleldelegateTovia array inCheckpoint.jobId,continueJob, andresumeFrom.jobId;createRuntimeEventsignature updated.perstack/jobs/{jobId}/runs/{runId}/(update default store and run-setting store APIs).jobIdthrough run loop, skill managers, and state machines; adjust delegation logic and initialization to usejobId.--job-idand--continue-job; deprecate--continue-run.--resume-fromrequires--continueor--continue-job.startandruncommands plumbjobId; history/resume flows use job-aware helpers.RunHistoryItem,CheckpointHistoryItem,EventHistoryItem) to includejobId.run-managerrewritten to traversejobs/*/runs/*and job-scoped helpers (getMostRecentRunInJob, job-aware checkpoint/event accessors).jobId, new CLI flags, event payloads, and storage paths; add validation for--resume-fromusage.Written by Cursor Bugbot for commit d2cf500. This will update automatically on new commits. Configure here.