Skip to content

docs: sync design docs and runbooks with main - #47

Merged
chaodu-agent merged 7 commits into
mainfrom
docs-sync
Nov 23, 2026
Merged

chaodu-agent merged 7 commits into
mainfrom
docs-sync

Conversation

@chaodu-agent

@chaodu-agent chaodu-agent commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Docs-only sync of design docs and runbooks with main (stage 2 hold, Telegram approval, async polling). Verified against crates/ on origin/main; no code changes.

Changed files

  • README.md: stage 2 text now describes Telegram Approve/Deny buttons and the view link (buttons = true); standalone-mode "under development" removed, pilot status stated, sidecar require_approval marked planned; blocking is the default and async is linked.
  • docs/design/muse-gated-passthrough.md: status says stage 2 and async are merged on main; Telegram flow and view-page content (decoded content, extra-field banner) replace the old Basic-auth/"body preview" text; CSP text matches the code (one hashed inline stylesheet); WebAuthn marked design only; async replaces connection-as-state on async routes; helper timeout rule applies to blocking routes only.
  • docs/design/muse-async-poll.md: status "Draft" changed to implemented on main; config keys are per route (hold_mode, async_hold_secs), not a muse. table; body is a lossy-UTF-8 string; the owner-confirmation sentence is replaced by "as implemented".
  • docs/design/webauthn-approval.md: status line only: design only, not implemented, stage 2 notifier is Telegram, ntfy passages superseded.
  • docs/runbooks/muse-stage2.md: where the owner decides per mode, what the view page shows, Basic-auth page applies to buttons = false, helper timeout is for blocking routes only, "topics" dropped from the header.

Files where a real value was replaced by a placeholder

none

Owner decisions

All six items were decided by the owner ("as you suggest"). Applied in 64827a6:

  1. Deployment status: README and design doc say stage 2 and the asynchronous route are implemented and in pilot use; nothing about any specific host.
  2. Hold window: "90 s" replaced by "set by the deployment policy; the code default is 120 s, range 5..=600". The code default on origin/main is 120, so no difference.
  3. The 30 s JSON timeout claim is now a historical note (measured on the Muse side during stage 1; superseded by the asynchronous route), not a current constraint.
  4. muse-async-poll.md: "These departures are as implemented." kept.
  5. Runbook: async_hold_secs + 330 s kept, stated as a recommended client-side polling budget, not a gate setting.
  6. Evidence files: the public IPv4 and md5 host-state values are replaced with <ip> and <md5>. The numeric id in examples/muse-discord/mock_proxy.py was not part of the decision and is untouched.

Self-check

  • ntfy as active notifier: none. Hits are only notes saying ntfy is not used / superseded by Telegram.
  • 3600: one hit, runbook cooldown_secs max (a different key, not a hold limit).
  • 'under development': none.
  • tailnet host names: no real name; only placeholders and the public-suffix discussion.
  • IPv4 addresses: none.
  • 32-hex strings: none.
  • 64-hex strings: none.

… 2 path

Stage 2 notifies via Telegram (PR #40) with buttons and a no-login view link
(#41) that shows decoded content and named extra fields (#42, #43). Verified
against approval/mod.rs, approval/page.rs and config.rs on origin/main. Docs only.
hold_secs max stays 5..=600 (config.rs); no 3600 or 1 hour hold text exists.
The Option B pilot text already matches config.rs TokenIdentity (token_sha256,
expires 2026-12-20, one per policy, hold-only, route-bound). Docs only.
… status, evidence placeholders)

Docs only. Self-check grep: no host ts.net names, only 127.0.0.1, no 32/64-hex, ntfy only as not-used, 3600 only as cooldown max. Code default hold_secs = 120 confirmed on origin/main.
…, PR attribution)

Ran: grep over the 7 files changed vs origin/main for ts.net hosts (no hits), IPv4 (1 hit: 127.0.0.1 loopback in netfilter-selfcheck.md), 32-hex (none), 64-hex (none), ntfy (hits only as 'not used' / superseded text), 3600 (1 hit: cooldown_secs max, not a hold value).
- Remove the unrecorded claim that the async route was exercised in pilot use
  for approve, deny and expired (no evidence file in the repo).
- Option B fail-closed rules: state the async exceptions (no fingerprint
  dedupe or supersede, no cancel on caller disconnect) per muse-async-poll.md
  Departures.

Ran: grep over the 7 files changed vs origin/main. ts.net hosts: none. IPv4:
one hit, 127.0.0.1 loopback in docs/evidence/netfilter-selfcheck.md:11. 32-hex:
none. 64-hex: none. ntfy: only as not used / superseded (gated-passthrough
483-484, webauthn-approval 3,54,60,65,165). 3600: runbooks/muse-stage2.md:29,
cooldown_secs max, not a hold value. No code or tests run (docs only).
@chaodu-agent
chaodu-agent marked this pull request as ready for review November 23, 2026 01:40
@chaodu-agent
chaodu-agent merged commit d4ae61a into main Nov 23, 2026
1 check 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