You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "me2seeks (via GitHub)" <gi...@apache.org> on 2026/08/31 08:35:52 UTC

[PR] feat(storage): add dormant SessionTodo foundation [maka]

me2seeks opened a new pull request, #4340:
URL: https://github.com/apache/maka/pull/4340

   ## Summary
   
   Add the bounded SessionTodo current-document contract and an internal SQLite authority. The first read atomically bootstraps only pending/in-progress legacy Tasks and persists initialized-empty state; an explicit whole-list replacement never reads or merges legacy state.
   
   This is intentionally dormant: it does not export or compose the Storage authority and does not change Runtime Host, tools, TUI, or Desktop. The atomic product cutover remains tracked in #4338.
   
   Refs #4338
   
   ## Verification
   
   - Core full suite: 734 passed
   - Storage focused SessionTodo, authority, workflow migration/backup, and public-entrypoint suites: 38 passed
   - Storage full suite: 1039 passed; 6 environment/baseline failures were isolated to Git discovery caused by a TMPDIR inside the worktree, two Node 26 no-git PATH cases, and the since-removed unused entrypoint. A clean external TMPDIR rerun of all affected suites passed.
   - Biome check and Core/Storage typecheck passed
   
   ## Migration
   
   Bumps the workflow schema from 10 to 11 and creates an empty workflow_session_todo_documents table. Schema 10 to 11 migration preserves legacy Task events. Non-empty and initialized-empty Todo documents both round-trip through operational backup/restore.
   
   ## AI use
   
   - [ ] No generative tool made a substantive contribution
   - [x] Generative tooling made a substantive contribution
   
   Tool(s) and scope: OpenAI Codex implemented and tested the Core/Storage foundation under human direction; the commit includes the required Generated-by trailer.
   
   ## Checklist
   
   - [x] Tests cover the change and fail without it
   - [x] Lint, format, typecheck and the affected suites pass locally
   
   Does this PR entail a change in behavior?
   
   - [x] Yes — described under Summary above
   - [ ] No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] feat(storage): add dormant SessionTodo foundation [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks commented on PR #4340:
URL: https://github.com/apache/maka/pull/4340#issuecomment-5478883383

   Confirmed and fixed at `563cdbcfca6e2e840dc78f36a2639ce090729715`.
   
   The one-time bootstrap now maps canonical legacy `blocked` Tasks to `pending` SessionTodo items, preserving the subject while intentionally omitting workflow-only `blockedReason`. Added regressions from a real `create -> in_progress -> blocked` event sequence and through the schema 10-to-11 upgrade path.
   
   Local verification: Storage 1061 passed, 10 skipped, 0 failed; focused migration/authority checks and both independent review passes are clean. Hosted `audit` and `windows_recovery` are green; `test` is still running.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org


Re: [PR] feat(storage): add dormant SessionTodo foundation [maka]

Posted by "me2seeks (via GitHub)" <gi...@apache.org>.
me2seeks merged PR #4340:
URL: https://github.com/apache/maka/pull/4340


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org