diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 62bbc98..156264a 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -31,4 +31,4 @@ permissions: jobs: governance: - uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9 \ No newline at end of file + uses: hyperpolymath/standards/.github/workflows/governance-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9 diff --git a/.github/workflows/hypatia-scan.yml b/.github/workflows/hypatia-scan.yml index 2e7e939..7428a14 100644 --- a/.github/workflows/hypatia-scan.yml +++ b/.github/workflows/hypatia-scan.yml @@ -26,4 +26,4 @@ permissions: jobs: hypatia: uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9 - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/deno.json b/deno.json deleted file mode 100644 index ae12732..0000000 --- a/deno.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "tasks": { - "test": "deno test --allow-read --allow-env tests/", - "bench": "deno bench --allow-read tests/bench/" - } -} diff --git a/tests/aspect/security_aspect_test.ts b/tests/aspect/security_aspect_test.affine similarity index 96% rename from tests/aspect/security_aspect_test.ts rename to tests/aspect/security_aspect_test.affine index 9eb1bd1..a331aea 100644 --- a/tests/aspect/security_aspect_test.ts +++ b/tests/aspect/security_aspect_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module security_aspect_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Aspect tests for security properties across the configuration @@ -192,3 +200,5 @@ Deno.test("aspect: Secret is type Opaque not other types", async () => { // Should be Opaque type for sensitive data assertEquals(content.includes('type: Opaque') || content.includes('type: "Opaque"'), true); }); + +==================================== */ diff --git a/tests/bench/config_bench.ts b/tests/bench/config_bench.affine similarity index 90% rename from tests/bench/config_bench.ts rename to tests/bench/config_bench.affine index 1a96a74..de0f79c 100644 --- a/tests/bench/config_bench.ts +++ b/tests/bench/config_bench.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module config_bench; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Benchmark tests for configuration read performance @@ -65,3 +73,5 @@ Deno.bench("bench: parse kubernetes manifest string content", async () => { // Basic parsing simulation: count lines content.split("\n").length; }); + +==================================== */ diff --git a/tests/contract/network_contracts_test.ts b/tests/contract/network_contracts_test.affine similarity index 96% rename from tests/contract/network_contracts_test.ts rename to tests/contract/network_contracts_test.affine index 03de86b..9e5ad3c 100644 --- a/tests/contract/network_contracts_test.ts +++ b/tests/contract/network_contracts_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module network_contracts_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Contract tests for network configuration invariants @@ -162,3 +170,5 @@ Deno.test("contract: INVARIANT — Layout.idr must import Types module", async ( const content = await Deno.readTextFile("src/abi/Layout.idr"); assertStringIncludes(content, "import ZEROTIER_K8S_LINK.ABI.Types"); }); + +==================================== */ diff --git a/tests/e2e/network_e2e_test.ts b/tests/e2e/network_e2e_test.affine similarity index 96% rename from tests/e2e/network_e2e_test.ts rename to tests/e2e/network_e2e_test.affine index b9ae173..f3c6872 100644 --- a/tests/e2e/network_e2e_test.ts +++ b/tests/e2e/network_e2e_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module network_e2e_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // End-to-end tests for full network configuration pipeline @@ -140,3 +148,5 @@ Deno.test("e2e: capabilities in network config align with daemonset permissions" // Daemonset should have CAP_NET_ADMIN for network management assertStringIncludes(daemonsetContent, "NET_ADMIN"); }); + +==================================== */ diff --git a/tests/property/network_property_test.ts b/tests/property/network_property_test.affine similarity index 96% rename from tests/property/network_property_test.ts rename to tests/property/network_property_test.affine index 6ad2496..f45914b 100644 --- a/tests/property/network_property_test.ts +++ b/tests/property/network_property_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module network_property_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Property-based tests for configuration consistency and naming conventions @@ -178,3 +186,5 @@ Deno.test("property: Firewall zone names are lowercase identifiers", async () => } } }); + +==================================== */ diff --git a/tests/smoke/infra_smoke_test.ts b/tests/smoke/infra_smoke_test.affine similarity index 94% rename from tests/smoke/infra_smoke_test.ts rename to tests/smoke/infra_smoke_test.affine index dbd2cd3..3faec9e 100644 --- a/tests/smoke/infra_smoke_test.ts +++ b/tests/smoke/infra_smoke_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module infra_smoke_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Smoke tests for infrastructure file presence and basic validity @@ -110,3 +118,5 @@ Deno.test("smoke: root manifest file exists", async () => { assertEquals(typeof content, "string"); assertEquals(content.length > 0, true); }); + +==================================== */ diff --git a/tests/unit/config_structure_test.ts b/tests/unit/config_structure_test.affine similarity index 95% rename from tests/unit/config_structure_test.ts rename to tests/unit/config_structure_test.affine index 5272143..5862ecf 100644 --- a/tests/unit/config_structure_test.ts +++ b/tests/unit/config_structure_test.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module config_structure_test; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) // // Unit tests for configuration file structure validation @@ -116,3 +124,5 @@ Deno.test("unit: servicemonitor.yaml exists and is valid YAML", async () => { // ServiceMonitor may be optional but should validate if present assertEquals(typeof content, "string"); }); + +==================================== */