Skip to content

Keep Colony sessions visible after missed startup hooks#21

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-colony-session-cwd-registration-2026-04-24-01-54
Apr 24, 2026
Merged

Keep Colony sessions visible after missed startup hooks#21
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-colony-session-cwd-registration-2026-04-24-01-54

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Codex can resume with only downstream hook payloads, leaving sessions as cwd:null and invisible to task binding. This records cwd and IDE from hook input, materializes missing sessions before non-start hooks, mirrors active session files, and keeps test temp names Colony-branded while preserving the published cavemem package surface.

Constraint: Published npm package names and import scopes remain cavemem for this release.

Rejected: Rename @cavemem packages to @Colony | outside requested cleanup and would break the public package surface.

Confidence: high

Scope-risk: moderate

Directive: Do not remove downstream hook materialization without testing Codex resumes where SessionStart did not fire.

Tested: pnpm --filter @cavemem/hooks test (31 passed)

Tested: pnpm --filter @cavemem/storage test (31 passed)

Tested: pnpm --filter cavemem test (4 passed)

Tested: pnpm --filter @cavemem/mcp-server test (14 passed)

Tested: pnpm --filter @cavemem/core test (44 passed)

Tested: pnpm --filter @cavemem/installers test (12 passed)

Tested: pnpm --filter @cavemem/worker test (13 passed)

Tested: hooks/storage/CLI/MCP typechecks passed

Tested: touched-file biome check passed

Tested: git diff --check passed

Not-tested: Live IDE hook execution outside the unit integration harness
@NagyVikt NagyVikt merged commit f1d036a into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-colony-session-cwd-registration-2026-04-24-01-54 branch April 24, 2026 00:08
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.

1 participant