Skip to content

docs(sentinel): fix status enum, mode semantics, link, endpoint count (audit 4/4) - #110

Merged
rz1989s merged 1 commit into
mainfrom
fix/docs-sentinel
Jun 6, 2026
Merged

docs(sentinel): fix status enum, mode semantics, link, endpoint count (audit 4/4)#110
rz1989s merged 1 commit into
mainfrom
fix/docs-sentinel

Conversation

@rz1989s

@rz1989s rz1989s commented Jun 6, 2026

Copy link
Copy Markdown
Member

Summary

Part 4 of 4 (final) of the June 2026 docs audit — sipher SENTINEL doc consistency, reconciled against the sipher implementation (packages/agent/src/sentinel). Closes #96.

⚠️ Stacked on #109#108#107. Merge order: #107#108#109 → this.

What's fixed (5 files)

  • Status enum — rest-api.mdx listed approved (doesn't exist). Real lifecycle is pending → executing → executed | cancelled (db.ts); now matches audit-log.mdx.
  • Mode semantics — config.mdx said "block only in yolo" (wrong). Per core.ts/prompts.ts: block rejects in all modes; yolo auto-executes non-blocked actions; advisory never moves funds (pause/alert + human review); off skips. config now matches the overview decision-flow + code.
  • Broken link — config.mdx ./README.md#operating-modes (404) → /sipher/sentinel/overview/#operating-modes.
  • Endpoint count — was "10", real is 11: added the undocumented GET /api/sentinel/config admin route (returns the config snapshot); bumped the count in overview + rest-api.
  • Blacklist autonomy default — tools.mdx said false, but SENTINEL_BLACKLIST_AUTONOMY !== 'false' makes the default true (config.ts) — now consistent with config.mdx.
  • Freshness — "Last synced" 2026-05-04 → 2026-06-06; tidied link text that showed source filenames.

Tool count 14 (7 read + 7 action) verified correct against src/sentinel/tools/ — left as-is.

⚑ Upstream follow-up (separate sipher PR)

These docs-sip pages mirror sipher/docs/sentinel/*.md. The upstream has the same approved status error, the same missing GET /config, and the same blacklist-autonomy false error — a future doc-sync would reintroduce them here. Recommend a matching sipher PR.

Verification

  • astro build green — 1277 pages.

Series complete

PR1 (#107) code + #1073 · PR2 (#108) staleness · PR3 (#109) security-crypto · PR4 (this) sentinel → Closes #96.

Closes #96

June 2026 docs audit, part 4/4 (#96). Reconciles the SENTINEL docs with the
sipher implementation.

- status enum: rest-api `approved` -> real lifecycle pending -> executing ->
  executed | cancelled (matches db.ts + audit-log)
- mode semantics: config.mdx "block only in yolo" was wrong; block rejects in
  ALL modes; yolo auto-executes non-blocked, advisory never moves funds, off
  skips (matches core.ts/prompts.ts + overview mermaid)
- broken link: config.mdx ./README.md#operating-modes ->
  /sipher/sentinel/overview/#operating-modes
- endpoint count: 10 -> 11; documented the missing GET /api/sentinel/config route
- blacklist autonomy default: tools.mdx false -> true (SENTINEL_BLACKLIST_AUTONOMY !== 'false')
- bumped "Last synced" 2026-05-04 -> 2026-06-06; tidied filename link text

Tool count 14 (7 read + 7 action) verified correct. astro build green.

Closes #96.
@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sip-docs Ready Ready Preview, Comment Jun 6, 2026 10:25am

@rz1989s
rz1989s changed the base branch from fix/docs-security-crypto to main June 6, 2026 11:25
@rz1989s
rz1989s merged commit 2b5a5c0 into main Jun 6, 2026
2 checks passed
@rz1989s
rz1989s deleted the fix/docs-sentinel branch June 6, 2026 11:26
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.

Monthly Docs Audit - June 2026

1 participant