19 Commits
Author SHA1 Message Date
BillyOutlast c9cabf12e0 ci(ocr): point review job at org reusable workflow (pinned)
Fix 'failed to fetch workflow' parse error: ocr.yml referenced a local reusable workflow path (./.github/workflows/ocr-review.yml) that does not exist in this repo. Point at Heretek-AI/.github org reusable workflow pinned to main HEAD (a440b485).
2026-10-19 16:35:10 -04:00
BillyOutlast 1d8557a4ec ci: add reusable OpenCodeReview PR workflow 2026-10-19 15:49:24 -04:00
John Smith a3db73c19a Audit Prompt 2026-10-17 01:55:54 -04:00
BillyOutlast cc3a3b511c Merge pull request #2 from Heretek-AI/claude/project-thread-0qux1u
Clear the CodeQL and SonarCloud security findings left from #1
2026-10-16 17:43:18 -04:00
Claude 241ff08662 Clear CodeQL and Sonar security findings from the broker PR
The gateway URL's trailing slashes were stripped with /\/+$/, which CodeQL
flags as polynomial on a URL of many slashes; a plain loop replaces it.
CI now pins setup-bun to a commit and installs with --ignore-scripts, and
run-all.sh uses [[ ]].

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4
2026-10-16 19:28:37 +00:00
BillyOutlast 27b63716f9 Merge pull request #1 from Heretek-AI/claude/project-thread-0qux1u
Serve the lazy broker over MCP and reach backends through agentgateway
2026-10-16 12:21:16 -04:00
Claude a529310c39 fix(accept): run every wave script in order; add CI; update README
- make accept / bun run accept now run scripts/accept/run-all.sh, which
  runs wave-1..N in numeric order and stops at the first failure (the old
  'bash scripts/accept/wave-*.sh' only ran wave-1.sh).
- wave-3 accept checks the new config shape, the bin, and spawns the
  broker to verify the stdio handshake.
- CI: bun 1.4.2, bun install, make check, make accept on PRs and main.
- README documents the gateway contract (targets, routes, naming), broker
  env vars, library use of the prefix assembler, and the spec deviation.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4
2026-10-16 15:00:13 +00:00
Claude 1ab0bd4c44 fix(configs): register only a real broker server via a package bin
- opencode.base.json uses the OpenCode v2 native mcp.servers shape and
  launches the heretek-lazy-broker bin, so it works from any cwd.
- Drop the context-mode entry: the prefix assembler is a library, not an
  MCP server.
- Delete configs/agentgateway.yaml: it was not valid for agentgateway
  v1.6.0 and targeted unused ports; heretek-devcontainers
  compose/agentgateway.yaml is canonical. Role authorization stays enforced
  in the broker.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4
2026-10-16 15:00:12 +00:00
Claude 59a3eaff2f feat(lazy-broker): stdio MCP server, Streamable HTTP gateway transport, live discovery
- meta-router-mcp.ts now serves newline-delimited JSON-RPC 2.0 over stdio
  when run as main (initialize with protocol negotiation, ping, tools/list
  with only the 3 meta-tools, tools/call, standard error codes).
- New Streamable HTTP MCP client (JSON and SSE replies, Mcp-Session-Id,
  one initialize per backend, re-init on expired session) wired for every
  backend through agentgateway (HERETEK_GATEWAY_URL, /mcp/<target> routes
  or one multiplexed /mcp route). Role check and circuit breaker stay in
  front of every call.
- Catalog discovery: each backend's tools/list replaces its offline seed
  entries in the BM25 catalog (startup, TTL refresh, refreshCatalog()).
- Catalog names follow agentgateway's multiplex convention <target>_<tool>.
- Tests: spawned stdio server, fake MCP HTTP gateway (JSON + SSE, sessions,
  breaker), discovery replace/keep semantics.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_012AuVk4nEvBXaTjs4G6wdW4
2026-10-16 15:00:12 +00:00
John Smith 9899771a0c test(wave-3): QA + Drift Guard PASS 2026-10-15 21:38:08 -04:00
John Smith 1f53b87070 feat(wave-3): skill lockfile verifier, configs, entrypoint 2026-10-15 21:33:55 -04:00
John Smith 0d17a7c679 test(wave-2): Drift Guard VERDICT PASS 2026-10-15 21:29:30 -04:00
John Smith 3d0c29b80d test(wave-2): QA red-proof evidence 2026-10-15 21:29:28 -04:00
John Smith d28a3707a0 feat(wave-2): lazy meta-tool discovery broker 2026-10-15 21:26:19 -04:00
John Smith 6288e7b83e test(wave-1): Drift Guard VERDICT PASS 2026-10-15 21:20:58 -04:00
John Smith e406a7fb71 test(wave-1): QA red-proof evidence 2026-10-15 17:53:37 -04:00
John Smith 0a4362aa7f feat(wave-1): 4-layer prefix assembler, 6 roles, typed handoffs 2026-10-15 17:51:28 -04:00
John Smith 688e278d80 chore: Step 0 bootstrap scaffolding (AGENTS, SPEC, verify-stage, Makefile, package, tsconfig) 2026-10-15 17:45:36 -04:00
John Smith bb52504e29 chore: add MASTER_BUILD_PROMPT.md master spec 2026-10-15 17:43:43 -04:00