Skip to content

docs: fix verified drift against pilotctl / registry / driver source#121

Merged
TeoSlayer merged 1 commit into
mainfrom
fix/docs-drift-audit
Jul 13, 2026
Merged

docs: fix verified drift against pilotctl / registry / driver source#121
TeoSlayer merged 1 commit into
mainfrom
fix/docs-drift-audit

Conversation

@TeoSlayer

Copy link
Copy Markdown
Contributor

Corrects documentation that described behavior the code does not implement, and documents surfaces that shipped without docs. Every change was verified against source (web4, rendezvous, policy, handshake, eventstream, dataexchange, common/driver). App cards / apps.ts are handled by a separate agent and untouched here.

High

  • enterprise-audit — the six registry RPC examples used "command", but the registry dispatches on "type" (rendezvous/server_api.go). Every copy-pasted example failed. s/"command"/"type"/ x6.
  • webhooks — added 13 emitted-but-undocumented events, each with payload fields read from the emitter: trust.changed; network.joined / network.left / network.tags_changed; tunnel.established / tunnel.rekey_gave_up; security.src_spoofed; pubsub.rate_limited; dataexchange.ack_failed; policy.eval_error / policy.prune_trust / policy.fill_trust / policy.join_denied.
  • llms.txt — dropped the false "stdlib-only / zero external dependencies" claim (go.mod pulls coder/websocket, expr-lang/expr, golang.org/x, plus the Pilot modules); removed the dead /docs/tasks.html and /docs/polo.html links (no such pages).

Medium

  • getting-startedquickstart prints a static banner and does not detect daemon state; matched cli-reference.
  • go-sdk — write deadlines are now enforced per chunk (common/driver/conn.go), not a no-op; added SetWriteDeadline and documented DialAddrTimeout, PreferDirect, the reqsig Sign/Verify/VerifyMaxSkew envelope methods, SubmitBadge / EnrollRecovery, Managed{Status,ForceCycle,Reconcile}, Policy{Get,Set}, MemberTags{Get,Set}.
  • concepts — added PortVerify = 1003 to the well-known ports table.
  • enterprise-policies / enterprise-blueprints — documented set_expr_policy / get_expr_policy, the member-tag RPCs, and the blueprint expr_policy field.

Low

  • cli-referencepeers --all / --limit, inbox --from / --before, and the broadcast admin-token requirement.
  • enterprise — fixed the Go package qualifier (client.Client, not registry.Client); documented get_audit_export, get_webhook, set_identity_webhook, set_member_tags / get_member_tags, get_key_info.

Verification

Plain-text mirrors regenerated for all 10 touched docs pages via scripts/regen-plain.mjs. npm run build passes clean (345 pages).

🤖 Generated with Claude Code

Corrects documentation that described behavior the code does not implement,
and documents surfaces that shipped without docs. Every change was verified
against source in web4, rendezvous, policy, handshake, eventstream,
dataexchange, and common/driver.

- enterprise-audit: the six registry RPC examples used "command"; the
  registry dispatches on "type" (rendezvous/server_api.go). Every example
  was a copy-paste failure. s/"command"/"type"/ x6.
- webhooks: add the 13 emitted-but-undocumented events (trust.changed;
  network.joined/left/tags_changed; tunnel.established/rekey_gave_up;
  security.src_spoofed; pubsub.rate_limited; dataexchange.ack_failed;
  policy.eval_error/prune_trust/fill_trust/join_denied) with payload
  fields taken from each emitter.
- llms.txt: drop the false "stdlib-only / zero external dependencies"
  claim (go.mod pulls coder/websocket, expr-lang/expr, golang.org/x, plus
  the Pilot modules); remove the dead /docs/tasks.html and /docs/polo.html
  links (no such pages).
- getting-started: quickstart prints a static banner; it does not detect
  daemon state. Match cli-reference.
- go-sdk: write deadlines are now enforced per chunk (common/driver/conn.go),
  not a no-op; add SetWriteDeadline and document DialAddrTimeout,
  PreferDirect, Sign/Verify/VerifyMaxSkew envelope, Submit/Enroll badge/
  recovery, Managed{Status,ForceCycle,Reconcile}, Policy{Get,Set},
  MemberTags{Get,Set}.
- concepts: add PortVerify = 1003 to the well-known ports table.
- enterprise-policies / enterprise-blueprints: document set_expr_policy /
  get_expr_policy, member-tag RPCs, and the blueprint expr_policy field.
- cli-reference: peers --all/--limit, inbox --from/--before, broadcast
  admin-token requirement.
- enterprise: fix Go package qualifier (client.Client, not registry.Client);
  document get_audit_export, get_webhook, set_identity_webhook,
  set/get_member_tags, get_key_info.

Plain-text mirrors regenerated for all touched docs pages; astro build passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@TeoSlayer TeoSlayer enabled auto-merge (squash) July 13, 2026 13:02
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview deployed to Cloudflare Pages

  • Commit deploy URL: https://3c7ee1a4.pilotprotocol.pages.dev
  • Branch alias: https://fix/docs-drift-audit.pilotprotocol.pages.dev (may take ~30s to propagate)
  • Commit: 5bedfe3557ea524d0c0fcc463e0baf732e32fa69

@TeoSlayer TeoSlayer merged commit 9085136 into main Jul 13, 2026
3 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.

2 participants