Repository navigation
Fail-closed ARCHNET baseline: disable unsafe cloud deployment and correct CI/documentation - #1
Draft
EdwinJdevops wants to merge 26 commits into
Draft
EdwinJdevops wants to merge 26 commits into
EdwinJdevops wants to merge 26 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native acceptance from both upstream module roots
Acceptance run passed on
02efecf5bbadd8292151b9df50543200e23de156. EKS v20.37.2 and Cloud Posse 0c2347c each accepted the original generated trust principal and rejected the changed principal with the expected assertion. Each uses one added Terraform test file and no positive-case module edits. Cloud Posse overrides only the account lookup and supplies three inputs. Tests use targeted plan mode after dependency setup, with networking disabled and no AWS credentials. This verifies one policy per upstream root, not a complete untargeted plan. Setup effort for an independent adopter is unmeasured. Native Terraform met this gate without an ARCHNET-specific runtime.Offline IAM experiment
Run passed all four controls at
093fd78fa42cda2b3d63196e3eaa75aa899218ad. Terraform rendered actual policy JSON for the extracted EKS and Cloud Posse policy blocks with synthetic inputs and networking disabled. Both original principals matched, and both changed principals failed the same assertion. This demonstrates a native recipe for extracted renderers. Full upstream modules, cloud read substitution within those modules, and external demand remain unverified. No redesign or rebrand is supported by this result alone.Standalone product and submission decision
A local comparison used an inline SHA-256 file inventory with expected hashes established from the clean baseline. Both implementations accepted clean source and rejected the same extra-file and in-place declaration fixtures. This was a source-gate comparison only. A team can pair the inline gate with the same Terraform plan command. ARCHNET provides the documented fixtures and path-specific diagnostics, but the comparison establishes no adoption or maintenance advantage. Keep the work as an experimental reference and revisit a standalone product when an independent team shows an unmet need.
GitHub branch rules and classic protection endpoints were inaccessible from the available connection. Required-check enforcement on main remains unverified. The project license and maintainer file also remain unverified. Foundation submission is on hold pending target selection and eligibility review. No infrastructure or repository settings were changed.
Current verification
Commit
209439a7a86e1324690c2f50a39ce15875d5a65bpassed CI run #24. The benchmark now appends the provider-free resource fixture directly to the approvedterraform/main.tfin a temporary copy. The real guard rejected the modified file before Terraform ran. The clean plan still produced zero changes. The source benchmark and seven unit tests also passed locally.The public README links to the reproduction instructions. Required-check enforcement on main, a comparison against a minimal check in existing CI, independent demand and foundation submission readiness remain open. AWS provisioning stays disabled.
Prior public evidence review
Commit
726a281b4e1f3c660b826dae84a2fa082c655198passed all four checks in run #23. This revision updates the engineering audit. Public reports corroborate planning and credential friction. The only exact case of a cloud-disabled root retaining live AWS dependencies found in this review was ARCHNET itself. Keep the benchmark as a reusable engineering baseline and leave product expansion pending stronger evidence.Required-check enforcement on
mainremains unverified. No settings changes, merge or live AWS activity were performed.Benchmark measurements from run #22
Commit
628a382688e70ebc7cae04b4753832d9fda1ea5dpassed Terraform, validation, security and Kubernetes in run #22.Elapsed times cover the individual commands on one runner and exclude setup, queue time and JSON inspection. The source fixture uses Terraform's built-in resource type in a temporary copy. The benchmark and seven existing tests passed locally with a workspace temporary directory. Terraform and Kubernetes ran in CI. See the exact Terraform job and reproduction instructions. This validates the engineering contract. External demand and adoption remain open.
Earlier hardening verification
Commit
1f5cb64e9dfd31766915ec75ae7db815034de40epassed CI run #21. All four jobs passed: validation, Terraform, Kubernetes and security.Audit and failure history
Run #19 passed on the original requested commit. The architecture review found six unconditional networking resources and an AMI data source despite the disabled EC2 flag. The executable root now has zero providers, resources and data sources. Run #20 caught the remaining root-level AWS inputs, which were removed before run #21.
Engineering audit records the candidate workflow, public practitioner evidence and alternatives. The candidate is credential-free evidence that a cloud-disabled sandbox still proposes zero changes in a PR. Demand for ARCHNET and adoption remain unverified.
Scope and open verification
The infrastructure ceiling is $10/month. This PR authorizes $0 in live cloud spend. AWS provisioning is disabled and no AWS resources were created. Argo CD sync, workload deployment, recovery, independent operator reproduction and production readiness remain outside the verified scope. Required-check enforcement on the target branch has not been verified. Keep this PR in draft for review.