# Security boundaries The source template now registers a read-only SessionStart reminder and narrow path guard in project settings. Optional managed installation keeps hooks opt-in. Neither enables MCP, plugins, shell grants, credentials or external services. Native permissions and organizational policy remain authoritative. Do not launch in bypassPermissions mode. User, local and managed settings can change effective behavior; inspect them without exposing secrets. The framework cannot override those sources. The registered path guard blocks Read/Edit/Write for common credential paths using native PreToolUse exit 2. It permits .env.example/.env.sample. Tested inputs include malformed events. It does not inspect shell commands, resolve path aliases/symlinks, inspect file content or cover all tools. It is a convenience guard, not a security sandbox. No regex shell “firewall” is claimed. Keep native permissions and OS/container isolation appropriate to your task. Formatting and targeted lint/test belong to reviewed gates, not a full test suite on every edit. Completion evidence is workflow-owned; no auto-approving Stop hook is installed. Threats reviewed: untrusted upstream instructions, malicious logs, credential-file exposure, unapproved gate execution, overwrite collisions, symlink destinations, sensitive backup leakage and unsafe restoration. Installer assumes trusted exclusive local access; manifest tampering/concurrent writes/crash recovery are residual risks. Gates run reviewed argv without a shell but the chosen executable can do anything the user can do. Do not execute commands copied from untrusted fixture text. Never store secrets in handoffs, raw logs or version control. The local manifest contains original bytes; keep it ignored and access-controlled. Before external integration: verify canonical source and pinned revision/license, inspect install and lifecycle scripts, inventory tools and network/data scope, obtain installation/credential/paid-service approval, test isolated failure modes, document disable and rollback. No upstream installer has been executed by this project. Vulnerability scanning of external dependencies is unverified because none are installed. Static local guard tests do not establish end-to-end prompt-injection resistance. Project initialization reads only the explicitly scoped JSON request and fixed destinations. It does not evaluate request contents or interpolate them into commands. Full destination preflight rejects symlink paths and existing differing project records; only exact bundled state seeds may be replaced. Ordinary write failure restoration is tested before and after STATE replacement. Crash/concurrent-writer and unauthenticated local-file risks remain. The document checker explicitly does not assess semantic correctness or run application tests. Design 0.4.0: the interview/check helper only reads scoped JSON/schema artifacts, returns options and hashes, and executes no SQL/network/package tooling. Confirmation records bind to enum values but are self-reported, not authenticated user interactions. Schema pins identify content, not semantic acceptance; changed content blocks dependent scaffolding. Native interview behavior remains untested. Explicit no-validation/no-auth/test-defer selections remain omissions, not successful security verification or broad permission waivers. Iteration review receipts are unsigned editable local evidence. Source fingerprints cover Git-visible regular-file bytes, HEAD and deleted paths, including nonignored untracked files; ignored files, Git metadata and docs/project/reviews/ are excluded. Gate config is hashed separately. No concurrent-writer/crash/tamper-proof attestation is promised. Gates emit raw diagnostics to the terminal; only output hashes/results are stored locally. Semantic review fields are self-reported and require inspecting evidence. The startup hook reads an existence flag and emits fixed context; it performs no writes/network/package installation. In interactive sessions settings hooks wait for trust; noninteractive -p behavior differs, so inspect unfamiliar repository settings before launch.