This is a read-only copy of a Hey Archie security policy. Version 3.0, approved 9 November 2026; next review by 16 October 2027. The controlled copy is kept in our compliance system, Drata.
Hey Archie, Inc. and its affiliates, including Hey Archie UK Ltd and Hey Archie Pty Ltd ("Archie" or "the Company").
1. Purpose
This policy sets how the Company builds software and changes its systems, so that every change is planned, reviewed, tested and recorded, and security is part of every step from design to release. It covers both software development and change management.
2. Scope
This policy applies to all code the Company writes or uses in the Archie platform, whoever or whatever writes it (employees, contractors and AI agents), and to changes to production and staging systems: application releases, infrastructure, network and access settings, third-party services and security tooling.
3. Principles
3.1 Every change goes through version control, review and automated checks before it reaches production.
3.2 Production is changed only by the approved paths in section 8. No one changes production by hand, except in an emergency (section 10).
3.3 Development, staging and production are separate (section 7).
3.4 AI agents are treated like any other contributor. Their changes get the same review, checks and approval as a person's, and the Company keeps a record of what they changed.
3.5 Secrets are never written into code.
4. Design and Requirements
4.1 Requirements for a change, including security and privacy requirements, are written down before work starts, in an issue, card, specification or pull request description.
4.2 Designs follow least privilege, defence in depth, default deny and fail securely. Significant architecture decisions are recorded as architecture decision records (ADRs) in the Company's ADR registry. A change that conflicts with an accepted ADR is not merged until the conflict is resolved by the Security Owner or CEO.
4.3 Data handled by an application is classified under the classification scheme in section 4 of the Company's Data Management Policy, and the controls match the classification.
4.4 Applications validate input, check authorisation on every request, use current encryption for data in transit and at rest, and log security-relevant events.
5. Secure Coding
5.1 All source code is held in the Company's GitHub organisation (heyarchie-ai). No production code is kept only on a personal device or outside version control.
5.2 Hard-coded secrets (passwords, API keys, tokens) are prohibited. Secrets are held in 1Password and Google Secret Manager and injected at run time. A required pull request check scans every line a pull request adds, in any file, and blocks a pull request that adds a secret (Vulnerability Management Policy 3.2).
5.3 Production data is not used in development or test environments. Where there is an exceptional need, the Security Owner must approve it in writing first and the same controls as production must apply.
5.4 Third-party libraries and container images come from reputable sources and are kept up to date. The Company keeps a record of its dependencies (lock files and build manifests).
5.5 Everyone who writes or reviews code for the platform completes secure development training suited to their role when they start and at least once a year. The training covers common vulnerability classes (for example the OWASP Top 10) and changes in the threat landscape. The Security Owner records completion in Drata.
6. Security Testing and Vulnerability Handling
6.1 Automated tests run on every pull request, and a pull request cannot merge until the required checks pass (section 8.2).
6.2 The Company must scan its code and dependencies for known vulnerabilities and for secrets, and must review the results. The Security Owner decides which tools are used, and records them in Drata or the change records.
6.3 Findings are tracked, ranked by risk and fixed within the times set in section 4 of the Vulnerability Management Policy. A different date for a critical, high or medium finding is an exception under section 9 of that policy, requires an interim control recorded in Drata, and may not extend a deadline beyond the one promised in a customer contract.
6.4 An independent penetration test of the production platform must be done at least annually, and after major architecture changes. Findings are tracked under 6.3. Tests are agreed in writing with the tester beforehand.
6.5 Security-relevant incidents found through testing or in production are handled under the Incident Response Plan and reported to [email protected].
6.6 Software composition analysis. The Company checks the third-party libraries and components in its platform for security risks, supported versions and licence compliance. Security risks are found through the scanning in 6.2 and the Dependabot alerts in section 3.1 of the Vulnerability Management Policy, and are fixed within the times in 6.3. Components that their maintainers no longer support are replaced or removed under sections 6.5 and 6.6 of the Vulnerability Management Policy. Any exception follows section 9 of that policy. Before a new third-party library is added to production code, the author checks its licence. Libraries under permissive licences (for example MIT, BSD, Apache 2.0, ISC) may be used. A library under a copyleft, source-available or unknown licence may be used only with the Security Owner's written approval, recorded in the pull request. At least annually the Security Owner reviews the licences of the production dependencies listed in the lock files and records the result in Drata or the change records.
7. Environments
7.1 Development, staging and production are separate. Development runs on separate systems with separate credentials from production. Production runs in dedicated Google Cloud projects, one per region.
7.2 Production credentials are not available to development tooling. Cross-environment access is covered by the access review in section 2.19 of the System Access Control Policy.
7.3 Code is tested in development and staging before it is released to production.
8. Change Management
8.1 Pull requests. Changes are made on a branch and merged through a pull request into the branch of record. The pull request states what is changing and why, and links to the issue or card where there is one. Direct commits to the release branch are not allowed. Force pushes and deletion are blocked on the protected branches.
8.2 Review and required checks. A change merges only when all required checks are green. These include automated tests, secret-literal linting, schema and API contract checks, the independent AI code review check (archie-review) and the card evidence check (f3/card-evidence), as configured in GitHub branch protection. Every change must be reviewed by someone other than its author before merge. A person's change is reviewed by another person or by the independent reviewer check. An AI agent's change is reviewed by the independent reviewer check and by the CEO or Security Owner where it touches security, access, data handling or infrastructure.
8.3 AI agents. Agents open pull requests through the approved tooling and get no extra privileges. An agent's change is recorded like anyone else's. An agent never approves its own change. Exempting a pull request from the reviewer or evidence checks is allowed only by the CEO or the Security Owner, and each exemption is logged.
8.4 Infrastructure. Infrastructure (networks, Cloud Run services, databases, IAM, load balancers, WAF, DNS) is defined in Terraform. It changes only through a reviewed pull request applied by the gated GitHub workflow, as set out in AADR-0064. Console or command-line changes to production are not allowed, except in an emergency (section 10).
8.5 Application releases. A new application image is deployed to a Google Cloud Run service only by the gcp-app-deploy workflow, using the full commit identifier of the image. Production deployments require approval in GitHub by the CEO or Security Owner. Staging is deployed before production. After a release, the service health check must pass, and the person responsible confirms the release is serving the intended version.
8.6 Change risk. Changes are sorted by risk to decide how much scrutiny they get.
- Standard: low-risk, repeated changes (for example dependency patch updates, copy edits). They go through the normal pull request and checks.
- Significant: changes that could affect customers, security, data, billing or availability (for example access control, encryption, database schema, network rules, new third-party services). These need the Security Owner's or CEO's review and an agreed rollback plan before release.
- Emergency: see section 10.
8.7 Planning and rollback. Before a significant change, the author states how it will be tested and released, and how to back it out. Where a change cannot be reversed, for example some database migrations, the risk is assessed before it goes ahead, and a backup or restore path is confirmed. Releases of significant changes are timed to limit the effect on customers.
8.8 Communication. Customers are told about changes that affect them through the Company's normal customer communication. Personnel are told about changes that affect how they work.
8.9 Records. The pull request, the review, the check results, the deployment run and the approval together are the change record. Drata and GitHub history are the evidence. Records are kept for at least one year.
8.10 Third-party and SaaS changes. Adding a new vendor or service that handles Customer Data, or changing its security settings, is a significant change and follows the Company's vendor management process.
8.11 Baseline configuration. Production systems are built only from the Company's Terraform modules, which set the baseline configuration: private networking, no public database address, encrypted connections, deletion protection, logging and resource labels. The baseline changes only through this change management process. Devices used for Company work meet the device baseline in the Acceptable Use Policy, checked by the Drata agent.
8.12 Resource labels. Every production cloud resource is labelled through Terraform with its service, environment, region, shard and "managed-by: terraform", so that its owner and environment can be identified and resources created outside Terraform stand out.
9. Databases and Data Changes
9.1 Database schema changes are made by migration files in version control, reviewed and tested like code, and run by the release process in the right order.
9.2 Data in production is changed by hand only for an emergency, or a support case approved by the Security Owner, and the change is logged.
10. Emergency Changes
10.1 An emergency change is one needed at once to stop or limit a security incident, a major outage or loss of data.
10.2 The CEO or Security Owner may authorise an emergency change and it may bypass the normal review and approval steps. It still goes through version control wherever possible. If a change is made directly in production, the same change is made in code (Terraform or the repository) afterwards so that the code matches production.
10.3 Within 5 working days, the change is reviewed after the fact by someone other than the person who made it, and recorded: what was changed, why, who authorised it, and what follow-up is needed. Any incident is handled under the Incident Response Plan.
11. Backup and Recovery
11.1 Production data stores must be backed up, and the Security Owner must test that backups can be restored at least annually. The results are recorded. Restore testing is a requirement from the date of this policy; it is carried out and recorded under the Company's backup and disaster recovery procedures.
12. Exceptions
Exceptions must be requested in writing, state the risk and an end date, and be approved in advance by the Security Owner. Approved exceptions are recorded and reviewed at least annually and at their end date.
13. Roles and Responsibilities
- CEO: appointed the Security Owner and delegated approval of security policies (11 October 2026); approves production deployments with the Security Owner; reviews the policy set at least once a year.
- Security Owner (Technical Lead, policy owner): maintains, approves and publishes this policy; decides the security tooling and testing; approves significant and emergency changes and exceptions.
- Engineers (including contractors): follow this policy, make changes only through pull requests, and respond to review comments and security findings.
- AI agents: act only under the permissions and tooling the Company gives them, and are held to this policy as engineers are. The engineer or officer who directs an agent is responsible for its work.
14. Measures
The Company checks this policy is working through the Drata version control tests and the number of emergency changes and incidents caused by changes.
15. Enforcement
Breaches of this policy may lead to removal of access and disciplinary action, up to and including termination of employment or contract.
16. Review and Approval
This policy is reviewed at least annually, and whenever the development or release process changes significantly. Each version is approved by the Security Owner under authority delegated by the CEO, and the CEO reviews the policy set at least once a year.
Version 1.0 - 13 October 2026 - First version in Drata, adapted from the Company's 2025 System Development Life Cycle (SDLC) Policy and Change Management Policy - Approved by Raffaele Cecco, Security Owner
Version 2.0 - 16 October 2026 - Published in Drata with the corrections of 16 October 2026 - Approved in Drata
Version 3.0 - 9 November 2026 - Wording changes approved in the policies repository after version 2.0 was published in Drata (pull requests #9, #16, #24). To be published in Drata - Approved by Raffaele Cecco, Security Owner, by approving the pull request