Skip to content

feat(cli): add Codex entity recall hook and installer - #75

Merged
orga-agent[bot] merged 3 commits into
mainfrom
entity-recall-hook
Sep 10, 2026
Merged

orga-agent[bot] merged 3 commits into
mainfrom
entity-recall-hook

Conversation

@orga-agent

@orga-agent orga-agent Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Codex can now recall existing FlickNote notes automatically on each UserPromptSubmit. The read-only note_recall MCP tool matches extracted entity names in the current prompt, returns up to five active-note candidates ordered by modification time, and supplies bounded context with numeric IDs for further reading. It uses the daemon boundary, has a one-second timeout, and does not read note bodies or write notes.

Adds flicknote hook install codex with an interactive project/global choice and --local / --global flags. Installation preserves existing configuration, follows user/project MCP field inheritance and tool availability, avoids duplicate hooks, and leaves service lifecycle and hook trust to the operator. README and agent guidance are included. The daemon IPC protocol advances to v5.

Validation: workspace all-target/all-feature tests, check and clippy; build; formatting; cargo deny; focused installer/backend/MCP contract regressions. An isolated Codex 0.153.4 smoke test confirmed the hook context reaches the first model request through MCP. An actual temporary PowerSync fixture with 1,024 notes and 1,024 extractions returned five candidates in one ~10.8 ms observation using existing indexes; no new indexes or production-performance claim. No live configuration, notes, credentials or services were used in tests, and no deployment was performed.

@orga-agent
orga-agent Bot merged commit 8b78481 into main Sep 10, 2026
9 checks passed
@orga-agent
orga-agent Bot deleted the entity-recall-hook branch September 10, 2026 07:28
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