## Family branch for consolidation directive item 4 `batch-sql-ratchet` did not exist and ~10 open PRs are waiting for a collection point, so this establishes it. **Fold your census/ratchet commit here and close your own PR as superseded.** ```bash git fetch origin batch-sql-ratchet git checkout -B batch-sql-ratchet origin/batch-sql-ratchet git cherry-pick <your-sha> # verify scoped, not full suite: pnpm --filter @fusion/core exec vitest run src/__tests__/archived-column-gate-parity.test.ts --silent=passed-only --reporter=dot git push origin HEAD:batch-sql-ratchet ``` **Candidates I can see open right now** (owners: please fold + close): | PR | branch | |---|---| | #2938 | `fix/comments-ops-sentinel` | | #2935 | `fix/task-artifacts-sentinels` | | #2933 | `chore/commit-tightened-census-baseline` | | #2931 | `fix/async-comments-sentinels` | | #2928 | `fix/audit-ops-sentinel-marker` | | #2925 | `live-task-column-lanes` | | #2923 | `fix/task-id-integrity-sentinel` | | #2921 | `fix/plugin-store-migration-marker` | | #2894 | `gate/sql-literals-match-census-placement` | That is **10 → 1** once folded. I have not cherry-picked anyone else's commits — folding someone's work without them verifying it is how a batch lands broken. --- ## What is in it so far (mine, from #2924) **Clears a live main red:** `archived-column-gate-parity` fails on `origin/main` today. ``` AssertionError: TypeScript encoding changed. async-comments-attachments.ts: 8 → 5 ``` #2886 fixed a real bug — archived-document guards failing in *opposite* directions on a renamed lane — by replacing three `column === "archived"` comparisons with `isArchivedLane(column, archivedColumns)`. The AST scan counts raw comparisons, so the tally dropped. **What I did not do is record it as three sites converted**, because measured, it is not: ``` grep -rn "archivedColumns:" packages/core/src packages/engine/src --include="*.ts" | grep -v __tests__ → (no matches) ``` No caller passes it. The parameter defaults to `LEGACY_ARCHIVED_LANES = new Set(["archived"])`, so every call resolves to the literal it replaced — byte-identical behaviour, resolved branch dead. That matters for this guard's whole argument: its header warns that converting the TypeScript half while the Drizzle and raw-`sql` halves still compare the string is a split brain *"no test would catch, because every builtin workflow spells the column `archived` so the two halves agree by accident on every board we ship."* **There is no split brain today precisely because the resolved half is unwired** — it becomes one the moment a caller threads real lanes in without the SQL sides moving. Recorded inline so `5` cannot be read as "3 sites done"; flagged on #2886. Verified not a split brain: the Drizzle and raw-sql inventories are unchanged and both pass — worth stating because those assertions run *after* the TypeScript one, so a plain red says nothing about them. Scoped edit to `AUDITED_TS_SITES` by line range: these paths appear in more than one inventory here, and an unscoped replace would quietly edit the raw-sql side too, making the parity guard agree with itself (the trap I hit in #2817). Guard still bites: appending a real `task.column === "archived"` to an audited file fails it. Core **4852 passed / 0 failed**, lint clean, test-only. Closing #2924 as superseded by this. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved task delegation messages when workflow pickup cannot be confirmed. * Delegation results now clearly indicate when a task has not been verified for pickup. * **Quality Improvements** * Added validation checks to catch future-dated markers and inconsistent SQL-column usage. * Refined workflow checks to distinguish stale configuration from incomplete configuration. * **Documentation** * Updated lifecycle conversion guidance with more accurate audit findings and limitations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
128 lines
7.9 KiB
JSON
128 lines
7.9 KiB
JSON
{
|
|
"name": "fusion-workspace",
|
|
"version": "0.74.0-beta.5",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/Runfusion/Fusion#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Runfusion/Fusion"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Runfusion/Fusion/issues"
|
|
},
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.33.0",
|
|
"scripts": {
|
|
"pretest": "node scripts/check-no-nohup.mjs && node scripts/check-no-cwd-relative-dashboard-test-reads.mjs && node scripts/check-no-kill-4040.mjs && node scripts/check-no-getdatabase.mjs && node scripts/check-capacity-pool-id.mjs && node scripts/check-no-node-only-core-imports-in-dashboard.mjs && node scripts/check-pi-versions-pinned.mjs && node scripts/check-no-test-timeout-appeasement.mjs && node scripts/check-fnxc-future-dates.mjs && node scripts/check-changeset-format.mjs && node scripts/check-routes-modular.mjs",
|
|
"pretest:full": "node scripts/check-no-nohup.mjs && node scripts/check-no-cwd-relative-dashboard-test-reads.mjs && node scripts/check-no-kill-4040.mjs && node scripts/check-no-getdatabase.mjs && node scripts/check-capacity-pool-id.mjs && node scripts/check-no-node-only-core-imports-in-dashboard.mjs && node scripts/check-pi-versions-pinned.mjs && node scripts/check-no-test-timeout-appeasement.mjs && node scripts/check-changeset-format.mjs && node scripts/check-routes-modular.mjs",
|
|
"check:line-count": "node scripts/check-file-line-count.mjs",
|
|
"check:routes-modular": "node scripts/check-routes-modular.mjs",
|
|
"check:changesets": "node scripts/check-changeset-format.mjs",
|
|
"check:lifecycle-columns": "node scripts/lifecycle-column-census.mjs --strict",
|
|
"check:sql-column-literals": "node scripts/check-sql-column-literals.mjs",
|
|
"check:inert-flag-seams": "node scripts/check-inert-flag-seams.mjs",
|
|
"census:lifecycle-columns": "node scripts/lifecycle-column-census.mjs",
|
|
"check:quarantine-ledger": "node scripts/check-quarantine-ledger.mjs",
|
|
"check:mock-completeness": "node scripts/check-mock-completeness.mjs",
|
|
"test:gate": "node scripts/check-no-nohup.mjs && node scripts/check-no-cwd-relative-dashboard-test-reads.mjs && node scripts/check-no-kill-4040.mjs && node scripts/check-no-getdatabase.mjs && node scripts/check-capacity-pool-id.mjs && node scripts/check-no-node-only-core-imports-in-dashboard.mjs && node scripts/check-pi-versions-pinned.mjs && node scripts/check-no-test-timeout-appeasement.mjs && node scripts/check-fnxc-future-dates.mjs && node scripts/check-changeset-format.mjs && node scripts/check-mock-completeness.mjs && sh -c 'pnpm --filter @fusion/engine test:core & engine_pid=$!; pnpm --filter @fusion/core test:pg-gate & pg_pid=$!; pnpm --filter @fusion/core test:unit-gate & unit_pid=$!; status=0; wait $engine_pid || status=1; wait $pg_pid || status=1; wait $unit_pid || status=1; exit $status' && pnpm --filter @runfusion/fusion test:ci-shape",
|
|
"smoke:boot": "node scripts/boot-smoke.mjs",
|
|
"local": "node scripts/start-local.mjs",
|
|
"dev": "node scripts/dev-with-memory.mjs",
|
|
"start": "node scripts/dev-with-memory.mjs",
|
|
"dev:ui": "pnpm --filter @fusion/dashboard dev",
|
|
"dev:hmr": "node scripts/dev-hmr.mjs",
|
|
"lint": "eslint .",
|
|
"sync:fusion-skill": "node scripts/sync-fusion-skill-tools.mjs",
|
|
"sync:fusion-skill:check": "node scripts/sync-fusion-skill-tools.mjs --check",
|
|
"build": "node scripts/build-workspace.mjs",
|
|
"build:full": "node scripts/build-workspace.mjs --full",
|
|
"build:force": "node scripts/build-workspace.mjs --force",
|
|
"build:all": "pnpm -r build",
|
|
"verify:workspace": "pnpm lint && pnpm test:full && pnpm build:full",
|
|
"build:exe": "pnpm build:full && pnpm --filter @runfusion/fusion build:exe",
|
|
"build:exe:all": "pnpm build:full && pnpm --filter @runfusion/fusion build:exe:all",
|
|
"test": "node scripts/test-changed.mjs",
|
|
"verify:fast": "node scripts/verify-fast.mjs",
|
|
"test:scripts": "node scripts/run-script-tests.mjs",
|
|
"test:workflow-release-check": "node scripts/workflow-reliability-release-check.mjs",
|
|
"fn:cache-stats": "node scripts/cache-stats.mjs",
|
|
"test:full": "node scripts/test-changed.mjs --full --no-cache && pnpm --filter @fusion/engine test:slow",
|
|
"test:velocity": "node scripts/test-velocity-baseline.mjs",
|
|
"test:feedback-baseline": "node scripts/test-feedback-baseline.mjs",
|
|
"test:ci:shard": "node scripts/ci-test-shard.mjs",
|
|
"test:serial": "FUSION_TEST_CONCURRENCY=1 FUSION_TEST_WORKSPACE_CONCURRENCY=1 pnpm test:full",
|
|
"test:fast": "FUSION_TEST_CONCURRENCY=4 FUSION_TEST_WORKSPACE_CONCURRENCY=4 pnpm test:full",
|
|
"test:locked": "node scripts/test-with-lock.mjs",
|
|
"test:build": "pnpm --filter @fusion/dashboard test:build",
|
|
"test:isolated": "node scripts/check-test-isolation.mjs --before && pnpm test:full && node scripts/check-test-isolation.mjs",
|
|
"test:check-isolation": "node scripts/check-test-isolation.mjs",
|
|
"test:coverage": "pnpm -r --workspace-concurrency=1 exec vitest run --silent=passed-only --reporter=dot --coverage",
|
|
"test:coverage:core": "pnpm --filter @fusion/core exec vitest run --silent=passed-only --reporter=dot --coverage",
|
|
"test:coverage:engine": "pnpm --filter @fusion/engine exec vitest run --silent=passed-only --reporter=dot --coverage",
|
|
"test:coverage:cli": "pnpm --filter @runfusion/fusion exec vitest run --silent=passed-only --reporter=dot --coverage",
|
|
"test:coverage:dashboard": "pnpm --filter @fusion/dashboard exec vitest run --silent=passed-only --reporter=dot --coverage",
|
|
"test:slow-cli": "pnpm --filter @runfusion/fusion test:slow-cli",
|
|
"typecheck": "pnpm -r --filter=!@fusion/desktop --filter=!@fusion/mobile typecheck",
|
|
"i18n:extract": "i18next-cli extract",
|
|
"i18n:sync": "i18next-cli sync",
|
|
"i18n:types": "i18next-cli types",
|
|
"i18n:status": "tsx --no-warnings packages/i18n/scripts/check-i18n-parity.mjs",
|
|
"i18n:status:report": "i18next-cli status",
|
|
"i18n:lint": "i18next-cli lint",
|
|
"i18n:gen-cli": "pnpm --filter @fusion/i18n gen:cli-catalogs",
|
|
"changeset": "changeset",
|
|
"version": "changeset version",
|
|
"release": "node scripts/release.mjs",
|
|
"release:version": "changeset version && node scripts/sync-workspace-version.mjs && node scripts/run-ci-distill.mjs",
|
|
"mobile:build": "pnpm --filter @fusion/dashboard build && pnpm --filter @fusion/mobile cap sync",
|
|
"mobile:ios": "pnpm mobile:build && pnpm --filter @fusion/mobile cap open ios",
|
|
"mobile:android": "pnpm mobile:build && pnpm --filter @fusion/mobile cap open android",
|
|
"mobile:dev:ios": "pnpm --filter @fusion/mobile dev:ios",
|
|
"mobile:dev:android": "pnpm --filter @fusion/mobile dev:android",
|
|
"mobile:sync": "pnpm --filter @fusion/mobile cap sync",
|
|
"mobile:run:android": "bash scripts/mobile-run-android.sh",
|
|
"ios:acceptance": "node scripts/ios-acceptance.mjs",
|
|
"build:desktop": "pnpm --filter @fusion/desktop build",
|
|
"dist:desktop:win": "pnpm --filter @fusion/desktop build && pnpm --filter @fusion/desktop dist:win"
|
|
},
|
|
"pnpm": {
|
|
"ignoredBuiltDependencies": [
|
|
"@google/genai",
|
|
"cpu-features",
|
|
"electron-winstaller",
|
|
"keytar",
|
|
"sharp",
|
|
"ssh2"
|
|
],
|
|
"onlyBuiltDependencies": [
|
|
"@embedded-postgres/darwin-arm64",
|
|
"@embedded-postgres/darwin-x64",
|
|
"@embedded-postgres/linux-arm",
|
|
"@embedded-postgres/linux-arm64",
|
|
"@embedded-postgres/linux-ia32",
|
|
"@embedded-postgres/linux-ppc64",
|
|
"@embedded-postgres/linux-x64",
|
|
"@embedded-postgres/windows-x64",
|
|
"@homebridge/node-pty-prebuilt-multiarch",
|
|
"electron",
|
|
"esbuild",
|
|
"koffi",
|
|
"protobufjs"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/cli": "^2.30.0",
|
|
"@eslint/js": "^9.0.0",
|
|
"eslint": "^9.0.0",
|
|
"esbuild": "^0.25.12",
|
|
"fast-glob": "^3.3.3",
|
|
"i18next-cli": "^1.59.1",
|
|
"react-devtools-core": "^7.0.1",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.7.0",
|
|
"typescript-eslint": "^8.0.0",
|
|
"yaml": "^2.8.3"
|
|
}
|
|
}
|