Commit graph verae-mcp-timestamping-server/src
Author SHA1 Message Date
Cursor Agent
394c46ebfc
Send global stamps as a verae-meta-git/1 history.
Optional metadata or restamp builds the same commit history as node-red. A call that omits both stays digest-only with restamp false. Local and shared stamps reject metadata.
2026-10-11 05:37:25 +00:00
1ca834900e feat: site WIP — downloads, explorer, hasher, TestFlight enroll
Commit restored mcp.verae.ai site pages (app, register, macos, windows,
explorer), hasher/download artifacts, index/sample/hasher updates, ledger
and global_client improvements, NATS stamp helper, and TestFlight enroll
service. Ignore debug-trace/ and editor backups. Standard Readme for
download and enroll docs.
2026-09-29 11:18:59 -04:00
c3e0cd3abb feat: add setup, browser login, and an install homepage
setup registers or logs in and writes ~/.verae/auth.properties
without printing the JWT. A caller bearer is used for stamp and
verify instead of the host login. VERAE_MCP_OAUTH=1 serves the
browser account page. site/index.html is the public install guide.
2026-09-23 12:04:15 -04:00
b89c4ad4d2 fix: wait out processing until the certificate exists
A global stamp now polls status processing the same way as pending
and returns only the completed result. The debug trace for
Verae-Debug-Test records one receipt id.
2026-09-23 11:37:13 -04:00
c547804835 feat: add signup, login, session, and create_user
signup calls POST /auth/signup and leaves the stored JWT in place.
login writes the VeraeTime token to the auth properties file and
does not return it. A stored username and password refresh that
token when expires_at is missing or within five minutes.
create_user still requires an admin session.
2026-09-23 11:15:11 -04:00
326d90a9db fix: reject content/bytes on MCP tools
Harden stamp/verify/hash_report so unknown and content-shaped args fail
instead of being ignored; publish additionalProperties=false and cover
with schema/runtime tests. Also keep streamable-http host allowlist.
2026-09-22 11:11:26 -04:00
840755c84a docs: HTML and PDF set plus optional CORS
WhatToChange: recommended-changes/2026-09-21-docs-and-cors/
  What-to-Change.md
  What-to-Change-To.md
  How-to-implement-the-changes.md

What was actually done:
- Markdown, HTML, and PDF for standards, architecture, API, and the operator guide.
- README points at scripts/build-docs.sh.
- VERAE_MCP_CORS=1 enables CORS and JSON responses on the Streamable HTTP app.

What was not done:
- (none)
2026-09-21 14:13:07 -04:00
60bcefbca2 fix: keep global HTTP off the event loop
WhatToChange: recommended-changes/2026-09-21-event-loop-and-ledger-perms/
  What-to-Change.md
  What-to-Change-To.md
  How-to-implement-the-changes.md

What was actually done:
- Global HTTP stamp and verify run via asyncio.to_thread.
- File ledger saves chmod 0600.
- .gitignore covers coverage, mypy, logs, and editor directories.

What was not done:
- (none)
2026-09-21 14:11:29 -04:00
f919d932f6 feat: stamp wait=true so MCP skips HTTP job polling
WhatToChange: /Users/marchon/research/recommended-changes/2026-09-20-forgejo-ci-138
  What-to-Change.md

What was actually done:
- GlobalClient POST includes wait:true

What was not done:
- MCP NATS subscriber (HTTP wait is enough for the client)
2026-09-20 13:16:22 -04:00
a1cd93e2ce feat: send digest and honor existing CID on global stamp 2026-09-20 11:09:22 -04:00
cb2bbcad03 fix: stop caching global receipts; log 20 live stamps
transaction-log-test.md records each HTTP pair (redacted Authorization)
and internal function timings. Live API issued a new CID every time.
2026-09-20 10:30:40 -04:00
b1219c64bc fix: post data+SHA256 to VeraeTime and poll job for CID certificate
Live /api/timestamp rejects {hash,sync}; it wants {data,hashAlg:SHA256}
and returns a job whose result is a multihash certificate.
2026-09-20 10:18:24 -04:00
0714fff7fa fix: stop shadowing json module in GlobalClient HTTP helper
Live VeraeTime token is stored in ~/.verae/auth.properties (not committed).
2026-09-20 10:13:09 -04:00
107fa785b0 feat: route scope=global stamp/verify to api.veraetime.net
Evercycle-style local facade: GlobalClient posts /api/timestamp and
/api/verify with Bearer from VERAE_GLOBAL_TOKEN or ~/.verae/auth.properties.
2026-09-20 10:07:41 -04:00
77872a720c feat: persist local receipts so /verify works across sessions
FileLedger writes ~/.verae/mcp-timestamp-local.json; hash_report looks up by SHA-256.
2026-09-20 09:56:11 -04:00
e526bbf297 feat: serve stamp tools over Streamable HTTP
/mcp on 127.0.0.1:8000 when VERAE_MCP_TRANSPORT=streamable-http.
2026-09-20 03:10:15 -04:00
9e3dfb6fb2 feat: hash-only stamp, verify, and hash_report MCP tools
Memory ledger for stdio tests; NatsLedger speaks locald subjects.
2026-09-20 02:59:00 -04:00