Repository navigation
Conversation
This was referenced Nov 2, 2026
Keep Chief proposals separate from Maintainer and Owner approval. Preserve retired role context and room history without reassigning existing Tasks or inferring worker exit.
Keep exact latest Task-role native bindings and context parts, refuse unknown exit and missing handles, and use committed role catalogs when pinning execution rights. Preserve original Workflow lifecycle and legacy DAG workspace behavior.
Keep logical identity separate from artifact responsibility and SDK read-only policy. Preserve retired active claims while blocking new work until Chief selects an active target.
Preserve structured handoff identity through native delivery and restore archived context only after committed activation. Guard the actual DSH single-resource return path and keep historical implementation evidence outside the bounded active policy.
…tted SQLite snapshots
Collaborator
Author
|
Written-by: Codex 原PR推进到cca28b2a6,合成当前执行/上下文/Task。31项SQL/持久化/授权/规则检查及core lint通过;新增真实DSH+SQLite链路:Chief接纳、native角色打回后恢复同一Session/cwd、真实代码/宿主测试、持久化native.activate及退出证明、单资源无重叠。观察侧独立读取已提交数据库,模型明确为确定性替身。已加第6项运行时回归,当前组合全量尚未运行。 首次SQL探针发现旧断言误用UUID对象迭代顺序,实际两个Attempt和不同candidate均完好;现按feedback.previousAttemptId核对,不移除两次代码版本断言。规则预算失败后仅将显式历史上游mission/旧人名角色/资源清单4808字节全文归档并链接,当前治理/自动化约束原文保留,384k上限不变。 继续原接口PR组合,保持Draft,无主仓合并、部署、生产迁移或前端改动。 |
This was referenced Nov 3, 2026
Base automatically changed from
feat/2179-task-lifecycle
to
delivery/ai-centric-development-service
November 3, 2026 09:15
Collaborator
Author
zy95-12
marked this pull request as ready for review
November 3, 2026 09:15
zy95-12
merged commit Nov 3, 2026
ace65b8
into
delivery/ai-centric-development-service
2 of 6 checks passed
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.
Written-by: Codex
Latest composition at cca28b2 (merge9d3ab4e40): updated Task/execution/context/governance integrated;31 selected SQL/persistence/authority/policy tests and core lint pass. Actual DSH canonical Chief admission and native Task-role return/continuation pass against independently read committed SQLite snapshots, including persisted activation intent, exit/release proofs and single-resource serialization. Model deterministic, actual code/host tests; no provider/production migration claim. Sixth runtime regression added; current composed full verify NOT rerun. Initial probe exposed an insertion-order assumption, not lost Attempts; predecessor references now establish chronology. Full mandatory policy cap stays384k; historical upstream inventory archived verbatim, active governing/automation rules unchanged. Prior full counts below belong to older named heads. Still Draft, no independent Review/main merge/deployment.
Refs #2182. Stacked on #2226, base feat/2179-task-lifecycle/4826723ccf02b159ccdd7ca0cbbb27ebffe631d0. Head8f7dffab7c341467aa381c92436f95751ac453b2.
The original Store can opt into stateStorage: sqlite without introducing another domain model, queue, identity or dispatcher. One SQL transaction commits changed domain records, normalized history and Effects; the existing save chain acknowledges Effects only after COMMIT. Global commit-revision compare-and-set supplements the exclusive home lock. WAL/FULL/foreign-key settings are configured and verified. Routine state/query APIs do not add model calls, change goal/scope or rewrite Project documents.
Migration validates original JSON ownership/schema, retains working Task/claim/Handoff/SDK Session/Effect IDs and publishes a newer-version JSON guard before SQL initialization. Prepared imports recover from a hashed immutable source; a missing active database refuses to silently revive an old import. SQL remains authoritative when the option is later omitted; JSON is not another writable mirror. Foreign/future schema, guard mismatch, invalid source and stale takeover fail closed.
Histories become separate rows; payloads above64KiB use private immutable hashed files with individual16MiB bounds. Existing artifacts/logs/workspaces stay in their original filesystem locations. Compatibility still hydrates/scans full runtime state; this is not constant-time persistence, memory eviction or a replacement for #2177 context budgets. Unreferenced payload collection and retention are not automatic.
Private offline inspect/export/rollback tools preserve the latest committed state and paired DB/WAL/SHM archives. A prepared rollback fences runtime startup/writes and resumes only its exact migration/export/revision. Remove explicit SQLite configuration before restarting on JSON. No live migration was performed.
Validation on the committed content: full TZ=UTC npm run verify 4610 passed,0 failures,0 skips, including4 actual DSH runtime checks with deterministic inference on their existing JSON configuration. New SQL tests include actual SIGKILL before/after COMMIT, injected transaction failure, Store+Effects restart, stale writer/readonly fencing, guard/import recovery, latest-state rollback and CLI/API checks. Selected41 passed; storage modules95.49–100%lines and81.82–87.50%branches. Original Project APIs against actual SQL persist Task/intake together with zero model calls; this is not real-provider full Task development acceptance. Parent-baseline missing-SQL/Store-integration reds retained. Main986399246 versus delivery741bf1ef scope is documented.
Included: architecture/subsystem/API configuration and recovery notes, PROJECT/ROADMAP/LESSONS, changelog and generated patches. README deployment overhaul remains last in #2189. Public scoped receipts/events/history #2185 and legacy cutover #2186 remain pending; SQL alone does not repair every pre-existing domain-level acknowledgement/replay contract. Original #2171 role governance and #2184 native Session/inflight acceptance also remain open. No merge/deploy/restart, control-plane/UI edit, new worker/timer or interruption of Task40/PR48. Draft; no independent Reviewer PASS.