Agent-agnostic review loop: upload_pdf, external_ref, MCP subscriptions and webhooks #109
Loading…
Reference in a new issue
No description provided.
Delete branch "feat-104-agent-loop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed
PR #109 meets #104's done-when: an agent uploads its own plan PDF tagged plan-xyz@v1 and learns it was reviewed by poll, signed webhook or MCP subscription, with external_ref on each change. The red-then-green test (C13), CI and 1611 local tests (C14) pass, and the URL guard was tried against real TLS hosts.
Fixes #104
Red, then green
bash -c 'source ~/.rmenv && eval "$(mise activate bash --shims)" && mix test test/rm_analyzer/agent_loop_test.exs'09e0b2e): exit 13f6f010): exit 0Checks
bash -c 's=$(curl -s -H "Authorization: token $FORGEJO_TOKEN" https://git.knope.dev/api/v1/repos/jfro/rm-analyzer/commits/$(git rev-parse HEAD)/status | jq -r .state); echo "CI: $s"; [ "$s" = success ]', exit 0bash -c 'source ~/.rmenv && eval "$(mise activate bash --shims)" && mix test test/rm_analyzer/agent_loop_test.exs', exit 0Shipping it
Prover
Passed (Sonnet): Reviewed the diff and SafeUrl's address filtering and pinning; the loop test and the full suite (1611 tests) pass here, and the shipping answers hold. Not tried: real tablet, live MCP clients, SSE behind the production proxy.
Every command above was run by Fortysix's Basecamp itself, on the branch named.
Screenshots (example data: a key named "Planner agent" with a webhook to https://example.com/hooks/rm-analyzer; the secret shown is from a throwaway dev DB).
desktop-error
desktop-secret
desktop-row
mobile-secret
mobile-row