Commit graph

12 commits

Author SHA1 Message Date
e04fe6e2c4 feat: embedded NATS with VeraeTime handlers and stdio MCP
Start in-process nats-server on VERAE_NATS_LISTEN (default 127.0.0.1:4223;
empty disables). Queue-subscribe verae.ts.request|verify|hash.report with
ledger/veraetime routing and authctx.Resolve from authorization/access_token.
Publish verae.ts.completed on core NATS only (no JetStream). Wire embed into
main alongside Streamable HTTP; stdio MCP via go-sdk StdioTransport.
2026-09-29 12:11:47 -04:00
d379931bd1 feat: MCP Streamable HTTP server with full tool set
Wire go-sdk Streamable HTTP at /mcp with stamp, verify, hash_report,
signup, login, session, create_user. Route global/CID to VeraeTime and
local|shared to FileLedger; resolve Authorization bearer via authctx.
Flags/env for transport, host, port, require-bearer, URLs, ledger path.
2026-09-29 12:07:44 -04:00
793746fcd0 feat: FileLedger for local and shared scopes
JSON file ledger with Stamp/Verify/HashReport, idempotent hash+org+scope,
mutex safety, mode 0600 / parent 0700.
2026-09-29 12:01:57 -04:00
348ccd0bf2 feat: VeraeTime client, auth.properties, and host-token keeper
HTTPS GlobalClient (Stamp/Verify/HashReport/Signup/Login/Session/CreateUser)
with Fake RoundTripper tests; auth.properties read/write; Keeper refresh ~60s
before expiry or VERAE_GLOBAL_TOKEN; authctx.Resolve for require-bearer vs host fallback.
2026-09-29 11:57:40 -04:00
0a2d3177c6 feat: pkg/tsnats digests-only NATS timestamp client 2026-09-29 11:52:35 -04:00
6c20d87131 docs: embedded NATS, bearer require flag, host-token keeper
Amend design/plan: in-process NATS calling VeraeTime; MCP bearer
passthrough when present; VERAE_MCP_REQUIRE_BEARER=0 keeps a server
host token when none supplied; =1 requires caller bearer.
2026-09-29 11:49:43 -04:00
e4432fc555 feat: module scaffold and digest normalize/guard
pkg/digest (not internal/) so Task 2 pkg/tsnats can import helpers.
2026-09-29 11:43:22 -04:00
43cc0a60ae chore: ignore worktrees, superpowers, bin 2026-09-29 11:42:03 -04:00
3e16839367 docs: implementation plan for Go MCP server and pkg/tsnats
Eight TDD tasks: digest module, tsnats client, VeraeTime, FileLedger,
MCP HTTP server, NATS bridge/stdio, cutover docs, shadow unit. Spec
already includes AI MCP vs bulk NATS split.
2026-09-29 11:41:55 -04:00
7b5ae5b9aa docs: add pkg/tsnats NATS client to Go MCP design
MCP remains the AI tool surface. Importable pkg/tsnats covers Stamp,
Verify, HashReport over core NATS plus SubscribeCompleted; MCP optional
upstream reuses the same package. No JetStream for job-complete.
2026-09-29 11:40:47 -04:00
b56545044f docs: clarify httptest wording in Go MCP design 2026-09-29 11:33:57 -04:00
baa21b7529 docs: design for Go MCP timestamping server
Sibling to the Python verae-mcp-timestamping-server. Full tool parity,
FileLedger, optional NATS (no JetStream for job-complete), official
go-sdk Streamable HTTP, shadow on :8001 then cutover checklist.
2026-09-29 11:33:50 -04:00