Commit fff3311
fix(ci): hypatia-scan.yml -- --exit-zero + GITHUB_TOKEN (hyperpolymath/hypatia#213) (#32)
* fix(ci): hypatia-scan.yml -- pass GITHUB_TOKEN, use --exit-zero (hyperpolymath/hypatia#213)
The Hypatia Security Scan workflow exits 1 on any findings (>= medium)
because lib/hypatia/cli.ex halts with System.halt(1). Under `set -e`,
that short-circuits the step before jq/artifact-upload/PR-comment run.
Mirrors hyperpolymath/hypatia#228:
* pass GITHUB_TOKEN so the Dependabot rule stops warning
* append --exit-zero so the downstream critical/high gate stays
the explicit gate
* bump actions/upload-artifact to v4.6.2 (ea165f8d) to match the
estate-wide pin
See hyperpolymath/hypatia#213 for the diagnosis.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* fix(ci): bump erlef/setup-beam to fc68ffb (ubuntu24 support)
Follow-up commit on PR #32. The Hypatia Neurosymbolic Analysis check has been failing because `erlef/setup-beam@2f0cc07b…` doesn't know how to map `ImageOS=ubuntu24` (only knows ubuntu18/20/22). Without the bootstrap, the `--exit-zero` change in this PR never gets exercised.
Bumping the pin to `fc68ffb90438ef2936bbb3251622353b3dcb2f93` (matches the pin currently in hyperpolymath/hypatia upstream, dated 2026-03-30, adds ubuntu24 → ubuntu-24.04 mapping).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
* fix(manifests): add top-level identity to vendored A2ML + K9 templates
The 6 A2ML manifests under verified-container-spec/.machine_readable/6a2/
and the 6 K9 templates/examples under .machine_readable/svc/k9/ were
firing identity-field validation errors on every CI run, blocking
#32 (and any other PR) from going green.
Two parallel fixes:
* A2ML: added `name = "verified-container-spec/<file>"` inside the
[metadata] section of META, NEUROSYM, PLAYBOOK, AGENTIC (the 4 that
lacked any top-level identity). STATE and ECOSYSTEM already had
`project` / `name` respectively; left untouched.
* K9 templates/examples: hoisted a `name = "k9-template/<level>"` or
`name = "k9-example/<name>"` field to the top of each pedigree block,
immediately after `schema_version`. Works around a brace-counting
edge in hyperpolymath/k9-validate-action's pedigree-block detector:
when `pedigree = {` opens, the validator doesn't count the opening
brace from that line, so a subsequent `security = { ... },` closing
brace prematurely terminates the validator's view of the pedigree
block — making `metadata.name` invisible. The hoisted top-level
`pedigree.name` is captured at depth 1 before any nested block,
so it's seen regardless of the bug. The underlying bug is being
addressed upstream in k9-validate-action#7.
Both classes of error will also be self-suppressing once stapeln bumps
its action pins to consume the new `paths-ignore` input being added in
hyperpolymath/a2ml-validate-action#7 + hyperpolymath/k9-validate-action#7
(vendored / training-corpus paths default-skipped). The fixes here are
belt-and-suspenders — independent of those upstream merges, so stapeln
#32 can go green today rather than waiting on the dependency chain.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent 96b85c2 commit fff3311
11 files changed
Lines changed: 16 additions & 3 deletions
File tree
- .github/workflows
- .machine_readable/svc/k9
- examples
- verified-container-spec/.machine_readable/6a2
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
79 | | - | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments