Skip to content

Commit e6aea39

Browse files
feat: AffineScript port of tests/validate.test.ts (TS->AS campaign step 2) (#25)
* feat(security): fleet-wide workflow hardening (SHA pinning + permissions) * feat: AffineScript port of tests/validate.test.ts (TS->AS campaign step 2) Additive port of tests/validate.test.ts to tests/validate.test.affine plus compiled tests/validate.test.deno.js (Deno-ESM target). All 22 structural-validation tests pass via: deno run --allow-read tests/validate.test.deno.js The .ts source is retained (additive port; standards#241 TAIL BATCH 1 guidance). Coverage parity: * UNIT / SMOKE / E2E / CONTRACT / ASPECT / BENCHMARK arms all ported * TOML "parse without error" assertion replaced with regex-based well-shaped-and-non-empty check (AffineScript has no TOML stdlib binding today; documented gap in PR body). * Field-presence assertions converted from `parseTOML(...)` lookups to anchored regex matches against the raw text -- functionally equivalent for the invariants this suite protects. Compile invocation: AFFINESCRIPT_STDLIB=.../affinescript/stdlib \ affinescript compile --deno-esm \ -o tests/validate.test.deno.js tests/validate.test.affine Part of hyperpolymath/standards#239 / standards#241. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a89d9ba commit e6aea39

3 files changed

Lines changed: 913 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# mix release
3535
3636
# TODO: Upload build artifacts if needed
37-
# - uses: actions/upload-artifact@v4
37+
# - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3838
# with:
3939
# name: release-artifacts
4040
# path: target/release/
@@ -94,7 +94,7 @@ jobs:
9494
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9595

9696
# TODO: Download build artifacts if uploading to the release
97-
# - uses: actions/download-artifact@v4
97+
# - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
9898
# with:
9999
# name: release-artifacts
100100
# path: artifacts/

0 commit comments

Comments
 (0)