Skip to content

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

TypeScript

fix(ci): share pinned age exception across job

Maicol Extic Oliveras Jimenez55391d4ba97b
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index e9739d5..6076f63 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -18,6 +18,9 @@ jobs:
name: Engine and staged runtime
runs-on: macos-latest
timeout-minutes: 30
+ env:
+ # Keep this exact CI-only exception consistent across pnpm's automatic dependency checks.
+ PNPM_CONFIG_MINIMUM_RELEASE_AGE_EXCLUDE: '["[email protected]"]'
defaults:
run:
shell: bash
@@ -33,9 +36,6 @@ 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 658416c..01884fc 100644
--- a/odd/tasks/update-engine-stable.md
+++ b/odd/tasks/update-engine-stable.md
@@ -18,16 +18,25 @@ S7. "Allow exact [email protected] exception in CI". Accepted preview:
- 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.
+S9. "Use job-local exact exception (recommended)". Accepted CI-scope preview:
+```text
+- Keep exactly `[email protected]`; no wildcard or other version/package exemption.
+- Keep the frozen lockfile, integrity checks, general release-age policy, lifecycle settings and every existing CI command.
+- Do not disable pnpm’s automatic dependency checks or change global/repository package policy.
+- Change only the CI scope and its documentation; no Windows/Spanish integration, force push or early merge.
+- Treat the previous native approval as covering only commit `2111171`, not the new change.
+```
+The approved issue #194 scope bullet is revised to: "Limit the approved release-age exception to exactly `[email protected]` in the CI job's temporary runner environment, shared by all pnpm commands and their automatic dependency checks. Do not lower the general release-age policy or change global configuration."
## 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 | 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.
+T3 | S1-S3 | independent verify + native review | blocked | Original SDK verifier timed out at startup and returned no verdict, without retry. Dependency candidate d56ae1a is committed; compatibility and missing SDK-wide verification remain unresolved. The later native approval of CI-only commit 2111171 is not SDK approval.
+T4 | S4 | delegated (context backstop) | done (local preparation) | Original macOS workflow preparation was committed as 3c001af. This does not claim passing hosted CI; the observed failures and scoped follow-ups are recorded below.
+T5 | S4 | remote execution | pending | Run 42047400931 on 2111171 passed installation, then pnpm's automatic install before typecheck failed the same release-age guard. TypeScript execution is not proven; tests, UI build, staging and smoke were skipped. The newly approved job-local follow-up has not run.
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.
+T8 | S7-S9 | inline CI scope patch + structural checks + independent verification + remote CI | in_progress | S9 revises the exact-version override from install-step-local to temporary job-local so every pnpm invocation shares it. Keep every other workflow field and command unchanged. The new parent structural RED/GREEN, independent S9 structural verification and exact issue-scope readback passed. New native review, commit/push and the single new hosted run remain pending; prior approval of 2111171 does not transfer.
## 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"
@@ -53,3 +62,7 @@ L20. Human explicitly approved S7, including a narrow workflow commit/push and c
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.
+L24. Approved maintenance issue https://github.com/Gentleman-Programming/gentle-dot/issues/194 was created once and read back exactly, with status:approved; type:chore exists for its future nonclosing-Refs PR. CI-only candidate 2111171 was normally pushed with the remote SHA confirmed, then reviewed through risk/readability/reliability; exact acknowledgement burned that candidate's native approval. It does not cover the SDK update, a future scope change or passing CI. The original issue body and current CI task evidence remain retained.
+L25. Actual run https://github.com/Gentleman-Programming/gentle-dot/actions/runs/42047400931 passed dependency installation. The next pnpm typecheck invocation ran runDepsStatusCheck, which spawned another pnpm install outside the install-step exception and failed ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION for the same 4.6.0 release. No TypeScript diagnostic is established. Full Vitest, UI build, native staging and smoke were skipped; no merge or automatic rerun followed. Human then selected S9, explicitly authorizing the same exact exception at temporary job scope, a normal follow-up commit/push and one complete new CI execution, plus only the specified issue #194 scope-bullet edit. No dependency validation, general package policy, lockfile, lifecycle setting or existing command may be disabled or changed.
+L26. The exact issue #194 scope-bullet edit was applied once and read back: normalized new body SHA256 3565fb4063794be0b267f75e507d254342bbbf98d76476bc50f2c2419e4c6662; title, all other body text, state and labels unchanged. Owner-only staging was verified and only the two authorized publication files were removed. Parent S9 structural verification used a fresh isolated physical YAML tooling copy, with no SDK import/install: prior 2111171 workflow RED exit1 for missing job-local scope, candidate GREEN exit0 with empty stderr. Strict parsed equality confirms only the exact environment field moves from the install step to the CI job; every other field and command stays identical. Only this task document and macOS workflow differ, and git diff --check passed. Aggregate test-root inventory before this check was 652802556 bytes, below 4 GiB. Independent verification, new native review and actual hosted execution remain pending; no passing CI or merge is claimed.
+L27. One new independent verifier for S9 passed its single isolated probe with exit0, exact PASS stdout and empty stderr. Strict unique-key YAML parsing confirmed the exact job-only exception, removal of install-step env, full baseline field-move equality, unchanged commands and preserved fixture bytes. Its git diff --check and two-path scope checks passed, with workspace hashes unchanged. S1-S8/SDK compatibility were explicitly outside that unit; no new SDK install, network, profiles, hardware, cleanup or actual CI was performed. The fixture is retained as ci-s9-independent-1JHBJb under the approved test root; aggregate usage stayed below 4 GiB. This follow-up is a candidate for new native review and the single authorized hosted CI run, not a claim of CI success or merge permission.