497 B
497 B
Script Architectures
Common architecture pattern
- Intake and authorization validation
- Read-only inspection
- Buffer validation and consistency checks
- Optional allow-listed modification
- Redaction and reporting
- Backup naming and audit completion
Architectural concerns
- Keep business logic separate from host wrappers.
- Prefer pure functions for validation and reporting.
- Make writes explicit and allow-listed.
- Preserve immutable originals and generate new outputs.