Commit Graph
34 Commits
Author SHA1 Message Date
ari db345fb0f8 D: fix test names in the round-1 log 2026-10-19 23:10:15 -04:00
ari c0e76607f6 D: reuse the shared proxy bounds and status table in MCP peers
The peer follow stream had no byte cap and kept a whole unterminated
frame in memory, and the MCP surface carried its own peer status table
that already disagreed with REST for peer 400.

- mcp::peers::fetch now returns proxy::PreparedResponse, so the status
  comes from proxy::classify_status and the body from
  proxy::prepare_response (peer byte cap, deadline, shutdown), the same
  two steps REST uses. status_error, body_bytes and the local 2xx check
  are gone.
- tail_journal consumes that prepared stream; a Frames cursor keeps a
  partial frame from being rescanned from byte 0 on every chunk, the
  entry cap truncates the result, and the end of the stream maps to the
  note (entry cap, shutdown, byte cap, deadline or close).
- Prompts resolve the peer argument against the registry (unknown or
  disabled peer is refused); list_peers returns the error registry()
  produced; one wording for an unknown peer name.
- Tests: byte cap on an unterminated frame, entry cap, buffered body,
  follow 404/500, deadline with an open stream, shutdown, frame cursor,
  REST/MCP parity for peer 400/404/401/5xx, and a full golden snapshot of
  the peers-off tool table. Peer scripts use the stripped path form C2
  forwards.
2026-10-19 23:09:45 -04:00
ari e2c553dbe4 D: share tool-name fixture and dedupe MCP peer tests 2026-10-19 22:59:49 -04:00
ari d1bec4a3d8 D: handoff for D1-D3 2026-10-19 22:59:49 -04:00
ariandClaude Sonnet 5.5 95fac95389 T: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:57:56 -04:00
ari 4d7d7defe6 T: a dispatch error raises, so a module-mode session survives a typo 2026-10-19 22:37:08 -04:00
ari e736c12a0e T: log review round 2 (module-mode exit, filter-cache root, handoffs) 2026-10-19 22:37:08 -04:00
ari b476ac2b0c T: rename runner to dev-test 2026-10-19 22:37:08 -04:00
ari 6dade6239d T: review round 1 fix runner argv, filter cache, and the test builtin 2026-10-19 22:37:08 -04:00
ari 40cf1073f4 T: T7 nushell test runner, devenv test script, command lists, docs testing section 2026-10-19 22:37:08 -04:00
ariandClaude Sonnet 5.5 396c382046 C: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:37:03 -04:00
ari 8b7569363c C: review round 2 proxy query unit rule and shared status classifier
Proxied journal/unit values now use the local unit-name helper instead of a
second, stricter check, so escaped units pass through as text, %5C or %5c.
The peer status table is one function shared with the transport, and the
segment/encoding cases left untested get allowlist and rejection cases.
2026-10-19 22:35:51 -04:00
ari da2e8d7be2 C: record review round 1 responses and handoff for WS-D 2026-10-19 22:35:51 -04:00
ari 9be74b9dd8 C: record C1-C4 completion and handoff in the workstream log 2026-10-19 22:35:51 -04:00
ariandClaude Sonnet 5.5 b1338fdc36 A: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 22:32:35 -04:00
ari 0ade90523c A: note the one serve() line the token check needs in the WS-A log 2026-10-19 22:31:29 -04:00
ari 47868aa402 A: record the review round 2 responses in the WS-A and WS-B logs 2026-10-19 22:31:29 -04:00
ari d3bef6bd94 A: share tracing capture and peer config fixtures in tests (gate round 1) 2026-10-19 22:31:29 -04:00
ari 6bff60c210 A: record A1-A4 completion and handoff in the workstream log 2026-10-19 22:31:29 -04:00
ariandClaude Sonnet 5.5 12c3a40708 E: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:59:09 -04:00
ari 7fe498ed66 E: record E1 and E2 results, seams and handoff in the workstream log 2026-10-19 20:57:52 -04:00
ariandClaude Sonnet 5.5 f0b6c29eac B: mark merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:55:58 -04:00
ari df5b55ecf9 B: record the round 1 review responses in the workstream log 2026-10-19 20:55:25 -04:00
ari 9d6fbd3288 B: B4 empty the peer snapshot when a reload disables the feature 2026-10-19 20:55:25 -04:00
ari 734a6ed541 B: record B2-B5 outcomes and handoff in the workstream log 2026-10-19 20:55:25 -04:00
ari bd5b21bcc4 B: B1 real reqwest peer client with caps, timeouts and ring TLS 2026-10-19 20:55:25 -04:00
ariandClaude Sonnet 5.5 274e3919ba A0: mark contract stubs merged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 20:02:42 -04:00
ari 0dbaf58c8c A0: review round 1 peer entry defaults and class strings 2026-10-19 20:02:17 -04:00
ari 4bfb097be6 A0: contract stubs types, transport, fake and registry seams
Land the shared peer contracts: types, error mapping, transport trait,
fake transport and fixtures, registry/proxy/health skeletons, the
AppState.peers and Config.peers seams, the ping and peers route stubs,
and unit plus integration tests. No loops, no network, feature off by
default.
2026-10-19 20:02:17 -04:00
ariandClaude Sonnet 5.5 746b389a2b D0: record spike status
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 19:31:08 -04:00
ari a363135694 D0: rmcp conditional-tools spike handoff 2026-10-19 19:30:54 -04:00
ari d2d6e7c872 D0: rmcp conditional-tools spike findings and recommendation 2026-10-19 19:30:54 -04:00
ariandClaude Sonnet 5.5 d04d99a9a6 Accept Phase 5 plan, add phase-loop skill
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019dpKwZWtahQU4V2NhpVmLt
2026-10-19 17:36:54 -04:00
ari 782e5dc440 next phase 2026-10-19 16:43:35 -04:00