feat(carve S1): foundation contracts for the orchestration arc (additive, dormant)#647
Draft
isadeks wants to merge 1 commit into
Draft
feat(carve S1): foundation contracts for the orchestration arc (additive, dormant)#647isadeks wants to merge 1 commit into
isadeks wants to merge 1 commit into
Conversation
…ive, dormant) Slice 1 of the linear-vercel→main carve. Purely additive shared-contract changes that every later orchestration slice references — nothing here is wired or activated, so behavior on main is unchanged. - types.ts: additive optional TaskRecord fields the orchestration/Mode-B/A6 arc reads (orchestration_id, parent_task_id, depends_on, linear_issue_id, code_changed, head_sha, screenshot_url, answer_text, …). All optional → back-compatible. - validation.ts: attachment MIME maps + size constants. Deliberately keeps the max-turns default at main's value (the arc's bump to a higher default is a live behavioral change and belongs in its own PR, not this dormant slice). - workflows.ts: register the read-only planning + restack workflow definitions + the readOnly flag on the workflow type. Registry metadata only — the workflow definitions + planners land in later slices, unused until then. - repo-config.ts: additive optional build_command / lint_command on the repo + blueprint config (per-repo build/lint verification commands the agent runs before opening a PR; default to the platform commands when unset). Gates: cdk compile + eslint + full jest green. No new imports, no runtime wiring, no behavioral change.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #647 +/- ##
=======================================
Coverage ? 90.08%
=======================================
Files ? 241
Lines ? 58995
Branches ? 6049
=======================================
Hits ? 53147
Misses ? 5848
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Slice 1 of a staged carve — foundation contracts
First slice landing the Linear sub-issue orchestration + Mode-B + iteration arc (developed on the
linear-vercelline) ontomain, in dependency-ordered, independently-reviewable pieces. This slice is purely additive shared-contract changes that later slices reference — nothing is wired or activated, so behavior onmainis unchanged.Contents
types.ts— additive optionalTaskRecordfields the arc reads (orchestration_id,parent_task_id,depends_on,linear_issue_id,code_changed,head_sha,screenshot_url,answer_text, …). All optional → back-compatible.validation.ts— attachment MIME maps + size constants. (Deliberately keeps the max-turns default unchanged; the arc's bump to a higher default is a live behavioral change that will come as its own PR.)workflows.ts— register the read-only planning + restack workflow definitions + thereadOnlyflag on the workflow type. Registry metadata only; the workflow definitions + planners land in later slices, unused until then.repo-config.ts— additive optionalbuild_command/lint_commandon the repo/blueprint config (per-repo build/lint verification commands; default to the platform commands when unset).Combination safety
Part of a staged sequence; every later slice is built + verified so that the union of all slices reproduces the deploy-verified
linear-verceltree. This slice's files are byte-identical to that source (comments aside).Gates
cdk compile + eslint + full jest (135 suites / 2509 tests) green.
🤖 Generated with Claude Code