Skip to content

Consolidate top-level docs with this cycle's features - #8

Merged
blakebauman merged 1 commit into
mainfrom
docs/consolidation
Jun 18, 2026
Merged

Consolidate top-level docs with this cycle's features#8
blakebauman merged 1 commit into
mainfrom
docs/consolidation

Conversation

@blakebauman

Copy link
Copy Markdown
Owner

Context

A consolidation pass so README, ARCHITECTURE.md, and CLAUDE.md reflect everything shipped this cycle: central machine logs (#2), fold exec (#3/#4), structured logging + cross-service request id (#5), host failover (#6), and queue triggers (#7). Also fixes a quickstart bug that predates this cycle.

Docs only — no code changes.

What changed

  • README
    • Fixed the local quickstart: the proxy needs its own proxy-token now (post-hardening), not the legacy single system-token. Updated to read agent-token / proxy-token and pass FOLD_AGENT_TOKEN / FOLD_PROXY_TOKEN — matching scripts/dev-up.sh.
    • Added capability bullets for Triggers (cron/webhook/queue) and Operations (central logs, fold exec, structured logs + request id, host failover).
    • Refreshed the package layout (cron, logging, ratelimit, platformmode).
  • ARCHITECTURE
    • Control-plane and agent roles now mention the host monitor, trigger pollers, central log shipping, and exec.
    • New core-concept rows (triggers, host failover); a host-failover section; a trigger note under scale-to-zero; expanded platform-services section.
    • Corrected the on-disk state: token files (agent-token/proxy-token + legacy system-token mirror) and the real table set (added machine_logs, queue_messages, snapshots, tokens; removed the non-existent placements). Refreshed the roadmap.
  • CLAUDE.md — same token fix, agent/control role updates, accurate ~/.fold state list, and new "Where to look" pointers for the host monitor, triggers, central logs/exec, and internal/logging.

Verification

  • Docs only; confirmed no .go files changed.
  • Table names cross-checked against internal/store/schema.sql; token behavior cross-checked against internal/platformmode/tokens.go and scripts/dev-up.sh.

🤖 Generated with Claude Code

Refresh README, ARCHITECTURE, and CLAUDE.md to reflect what shipped:
central machine logs + tail, `fold exec`, structured logging with a
cross-service request id, host failover (dead-host detection + drain),
and queue triggers (durable local queue).

- README: fix the local quickstart token lines (separate agent-token /
  proxy-token, not the legacy single system-token), add capability bullets
  for triggers and operations, refresh the package layout.
- ARCHITECTURE: control-plane/agent roles now mention the host monitor,
  trigger pollers, central log shipping, and exec; add core-concept rows
  for triggers + host failover; add a host-failover section and a trigger
  note under scale-to-zero; expand platform services; correct the
  on-disk state (token files + machine_logs/queue_messages tables, real
  table names); update the roadmap.
- CLAUDE.md: same token fix, agent/control role updates, accurate state
  list, and "Where to look" pointers for the new subsystems.

Docs only — no code changes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@blakebauman
blakebauman merged commit 972480d into main Jun 18, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant