betterwithage Claude Opus 4.7 commited on
Commit
f3b817a
·
verified ·
1 Parent(s): 66c3edc

deploy(hf): sync szl-holdings/a11oy@047cd65edca3f42cd14948b27155d3819a5f7d01 derived COPY set

Browse files

Reusable Dockerfile-COPY-derived deploy from szl-holdings/a11oy 047cd65edca3f42cd14948b27155d3819a5f7d01.
Files: 1163 Pruned: 0
Derived from Dockerfile COPY sources (NO hand-maintained allowlist).

Signed-off-by: SZL Holdings <noreply@szlholdings.ai>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

routers/series_a_web/app.js CHANGED
@@ -1,7 +1,7 @@
1
  (() => {
2
  "use strict";
3
  const API = "/api/a11oy/v1/series-a";
4
- const EXECUTION_TIMEOUT_MS = 60000;
5
  const DEFAULT_TARGETS = {
6
  "estate.refresh": "szl://estate/current",
7
  "probe.public_surface": "https://a-11-oy.com/healthz"
@@ -145,8 +145,10 @@
145
  executableDigest = value.passport_digest;
146
  executeButton.disabled = false;
147
  }
148
- } catch (error) { output.textContent = `UNAVAILABLE: ${error.message || error}`; }
149
- await load();
 
 
150
  });
151
  const renderOutcome = (outcome, receipt) => {
152
  executionOutput.textContent = JSON.stringify({
@@ -162,14 +164,12 @@
162
  }, null, 2);
163
  };
164
  const recoverOutcome = async (passportDigest) => {
165
- for (let attempt = 0; attempt < 5; attempt += 1) {
166
  try {
167
- const receipts = await request("/receipts");
168
- const found = (receipts.items || []).find(item =>
169
- item.kind === "passport.outcome" &&
170
- item.receipt?.payload?.passport_digest === passportDigest
171
  );
172
- if (found) return {outcome: found.receipt.payload, receipt: found};
173
  } catch {}
174
  await new Promise(resolve => setTimeout(resolve, 2000));
175
  }
@@ -191,7 +191,7 @@
191
  } catch (error) {
192
  const recovered = await recoverOutcome(passportDigest);
193
  if (recovered) renderOutcome(recovered.outcome, recovered.receipt);
194
- else executionOutput.textContent = `UNAVAILABLE: ${error.message || error}`;
195
  }
196
  await load();
197
  });
 
1
  (() => {
2
  "use strict";
3
  const API = "/api/a11oy/v1/series-a";
4
+ const EXECUTION_TIMEOUT_MS = 135000;
5
  const DEFAULT_TARGETS = {
6
  "estate.refresh": "szl://estate/current",
7
  "probe.public_surface": "https://a-11-oy.com/healthz"
 
145
  executableDigest = value.passport_digest;
146
  executeButton.disabled = false;
147
  }
148
+ } catch (error) {
149
+ if (revision === evaluationRevision) output.textContent = `UNAVAILABLE: ${error.message || error}`;
150
+ }
151
+ if (revision === evaluationRevision) await load();
152
  });
153
  const renderOutcome = (outcome, receipt) => {
154
  executionOutput.textContent = JSON.stringify({
 
164
  }, null, 2);
165
  };
166
  const recoverOutcome = async (passportDigest) => {
167
+ for (let attempt = 0; attempt < 30; attempt += 1) {
168
  try {
169
+ const value = await request(
170
+ `/passports/outcomes/${encodeURIComponent(passportDigest)}`
 
 
171
  );
172
+ return {outcome: value.outcome, receipt: value.outcome_receipt};
173
  } catch {}
174
  await new Promise(resolve => setTimeout(resolve, 2000));
175
  }
 
191
  } catch (error) {
192
  const recovered = await recoverOutcome(passportDigest);
193
  if (recovered) renderOutcome(recovered.outcome, recovered.receipt);
194
+ else executionOutput.textContent = `PENDING_RECONCILIATION · execution was not retried: ${error.message || error}`;
195
  }
196
  await load();
197
  });
routers/series_a_web/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
  <title>A11oy Series-A Live Control Plane</title>
7
- <link rel="stylesheet" href="/series-a/styles.css">
8
  </head>
9
  <body>
10
  <a class="skip" href="#main">Skip to control plane</a>
@@ -53,6 +53,6 @@
53
  </section>
54
  </main>
55
  <footer>MEASURED · REPORTED · MODELED · UNKNOWN · UNAVAILABLE · no private reasoning collected</footer>
56
- <script src="/series-a/app.js" defer></script>
57
  </body>
58
  </html>
 
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width,initial-scale=1">
6
  <title>A11oy Series-A Live Control Plane</title>
7
+ <link rel="stylesheet" href="/series-a/styles.css?v=__SOURCE_REVISION__">
8
  </head>
9
  <body>
10
  <a class="skip" href="#main">Skip to control plane</a>
 
53
  </section>
54
  </main>
55
  <footer>MEASURED · REPORTED · MODELED · UNKNOWN · UNAVAILABLE · no private reasoning collected</footer>
56
+ <script src="/series-a/app.js?v=__SOURCE_REVISION__" defer></script>
57
  </body>
58
  </html>