Skip to content

Commit 194b983

Browse files
committed
loop: retry chunked precision patch 1
1 parent 59d86c1 commit 194b983

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

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

Lines changed: 11 additions & 6 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 precision patch 2'"
13+
if: "github.event.head_commit.message == 'loop: retry chunked precision patch 1'"
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v7
@@ -46,10 +46,14 @@ jobs:
4646
test "$status" -ne 0
4747
printf '%s\n' "$output" | grep -F 'ASSERTION FAILED: required precision-protocol file is missing: scripts/source-config.cjs'
4848
49-
- name: Apply precision protocol changes
49+
- name: Reconstruct and verify precision patcher
5050
run: |
51-
base64 -d .loop/apply-precision-patches.cjs.gz.b64 | gzip -d > /tmp/apply-precision-patches.cjs
52-
node /tmp/apply-precision-patches.cjs
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
53+
node --check /tmp/apply-precision-patches.cjs
54+
55+
- name: Apply precision protocol changes
56+
run: node /tmp/apply-precision-patches.cjs
5357

5458
- name: Regenerate runtime assets
5559
run: |
@@ -62,7 +66,7 @@ jobs:
6266
- name: Record passing gate
6367
run: |
6468
{
65-
printf '\n## Iteration 4 - sealed completion gate - passed\n\n'
69+
printf '\n## Iteration 5 - sealed completion gate - passed\n\n'
6670
printf '```text\n'
6771
cat /tmp/loop-check-output.txt
6872
printf '```\n'
@@ -76,6 +80,7 @@ jobs:
7680
.loop/progress.md \
7781
.loop/journal.md \
7882
.loop/apply-precision-patches.cjs.gz.b64 \
83+
.loop/patch-parts \
7984
.github/workflows/loop-apply.yml \
8085
scripts/source-config.cjs \
8186
scripts/triage.cjs \
@@ -95,5 +100,5 @@ jobs:
95100
package.json \
96101
SKILL.md
97102
git diff --cached --check
98-
git commit -m 'loop: iteration 3 - precision-first bug hunting'
103+
git commit -m 'loop: iteration 4 - precision-first bug hunting'
99104
git push origin HEAD:loop/precision-bug-hunting-protocol

0 commit comments

Comments
 (0)