Repository navigation
Slice 1: Job-as-product (JobTask, keyed run, observer, delegation) - #261
Open
christopherkarani wants to merge 5 commits into
Open
christopherkarani wants to merge 5 commits into
christopherkarani wants to merge 5 commits into
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Resolve api-catalog.md header counts: 2434 (base) + 18 (job) + 23 (inspect) = 2475 symbols; file count refreshed by script.
This branch has not been deployed
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: Job-as-product
JobTask(name, agent, brief, expected-output contract) andJobProduct(results keyed by task name + merged summary).Job.run(_:tasks:merge:observer:)convenience reusingWorkflow.MergeStrategyfor the summary (one internal visibility widening:mergedOutput(from:)fileprivate -> internal; semantics unchanged).AgentObserverthreaded throughJobSession.fanOut(_:observer:)into childagent.runcalls (default nil, source-compatible).Job.delegate(_:manager:assignments:merge:observer:tokenLimit:prepare:)+JobAssignment: manager drafts briefs from notes, then one fan-out.Docs (additive, own sections): source DocC, README, new
docs/guide/job-as-product.md(+ sidebar),overview.mdrow,front-facing-api.mdsubsection,api-catalog.mdrows + refreshed counts (263/270 files, 2452 symbols). Example:Examples/JobAsProduct.Test evidence
SWARM_OMIT_INTEGRATION_TARGETS=1 swift test --filter JobAsProductTests— 9/9 pass (failed before impl:cannot find 'JobTask' in scope)--filter StoreBackedComposition— 28 pass;--filter WorkflowTests— 20 pass--filter DocumentationFreshnessTests— 35 pass./scripts/ci/lean-build-test.sh— PASSswiftformat --linton 5 touched files — 0 require formattingcd Examples/JobAsProduct && swift run JobAsProduct— builds and prints keyed results + merged summaries