Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

fix(ci): scope release-age exception to pinned engine

Maicol Extic Oliveras Jimenez2111171f88ab
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 03e619b..e9739d5 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -33,6 +33,9 @@ jobs:
# Keep lifecycle scripts enabled; pnpm-workspace.yaml allows esbuild and gentle-pi.
- name: Install dependencies
+ env:
+ # Trust only this pinned release within the age window, for this step's processes.
+ PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE: '["[email protected]"]'
run: pnpm install --frozen-lockfile --ignore-scripts=false
- name: Typecheck
diff --git a/odd/tasks/update-engine-stable.md b/odd/tasks/update-engine-stable.md
index e029e2f..658416c 100644
--- a/odd/tasks/update-engine-stable.md
+++ b/odd/tasks/update-engine-stable.md
@@ -1,6 +1,6 @@
# Update the bundled engine to stable releases
Branch: `chore/update-engine-stable`, from `origin/main` at `3f0a25a`. Delivery: ask-on-risk; separate dependency and macOS CI work units (~150 authored lines, excluding generated lockfile).
-Checks: pnpm 11.5.0, Vitest, TypeScript, UI build, independent verification; Risk: item 5 (runtime dependencies).
+Checks: pnpm 11.5.0, Vitest, TypeScript, UI build, independent verification; Risk: items 2 (exact CI supply-chain exception) and 5 (runtime dependencies and CI).
## Specs
S1. "mira el proyecto a ver si es el mismo dionde estas y si no lo clonas"
@@ -9,15 +9,25 @@ S3. "y la propiia de gentle-dot la vas a actualizar para que use lo ultimo de ge
S4. "debes hacer ell ci para probarlo en mac"
S5. "mira que podemos limpiar en M para poder hacer ese push"
S6. "si dale" (authorization for the two named .next folders with their servers stopped).
+S7. "Allow exact [email protected] exception in CI". Accepted preview:
+```text
+- Exception applies only to `[email protected]` in the runner's temporary configuration.
+- Keep the frozen lockfile, integrity checks, other release-age checks, and existing full test/build/stage/smoke steps.
+- Do not change global or general repository package-age policy.
+- No merge until the resulting required CI and repository checks pass.
+- No force push or Windows/Spanish integration changes.
+```
+S8. "Correct helper and check once". Preserve the original failed helper/results, fix only its escaping in a new file, and run the unchanged assertions once.
## Tasks
T1 | S1-S3 | inline continuation after unavailable writer | pending | Pins, lockfile and packaging expectations aligned in d56ae1a; frozen install passed, compatibility unresolved.
T2 | S3 | inline checks | pending | Local full suite failed (93 failed, 841 passed, 50 skipped; 3 errors). Native macOS CI will establish platform evidence; baseline causality remains unknown.
T3 | S1-S3 | independent verify + native review | blocked | Independent verifier timed out at startup and returned no verdict; await human disposition of unavailable verification and failing checks. Native review not started, no commit.
T4 | S4 | delegated (context backstop) | done (local preparation) | Added .github/workflows/macos.yml; YAML and structural checks pass; separate CI work-unit commit pending.
-T5 | S4 | remote execution | in_progress | GitHub authentication/push permission and commit identity confirmed; dependency candidate d56ae1a created, preparing CI candidate and authorized push.
+T5 | S4 | remote execution | pending | Existing CI run 41968415035 failed dependency installation; typecheck, tests, UI build, staging and smoke were skipped. T8 prepares the explicitly authorized exact-version CI exception; no passing CI evidence yet.
T6 | S5 | inline read-only audit | done | Audited M: without deletion: 449776 files, zero errors; identified two generated .next folders (424+385 MiB).
T7 | S6 | inline scoped cleanup | done | Removed only inactive website .next, verified absent and 388 MiB free. WhatsApp .next preserved because a project process was active; no process stopped. Further cleanup unnecessary for current push.
+T8 | S7-S8 | inline CI patch + config readback + independent verification + remote CI | in_progress | Step-local exact-version override only; parent config/structural RED/GREEN passed. The authorized escaping-only correction passed the unchanged independently authored assertions. Original helper failure remains retained, not reclassified. Native review and actual macOS CI are still pending; this commit is for obtaining that proof, not a merge approval.
## Log
L1. Original request: "sabes clona este repo https://github.com/Gentleman-Programming/gentle-dot.git en M_/Dev/personal y mira que version de gentle-shell tiene po detras y se deb hacer que use la ultima en main"
@@ -38,3 +48,8 @@ L15. User asked "mira que podemos limpiar en M para poder hacer ese push". Read-
L16. Process safety check preserved WhatsApp .next due to an active project Node process. No process was stopped. Deleted only the authorized inactive website .next; verified it absent, WhatsApp build still present, and free space increased from1MiB to388MiB. This suffices for current Git work; no broader cleanup attempted.
L17. Git add now succeeded and dependency changes are staged. Commit failed with "Author identity unknown" and "unable to auto-detect email address". No global/repository Git author configuration was invented or modified. Await user choice of commit identity; branch still has no new commit/push.
L18. User selected "Usar mi cuenta GitHub y correo privado noreply" for these commit commands only. GitHub user API confirmed public identity; used command-scoped user.name/user.email with its standard GitHub noreply address, not persistent Git configuration. Dependency candidate commit d56ae1a00592f4e20a8653e05ead70dfa66b524e created (27 authored lines excluding lockfile). Initial native committed-only assessment still refused ambient untracked files; normalize intended workflow/task tracking in index before assessment. No review approval or functional pass claimed.
+L19. Published CI candidate 3c001afbbcf6001e98314ef041fc15279928ff0d produced https://github.com/Gentleman-Programming/gentle-dot/actions/runs/41968415035 . The dependency installation failed with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION for [email protected], published 2026-11-04T20:11:59Z within the active 24-hour age window. Typecheck, full Vitest, UI build, staging and smoke did not run. Earlier Windows failures and unavailable independent verification remain unresolved; no tests are called passing or baseline-only. Main advanced seven commits to e1b718934fe4854913f4fc6468b53be7ddbd7d7e; only the engine branch is authorized for conditional delivery, not the separate Windows/Spanish integration.
+L20. Human explicitly approved S7, including a narrow workflow commit/push and complete CI without force or bypass. An isolated same-clone worktree tracks the existing engine branch at 3c001af, preserving all other worktrees. A single isolated pnpm 11.5.0 config-only probe confirmed PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE parses the JSON value as exactly ["[email protected]"], while the generic minimumReleaseAge getter remains unset before/after (the built-in default is not rendered). No local dependency install or macOS pass is inferred. The patch scopes that environment value to Install dependencies; all subsequent steps and lifecycle settings remain unchanged. Issue preparation is draft-only: no issue, label, approval or PR has been published.
+L21. Writer structural verification used an isolated physical YAML 2.9.0 tooling copy, not the unavailable new SDK. The baseline workflow failed the new exact-install-step assertion (exit1); the candidate passed (exit0, empty stderr). Parsed-object equality confirms every other workflow field is identical, including normal lifecycle scripts, frozen lockfile, triggers, permissions, typecheck/tests/UI build/stage/smoke. Only the workflow and this task document changed; git diff --check passed. The temporary-root inventory was 630827350 bytes, below its 4 GiB allowance. This is configuration/structural evidence, not dependency installation, macOS execution or complete engine compatibility. Native assessment reports high risk and an independent verifier for the named supply-chain exception; review and actual CI remain pending.
+L22. One separate verifier inspected the new CI unit and passed git diff --check, confirming only the three install-step environment lines plus tracking changed. Its generated independent helper failed at line43 with SyntaxError: Invalid or unexpected token for both baseline and candidate, before YAML assertions or hash invariants ran. This is an infrastructure failure, not a reproduced patch defect and not a successful independent execution. The failed helper and receipts are retained unchanged; no correction, recheck, native review, commit, push, CI rerun or merge followed automatically. A separately named bounded helper correction and targeted check need explicit disposition. The proposed maintenance issue remains an unpublished draft; no labels or approval were invented.
+L23. Human selected S8 and separately approved the exact maintenance issue body, creation/application of status:approved to that issue, and creation of type:chore for its future nonclosing-Refs PR. The single corrected helper added one missing backslash in a new file, preserving the original helper SHA256 5b6c490886dd58e555f47553ef2aa21bd996fdbbdf06b0483198f8b178beff14. Unchanged independent assertions then produced expected baseline RED exit1 and candidate GREEN exit0 with exact PASS stdout and empty stderr; parsed equality, two-path scope and hash invariants executed. The copied candidate workflow matches live bytes. This was a parent-executed targeted correction, not a new model verdict or macOS run. No product code or assertion semantics changed; no further verification sweep was started. Native review, actual CI and conditional merge remain pending. Issue publication is a separate, single-attempt, exact-readback operation.