Commit Graph
260 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
haelyra 927e807489 Merge remote-tracking branch 'origin/pr-3902' 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 29652b8d89 Merge reviewed PR #3817 2026-11-05 23:12:33 -05:00
wellkilo ce80001771 fix(ecc2): preserve bounded Git diagnostics and avoid index refresh 2026-11-03 18:27:35 -08:00
wellkilo e51b1abe96 perf(ecc2): bound Git patch previews at the pipe
Read only the requested nonempty lines, with a byte ceiling for oversized lines. Reap Git when the preview is full and skip the working diff if the branch section exhausted the line budget.

Refs #3018
2026-11-03 18:17:12 -08:00
guishiw 35d2a23aae fix(ecc2): avoid duplicate git status refresh 2026-10-30 20:52:02 +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 0d92059410 fix: close installed workflow and review publication gaps before integration 2026-10-29 11:58:01 -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 ab9e6057df maint: integrate reviewed contribution #3792 2026-10-29 11:34:35 -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 72df50d184 test(ecc2): verify exact displayed inbox message IDs 2026-10-29 14:44:33 +08:00
haelyra c6bfc09f01 fix(ecc2): preserve unread inbox messages and expose full content 2026-10-29 14:33:24 +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
haelyra c4f419bea0 merge: refresh reviewed stewardship source 3280 on current main 2026-10-09 16:02:58 -04:00
Affaan Mustafa c05b2d6614 chore: retire the Everything Claude Code name, ECC only (#3330)
* chore: retire the Everything Claude Code name, ECC only

Replace the expanded product name and the everything-claude-code slug
with ECC across READMEs, translated docs, harness folders, skills,
commands, scripts and examples. Repo URLs now point at affaan-m/ECC.

Rename repo-internal artifacts to ecc forms (ecc-conventions skill,
ecc-guardrails, ecc-research-playbook, ecc-team-config, ecc-instincts
with ecc-* ids) and update .claude/ecc-tools.json.

Legacy install ids, plugin dirs, package names and MCP prefixes stay
where existing installs resolve against them. The codex global-state
check and harness-audit repo detection accept the new name first and
the legacy one as a fallback. The Discord bot prefers ~/GitHub/ECC and
falls back to the nested legacy checkout path.

Refresh the skill-triggers registryDigest for the changed skill text.

* fix(ecc-tools): drop managed paths to the removed Claude repo skill

.claude/skills/<repo-skill>/SKILL.md was deleted in #2770 but stayed listed in
ecc-tools.json and the team config. Remove those entries and point the Claude
Code adapter at the existing .agents/skills/ecc-conventions/SKILL.md.
2026-10-01 17:50:41 -05:00
haelyra 077d74764f test(ecc2): assert isolated config roots 2026-10-01 12:09:57 -04:00
haelyra 5ea629876e fix: reconcile stewardship batch on current main
Preserve the Bengali and MyBatis catalog additions, keep Laravel storage examples disk-consistent, isolate ECC 2 test configuration with private permissions, and verify every command-referenced runtime script is published.
2026-09-30 13:29:20 -04:00
Toni AlataloandClaude Sonnet 5.5 708d621372 fix(ecc2): also sandbox the legacy ~/.claude/ecc2.toml path under cfg(test)
Addresses review feedback on #3277: the previous commit sandboxed the
primary config path, but Config::global_config_paths() also reads the
legacy $HOME/.claude/ecc2.toml. A test that called Config::load() would
pick up (or fail on a malformed) developer-local legacy config.

Under cfg(test), legacy_global_config_path() now resolves inside the same
per-test-thread scratch root as config_path().

Proof of red (new test, before the fix):

$ cargo test legacy_config_path_under_test
    running 1 test
    test config::tests::legacy_config_path_under_test_is_sandboxed_away_from_user_home ... FAILED
    failures:
    ---- config::tests::legacy_config_path_under_test_is_sandboxed_away_from_user_home stdout ----
    tests must never read the real legacy user config, got /Users/<me>/.claude/ecc2.toml
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    failures:
        config::tests::legacy_config_path_under_test_is_sandboxed_away_from_user_home
    test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 491 filtered out; finished in 0.00s
    error: test failed, to rerun pass `--bin ecc-tui`

After the fix:

$ cargo test legacy_config_path_under_test
    test config::tests::legacy_config_path_under_test_is_sandboxed_away_from_user_home ... ok
    test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 491 filtered out

$ cargo test   # full suite
    test result: ok. 491 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out

Refs #3276

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y54kLgLGzLGqAxwLMFEc9
2026-09-30 23:08:55 +09:30
Toni AlataloandClaude Sonnet 5.5 6f141fe5a2 fix(ecc2): sandbox Config::config_path() under cfg(test)
Dashboard tests that spawn sessions reach Config::save() through
auto_split_layout_after_spawn, which wrote to the developer's real
~/Library/Application Support/ecc2/config.toml. The fixture's db_path
pointed at a deleted temp dir, so the next `cargo run` failed with
"unable to open database file".

Under cfg(test), config_root() now returns a per-test-thread scratch
directory that is removed when the thread exits, so no test can reach
the real user config.

Fixes #3276

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011Y54kLgLGzLGqAxwLMFEc9
2026-09-30 22:50:52 +09:30
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