Skip to content

fix: project open operation id to lanes - #7654

Merged
cristinaponcela merged 5 commits into
earendil-works:mainfrom
cristinaponcela:fix/project-open-operation-to-lanes
Aug 5, 2026
Merged

fix: project open operation id to lanes#7654
cristinaponcela merged 5 commits into
earendil-works:mainfrom
cristinaponcela:fix/project-open-operation-to-lanes

Conversation

@cristinaponcela

Copy link
Copy Markdown
Collaborator

This PR adds a lane-level open_operation_id projection so storage can enforce at most one open operation per lane when appending operation_started. findOpenOperations() now reads through that projection instead of deriving open state via a start/finish anti-join, while the append-only record log remains the durable history. Updates memory, JSONL, SQLite, conformance tests, and harness-v2 docs accordingly.

@cristinaponcela
cristinaponcela marked this pull request as ready for review August 5, 2026 09:58
Comment thread packages/session-backends/sqlite-node/src/sqlite/migrations/001_initial.sql Outdated
Comment thread packages/agent/src/harness/session/memory.ts Outdated
Comment thread packages/session-backends/sqlite-node/src/sqlite/migrations/001_initial.sql Outdated
Comment thread packages/session-backends/sqlite-node/src/sqlite/storage/records.ts Outdated
Comment thread packages/session-backends/sqlite-node/test/migrations.test.ts Outdated
@cristinaponcela
cristinaponcela force-pushed the fix/project-open-operation-to-lanes branch from d048927 to 45f1f22 Compare August 5, 2026 11:23
…eration-to-lanes

# Conflicts:
#	packages/agent/docs/harness-v2.md
#	packages/agent/src/harness/session/jsonl.ts
@cristinaponcela
cristinaponcela merged commit 2f550d8 into earendil-works:main Aug 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants