Skip to content

Clarify active shell work in Hivemind#48

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/hivemind-shell-task-intent-2026-04-24-17-38
Apr 24, 2026
Merged

Clarify active shell work in Hivemind#48
NagyVikt merged 1 commit intomainfrom
agent/codex/hivemind-shell-task-intent-2026-04-24-17-38

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Active sessions were overwriting the original prompt with generic PostToolUse labels, so Hivemind could only report Tool: Bash for live shell work. The hook now keeps the user-prompt task name while storing a redacted command or path detail in latestTaskPreview.

Constraint: Hivemind state is shared across agents, so shell previews redact obvious secret env assignments and secret-like flags
Rejected: Parse shell commands into semantic tasks | too brittle for arbitrary Bash input
Confidence: high
Scope-risk: narrow
Tested: pnpm --filter @colony/hooks test; pnpm --filter @colony/hooks typecheck; pnpm --filter @colony/hooks build; pnpm exec biome check packages/hooks/src/active-session.ts packages/hooks/test/runner.test.ts; git diff --check
Not-tested: live Claude Code hook event payload outside local regression fixture
@NagyVikt NagyVikt merged commit db3ce4d into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/hivemind-shell-task-intent-2026-04-24-17-38 branch April 24, 2026 15:42
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