- Introduction
- 1. Vision
- 2. Use cases
- 3. Landscape
- 4. FAQ
- 5. How Shiin works
- 6. Action requests
- 7. Decisions
- 8. Agents and identity
- 9. Capabilities
- 10. Policies
- 11. Tasks and intent
- 12. Risk signals
- 13. Approvals
- 14. Adapters
- 15. Audit and evidence
- 16. Limitations
- 17. Installation
- 18. Quickstart: Claude Code
- 19. Your first policy
- 20. Writing policies
- 21. Using Shiin with sandboxes
- 22. Declaring tasks
- 23. Testing policies
- 24. Handling approvals
- 25. Audit, replay, and receipts
- 26. Integrations
- 26.1. Claude Code
- 26.2. Codex CLI
- 26.3. Cursor
- 26.4. MCP proxy
- 26.5. Custom agents
- 26.6. Aider in a sandbox
- 27. CLI
- 28. Configuration
- 29. Error codes
- 30. Platform support
- 31. About the specifications
- 32. Action types
- 33. Action request
- 34. Decision
- 35. Evaluation
- 36. Identity
- 37. Policy model
- 38. Policy syntax
- 39. Intent binding
- 40. Risk signals
- 41. Approval protocol
- 42. Audit events
- 43. Receipts
- 44. Adapter contract
- 45. Local API
- 46. Test vectors
- 47. Threat model
- 48. Security model
- 49. Enforcement levels
- 50. Cryptography
- 51. Vulnerability disclosure
- 52. Hardening
- 53. Verifying releases
- 54. Overview
- 55. Decision pipeline
- 56. Deployment models
- 57. State and storage
- 58. Workspace and crates
- 59. Toolchain and MSRV
- 60. Coding standards
- 61. Error handling
- 62. Unsafe code policy
- 63. Async and concurrency
- 64. Dependencies and supply chain
- 65. Testing strategy
- 66. Performance budgets
- 67. Continuous integration
- 68. Release engineering
- 69. Security-sensitive changes
- 70. Architecture decision records
- 70.1. 0001 Record architecture decisions
- 70.2. 0002 Rust for product and tooling
- 70.3. 0003 Project name: Shiin
- 70.4. 0004 Apache-2.0 license and DCO
- 70.5. 0005 Governance model
- 70.6. 0006 Vulnerability reporting
- 70.7. 0007 No telemetry
- 70.8. 0008 mdBook documentation
- 70.9. 0009 Deterministic enforcement
- 70.10. 0010 Pure synchronous engine
- 70.11. 0011 Decision values and combining
- 70.12. 0012 Evaluation stage order
- 70.13. 0013 Fail-closed failure semantics
- 70.14. 0014 Cedar policy engine with TOML front-end
- 70.15. 0015 Policy layering and trust
- 70.16. 0016 Built-in protected resources
- 70.17. 0017 JSON wire format and schemas
- 70.18. 0018 Conservative action classification
- 70.19. 0019 Path canonicalization
- 70.20. 0020 Structured intent binding
- 70.21. 0021 Discrete risk signals
- 70.22. 0022 Local-first, daemonless deployment
- 70.23. 0023 JSON-RPC local API
- 70.24. 0024 Tokio, confined
- 70.25. 0025 Adapter roadmap
- 70.26. 0026 Adapter extensibility
- 70.27. 0027 Approval resolutions and grants
- 70.28. 0028 Deny-with-ticket for hosts that cannot wait
- 70.29. 0029 Hash-chained JSON Lines audit log
- 70.30. 0030 Audit durability
- 70.31. 0031 DSSE and Ed25519 receipts
- 70.32. 0032 Signing key storage
- 70.33. 0033 Enforcement levels
- 70.34. 0034 Edition, MSRV, and toolchain
- 70.35. 0035 Workspace layout
- 70.36. 0036 Error handling
- 70.37. 0037 Unsafe code policy
- 70.38. 0038 Supply chain policy
- 70.39. 0039 Release tooling
- 70.40. 0040 Platform support tiers
- 70.41. 0041 Remote approver transport
- 70.42. 0042 Language bindings
- 70.43. ADR template
- 71. RFC process
- 71.1. RFC-0001 Remote approver transport
- 71.2. RFC template
- 72. Roadmap
- 73. Versioning and stability
- 74. Privacy and telemetry
- 75. Documentation style guide
- 76. Documentation tooling and CI
- 77. Maintainer handbook
- Glossary