Repository navigation
Commit 5cfba46
fix(app-server): identify MCP approval prompts
Summary:
- Auto-answer only requestUserInput questions with the MCP approval ID marker.
- Keep generic Allow/Deny option prompts blocked for operator input.
Rationale:
- Option labels alone are not a safe approval discriminator; ordinary tool
prompts can also offer an Allow choice.
- The existing Codex MCP approval question ID distinguishes the narrow prompt
shape that Symphony may continue automatically.
Tests:
- red/green generic Allow/Deny tool-input regression
- recognized MCP approval prompt regression
- mise exec -- mix test test/symphony_elixir/app_server_test.exs
- HEX_HOME=/private/tmp/symphony-hex mise exec -- make -C elixir all
Co-authored-by: Codex <codex@openai.com>1 parent 2f7b646 commit 5cfba46
2 files changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
860 | | - | |
861 | | - | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
862 | 866 | | |
863 | 867 | | |
864 | 868 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
| 835 | + | |
| 836 | + | |
836 | 837 | | |
837 | 838 | | |
838 | 839 | | |
| |||
0 commit comments