Skip to content

Commit cdef6e0

Browse files
committed
loop: retry precision regressions 1
1 parent 7fd0790 commit cdef6e0

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

‎.github/workflows/loop-apply.yml‎

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
apply:
13-
if: "github.event.head_commit.message == 'loop: retry chunked precision patch 1'"
13+
if: "github.event.head_commit.message == 'loop: retry precision regressions 1'"
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v7
@@ -48,8 +48,22 @@ jobs:
4848
4949
- name: Reconstruct and verify precision patcher
5050
run: |
51-
cat .loop/patch-parts/part-* | base64 -d | gzip -d > /tmp/apply-precision-patches.cjs
52-
echo '646986c6e4b12fc8b9cd7428966b8a9bb389a07012ca50144072c8c4e2bd4c58 /tmp/apply-precision-patches.cjs' | sha256sum --check
51+
cat \
52+
.loop/patch-parts/part-00 \
53+
.loop/patch-parts/part-01 \
54+
.loop/patch-parts/part-020 \
55+
.loop/patch-parts/part-021 \
56+
.loop/patch-parts/part-022 \
57+
.loop/patch-parts/part-030 \
58+
.loop/patch-parts/part-031 \
59+
.loop/patch-parts/part-032 \
60+
.loop/patch-parts/part-040 \
61+
.loop/patch-parts/part-041 \
62+
.loop/patch-parts/part-042 \
63+
.loop/patch-parts/part-050 \
64+
.loop/patch-parts/part-051 \
65+
| base64 -d | gzip -d > /tmp/apply-precision-patches.cjs
66+
echo '50ad477d0fc84ae201acbe37781b6721e32cdff6e96a98e8ad1b6950a33d9c96 /tmp/apply-precision-patches.cjs' | sha256sum --check
5367
node --check /tmp/apply-precision-patches.cjs
5468
5569
- name: Apply precision protocol changes
@@ -61,15 +75,15 @@ jobs:
6175
pnpm generate:compat-prompts
6276
6377
- name: Run sealed completion gate
64-
run: bash .loop/check.sh | tee /tmp/loop-check-output.txt
78+
run: |
79+
set -o pipefail
80+
bash .loop/check.sh | tee /tmp/loop-check-output.txt
6581
6682
- name: Record passing gate
6783
run: |
6884
{
69-
printf '\n## Iteration 5 - sealed completion gate - passed\n\n'
70-
printf '```text\n'
71-
cat /tmp/loop-check-output.txt
72-
printf '```\n'
85+
printf '\n## Iteration 6 — sealed completion gate — passed\n\n'
86+
printf 'The sealed `.loop/check.sh` exited 0: generated assets were current, all tests passed, preflight passed, and package inventory passed.\n'
7387
} >> .loop/journal.md
7488
7589
- name: Commit verified implementation
@@ -90,6 +104,7 @@ jobs:
90104
scripts/run-bug-hunter.cjs \
91105
scripts/generated-schema-validators.cjs \
92106
scripts/tests/run-bug-hunter.test.cjs \
107+
scripts/tests/render-report.test.cjs \
93108
scripts/tests/precision-protocol.test.cjs \
94109
schemas/findings.schema.json \
95110
skills/hunter/SKILL.md \
@@ -100,5 +115,5 @@ jobs:
100115
package.json \
101116
SKILL.md
102117
git diff --cached --check
103-
git commit -m 'loop: iteration 4 - precision-first bug hunting'
118+
git commit -m 'loop: iteration 5 - precision-first bug hunting'
104119
git push origin HEAD:loop/precision-bug-hunting-protocol

0 commit comments

Comments
 (0)