Commit Graph
154 Commits
Author SHA1 Message Date
haelyra 31ea57db4f Merge remote-tracking branch 'origin/pr-3906' into stewardship/20261116
# Conflicts:
#	ecc2/src/session/store.rs
2026-11-16 13:37:58 -05:00
haelyra 8fc7f570f8 Merge remote-tracking branch 'origin/pr-3904' into stewardship/20261116 2026-11-16 13:37:45 -05:00
Harry Chen 2b9c43b008 fix(ecc2): keep manual inbox recovery and exact auto target checks [skip ci] 2026-11-11 12:54:00 +08:00
Harry Chen e7d6d08155 fix(ecc2): guard live handoff selection against orphan and terminal races [skip ci] 2026-11-11 10:14:53 +08:00
Harry Chen d102c6af5d fix(ecc2): make session-board refresh atomic to avoid per-row fsync [skip ci] 2026-11-11 09:34:13 +08:00
Harry Chen b4a4b582d5 fix(ecc2): avoid full session-board rewrite on consistent CLI reopen [skip ci] 2026-11-11 08:35:30 +08:00
Harry Chen ecfbe7c0cb style(ecc2): keep dispatch filter rustfmt-aligned [skip ci] 2026-11-10 19:35:59 +08:00
Harry Chen f399c2b480 fix(ecc2): require started native recipient for automatic handoff [skip ci] 2026-11-10 19:20:14 +08:00
Harry Chen 34e2380e33 fix(ecc2): exclude terminal session inboxes from native auto-dispatch [skip ci] 2026-11-10 19:16:50 +08:00
haelyra e55b9c1346 fix(ecc2): preserve persisted tool event ownership on replay
Reject a feed row whose hook event ID already belongs to another session before reserving in-memory deduplication. Reuse one parameterized indexed lookup rather than loading historical logs. Register the previously unknown session against the unchanged same-ID fixture and verify metrics remain consistent with persisted ownership.
2026-10-29 17:25:41 -07:00
haelyra 0509bd04fb fix(ecc2): integrate registered-session activity filtering (#3755)
Preserve harryert source ancestry and skip external session events before deduplication. Strengthen same-ID ordering, late-registration and repeat-sync coverage. Isolate the affected dashboard selection fixture from shared user metrics.
2026-10-29 17:03:16 -07:00
haelyra 6d7d4920c8 fix: close final integration security and portability gaps 2026-10-29 12:57:39 -07:00
haelyra 299cde9d95 maint: integrate reviewed contribution #3774 2026-10-29 11:34:55 -07:00
haelyra 2d9b503e9a maint: integrate reviewed contribution #3798 2026-10-29 11:34:50 -07:00
haelyra 9a39053236 maint: integrate reviewed contribution #3796 2026-10-29 11:34:44 -07:00
haelyra ec06db418d maint: integrate reviewed contribution #3795 2026-10-29 11:34:40 -07:00
haelyra 754d7ad579 maint: integrate reviewed contribution #3773 2026-10-29 11:34:29 -07:00
Harry c5be66c96b test(ecc2): preserve nonempty schedule run timestamp on task update 2026-10-29 22:37:05 +08:00
Harry b890f2915d feat(ecc2): update native schedule instructions in place 2026-10-29 22:22:25 +08:00
Harry 86c4e1bbf4 fix(ecc2): honor configured worker profile during native inbox dispatch 2026-10-29 18:39:57 +08:00
Harry ad51be7515 test(ecc2): reject ambiguous relative Lead directory for assignment 2026-10-29 18:12:31 +08:00
Harry 098c2350ba fix(ecc2): resolve native assignment directory from parent lead 2026-10-29 17:28:52 +08:00
Harry bbbf060ebc fix(ecc2): retain assignment provenance for safe independent dispatch 2026-10-29 16:42:32 +08:00
Harry 77209f81dd test(ecc2): serialize template cwd with shared guard 2026-10-29 14:05:59 +08:00
Harry 7af7a18bd5 test(ecc2): prevent template handoff redispatch after real launch 2026-10-29 06:48:53 +08:00
Harry 613d58e701 fix(ecc2): exclude template and started assignment notices from rerouting 2026-10-29 06:42:39 +08:00
Harry 9b27576ee7 fix(ecc2): preserve assigned work in load and rebalance 2026-10-28 13:29:01 +08:00
Shubham Padkonde bb32cb389b fix(ecc2): delimit Claude tasks after variadic options 2026-10-28 10:35:39 +05:30
Harry ec7ff61d4d test(ecc2): cover long native delegation sender IDs 2026-10-28 12:57:21 +08:00
Harry d3bc76e61e fix(ecc2): honor configured worktree policy in daemon dispatch 2026-10-28 12:49:48 +08:00
Harry b0a4551adf fix(ecc2): exclude native delegation notices from auto-dispatch 2026-10-28 12:44:09 +08:00
harryert 54e66695b1 fix(ecc2): prevent recursive auto-dispatch of assignment handoffs 2026-10-28 11:25:18 +08:00
Harry 018bc4d7cb fix(ecc2): ignore tool events from unregistered sessions 2026-10-27 14:14:38 +08:00
haelyra 5981dd7092 fix: complete reviewed integration workflows and safety checks 2026-10-09 18:54:39 -04:00
wellkilo 8cd852136f fix(ecc2): bound output cursor recovery
Page dashboard deltas, preserve incremental refreshes, isolate reused session IDs by creation time, and use ownership-based cache updates. Add cross-process, lifecycle, and retry coverage for the reviewed edge cases.
2026-09-11 01:03:17 +08:00
wellkilo daadb57963 perf(ecc2): stream dashboard output with a DB cursor
Hydrate bounded session output snapshots at startup and recovery, then fetch only rows newer than the monotonic SQLite cursor during steady-state dashboard refreshes.

Preserve cross-process visibility and bounded per-session caches, recover safely from transient database failures, and cover lifecycle, retry, and real child-process writes.
2026-09-11 00:20:27 +08:00
Affaan Mustafa 623f2c020f Add bounded harness evaluation and rollback loop (#2686)
* feat(ecc2): add bounded harness evaluation loop

* fix(ecc2): preserve harness evidence and legacy IDs
2026-08-05 18:17:10 -04:00
mohameddsh3ban 0ce14a423c fix(ecc2): resolve kill_process duplicate definition on Windows (#2195)
On Windows both cfg(windows) and cfg(not(unix)) evaluate true, so the sync taskkill kill_process and the async taskkill kill_process both compiled in and collided (E0428). Call sites are synchronous and never await it (passed as a fn pointer to enforce_session_heartbeats_with, and called as kill_process(pid)? in stop_session_recorded), so remove the stray async cfg(not(unix)) definition. The sync cfg(windows) version already handles termination via taskkill /T /F.
2026-06-15 13:48:42 -04:00
dependabot[bot]andAffaan Mustafa fec84fcf19 chore(deps): bump rusqlite from 0.32.1 to 0.40.1 in /ecc2 (#2211)
* chore(deps): bump rusqlite from 0.32.1 to 0.40.1 in /ecc2

Bumps [rusqlite](https://github.com/rusqlite/rusqlite) from 0.32.1 to 0.40.1.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.32.1...v0.40.1)

---
updated-dependencies:
- dependency-name: rusqlite
  dependency-version: 0.40.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(ecc2): cast u64 columns at sqlite boundary for rusqlite 0.40

rusqlite 0.40 removed the u64 ToSql/FromSql impls (SQLite stores
INTEGER as i64). Cast token counts, durations, counts, and paging
values to/from i64 at each bind/read site in session/store.rs.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Affaan Mustafa <me@affaanmustafa.com>
2026-06-11 01:41:43 -04:00
Affaan Mustafa 6626e804f9 chore: pin rust toolchain to 1.96 for edition2024 deps (#2228)
- add ecc2/rust-toolchain.toml pinning stable 1.96 (deps now require
  edition2024, which needs rustc 1.85+; local 1.84 could no longer build)
- make git test fixtures hermetic: disable core.hooksPath inside temp
  repos so global identity-checking pre-push hooks cannot fail tests
2026-06-11 00:56:55 -04:00
Affaan Mustafa 6ab00d8ef1 fix: route backlog work from lead working dirs 2026-05-11 17:24:13 -04:00
Affaan Mustafa 7992f8fcb8 feat: integrate ecc2 board observability prototype 2026-04-18 01:37:44 -04:00
Affaan Mustafa fc5921a521 fix: detach ecc2 background session runners (#1387)
* fix: detach ecc2 background session runners

* fix: stabilize windows ci portability

* fix: persist detached runner startup stderr

* fix: prefer repo-relative hook file paths

* fix: make npm pack test shell-safe on windows
2026-04-12 22:29:05 -07:00
Affaan Mustafa feee17ad02 feat: extend ecc2 harness marker coverage 2026-04-10 10:39:21 -07:00
Affaan Mustafa 7b7ec434df feat: add ecc2 package manager harness env 2026-04-10 10:33:07 -07:00
Affaan Mustafa 176efb7623 feat: add ecc2 harness compatibility env 2026-04-10 10:24:33 -07:00
Affaan Mustafa b51792fe0e feat: auto-resolve ecc2 harnesses from repo markers 2026-04-10 10:12:35 -07:00
Affaan Mustafa 03e52f49e8 feat: normalize ecc2 profiles across harnesses 2026-04-10 09:49:05 -07:00
Affaan Mustafa 30913b2cc4 feat: add ecc2 computer use remote dispatch 2026-04-10 09:40:01 -07:00
Affaan Mustafa 7809518612 feat: add ecc2 remote dispatch intake 2026-04-10 09:21:30 -07:00