Update SECURITY.md, docs/SECURITY_REVIEW.md, and docs/AI_AUTONOMY.md
(plus their shipped frontend-modern/public/docs/ mirrors) to match
current main runtime behaviour and extend doc regression tests:
- SECURITY.md: replace the removed 1-day/1-week/Forever warning
dismissal copy with SecurityOverviewPanel's admin-only posture and
hardening links; add apprise.enc, deadman.enc, availability_targets.enc,
and relay.enc to the AES-256-GCM store table; update X-XSS-Protection
to 0; clarify UniversalRateLimitMiddlewareWithConfig skips; replace
stale Settings -> API Tokens paths with Settings -> Security -> API
Access; document all 20 canonical pkg/auth scopes; document
comma-separated ALLOWED_ORIGINS matching; and align Agent Command
Security with monitoring-only defaults, agent:exec, and approval checks.
- docs/SECURITY_REVIEW.md: add internal/api/resourceapi/load_test.go and
./internal/api/resourceapi to the reproducible 500-node load baseline
so TestLoad_500Node_ConcurrentResources is not silently skipped.
- docs/AI_AUTONOMY.md: document the explicit human-session
acknowledgement gate for Autopilot, the 1500 s subscription-CLI
investigation timeout default, and independent ActionResultV2
verification matching ASSISTANT_SAFETY.md.
Contract-Neutral: aligns existing Security, Security Review, and AI Autonomy documentation and doc tests with already-landed runtime behaviour without changing runtime, API, or UI contracts.
Change-source: pulse-maintainer
The reviewed guide changed wording required by the API documentation contract. Restore the export-only and non-loopback statements, and check them in the registered fast documentation suite without changing runtime authority or reinstating the network-wide bypass recipe.
Contract-Neutral: Clarifies existing configuration-transfer policy and its documentation assertions; no authentication, export/import or runtime contract change.
Change-source: pulse-maintainer
Remove the copy-paste network export exception from the Security guide. Explain that reachable unauthenticated callers choose their own passphrase and receive secrets, preserve the supported exception as a warning, and retain tenant, token and recovery boundaries in the registered documentation tests.
Contract-Neutral: Guidance and registered recipe tests only; existing configuration-transfer authentication, scope, loopback and export-exception behaviour is unchanged.
Change-source: pulse-maintainer
Reuse the established private-response API helper for the Security guide's access, scheduler, export and lockout operations. Protect export request preparation and reads, keep lockout examples separate, and exercise failure, proxy and file-path boundaries with synthetic loopback fixtures.
Contract-Neutral: Documentation and registered recipe tests only; existing API behaviour, authorization and recovery contracts are unchanged.
Change-source: pulse-maintainer
The canonical security guide still encouraged Debug logging, broad service/log inspection and a fresh unmounted Docker container. Route verification through existing bounded private evidence, distinguish file rotation from journal, container and audit retention, and preserve the active deployment when changing logging. Keep the shipped guide synchronized and check these boundaries against the current server source.
Contract-Neutral: Correct existing security guidance and its regression checks without changing runtime, permissions, credential handling, API behaviour or subsystem contracts.
Change-source: pulse-maintainer
The security guide implied all credentials and outputs were safe despite the local key, external password sources and private diagnostic records. Explain the active data path, matching-key recovery and review-before-sharing boundaries; keep existing administration recipes unchanged.
Contract-Neutral: Documentation and document regression checks only; no storage, encryption, authentication, logging or runtime contract delta.
Change-source: pulse-maintainer
Use private header and passphrase files for copied API requests, check protected access instead of public health, and preserve actual transfer and lockout permissions. Replace unsafe legacy credential setup and key cleanup, explain deployment-specific recovery, and align existing mobile security guidance with retirement.
Contract-Neutral: Existing security guidance, shipped mirrors and executable documentation fixtures only; authentication, encryption, scopes, entitlements and runtime behaviour are unchanged.
Change-source: pulse-maintainer