Skip to content

trodden doctor says Codex is connected before Codex trusts the hooks #186

Open

Description

@aayank13

Codex runs a new hook only after the user trusts it (at startup or in /hooks). trodden connect codex prints that step, but trodden doctor and trodden status report Codex as connected as soon as the hooks are in hooks.json, even if Codex never runs them.

Applies to the agent support in #149.

Files:

  • crates/trodden/src/harness/codex.rs
  • crates/trodden/src/cli.rs

Fix idea: read Codex's hook trust entries in config.toml (read only) and report Trodden's hooks as installed but not yet trusted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cliThe trodden CLIbugSomething isn't workingpriority: lowFix when convenient

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions