GitHub repository
Next.js reference application, pull request and workflow trigger
CHIHUAHUAS STUDIOS • ENGINEERING PRODUCT
A safe, evidence-driven DevSecOps validation agent. Deterministic checks own the decision; AI interprets bounded evidence but cannot turn a deterministic failure into PASS.
THE IDEA
“It is not a pipeline that calls ChatGPT. It is a deterministic DevSecOps pipeline with a controlled, auditable AI analysis layer that cannot reduce a deterministic failure.”
TECHNOLOGY
END-TO-END ARCHITECTURE
The untrusted pull-request zone has no production secrets. Deterministic evidence crosses into a trusted default-branch workflow. Only there can bounded evidence reach OpenAI. AWS observation and deployment use separate roles.
Pull requests never receive production credentials or authority to change the final result.
Next.js reference application, pull request and workflow trigger
Tests, dependency audit, build and bounded structured evidence
Sanitized output; untrusted claims cannot override the decision
Trusted workflow reads bounded evidence and optionally requests structured interpretation.
Trusted Agent checkout; evidence revalidated before interpretation
Bounded evidence in; findings and risk assessment out
Deterministic checks own the outcome; JSON, Markdown and HTML reports
Site publishing and AWS observation are independent permission paths.
Temporary deploy credentials
Static export, cache invalidation and HTTPS delivery
Separate temporary credentials
Explicitly allowed observations of CloudFormation, S3, CloudFront, Route 53, ACM and IAM
Reviewed adapters execute bounded checks for Next.js, Terraform and CloudFormation. Mandatory failures remain failures regardless of AI output.
OpenAI receives sanitized, bounded evidence from a trusted workflow. It returns structured risk, findings and recommendations — never commands to execute.
GitHub Actions OIDC obtains temporary STS credentials. The Agent collector is read-only and separate from the website deployment role.
Each run can produce JSON, Markdown and HTML with checks, test inventory, dependency audit, AI audit trail and final PASS / WARN / BLOCK.
SOURCE CODE