Internal engineering

PR quality gate

How every pull request to KratosForge gets an engineering quality decision. It sits beside the hardening release gates (docs/hardening/readiness-checklist.md, PR #137) and the usability gates (docs/ux/release-review.md, PR #166) and doesn't repeat them: those ask "is it safe" and "is it usable"; this asks "does this code deserve to exist in this form". Release management decides merges and promotes; this review recommends, and never merges or deploys.

Scoring#

Each category is scored 0 to 10 from evidence in the diff, the tests and the standards.

| 2026-10-29 | #1101 e727af85 | Workspace discovery, merged with main after #1054 | PASS 9.2 (carry) | Outside cli.py the three-dot patch-id equals 557c36fd's; the only conflict was cli.py's module docstring, resolved (remerge-diff) as the union of live-test-databricks and databricks-discover; both subcommands parse and dispatch. Merges clean; discovery + dbx_livetest + databricks_sql + silent_except 74 passed. |

| 2026-10-29 | #1106 0ad9416e | Databricks SQL function parity table for DuckDB (Fixes #1103) | PASS 9.2 | 130 cases run each Databricks example through the engine's own path (local_sql._databricks, then DuckDB) and pin the outcome; same() keeps bool/int and str/int apart; the docs table is generated (table_markdown) and checked against docs/engines.md. duckdb 1.5.6 and sqlglot 30.23.0 are pinned in constraints.txt, so the test catches an upgrade. Spot-checked notes (dayofweek Sunday=1, sort_array NULLs first, percentile interpolates) match Databricks. Merges clean; on the merge result parity + silent_except 151 passed, ui.test 307/307, ratchet 901/903, ruff clean. Nit: the prose count "130" sits outside the generated text, so the docs test won't catch it drifting. |

| 2026-10-29 | #1096 3d00e389 | Engine picker, retargeted to main after #1058 | PASS 9.2 (carry) | Patch-id of origin/main...3d00e389 equals 6eae302d..36a435ff (16 files, +1112/−16; only hunk offsets differ). Merges clean; on the merge result ui.test 308/308, engines_service + conformance + server_lanes + silent_except 103 passed. |

| 2026-10-29 | #1100 2c55f197 | update-branch onto main ce24b7c6 | PASS 9.2 (carry) | Clean merge of main into 52c5a142; three-dot diff identical. Merges clean; test_platform + test_shared_keys + silent_except 111 passed. | | 2026-10-29 | #1097 d8b12dac | update-branch onto main ce24b7c6 | PASS 9.2 (carry) | Clean merge of main into 648cc489; three-dot diff identical. Merges clean. |

| 2026-10-29 | #1104 08b9f303 | Databricks refusals per API (Fixes #1102, on #1101) | PASS 9.2 | Over #1101 557c36fd: refusal_hint(status, path, error_code) picks a hint by API prefix (metastore_summary before unity-catalog; 401/429 the same everywhere; METASTORE_DOES_NOT_EXIST named from any UC call); every Client._call path is a relative /api/... path, so the prefixes match. Message redaction unchanged (redact.secrets on body message). Queue edit passes queues.py check. Merges clean; on the merge result databricks_sql + discovery + conformance + dbx_livetest + silent_except 147 passed, ui.test 307/307, ratchet 901/903, ruff clean. |

| 2026-10-29 | #1059 9d9ddeb4 | update-branch onto main bebac600 | PASS 9.2 (carry) | Clean merge of main into 16e5e6d3; three-dot diff identical to 16e5e6d3's own change. Merges clean; its tests + silent_except 75 passed. | | 2026-10-29 | #1083 46658df5 | update-branch onto main bebac600 | PASS 9.2 (carry) | Clean merge of main into ec4bbf6a; three-dot diff identical. Merges clean. | | 2026-10-29 | #1054 1f0f4aec | update-branch onto main bebac600 | PASS 9.2 (carry) | Clean merge of main into 4807ed51; three-dot diff identical. Merges clean; its tests + silent_except 45 passed. |

| 2026-10-29 | #1101 557c36fd | Read-only Databricks workspace discovery (Preview, Fixes #1099) | PASS 9.2 | Change identical to 8b9f788e (main merge only). New databricks_discovery.py + databricks-discover CLI: every request is a GET through databricks_sql.Client (paged list, new get), host checked by check_host before any token; parts read independently, a failed sign-in stops further calls; job clusters left out; Connect usability reuses dbconnect.check. workstreams.json/README queue edit passes queues.py check (dbx-snow now short, reported not failed). Merges clean; on the merge result discovery + databricks_sql + auth + cli + silent_except 63 passed, ui.test 307/307, ratchet 901/903, ruff clean. | | 2026-10-29 | #1058 bccc556c | Databricks live test, retargeted to main after #1056 | PASS 9.2 (carry) | git diff origin/main...bccc556c identical to 83892c55..6eae302d. Merges clean; conformance + runtimes + dbx_livetest + dbconnect + fabric_spark + silent_except 151 passed; ui.test 307/307. |

| 2026-10-29 | #1100 52c5a142 | Platform admins by sign-in name (Fixes #1098) | PASS 9.2 | add_admin requires a sign-in name (_EMAIL), remove_admin refuses a non-admin before any audit row, and the keys move skips stored entries that never matched a caller. Tests pin all three (four bad names, case-folded remove, audit unchanged, move test). Merges clean; on the merge result test_platform + test_shared_keys + central + silent_except 412 passed; ratchet 903/903; ruff clean. Note: udf.py embeds core.py, so the check reaches Fabric after an admin runs Finish or repair once. |

| 2026-10-29 | #1096 36a435ff | Notebook engine picker (Preview) | PASS 9.2 | Clears the 80d5d0af condition: test-only change, onelake-writes.test.cjs opens Engine (.engine-btn) with engine_catalog/engine_state on the real engine. Locally onelake-writes + engine-picker browser tests 6 passed, 0 failed (Playwright, not skipped). Merges clean. Earlier evidence carries (ui.test 308/308, 126 targeted pytest, ratchet 901/903, ruff clean); Security cleared 80d5d0af. Nit: the header comment wraps mid-sentence. |

| 2026-10-29 | #1096 80d5d0af | Notebook engine picker (Preview) | CONDITIONAL 8.8 | Over #1058: engines_service.py (9 engine_* methods over SessionManager), engines.js, notebook.js routing. Remote engines need a confirm or profile policy before engine_select; risk check is advice and says "couldn't run" with only the HTTP status; secrets redacted; UI builds text with h(), no innerHTML; frozen cells still don't run; sessions close on quit. READ_ONLY additions are reads only; watchdog QUICK matches server.QUICK. Merges clean; on the merge result ui.test.cjs 308/308, engines_service + server_lanes + conformance + silent_except 126 passed, ratchet 901/903, ruff clean. Condition: CI ui-browser fails 1/685, onelake-writes.test.cjs Runs on offers the notebook's own OneLake writes choice times out because Engine replaces Runs on while Preview shows (the choice itself moved into the Engine menu). Update that test to open Engine. Needs Security QC read (engine_* RPC, remote confirm). |

| 2026-10-29 | #1097 648cc489 | Unit tests for queues.py check() in the Docs workflow | PASS 9.2 | Tooling only (docs.yml + test_queues.py). 8 unittest cases pin the errors-versus-shortfalls split, issue-only slots, duplicates, unknown or Accepted stories, workstream count and stale README; unittest discover 8/8 OK and queues.py check exits 0 with 2 shortfalls reported. docs.yml keeps contents: read; the new step runs in the read-only build job. Merges clean; no security content in the diff. |

| 2026-10-29 | #1083 ec4bbf6a | LX-03 retargeted to main after #1076 | PASS 9.2 (carry) | git diff origin/main...ec4bbf6a is identical to 28c5a57f..619cc25d (11 files, +831/−11); main has since gained #1093, which the PR doesn't touch. Merges clean with current main; on the merge result ui.test.cjs 307/307 and learn_content + learn_labs + silent_except 46 passed. |

| 2026-10-29 | #1054 4807ed51 | Retarget to main after #1028 | PASS 9.2 (carry) | git diff origin/main 4807ed51 is byte-identical to d41c0929..1b263d11 (4 files). Merges clean; spark_local + spark_merge + silent_except 79 passed; ruff E9,F clean. | | 2026-10-29 | #1058 6eae302d | Databricks live test (merges #1056 head) | PASS 9.2 (carry) | Merge of 83892c55 into c89bd696 with an empty resolution diff. Merges clean with main; on the merge result conformance + runtimes + dbconnect + fabric_spark + dbx_livetest + silent_except 151 passed; mypy ratchet 901/903; ruff clean. | | 2026-10-29 | #1056 83892c55 | Shared runtime hardening, now on main + fabric-spark conformance harness | PASS 9.2 (carry) | Against main(41920975)+a9026ae8 the only changes are the runtime_worker.py conflict resolution (keeps main's stdin redirect and installed-distribution version through _version) and a fabric-spark Harness in test_engine_conformance.py (closes the #1078 merge-order note). Merges clean; on the merge result conformance + runtimes + dbconnect + fabric_spark + silent_except 140 passed; mypy ratchet 901/903; ruff clean. |

| 2026-10-29 | #1095 30dcaace | Busy-table retry test: minute-long leases (Fixes #1094) | PASS 9.2 | Test-only, 1 file. Monkeypatches meta_service.Leases to ttl=60 while keeping the 0.2 s wait; the lambda's signature matches the single call site (meta_service.py:502, keyword owner/ttl/wait), and the backend's ttl only sets its timeout. The busy table (someone-else lease, ttl 3600) still has to be retried, so the test keeps its meaning. Merges clean; on the merge result test_agent + test_silent_except 56 passed, busy_table alone 10/10; ruff E9,F clean. |

| 2026-10-29 | #1093 04eb09a0 | Central repair test: SQLite journal in memory (Fixes #1092) | PASS 9.2 | Test-only, 1 file. _connect sets journal_mode=MEMORY + synchronous=OFF for build, check and repair; rollback of an uncommitted transaction on close still holds, so the interrupted-repair test keeps its meaning. Merges clean; on the merge result test_central_upgrades + test_silent_except 70 passed (8.98 s); ruff E9,F clean. Windows speed-up is inferred: the windows-latest sidecar job must be green before merge. |

| 2026-10-29 | #1083 619cc25d | LX-03 (merges LX-02 NO_ID reason) | PASS 9.2 (carry) | Since ec873c8d only the LX-02 merge: 2 lines (Learn docs "no screen yet" sentence + its NO_ID reason in ui.test.cjs). Merges clean with main; ui.test.cjs 306/306 on head, 307/307 on the merge result. | | 2026-10-29 | #1076 28c5a57f | LX-02 Learn docs NO_ID reason | PASS 9.2 (carry) | Since 25316eb9: 2 lines, docs say Learn has no screen yet and ui.test.cjs NO_ID map names it. Merges clean with main; ui.test.cjs 307/307 on the merge result. |

| 2026-10-29 | #1028 9898359d (retargeted to main after #933 merged) | UPDATE and DELETE on this PC: RM's main merge | PASS 9.3 (carry) | Carry from d41c0929. The diff against main is line for line the same as #1028's own diff over #933 (fd8b4cdc..d41c0929), 13 files +158 -79. It merges clean. test_spark_merge, fabric_run and silent_except passed, and the mypy ratchet is 903 against 903. |

| 2026-10-29 | #1091 50ed593b (fixes #1090) | Engine updates say why the whole engine downloads, pin pip, and name the first start | PASS 9.1 | Three files against main. The other branch commits are #821's already-merged head, which adds nothing. main.rs says why the full download happens only when an engine is already installed, and still falls through to the full download. app.js shows 'Starting the new engine for the first time…' before the re-check. constraints.txt pins pip 26.2.2, which exists on PyPI and has no known advisories (pip-audit). test_updater: 48 passed. ui.test 306 passed. Merges clean. The Rust change wasn't compiled here; CI's shell build covers it. |

| 2026-10-29 | #891 729dbb01 | Fabric Spark (Livy) Preview engine: docs check entry | PASS 9.1 (carry) | Carry from 6e42a2f7. One line in ui.test.cjs adds Fabric Spark to the docs check's no-screen list, and engines.md has the sentence it matches. ui.test 303 passed at the head and 306 on a trial merge with main, which merges clean. |

| 2026-10-29 | #1089 fc47a3e4 (Fixes #1087, HD-050 slice 5) | The RPC stops accepting 11 names nothing calls | PASS 9.2 | server.METHODS and audit.READ_ONLY drop audit_log, delete_notebook, git_ops, git_scan, meta_diff, meta_preview, notebook_diff, workload_actions, governance_version, meta_git_status and usage_reconciliation. A grep of app/ui and the shell finds no caller of any of them. The tests now use notebook_delete, which is what the app calls. Changed tests and silent_except: 130 passed. ui.test 306 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. Needs the Security QC read, since it narrows the inbound surface. |

| 2026-10-29 | #1088 11710baa (Fixes #1061) | ui.test reads each tab row's attributes object, and a browser test for Settings' tab row | PASS 9.1 | Tests only. attrsAt reads the h(...) attributes object up to its closing brace, past strings, template literals and nested objects. A role outside the object no longer counts, and a self-test pins that. OneLake's first-child tablist still passes. The new browser test checks Right, Home and End on Settings. ui.test 306 passed; tab-rows, platform-tabs, appearance-layout and notebook-folders at --test-concurrency=4 passed 17 in each of 2 runs. Optional nit, tried here: the reader needs class to be the object's first key, so a valid row written { role: "tablist", class: "subtabs" } fails as 'can't be read'. The old 260-character window had the same limit, and the message names the file and line. Merges clean. |

| 2026-10-29 | #1086 7f24643b (Fixes #1085) | agent_takeover: the deadline test no longer races a real 2 s deadline | PASS 9.2 | Tests only. The deadline is set 60 s ahead and etl-02's Agent.clock is moved 120 s forward, which the mailbox reads (mailbox.py:188 returns agent.clock), so the expiry no longer depends on the runner's speed or on iso() truncating to whole seconds. The sleep is gone. test_agent_takeover: 16 passed in each of 3 runs. Ruff clean, merges clean. |

| 2026-10-29 | #1084 43c2de09 (#996 follow-up, PB-073) | The notebook memory limit counts the processes a notebook's cells start | PASS 9.2 | _memory sums the kernel's pid with its tree: the Job Object pid list on Windows (private bytes per process, so shared pages aren't double counted) and /proc parent links on Linux. When the list can't be read it falls back to the kernel alone. On ERROR_MORE_DATA the list is re-read at the size Windows reports, up to three tries, and a fake-kernel32 test covers it. The stop message says child processes count. Nit: on Linux, VmRSS of forked children includes shared copy-on-write pages, so a fork-based pool can be overcounted; Windows is the product platform. The new subprocess test exceeds the limit through a child process. test_kernel_process and silent_except: 42 passed on 0e789e50 and 43 on 43c2de09. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1075 ac29faa2 (Fixes #1060) | Browser tests wait for the app's startup git_info read before counting calls | PASS 9.2 | Tests only. harness.startupReads waits up to 10 s for git_info (git.js reads it 1.5 s after start) and fails plainly if it never comes. It is used in before() of product-groups and home-reuse, the two tests that count exact calls. product-groups, home-reuse, notebook-formats and sql-practices with --test-concurrency=4, three times: 19 passed each time. ui.test 306 passed. Merges clean. |

| 2026-10-29 | #1058 c89bd696 (draft, stacked on #1056) | Databricks live test harness, ratchet fix and conflicts | PASS 9.2 | The cli.py and docs/README.md resolutions keep both sides: live-test-databricks next to smoke-test in the docstring, parsers and dispatch, and the live-testing row with the smoke-test row. _stop uses functools.partial. Mypy ratchet 901 against 903, ruff clean. dbx_livetest, livetest, cli, smoketest, docs, the #1056 set and silent_except: 201 passed. Merges clean. Security read done. |

| 2026-10-29 | #1056 a9026ae8 (draft) | Shared runtime hardening, ratchet fix | PASS 9.2 | Main is merged in, and the two type fixes don't change behaviour: the worker's last expression is typed, and the wait deadline message is guarded by an explicit None check. Mypy ratchet 901 against 903, ruff clean. runtimes, fabric_spark, dbconnect, engines and silent_except: 131 passed. Merges clean. Security read done. Fabric Spark is a new engine and needs Chris's go. Whichever of this and #1078 merges second needs a fabric-spark harness in test_engine_conformance. |

| 2026-10-29 | #1083 ec873c8d (draft, stacked on #1076) | Learn: the lab runner, seeded datasets and six checks, with LAB-02 (LX-03) | PASS 9.2 | Labs live only under /learn/, and lab_dir refuses anything that isn't a module id or resolves elsewhere; reset removes only that folder. The check connection disables external access and locks its configuration. Tried here: COPY TO, ATTACH, read_text, INSTALL, LOAD and re-enabling access are all refused. Answers run in a rolled-back transaction, and the new guard refuses BEGIN, COMMIT and ROLLBACK, so an answer can't keep changes past the rollback; a DETACH, autocommit or CHECKPOINT attempt also left the lab unchanged. The checks explain every failure in words, faster_than only counts with the same answer, and content.py checks each check's required fields. test_learn_labs, test_learn_content and silent_except: 46 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. Chris's go: the Phase 1 card. |

| 2026-10-29 | #1082 4541b4e0 (draft) | Sign-in message for #1079 moved above the expired-sign-in row | PASS 9.2 (carry) | Carry from ccfbc398 with the optional nit applied. The one row moved and nothing else changed. |

| 2026-10-29 | #1063 06d64660 (draft) | LX-01 rule docs links, UX review nits | PASS 9.3 (carry) | Carry from 2cfba71b. The only changes are the ' · ' separator shown only when there is a link, two doc sentences, and the SQ006 example naming columns instead of SELECT *. Merges clean. |

| 2026-10-29 | #1082 ccfbc398 (draft, refs #1079) | Sign-in: say plainly when Windows sign-in won't give a token for one service | PASS 9.1 | One friendlyError row for Status_IncorrectConfiguration and AADSTS65002, placed before the generic SignInError rows so it wins over them. Two ui.test cases, and a troubleshooting row that points to an own app registration as the way around it. Nit: the row comes after the expired-sign-in row, so a message that also carried 401 would read as expired; neither error text does today. ui.test 306 passed, merges clean. |

| 2026-10-29 | #1081 b1305b84 (draft, Fixes #1080) | Approving a workspace access request never lowers a role | PASS 9.2 | give() keeps a role at or above the one asked for, ranked by core.WORKSPACE_ROLES (Viewer < Contributor < Member < Admin), and raises a lower one. A role it doesn't know is still updated. The approval says what was kept, and on a retry it reports the same role as where things stand. The confirm sentence and platform.md say a higher role is kept. A parametrized test covers users and groups (kept, same, raised) and checks no role call is made when one is kept. Request tests and silent_except: 86 passed. ui.test 306 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1078 86200286 (draft, issue #1077) | Engines: one contract check every adapter must pass (KUDP-01) | PASS 9.2 | Tests and docs only. Nine checks run against all six engines with adapters (descriptor, authorization before any contact, results and output shapes, errors as outputs with no secrets, refused cells, claimed capabilities, idle cancel, close, isolation), plus tests that the checks catch an overclaiming adapter. test_every_adapter_has_a_harness fails for an adapter with no harness. Merge-order note: #1056 adds the fabric-spark adapter, so whichever of #1056 and #1078 merges second needs a fabric-spark harness. test_engine_conformance, test_engines and silent_except: 138 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1076 25316eb9 (draft) | Learn: the lesson content format, its checker and the first draft module (LX-02) | PASS 9.2 | learn/content.py reads data only: no code runs, file_text accepts only a plain file name in the module's own folder, and lessons may not carry raw HTML outside code. problems() checks required fields, enums, engines, rules (against the real practice rule ids), docs links (docs pages or a fixed list of platform hosts), exercise files, prerequisites and cycles, and paths. The CI test runs LM-01's reference solution in DuckDB against its expected rows; the lesson's 'over 100' matches the data. A wheel build includes the content files. test_learn_content and silent_except: 30 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. Chris's go: the Start Phase 1 now card. |

| 2026-10-29 | #1053 55c9732d (draft) | Databricks conversions list what didn't carry over, cell by cell (PB-118) | PASS 9.2 | Export returns notes for the lakehouse, outputs, parameter cells, hidden and frozen settings, magics with no Databricks equivalent, line magics with Python after them, and notebookutils. Import (source and .dbc) notes titles, saved results, hidden settings, dashboards, md-sandbox, language magics, and Databricks-only storage paths, mounts and %run paths. Cell numbers follow the imported cells, and empty chunks are skipped before a note is written. A line magic cell now exports as # MAGIC lines, as Databricks writes it, and imports back the same. The UI shows notes in the import preview and after a Databricks export through h() text, so a file's titles are never markup. test_notebook_formats and silent_except: 45 passed. ui.test 307 passed, notebook-formats browser test 3 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1072 05f2e96e (draft, story #1069) | A request's long reason never fails its approval or loses its marker | PASS 9.2 | requests_service.marked strips marker words until none is left, cuts the typed text to the limit, and keeps (KratosForge request id) whole. It is now used by the workspace (4000), domain (256) and Copy job (256, was a 4000 cut that Fabric's item limit refuses) approvals. The domain code moved from service.py with no behaviour change. platform.md says where the full reason is kept. The changed tests plus the central, requests and domain tests and silent_except: 419 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1071 8ece7656 (draft, refs #849) | Smoke test: Microsoft's client id matches in any case; every opt-in live check can be named with --check | PASS 9.2 | Two review nits on the smoke test. The comparison strips and lowercases only the set id, and only to recognise Microsoft's own client; any other id still refuses. A parametrized dry-run test covers each EXTRA_CHECKS entry except notebook.run, which has its own flag. test_livetest, test_smoketest and silent_except: 84 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1073 09bd9e5a (draft) | Pin the platform reads anyone signed in sees in full, and document keys | PASS 9.2 | Tests and docs only. test_central_roles pins six reads (audit, list_products, list_product_items, list_grants, lookup_key, export_keys) to give a non-member the same answer as an admin. The comment explains that narrowing them in the UDF alone would be false security. The new docs/security.md row describes the documented access model, consistent with platform.md (Viewer on the Keys workspace and Execute on UDF_Keys), with advice for personal-data keys. It discloses no open finding. test_central_roles and silent_except: 257 passed. Ruff clean, merges clean. |

| 2026-10-29 | #933 fd8b4cdc, #1028 d41c0929, #1054 1b263d11 (drafts, WS1 MERGE stack) | Re-check after the mypy ratchet fix | PASS 9.2 (#933, #1054), 9.3 (#1028) | The main merge into #933 and the merges down the stack are clean (no remerge-diff). The only code changes are a None check after delta_dml.parse_tree in _merge, which raises a plain error for a MERGE without USING, and in _update_or_delete. Each head: mypy ratchet 903 against 903, ruff clean, test_spark_merge, delta_dml, fabric_run, spark_local and silent_except passed (74, 78 and 79). All three merge clean with main. Still waiting on Chris's go. |

| 2026-10-29 | #1063 2cfba71b (draft) | LX-01: every notebook, SQL and semantic model rule gets a docs section; the panels show About NBnnn and SQnnn through open_doc | PASS 9.3 | Each checker's url(rule_id) is page#id, and open_doc already allows # and refuses anything outside docs/. test_practice_docs pins both directions: every rule has a ### section and every section is a real rule. A script check also found each section's name, severity and category matching the rule. Practice, governance and silent_except tests: 152 passed. ui.test 306 passed; the notebook-practices and sql-practices browser tests 9 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. Chris's go: the Start Phase 1 now card. |

| 2026-10-29 | #1062 977f5e83 (draft) | Re-approving a shortcut request after Fabric's 409 approves only when the existing shortcut has the same target (#1052) | PASS 9.2 | can_decide is still checked first. Only a 409 or AlreadyExists goes down the new path; any other Fabric error is raised as before. The shortcut must sit at the same path and name, and same_target compares paths exactly and ids and hosts in any case. Anything else keeps the request waiting and names the target found, and a 409 with nothing found re-raises Fabric's error. The added history entry is written once. test_shortcut_request_retries (lost answer, failed approval, six other-target cases, same_target table), the other shortcut tests and silent_except: 75 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1058 e3d1b1cb (draft, stacked on #1056) | Databricks live test harness (#894): sign-in, Unity Catalog, SQL warehouse, Databricks Connect | CONDITIONAL 8.8 | Runs only from the CLI live-test-databricks command and needs the test tag. It refuses production-looking names and compute with auto-stop off, asks first or takes --yes, has --dry-run and creates nothing; --stop-compute stops only what the run started, and results hold no token. Branch: 207 passed (dbx_livetest plus the #1056 set, silent_except); ruff clean. Merged with main, the ratchet fails with #1056's 2 errors plus dbx_livetest.py:352 (lambda type not inferred). It conflicts in cli.py (additions next to smoke-test; keeping both sides compiles and 161 passed on that trial merge) and docs/README.md. Security read done (Security QC). |

| 2026-10-29 | #1056 c78563f3 (draft) | Shared runtime hardening (#893), with #891 Fabric Spark merged in | CONDITIONAL 8.8 | One shared runtime layer (runtimes.py): hash-pinned isolated pip with no deps and a scrubbed pip env. The worker env starts from os.environ minus the platform's and PYTHON* variables; the worker runs under -I and drops secret variables after sign-in. A stuck cell is cancelled, then the process tree is ended (shell.end). Fabric Spark ends a session it created if start fails, and opens only with a RemoteAuthorization and the allow_fabric_runs policy. Branch: 131 passed (runtimes, fabric_spark, dbconnect, engines, silent_except); ruff clean; merges clean. Merged with main, the mypy ratchet fails with 2 new errors (runtime_worker.py:145 attr-defined, runtimes.py:229 operator). Security read done (Security QC). Fabric Spark is a new engine and needs Chris's go. |

| 2026-10-29 | #1057 ef613a1f | Docs audit 6: docs index (Snowflake, engine call limits, accessibility audit), surrogate key order, CI path filtering | PASS 9.2 | Docs only. Every new link resolves (hardening/engine-call-limits.md, ux/accessibility-audit.md). The business-key order wording matches #976 on main. The release-management note matches ci.yml's changes job: docs-only skips Windows and the browser tests, and shell- or UI-only changes skip the Linux engine tests. The diff carries no security findings or repro detail (grepped). Merges clean. |

| 2026-10-29 | #1055 ebe640f6 (draft) | Key Vault secrets, Unity Catalog lists and Fabric data access roles go through paging.Pages (Fixes #968) | PASS 9.2 | Pages takes the first page's link as start, so a service that sends it back stops before re-reading it. The page count moves to its own counter, which keeps the cap the same for existing callers. Errors surface as each client's own type (FabricError PagingStopped, DatabricksError). A grep of the engine finds no other next-link loop outside Pages. test_paging (with repeat, cap and two-page cases for each loop), dbutils, databricks_sql, fabric_api, onelake, mailbox and silent_except: 206 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1051 1ad197c2 | Product data: morning check, merge count corrected | PASS 9.2 | Carry from 05951e81 with one line changed: 82 PRs merged since b19b7456, 63 of them numbered #973 to #1050, which matches main at 188d5a93. product_data.py check passes, render shows no diff, merges clean, and there is no security detail. |

| 2026-10-29 | #1059 16e5e6d3 (draft) | Pipeline mailbox: under require_run, one pipeline run vouches for one request; a runs-file entry with no usable time is dropped (Fixes #969) | PASS 9.2 | Runs are recorded only after the accepted status is written, the same request id asking again stays one request, and entries expire after RUN_MAX_AGE (24 h). The list is kept in the agent's home through jsonfile and survives a restart; a damaged file reads as empty. Without require_run nothing changes and no file is written. docs/agent.md says each agent keeps its own list. test_mailbox, the agent tests and silent_except: 143 passed. Ruff clean, mypy ratchet 903 against 903, merges clean. |

| 2026-10-29 | #1051 05951e81 | Product data: PB-067 stays In progress, since its run dialog isn't built | CONDITIONAL 8.8 | The PB-067 change is right, and the counts (24 In progress, 23 In review) match the JSON. product_data.py check passes, render shows no diff, it merges clean, and there is no security detail. The merged-PR count from the 7dd2b21b review is still wrong: it says 53, where main has 63 numbered #973 to #1050 and 82 since b19b7456. |

| 2026-10-29 | #1054 7ddd6b6f (draft, stacked on #1028) | Run check judges MERGE, UPDATE and DELETE against the notebook's own lakehouse with none attached; skips a commented-out spark.sql (Fixes #967) | PASS 9.2 (this commit) | Only a three-part name is matched with nothing attached, since the schema setting isn't known; an attached lakehouse still wins. Tokenize-based comment check: a # inside a string isn't a comment, and source Python can't read skips nothing. Runtime paths keep calling _in_attached with no name. test_spark_merge, fabric_run and silent_except tests: 45 passed; ruff clean on the changed files. Precondition for the stack: merged with main, #1028 (46a7aaba) adds 15 union-attr errors in spark_local.py (Change | None, lines 627 to 665), so the mypy ratchet fails; #1028 needs that fixed. PRODUCT_BACKLOG.md also conflicts with main. |

| 2026-10-29 | #1051 7dd2b21b | Product data: morning check for #973 to #1050 (docs only) | CONDITIONAL 8.8 | product_data.py check passes and render reproduces the Markdown with no diff. State and priority counts (23 In progress, 24 In review; 5/31/54/16) match the JSON, and every PR cited as merged is on main at 188d5a93. One wrong number: DEVELOPMENT_STATUS.md says 53 PRs merged since the evening check (#973 to #1050), but main has 63 merged PRs numbered #973 to #1050, and 82 in all since b19b7456 (#884, #919 and others are numbered earlier). Fix the count and it passes. No security detail in the diff. |

| 2026-10-29 | #1050 0f8d949c | HD-050 slice 4: the RPC stops accepting 11 names whose only callers are in-process (Fixes #1049) | PASS 9.2 | No app/ui or watchdog caller uses the removed names; MCP, HTTP and CLI reach them in-process (integrations/services.py, cli.py). Changed tests plus test_rpc_surface, test_audit and silent_except: 293 passed. Ruff clean, mypy ratchet 903 against 903, ui.test 306 passed. Merges clean. |

| 2026-10-29 | #1048 9b60df91 | CI: mypy pins move to ci-constraints.txt (mypy 2.4.0), with an advisory-only audit of them | PASS 9.2 | CI only. The lint job installs with -c constraints.txt -c ci-constraints.txt. constraints.txt goes back to engine packages only, which is what the blocking audit checks. In a fresh 3.12 venv with both files, mypy 2.4.0 gives 903 errors against a baseline of 903, so the ratchet is unchanged. The new audit step runs pip-audit on ci-constraints.txt with continue-on-error; locally pip-audit 2.10.1 found no known vulnerabilities. Like every later step in that job, it doesn't run when the engine audit fails, which is fine because the job is already red then. CONTRIBUTING and the ratchet docstring were updated. Tests that read constraints, plus mypy_ratchet and silent_except: 83 passed. ruff clean; merges clean. |

| 2026-10-29 | #1047 55e011c0 | Test: the firewall host table lists every host the code names (Fixes #959) | PASS 9.2 | Test only, one file. It collects every http(s) host literal in sidecar/fabric_desktop and app/src-tauri/src, skipping Rust cfg(test) modules with brace matching. Each host must be in the Network access table (exactly, or under a *. row) or in NOT_CALLED with a reason. A second test keeps NOT_CALLED honest: no stale entries and no overlap with the table. It caught docs.snowflake.com on current main. Scope note: app/ui JS and tauri.conf.json aren't scanned. Their hosts are links opened in the browser plus the updater's github.com, which the table already lists. Hosts built at run time are covered by the *. rows. network_hosts and silent_except: 20 passed. ruff clean; merges clean. |

| 2026-10-29 | #1044 80ca3848 (draft) | Shortcut Undo leaves alone a shortcut that has changed since | PASS 9.2 | Before Undo touches Fabric, it reads the shortcut at that place now. Undo of a removal refuses if something is there again. Undo of a repoint or an add requires the current target to match (core._canon) the target the change left. A refusal raises before any create or delete. Undo of a repoint no longer deletes a shortcut that was re-pointed elsewhere since. The new test covers all three refusals and checks Fabric is unchanged; the existing tests still cover the happy-path undo. The check and the act are separate API calls, which is unavoidable with Fabric's API. Shortcut tests and silent_except: 54 passed. ruff clean; mypy ratchet clean on top of #1032; merges clean. |

| 2026-10-29 | #1032 e4091865 | mypy ratchet: RM's main merge (129ee3d6) plus a fabric_api typing fix | PASS 9.3 | 129ee3d6 matched f9a46b22 line for line (CONTRIBUTING.md order checked), but on that tree the ratchet failed: fabric_api.py had 9 union-attr errors against 5 in the baseline, from main's newer fabric_api code. e4091865 fixes them rather than re-recording: _error_body and _operation_failed read error and moreDetails once into typed locals before the isinstance checks, which gives the same values. The only baseline change is the removed fabric_api union-attr entry. Ratchet in a 3.12 venv with the pins: 903 now, 903 recorded. fabric_api, contract_fabric_client, mypy_ratchet and silent_except: 86 passed. ruff clean; merges clean. |

| 2026-10-29 | #1026 d8930c5a | HD-050 runcell, with #1035 ported | PASS 9.3 carried | The only commit since 5dcb6043 is a cherry-pick of #1035 38415833 (PASS 9.2). Its diff matches #1035 byte for byte apart from the test's line offset. Ported because #1026's Windows CI hit the proofs.tmp race. Merges clean. The Bug fix and security QC read for the RPC surface still stands as a precondition. |

| 2026-10-29 | #1035 38415833 | Proof records: one save at a time, each through its own temp file (Windows proofs.tmp PermissionError) | PASS 9.2 | _proof_save now holds a module lock around read, change and write, and uses jsonfile.write_text (a unique mkstemp temp file, fsync, replace retried on PermissionError, makes the parent folder) and jsonfile.read_text (retries PermissionError). _proof_save is the only writer of proofs.jsonl. The new 8-thread x 25-save test fails on the old code (checked) and passes 3/3 with the fix; it also checks no row is lost. test_prove and silent_except: 96 passed; ruff clean; merges clean. The Windows cause is inferred, so Windows CI is the real check. The lock is per process, which is enough while the engine is the only writer. |

| 2026-10-29 | #1032 f9a46b22 | CI lint job: mypy ratchet against a per-file, per-code baseline | PASS 9.2 | CI and tests only; no engine code. In a fresh Python 3.12 venv with the pinned mypy 2.4.1 and -e ., the ratchet printed "No new type errors: 908 now, 908 in mypy-baseline.json" (about 50 s). Adding one return-value error to jsonfile.py failed it with exit 1, naming the file, code and line. mypy exit 2 (bad settings, crash) fails loudly and isn't counted as clean. Counting per file and code ignores line moves. The vendored package is excluded. test_mypy_ratchet and silent_except: 21 passed; ruff clean; merges clean. Note for reviewers: --update records whatever the current count is, so a baseline increase in a PR needs a reason. Once this merges, queued PRs that add type errors will fail lint. |

| 2026-10-29 | #1030 f98aedb9 | Table and entity names: refuse an empty part or a path character | PASS 9.2 | table_ref refuses empty parts and / or \ after the lakehouse prefix is stripped, so every read and write is covered. entity_name_problem refuses empty parts and / \ :, and runs in validate(), meta_new_entity and meta_save_entity (old and new name) before any path is built. Because "." splits the parts, ".." can never be a part, so <name>.toml stays one file in entities/. Tests cover 9 table names x 2 lakehouse kinds, and 6 entity names through both RPCs with no .toml written. The main merge is clean, it merges clean, and ruff passes. meta*, notebook and silent_except: 155 passed. Optional: table_ref could also refuse ":" to match entity names (a colon in a local Windows path is an alternate data stream). Security QC is reading it in parallel. |

| 2026-10-29 | #1031 06bb302d | Add a model/report: a late list from an earlier workspace no longer replaces the pick | PASS 9.1 | Real UI race, not a flake. listItems used to assign items before checking that the workspace was still selected. A late reply from the first workspace then replaced what Add reads, and Add said "Pick a semantic model". Now the reply stays in locals until the check passes, and the error text moves with it. The mock answers any workspace not picked 300 ms late, and the test waits for that reply before Add. Old product-items.js with the new test: 3 of 8 fail. Fixed: 14 of 15 file runs passed 8/8. The first run, in a fresh worktree, had 1 failure whose output I didn't keep, and 14 runs after it were clean, so cold start is likely but not proven. ui.test 305/0; merges clean. |

| 2026-10-29 | #939 2b0a2071, #998 2eb27cbb | RM carries after #1011 (ruff gate) and #1023 merged | PASS 9.2, PASS 9.3 carried | #939: delta identical to 22ad2a8d except for one dropped line, import re in central/service.py, which #939's own change left unused (no re. left in the file). ruff check . passes; merges clean; RM reports 105 passed. #998: delta identical to a9fbfb74; CONTRIBUTING.md keeps the pytest lines, then main's ruff line, then #998's preview, sign-in and run lines (checked with remerge-diff); merges clean. |

| 2026-10-29 | #951 7bfa3d79 | Every axe "needs a look" item has a person's verdict: main merged in after #926 and #932 | PASS 9.2 carried | Carried from 44f8608e. Against main the delta is 7 files (+43/-23): the JUDGED table, its "every undecided check has a verdict" test, verdict text in report(), arrows aria-hidden, gutter, placeholder and null colors moved to var(--muted), and the arrow color #8a8a8a. The tab roles and the inventory follow main (#926), so neither appears in the delta. The audit doc was re-run, and its rows and verdicts match the code. Merges clean. ui.test 306/0; a11y audit 4/4 twice. |

| 2026-10-29 | #998 a9fbfb74 | RM conflict-resolution carry after #926 merged | PASS 9.3 carried | Carried from e10d4232: the delta is identical. Checked with remerge-diff: notebooks.md takes main's Command mode line (with #926's Tab note) and keeps #998's "Hide a cell's code or output" line. Merges clean. RM reports test_release and test_updater 60 passed. |

| 2026-10-29 | #931 09347411 | Pipeline mailbox live check, re-check after merging main (after #892) | PASS 9.2 carried | Carried from 928c60a9. The delta differs only where it meets #892: ALL_CHECKS has mailbox, lease and merge_profile; init takes mailbox_control and lease_backend; _extra_checks runs the mailbox block, then the lease/merge loop (checked with remerge-diff). The merge commit also adds pipeline.mailbox to cli.py's --check choices and the --all help, which had been missing, so --check pipeline.mailbox was refused. The choices now equal EXTRA_CHECKS minus notebook.run. Merges clean. Changed tests plus livetest and silent_except: 134 passed; ui.test 305/0. Optional: a test that pins the --check choices to EXTRA_CHECKS would have caught the missing choice. |

| 2026-10-29 | #1029 dae6bb3d | Memory-limit test sets the limit after the cell starts (#919 flake) | PASS 9.2 | Test only. The 0.1 s watcher reads self.memory_limit on every tick (kernel_proc.py:261), so setting the limit after start() still ends the 30 s cell, and the idle process can no longer be ended before start. Merges clean. The test ran 3x alone, plus kernel_process and silent_except: 41 passed. Odd PR, reviewed because WS6 asked me directly. |

| 2026-10-29 | #1028 46a7aaba (draft) | UPDATE and DELETE on this PC (PB-015): review-nit commit, reviewed 113ab326..46a7aaba | PASS 9.3 | Fixes the nit: the %sql refusal now says a change runs here only into the attached lakehouse with Preview features on. The %%sql docstring now matches, and _merge_runs_here is renamed _change_runs_here, with no stale references left. No test pinned the old text. spark_merge, time_travel, notebook, magics, delta_dml and silent_except: 154 passed. Stays draft until Chris types his go. |

| 2026-10-29 | #1028 6b478bb0 (draft) | UPDATE and DELETE on this PC (PB-015): docs follow-up, reviewed 80cccb15..6b478bb0 | PASS 9.2 | Adds one docs-only commit on top of 113ab326 (PASS 9.2). notebooks.md now warns that a DELETE with no WHERE empties the table, and gives the undo: read the table VERSION AS OF n (n from DESCRIBE HISTORY) and overwrite it. That matches the RESTORE refusal message. It also drops UPDATE and DELETE from "Not available on this PC", which was stale. Stays draft until Chris types his go. |

| 2026-10-29 | #1028 113ab326 (draft) | Notebooks: UPDATE and DELETE run on this PC (PB-015, refs #848). Reviewed 80cccb15..113ab326 only, as it is stacked on #933 | PASS 9.2 | 3 commits: docs, tests, and a RESTORE check after leading comments. spark.sql now strips leading comments (delta_dml _LEADING_COMMENTS) before the RESTORE and SCHEMA EVOLUTION checks. Probed with -- and /* */ comments, a lowercase restore and stacked comments: all refused, table untouched. %sql /* c */ UPDATE ... on the attached lakehouse runs, so the doc claim holds. The time-travel test now refuses vacuum() instead of delete(), which runs locally since 80cccb15. spark_merge, time_travel, magics, delta_dml and silent_except: 126 passed. Optional nit: the _sql_value refusal text (notebook.py:1498) still says MERGE, UPDATE and DELETE run in Fabric only without the "another lakehouse or Preview off" qualifier. New capability: stays draft until Chris types his go. |

| 2026-10-29 | #999 9936480c | Metadata loads: Fabric-safe types (#954), re-check after merging main (coordinator ask) | PASS 9.2 carried | Carried from the second reviewer's 008c1d42. Every line the delta dropped is #994's, which landed on main. The only new line: upsert builds one merger from the Fabric-safe _merge_source data and keeps main's delete_flag clauses (when_matched_delete, then update and insert except the flag), so there is one MERGE, not two. lakehouse.py keeps the shared localdata.delta.delta_safe, and main's private _writable has no other caller. store.py keeps both #954's helpers and main's PB-067 cleanup. metadata-guide.md keeps main's late rows section and the cleanup text, adds the types paragraph and drops the older duplicate batch paragraph. Merges clean. meta*, local_delta*, delta_profile_writes, schema_evolution and silent_except: 185 passed, including test_meta_late_rows_deletes. Ruff on the changed files matches main except an import-order nit in the new test file (CI doesn't lint). |

| 2026-10-29 | #1026 5dcb6043 | HD-050 runcell, now its own PR (Fixes #965) | PASS 9.3 carried | Delta identical to 2ed7647d, plus a clean merge of main (remerge-diff shows nothing). Merges clean. Changed test files plus test_silent_except: 171 passed. It changes the RPC surface, so it still needs the security read from Bug fix and security QC. If #1011 merges first, there is a one-line overlap in test_notebook.py. |

| 2026-10-29 | #1025 830b155e | CI changes job lists paths with -z (quotepath, now its own PR) | PASS 9.3 carried | Same change as 08399b8f. The changes job itself is now on main, so the delta is just the -z line and its comment (4+/2-). The merge of main resolved the ci.yml files= conflict to keep -z (checked with remerge-diff). Merges clean, and the YAML parses. |

| 2026-10-29 | #1024 978f1beb | Copy-jobs browser test waits for the pin's re-read | PASS 9.3 | Test-only, 1 file. The old wait matched any workloads_list call, and earlier tests had already made one, so the assertion could run before the refresh:true re-read. The only refresh:true caller is Pin and read again (df-dataflows.js:109), after set_workspace_mark, so the pinned assertion holds once the wait returns. No earlier test in the file triggers it. Merges clean. Ran df-copy-jobs browser file 3x with Chromium: 8/8 each. |

| 2026-10-29 | #1011 3883c026, #939 22ad2a8d | RM conflict-resolution carries | PASS 9.2, PASS 9.2 | #1011: delta identical to fa49dc90 (test_meta.py imports, unused Project dropped), clean merge, ruff all passed. #939 (second reviewer's PR, carried on RM ask): delta identical to 5aba3232 / 8b699a22 minus #937 lines now on main; troubleshooting.md keeps main's Endorsed row plus the 403 InsufficientPrivileges row; clean merge; fabric_api + platform + silent_except 116 passed. |

| #926 eb397807 | Accessibility fixes, main merge (after #990) and audit re-run | PASS at eb397807 (carried from 16959173) | 9.2 | Outside the audit doc, the PR's own delta is identical to 16959173. Against main, the audit doc changes only the Notebook, SQL query and Command bar rows (now 0 serious or critical) and the to-be-fixed list (None); main's newer Settings rows stay. 11 files; merges main cleanly. Owner: browser 666 pass with the 7 known container failures plus product-groups "Add a model picks a workspace", which passes alone twice on this head and once on main; #926 doesn't touch product groups. ui.test 305/0. |

| #892 cd131a06, #919 f96cc721, #931 928c60a9 | WS2 stack after #884's squash: #884's final head, then main, merged into each | PASS carried | 9.0, 9.1, 9.2 | Each PR's own lines were compared with its reviewed head: c07b591b, cf3112c7 and 9443af6f, taken against main plus the #884 head each one carried (8f2a6d8b for #919 and #931; the merge-base with #884 for #892). All three are identical. Each merges main cleanly. #919's cli.py keeps smoke-test and env-drift (cli --help shows both). Here: #892 smoketest, livetest, lease*, silent_except 104 passed; #919 smoketest, livetest, env_drift, mailbox, silent_except 104 passed; #931 smoketest, livetest, mailbox, silent_except 118 passed, ui.test 305/0. Merge order #892, #919, #931; #892 and #931 overlap in livetest.py, cli.py --check choices and live-testing.md (keep both). |

| #987 1ed74676, #998 e10d4232 | GitHub update-branch merges | PASS carried | 9.2, 9.3 | Clean main merges by Release management to pick up #1001's queues fix. The PRs' own deltas are identical to a8be34c6 and 7880a0a7 (sorted +/- lines compared against the merge-base), and both merge main cleanly. |

| #1021 5bab26d7 | Two Windows test flakes: an over-long PYTHONPATH and a cancel test that didn't wait | PASS | 9.2 | Tests only. test_integrations_app's fixture sets PYTHONPATH to the sidecar root rather than all of sys.path, which on a Windows xdist worker passed the 32767-character limit; the MCP server Test connection starts still imports this checkout, and the interpreter's own site-packages need no PYTHONPATH. test_notebook_magics now polls until the cancel lands (6 s cap, same assert), since poll(-1, wait=5) returned at once. Merges main cleanly. integrations_app, notebook_magics, silent_except 71 passed. |

| #978 dab203b6 | Work queues refresh, rebased onto #997 and #1001 | PASS | 9.1 | One commit on main 10e47bd2. The queue data is refreshed: KF- keys map to PB-118; PB-013 and PB-036 are dropped as Accepted; PB-049 is Fabric's ready story; merged blockers and #956 (merged as #974) are removed. Not data only: queues.py also changes. check() now returns errors (fail the Docs workflow) and shortfalls (printed as short:, exit 0). A slot may name an issue and title without a PB id. No active story or fewer than two ready stories is now a shortfall, and the README table check is skipped when the file already has errors. Sound, but the tool has no test of its own. Here: queues.py all exits 0 with DevEx and Platform short (1 ready each) and leaves no diff; product_data.py check consistent; zensical --strict clean; no security detail. Merges main cleanly. |

| #1018 943776f2 | test_livetest: a writer that lost the commit race may take more than 2 attempts | PASS | 9.2 | Test only. The check must still pass and still name writer B as retried, now with at least 2 attempts instead of exactly 2: the forced failure costs one, and a real collision between the two writers can cost more. The assertion stays meaningful (B must have retried at least once). Merges main cleanly. The test passed 5 of 5 runs; livetest + silent_except 51 passed. |

| #998 7880a0a7 | README rewrite, main merge (License section) | PASS at 7880a0a7 (carried from 92ff1702) | 9.3 | Release management's README union keeps the PR's short guide and Build from source, plus main's License section at the end. The PR's own delta is identical to 92ff1702 (sorted +/- lines compared against the merge-base), and it merges main cleanly. |

| #987 a8be34c6 | Main merge (styles.css union with #990) | PASS at a8be34c6 (carried from 166b09bd) | 9.2 | Second reviewer's PR, carried by me at Release management's ask. The styles.css union keeps the PR's .folder-field rules and main's forced-colors block. The PR's own delta is identical to 166b09bd, and it merges main cleanly. RM: ui.test 304/304. |

| #1001 7ceabd9d | Evening product check, re-run on main after #997 | PASS | 9.2 | The owner took main's product JSON and re-ran the check rather than unioning. Counts recomputed here from the JSON: backlog 106 (Accepted 40, In progress 27, In review 20, Proposed 19); features 142 (Implemented 119, Partially Implemented 13, Planned 4, Implemented but Not Exposed 4, Missing 2). All 14 items named in the commit are In review, and PB-116/117/118 carry issues #852 to #854. product_data.py check and queues.py check are consistent; product_data.py all leaves no diff. 10 files against main, product docs only, plus the schema field and its render; no security detail added. Merges main cleanly. |

| #891 6e42a2f7 | Fabric Spark (Livy) Preview engine, main merge after SF-00 | PASS at 6e42a2f7 (carried from 81208e74) | 9.1 | The registry.py resolution keeps SF-00's three Snowflake descriptors, uses the real FABRIC_SPARK from fabric_spark.py (main's planned stub is gone), registers FabricSparkAdapter, and sets REGISTRY_VERSION to 6 (main has 5). Against 81208e74 the PR's own delta differs only in that version line. Merges main cleanly. engines, fabric_spark, snowflake, connprofile tests + silent_except 237 passed. |

| #884 902c0627 | Tenant smoke test (PB-002), cli.py conflict with #906 | PASS at 902c0627 (carried from 2401f0c0) | 9.2 | Release management merged main, and the remerge-diff was read. cli.py is a union: the docstring lists smoke-test and env-drift, and both subparsers, functions and dispatch lines are kept. Against 2401f0c0 the PR's own delta differs only in that docstring line. Merges main cleanly. cli --help shows both commands. smoketest, env_drift, livetest, cli*, silent_except 66 passed. |

| #1012 d04f621d | Plus: local lease release retries a busy file (Windows) | PASS | 9.2 | b9f5890d plus leases.py: LocalBackend.replace and delete go through _while_shared, which retries PermissionError 50 times 0.02 s apart (about 1 s) and then re-raises, inside the existing file lock, so the etag check still holds. Root cause is inferred from #994's Windows log ("Couldn't release the lease … WinError 32", writer 4 waited out the TTL), not reproduced on Windows; Windows CI is the check. The new test (os.replace and Path.unlink refuse twice, then allow) fails on the old leases.py and passes at head. Merges main cleanly. leases_local, table_leases, lease_before_commit, silent_except 39 passed. |

| #926 16959173 | Accessibility fixes, main merge (after #932) | PASS at 16959173 (carried from 5d140245) | 9.2 | Outside docs/ux/accessibility-audit.md, the PR's own delta is identical to 5d140245 (sorted +/- lines compared against the merge-base), and it merges main cleanly. The audit doc takes main's version, re-run on the merged code: Notebook 18/0(0), SQL query 22/0(0), Command bar 18/0(0); main's Data mesh entity rows are kept; the to-be-fixed list is now None. Owner: browser 658 pass with the 7 known container-only failures; ui.test 301/0. Nit: the line "Filed to be fixed in #905" above None could say #905 is done. |

| #799 d0dd3481 | Leftover staging lakehouses, permissions.md conflict with #906 | PASS at d0dd3481 (carried from f7c12c3c) | 9.0 | Release management merged main. Against main, the Item.ReadWrite.All row differs only in #799's deleting clause (live test, and confirming Remove on a leftover Dataflow Gen2 staging lakehouse); #906's env-drift clause is kept as on main. Otherwise the PR's own delta is identical to f7c12c3c, and it merges main cleanly. RM: ui.test 301/0; xray/docs tests 41 passed. |

| #1012 b9f5890d | exportrace PR opened | PASS (carried) | 9.3 | The PR head is the reviewed branch head b9f5890d. |

| (no PR yet) exportrace b9f5890d (Codebase audit) | Plus: test_onelake_writes cancel flake | PASS | 9.3 | a32d4255 plus one test-only commit. In test_cancel_drops_writes_that_havent_started, the first write sets started before it waits on the gate, and the test waits for started before cancelling. Without that, a late worker thread meant both writes were dropped, as the queue promises (two notices, the flake on #889 and #986). Reproduced here by delaying write_queue.Queue._work 0.3 s: fails at a32d4255, passes at head. onelake_writes + silent_except 45 passed. |

| (no PR yet) quotepath 08399b8f (Codebase audit) | CI changes job: -z path list (nit taken) | PASS | 9.3 | git diff --name-only -z piped through tr '\0' '\n' lists every path unquoted. A newline in a name splits it, and the first part still matches; a split docs path only stops counting as docs-only, which fails safe. Under GitHub's bash -eo pipefail a git failure still ends the step (checked here: exit 128, nothing after it ran). The YAML parses. |

| (no PR yet) quotepath f5be2185 (Codebase audit) | CI changes job lists non-ASCII paths as themselves | PASS | 9.2 | One line on cifilters e0bdd140: git -c core.quotePath=false diff --name-only. Reproduced in a scratch repo: "sidecar/\303\251.py" before, sidecar/é.py after, and it matches ^sidecar/. The YAML parses. Optional nit: a path holding a double quote, tab or newline is still quoted even with quotePath off, so it could skip the browser or ubuntu job. docs_only fails safe. git diff --name-only -z read with mapfile -d '' would close that too. |

| (no PR yet) exportrace a32d4255 (Codebase audit) | SQL export: a stopped or failed export removes its files before it says so | PASS | 9.3 | Root cause of the test_a_stopped_export_leaves_no_files flake (#884 ubuntu run): _write set state to cancelled or failed before _discard, so a poller could see the end state while the .partial and the empty reserved file were still there. _discard now runs first in both branches. _discard swallows OSError, so the state is always set after it. Reproduced here with a plugin that slows _discard by 0.5 s: the test fails on the parent and passes at head. Merges main cleanly. test_sql_exec + silent_except 116 passed. |

| #981 e0bdd140 | cifilters: main merge (#975 now on main) | PASS at e0bdd140 (carried from 7d58ca66) | 9.0 | ci.yml against main is only the PR's own work: the changes job, RUN_TESTS step gates in the sidecar matrix, and needs/if on vscode-extension, ui-browser, audit, sbom-app, agent-image and engine. Main's concurrency block and its axe-core and Playwright lines come through unchanged. CONTRIBUTING takes main's line. The YAML parses; jobs are main's plus changes. Merges main cleanly. |

| #998 92ff1702 | README rewrite: pipelines are Preview | PASS | 9.3 | One README line on b873b3af under Limits worth knowing. The claims match the code and docs: Create > Pipeline exists (app.js create view, pipelines.js), mocks for Fabric-only activities, and "not yet compared with Fabric" and "not run on a live tenant" are stated as such. Both links resolve (orchestration/local-runs.md, agent.md heading Run from a Fabric pipeline). Merges main cleanly. Owner: zensical strict 0, ui.test 301/0. |

| #1011 fa49dc90 | Lint (ruff in CI), main merge | PASS | 9.2 | 0390b6cf (PASS 9.2) plus a main merge. CONTRIBUTING keeps main's two pytest lines, with the ruff line under them. meta/engine.py imports pyarrow under TYPE_CHECKING for _first_batch_schema's annotations; these are strings under from __future__ import annotations. I checked with the AST that no function uses pa at runtime without importing it: the nested fit() closes over _run_batched's local import. Merges main cleanly. ruff check . all passed; test_batches, test_meta* and silent_except 108 passed. |

| #950 68bf71fa | Batched loads remove a stopped stream's files, main merge with conflicts | PASS at 68bf71fa (carried from 9dea941f) | 9.2 | Release management merged main 61a0beb9, and the remerge-diff was read. metadata-guide.md keeps main's Late rows and source deletes section, then #950's batches paragraph with the clean-up sentences. test_batches.py is the union of #950's cleanup tests and #1006's kept-column tests. The PR's own delta is identical to 9dea941f, and it merges main cleanly. test_batches + silent_except 39 passed. Nit: the merge commit's author is integration-trial@localhost. |

| #980 cadd2ae7 | Duplicate file loads, main merge with conflict against #979 | PASS | 9.2 | Main 5c10b889 merged, and the remerge-diff was read. In _write_once the commit file list goes into the metadata, then _fit_to_table and _refuse_type_changes run, all before _merge_plan and the commit. A refused run raises before anything commits, so no files are recorded. Compared with 8b68388f, the only addition is test_a_refused_type_change_records_no_files_and_the_next_run_reads_them, which shows that after a refused run only the first file is recorded and the next run reads the new file (1 new file of 2). Merges main cleanly. landing_manifest + test_meta* 56 passed; the new test + silent_except 32 passed. |

| #985 6aa197fb | Warehouse deploy precondition, main merge with conflicts | PASS at 6aa197fb (carried from b16c559f) | 9.2 | Main 5c10b889 merged, and the remerge-diff was read. warehouse.py keeps hashlib (definition_fingerprint) and logging (_log), main's transient_login_error and open_connection, and the precondition helpers. run() opens through open_connection (autocommit=False) and checks object_changed on the change's own cursor before the first batch, so the re-check stays in the change's transaction; if the object changed it returns and the finally rolls back. docs/warehouse.md keeps main's environment wording and the PR's precondition bullet. The PR's own delta is identical to b16c559f, and it merges main cleanly. warehouse* + silent_except 268 passed; ui.test 301/0; py_compile clean. |

| Batch, main 5c10b889 (second reviewer) | Main merged into the second reviewer's PRs | PASS carried on each | as before | Second quality reviewer. Each new head contains the reviewed head; sorted changed lines against main are identical, or lose only the 13 cancelFabricRun and shortcut-health lines now on main. #974 f3003942 (9.1, from 869c9408); #987 166b09bd (9.2, from 02e11d22; the Cargo.toml union with #977 is an exact feature union, System_Com plus WinTrust/Catalog/Sip, and cargo check --target x86_64-pc-windows-msvc passes); #988 56ff93ff (9.2); #990 f751b793 (9.2); #993 f1aa4021 (9.2); #994 79f3bdc8 (9.2); #995 944748e6 (9.1); #996 cf3a66db (9.2). |

| #1007 930be646 | Gateway fallback tests | PASS | 9.2 | Second quality reviewer. Tests only; a mutation is caught. |

| #1010 5ea1bdb9 | (second reviewer) | PASS | 9.2 | Second quality reviewer. A re-check of 6aef48b3 is coming. |

| Batch, main 5c10b889 | Main merged into PRs reviewed in this log (Release management) | PASS carried on each | as before | Each PR's own delta was compared against its reviewed head (sorted +/- lines against the merge-base), and each merges main 5c10b889 cleanly. Identical: #799 f7c12c3c (9.0), #884 2401f0c0 (9.2), #889 d49a6c15 (9.1), #906 f65ab735 (9.2), #913 f9ee0958 (9.1), #937 c1e8b10c (9.2), #950 9dea941f (9.2), #970 6dee055d (9.2), #973 a344d92e (9.3), #976 c86b3f06 (9.3), #986 70523980 (9.1), #997 bc813fd1 (9.3), #898 ffc041c1 (9.0; RM's test_dataops union of both test sets: dataops + silent_except 41 passed and ui.test 301/0 here). #926 5d140245 (9.2), #932 e08b4046 (9.3), #991 435cd29e (9.3) and #998 b873b3af (9.3; RM's CONTRIBUTING union): the deltas are strict subsets of the reviewed ones. The only lines dropped are #972's, which the older bases carried and main now has, and nothing new is added. |

| #1002 7064a860 | Time-zone-proof tests, main merge | PASS at 7064a860 (carried from c7b5bca1) | 9.3 | Release management merged main; CI is green. The PR's own delta is identical to c7b5bca1 (sorted +/- lines compared against the merge-base), and it merges main cleanly. |

| #1005 53e6a399 | Offline sign-in, CONTRIBUTING conflict with #975 | PASS at 53e6a399 (carried from e8f70b9a) | 9.3 | Release management merged main (with #975). The PR's own delta is identical to e8f70b9a (sorted +/- lines compared against the merge-base), and it merges main cleanly. The CONTRIBUTING.md union is right: the pytest line keeps "without Fabric or the internet", followed by #975's -n auto --dist loadfile line. RM: offline_sign_in + requests_core_four 37 passed; ui.test 301/0. |

| #1006 938bc7d8 | Batched loads: an empty kept column takes the table's type (#1004) | PASS | 9.2 | Second quality reviewer. Matches _fit_to_table for unbatched loads; later batches of another kind are refused inside the stream, with the version unchanged. 58 passed with main merged; reverting to first.schema fails the new test. Nit: share the refusal text with _refuse_type_changes. |

| #914 22af3979 | Late rows and source deletes, conflict resolution with #979 | PASS at 22af3979 (from b1475f4b) | 9.1 | Second quality reviewer. Remerge-diff: the fit and type refusal moved before the delete handling, and both NO_ID entries are kept. Reversing the order fails the new test. 74 passed; ui 301/0. Needs Chris's go. |

| #989 4bc9f0ed | UDF parity, 3.12 test fix | PASS at 4bc9f0ed (from a6c3480c) | 9.2 | Second quality reviewer. Test-only change: the test compares _run args as (kind, name/value). 10/10 on 3.12 and 3.13; mutating audit's _run name still fails the test. |

| #993 105a5276 | SF-00 Snowflake connection profiles, main merge | PASS at 105a5276 (carried from 3e2f0b50) | 9.2 | Second quality reviewer. The change set against main is identical. Needs Chris's go. |

| #995 8a4bd0da | SF-04 Snowflake SQL on this PC, main merge | PASS at 8a4bd0da (carried from d7990305) | 9.1 | Second quality reviewer. The change set against main is identical. Needs Chris's go. |

| #975 9daada28 | CI speed: test leak fix + main merge | PASS | 9.2 | Main 1c2ba84b merged; tornado now comes from main. The new fix: test_small_ipython_magics sets KF_TEST_VALUE and KF_TEST_TOKEN through monkeypatch first, so the values %env writes into os.environ are removed after the test, and dbconnect's secret-gone test on the same xdist worker no longer sees KF_TEST_TOKEN. The two tests in one process: 2 passed. Merges main cleanly. notebook_magics, dbconnect, silent_except 85 passed. |

| #1005 e8f70b9a | Offline sign-in (WS6 offline branch), main merge | PASS at e8f70b9a (carried from cb0ced89) | 9.3 | The PR's own delta is identical to cb0ced89 (sorted +/- lines compared against the merge-base), and it merges main 1c2ba84b cleanly. Owner's run with a dead proxy: offline_sign_in, sign_in_errors, silent_except 19 passed. |

| #914 b1475f4b | PB-054 late rows, main merge | PASS at b1475f4b (carried from 4e262666) | 9.1 | Second quality reviewer. Main merge only; the change set against main is identical. Needs Chris's go. |

| #924 18d5174b | Main merge | PASS at 18d5174b (carried from ef1bb0c9) | 9.1 | Second quality reviewer. Main merge only; the change set against main is identical. |

| #979 28ac3050 | PB-031 schema guard, main merge | PASS at 28ac3050 (carried from b3944c0c) | 9.2 | Second quality reviewer. Main merged to 1c2ba84b; the change set against main is identical to b3944c0c. |

| #989 a6c3480c | UDF parity, main merge | PASS at a6c3480c (carried from ec854570) | 9.2 | Second quality reviewer. Main merged to 1c2ba84b; the change set against main is identical to ec854570. |

| #992 e7595987 | Typed platform client errors, main merge | PASS at e7595987 (carried from a369c391) | 9.2 | Second quality reviewer. Main merged to 1c2ba84b; the change set against main is identical to a369c391. |

| #1003 0030b779 | Typed errors survive wrappers, main merge | PASS at 0030b779 (carried from 4351768b) | 9.2 | Second quality reviewer. Main merged to 1c2ba84b; the change set against main is identical to 4351768b. |

| #993 3e2f0b50 | SF-00 Snowflake connection profiles | PASS at 3e2f0b50 (carried from 7c7285a) | 9.2 | Second quality reviewer. The only change is a test-only Windows key path; the escaped-form check keeps the assertion. 86 passed; ui 301/0 with main merged. Needs Chris's go. |

| #995 d7990305 | SF-04 Snowflake SQL on this PC | PASS at d7990305 (carried from 6538085) | 9.1 | Second quality reviewer. Main merge only; the change set is identical. 118 passed; ui 302/0. Needs Chris's go. |

| #1002 c7b5bca1 | Time-zone-proof tests: pin the platform's date (second cause) | PASS | 9.3 | One commit on 5a032c1c (PASS 9.2). Autouse fixtures pin core._today and policy._today (policy imports the name) in test_requests_core_four, and core._today and mesh.utc_today in test_versioned_contracts; every caller reads mesh.utc_today as a module attribute, so the pin reaches them. governance_service days_left now uses core._today(), the same UTC date, so behaviour is unchanged. Midnight crossing simulated here by moving TODAY a day ahead: both files pass 59/59 with the pins. Merges main cleanly. governance*, policy*, silent_except and both files: 177 passed, 1 skipped. |

| #986 cbb831d0 | Local pipelines in Workloads (Preview), main merge | PASS at cbb831d0 (carried) | 9.1 | The PR's own delta is identical to fdead408 (sorted +/- lines compared against the merge-base), and it merges main b19b7456 cleanly. The main it merged predates #972, so ui.test at the head is 299/1: the main-wide Preview-id test that #972 fixed. With b19b7456 merged in, ui.test is 301/0. silent_except + workload* 83 passed. Merge it with current main, or bring main in first, so CI is green. |

| #1003 4351768b | Typed errors survive the wrappers; classify_error decides by type first (#963), draft | PASS | 9.2 | classify_error now checks NotSetUp, then PermissionError or HTTP 401/403, 429, transient statuses and typed ConnectionError/TimeoutError, and only then falls back to wording for untyped errors. The order of the wording checks is unchanged. NotSetUp passes through the four call-or-repair wrappers (central requests, platform catalog, meta sources, shortcut risks) instead of becoming "Finish or repair". Moving keys reopens the environments it already closed, then re-raises NotSetUp/PermissionError; any other failure still says Finish or repair. Merges main cleanly. Tests: test_typed_errors 18 at head, 10 of them fail on main (reproduced); typed_errors, silent_except and workload/central/platform/keys/shortcut/meta/mesh/monitor 406 passed; py_compile clean. Touches workloads/model.py, so it needs Workload management's sign-off. |

| runcell 2ed7647d (#965, no PR yet) | HD-050 slice 3, nit taken | PASS | 9.3 | One test-only commit on bfab63d3. threading.Timer(120, proc.kill) starts after Popen and is cancelled in finally. A hung engine then makes readline return '', json.loads fails, and so does the test, as with the old timeout=120. Tests at head: test_notebook + silent_except 46 passed. |

Category Weight A 9 looks like A 5 looks like
Functional correctness 20% Does what it says on every path, including failures; nothing reports success after a failure Happy path works; some failure path guesses, or reports success
Architectural consistency 15% Uses the existing helper for each concern (client factory, fsutil, sqlite_util, retrying, redact, timeutil, confirmDialog, attempt) Adds a new copy of something the repo already has
Code quality and maintainability 15% Small, named for what it does, no dead code, no broad silent except Long functions, silent handlers, unexplained type: ignore
UX consistency and simplicity 15% Uses shared components, fits the navigation budget, no new configuration Bespoke dialog or tab bar, a new setting that could be automatic
Testing and verification 15% A failing-first test for every behavior change, failure paths tested, test names match what they prove Tests only assert what a fake was told to return
Security 10% Hardening gates hold; no new scope without docs/permissions.md Unreviewed token, permission or file handling
Performance and efficiency 5% No new polling or repeated remote calls; local work stays local New loop or repeated lookup with no limit
Documentation 5% The doc section exists, matches behavior and says what is local, compatible, simulated, remote or unsupported Feature names repeated without behavior

Decision: 9.0 and up PASS; 8.0 to 8.9 CONDITIONAL PASS (named follow-up, verified by Release management before the stated point); below 8.0 FAIL.

Automatic failures#

Any one of these is FAIL whatever the score, and can't be conditional:

  1. A critical security vulnerability.
  2. A known data-loss defect, including an overwrite or delete wider than the user asked for.
  3. Functionality presented as working that isn't: an ignored argument, a hard-coded "measured" value, a success message after a failure.
  4. A claim of test success that wasn't run.
  5. A broken critical workflow.
  6. A material architecture change without agreement (a new process, framework, store format or pattern for a concern the repo already handles).
  7. Missing authorization control on a write.
  8. A known high-severity regression.

Investigation triggers#

These start a closer look; they aren't failures on their own.

In the diff Check
except Exception Does it tell "not set up" from "failed"? Does a failure reach the user? (QA-013)
write_text(json.dumps(...)), sqlite3.connect, datetime.now, re.compile of secret patterns Use the shared helper (QA-011, QA-022, QA-024, QA-016)
FabricClient(, FileStore(, ._token(, requests. Use Service.fabric / files / token (QA-014)
A new name in server.METHODS Is it called from the UI or tagged? Is audit.READ_ONLY right? (QA-015, QA-017)
A new *_service.py mixin Could it be a module called by an existing mixin?
showDialog with a "…?" title, a tab button, a pill-s span, setTimeout loop Use the shared UI helper (QA-019)
"no capacity", "identical to Fabric", "measured" Is it verified on this execution path? (QA-008)
A test with monkeypatch.setattr(svc, ...) or a new FakeFabric Does the test prove the code, or the fake? (QA-018)
A Fabric-writing button Is it under a Preview tag? (QA-020)

Report format#

One block per PR, pasted into the release record by Release management.

PR: #<number> <title>
Quality decision: PASS | CONDITIONAL PASS | FAIL
Score: <overall> (correctness x, architecture x, code x, UX x, tests x, security x, performance x, docs x)
Automatic failures: <none, or which and why>
Findings: <QA-id or new id, severity, file:line, one line each>
AI slop: <duplication, needless complexity, incomplete or simulated behavior, or none>
Required remediation: <what must change, or the condition for CONDITIONAL>
Tests: executed and passed | executed and failed | not executed | not verifiable without Fabric
Release decision: <merge now | merge after X | hold>

Every review says which tests were actually run in this review. "Static review only" when none were.

Reviews#

PR reviews start after this baseline merges and are added below, newest first.

Merge set of 2026-10-18 (Release management's chain for 17:00Z)#

Reviewed against main 52ff52d. Each PR was reviewed on its own commits only: chained PRs against the PR before them, and the cancel-race fix that appears in #169, #148 and #139 once, under #169. For every PR, the PR's own test files and node --test app/tests/ui.test.cjs were run on its head (Python 3.13, Linux). Every FAIL below was reproduced with a script on the PR head, and re-run independently. Nothing was run against Fabric.

PR Title Decision Score Blocking finding or condition
runcell bfab63d3 (#965, no PR yet) HD-050 slice 3: the engine RPC stops accepting run_cell PASS 9.2 run_cell leaves server.METHODS and moves to test_rpc_surface REMOVED; the watchdog slow list and test_audit's writer list drop it. Nothing outside the tests calls it over the RPC: a repo-wide grep finds only the UI action id notebook.run_cell, and Service.run_cell stays for in-process callers. test_prove.run_cell uses start_cell, then poll_cell with the last version (wait=2), then poll_cell version=-1; start sets running synchronously, so the first poll can't see idle. Merges main cleanly. Tests at head (Python 3.13): rpc_surface, audit, server_lanes, silent_except, environments, kernel_process, notebook, prove 179 passed; putting run_cell back in METHODS fails 2 rpc_surface tests. Nit: test_notebook's subprocess test lost subprocess.run's timeout=120, so a hung engine blocks stdout.readline() for good; add a timer that kills proc, or a pytest timeout.

| #1001 5da6a606 | Product data: evening check (#828 to #972), story issues, PB-116 to PB-118 | PASS | 9.2 | Stacked on #997 d3a020e8. I reviewed its own commit 5da6a606 plus a clean main merge. It merges main cleanly. Backlog state counts: Accepted 40, In progress 29, Proposed 19, In review 18; every In review item lists PRs. The new issues field is in the schema and rendered as story issue links. PB-116/117/118 (issues #852 to #854) replace the KF- keys in the queue. Queue fix reproduced: at #997's head, queues.py check fails with "PB-013 is Accepted; take it out of the queue"; here it is consistent, with PB-049 (#920) as Fabric's ready-next. product_data.py check consistent; render leaves no diff; zensical --strict clean; no security detail in the diff. PB-049 and PB-072 acceptance changes are flagged for the product owner. |

| #999 008c1d42 | Metadata loads: Fabric-safe types (#954) (fix) | PASS at 008c1d42 | 9.2 | Second quality reviewer. merge_insert and upsert now apply delta_safe (append semantics) before MERGE; LocalStore delegates to super; new tables are created from the safe schema. 80 passed with main merged. Merge after #994. |

| #973 b7c589b4 | Apache-2.0 license, main merge | PASS at b7c589b4 (carried) | 9.3 | Release management merged main b19b7456 (clean). The PR's own delta is identical to 12ca57e7 (sorted +/- lines compared against the merge-base), and it merges main cleanly. RM: ui.test 301/0. Chris picked Apache-2.0 on the license card (option 0, his tap recorded 21:53Z). |

| #914 508586fb | PB-054 late rows, main merge | PASS at 508586fb (carried) | 9.1 | Release management merged main b19b7456 (clean). The PR's own delta is identical to 4e262666 (sorted +/- lines compared against the merge-base), and it merges main cleanly. The only red check was main's old ui failure, fixed by #972. RM's runs at head: ui.test 301/0; silent_except + late_rows_deletes 49 passed. |

| #1000 891e467d | tornado 6.6 for three new advisories | PASS | 9.4 | One line in sidecar/constraints.txt (6.5.10 to 6.6); merges main b19b7456 cleanly. 6.6 is on PyPI with a cp311-abi3 win_amd64 wheel. pip check is clean with 6.6. pandas_in_notebooks, chart_libraries, outputs_hardening, rich_outputs, kernel_process and kernel_sessions: 82 passed on tornado 6.6. |

| #1000 891e467d | tornado 6.6 | PASS at 891e467d | 9.4 | Second quality reviewer. The one-line constraints pin; tornado is pinned nowhere else. pip-audit: 6.5.10 has the 3 CVEs, 6.6 is clean, and the whole constraints file is clean. Resolve gives tornado 6.6 + bokeh 3.10.1; bokeh renders on 6.6. |

| #975 1a1d3d97 | CI speed, main merge + tornado pin | PASS at 1a1d3d97 (carried) | 9.2 | Merges main (#938, #972) and #1000's pin. Against f8026218, the delta drops only the PR's copy of no_lakehouse_left_attached (main has the same fixture now, defined once in conftest) and adds tornado==6.6 (#1000, PASS). It merges main cleanly. Tests at head: ui.test 301/0, workflow YAML parses, silent_except + notebook_run 29 passed. |

| #210 | Retry the Windows Delta log race in local key tables (added to the set) | PASS | 9.1 | None. The race check and bounded retry live once in retrying.py; only repeat-safe LocalStore calls use them | | #170 | Schedule dialog opens on Fabric when the environment runs on Fabric | PASS | 9.3 | None | | #169 | Preview tags for promote, sync keys, variable library, replay | CONDITIONAL PASS; condition closed by #206 (PASS 9.2 at 8cf1d5d) | 8.2 | With Preview off, previewMarked (features.js:90) shows the four untested writes untagged, while Settings (settings.js:246) and user-guide.md say the switch hides them. Align the behavior or the text before the next Stable promote | | #171 | Command bar, help links; confirmDialog danger mode | CONDITIONAL PASS | 8.9 | No caller passes {danger} yet; about 20 destructive confirmations are still primary. Describe it as "confirmDialog gains a danger mode" and track the call sites under UX-018 | | #173 | Sign-in errors say what happened (UX-003) | CONDITIONAL PASS; condition closed by #209 (PASS 9.1 at 279f13c) | 8.7 | attempt() (app.js:79) is silent for any error with empty friendly text, not only a cancel (QA-013). Mark the cancel explicitly and test it | | #142 | Prove: save failure replay bundles | CONDITIONAL PASS; fix at 4cfdb3a FAIL, then PASS (9.0) at 859b79d | 8.35 | Unticking IDs leaves workspace and lakehouse IDs in abfss URIs inside error text (replay.py:115) while the dialog says the bundle is safe to share. The fix at 4cfdb3a scrubs the JSON text rather than each string: a double-quoted OneLake address makes saving raise JSONDecodeError, and an address at the end of a line deletes the code after it. 859b79d scrubs each decoded string instead | | #148 | Prove: open and replay failure bundles | FAIL, then PASS (9.0) at 2ff9b5c; held at 4cfdb3a with #142, PASS (9.0) at 859b79d | 7.35 | Bundle table names aren't validated (prove_service.py:371-372): ../../../../../../Tables/dbo.evil with "Use the bundle's sample" writes a Delta table outside the replay sandbox. Also no cap on bundle.json's uncompressed size | | #139 | Local data: write Delta tables from SQL (FD-LDE-005) | FAIL, then PASS (9.1) at 36f076c | 7.75 | _as_write (localdata/engine.py:600) treats any WITH statement as a SELECT, so write_delta(..., "WITH c AS (SELECT 1) DELETE FROM plain", dry_run=True) deletes every row. A dry run must not mutate (AGENTS.md) | | #150 | ORCH-002 activity compatibility registry | CONDITIONAL PASS, then PASS (9.0) at c7f443e | 8.6 | Control flow, Wait, Web and Webhook are marked fabric_capacity="not_required", and a pipeline that only runs in Fabric reports "Needs Fabric capacity: None" (QA-008) | | #153 | FINOPS-003 import measured CU | FAIL, then PASS (9.0) at 5dee656 | 7.1 | Rows are matched by time overlap ±300 s (usage/reconcile.py:98): an adjacent scheduled run of the same notebook is added, giving 10,200 "measured" CU-s for a 1,200 CU-s run. The docs say a row matches only when it can't belong to anything else | | #167 | FINOPS-003b Cost Management import | FAIL, then PASS (9.0) at 04ca09a | 7.3 | Two overlapping month-to-date exports double count (cost_management.py:113-116, usage/__init__.py:122): 212 CU h / $38.16 against a true 192 / $34.56 | | #174 | FINOPS-004 part 1 risk check | CONDITIONAL PASS, then PASS (9.0) at e052730 | 8.0 | "Blocked" doesn't stop the run and require_acknowledgement has no effect yet; say "reports only" in the docs, MCP description and payload, and hide the setting until it works. Waits for #153 and #167 | | #194 | Remember a passed write test (#191) | FAIL, then PASS (9.0) at 7b1a552 | 6.7 | The remembered pass (settings.js rememberWrite) has no tenant, lakehouse or expiry, hides Retest, and isn't cleared by a refused test, so Home says "Ready to work" without checking (UX-014). The head also carries 14 other unmerged commits | | #195 | Monitor: Schedules and Cost get the whole page (#190) | CONDITIONAL PASS | 8.2 | Reduce the head to its own two commits (it carries the #194 stack). Follow-up: the "None" environment tooltip is wrong for Fabric runs | | #197 | Product records: unit-testing direction and incident management | PASS | 9.2 | None (docs only; product_data.py reports consistent) | | #198 | Release readiness: what's missing for an enterprise-approved app | CONDITIONAL PASS, then PASS (9.1) at ca5db54 | 8.75 | Stable releases get no SBOMs (promote.yml uploads three files); #165, #181 and #182 are listed as open but merged; the open High security findings SH-1, SH-2 and EN-1 are left out |

Totals: 2 PASS, 8 CONDITIONAL PASS, 5 FAIL at first review. Follow-ups: #206 makes previewMarked always tag and names the always-shown steps in Settings and the user guide; #209 makes attempt() silent only for an explicitly cancelled sign-in, with a test that runs it on an empty error. For both, node --test app/tests/ui.test.cjs passed on the head (55 and 59 tests). All FAILs went to Release management through the coordinator, with the owner and fix.

What the set says about the baseline: the five FAILs are the patterns the findings describe, appearing in new code. Unvalidated names building paths (QA-025), a heuristic labelled as measured (QA-008), success shown without checking (UX-014), and dry-run classification by text prefix. No PR reintroduced a silent overwrite, and every PR's new tests failed on its parent's code, which is the evidence the gate asks for.

Outside the merge set#

PR Title Decision Score Blocking finding or condition
#221 X-ray toast wording (QA-008); Optimize drops its nested Delta log retry PASS at 5e6a09c 9.2 None. rows, create and insert_new now retry once, in LocalStore; a test pins 6 tries. Note: add_columns still calls the wrapped columns_of, so its scan can retry 6 x 6. Merges cleanly with #219
#219 Monitor drops Cost; old links open Optimize > Cost and savings PASS at 13bc7a1, carried to cf2479d and 495d0f5 (9.4) 9.2 None. Removes the "what running on this PC saved" overclaim (QA-008). cf2479d fixes the five stale Monitor > Cost doc lines and two QA-008 overclaims (xray-fixes.md:89, azure-setup.md:114)
#199 Agents guide beside Monitor > Operations > Agents PASS at cf08228 9.2 None. Every guide link resolves to an agent.md heading (tested), and the text matches agent.md
#311 QA-021: test update after #303 PASS holds at 13bbdf9 (test only) 9.2 The only change is test_incidents.py: the legacy-URL test no longer insists on the [webhook] placeholder. It now checks the error is kept (it starts with ConnectionError: ) and that the secret, the id and webhookb2 are absent from the outbox row and the log. That is at least as strict on the secret. Tests run: test_incidents 46 passed on the head, with main's redact.py and with #303's (h303z); test_incidents + test_redact 99 passed. Clean merge with main.
#311 QA-021: the agent retries its 'job didn't finish' Teams alert PASS at f454cf1 (agent only; posts only to the configured webhook) 9.2 A failed post goes to job_alerts.sqlite3 through Outbox, and send() re-posts it as 'Delayed: …' ('From
#310 QA-027: Monitor, Home and the bell say when the metadata project can't be read PASS at 426b352 9.3 meta_runs_all and meta_freshness now return empty only for NoMetadataProject, which _project() raises when no project is set or its folder has no layers.toml. Any other error (a broken layers.toml, say) returns project_error built with describe(), so secrets are removed. Monitor > Runs shows 'Metadata runs not shown: …', Home lists 'the metadata project' among what couldn't be read rather than 'Nothing needs your attention', and the bell gets 'Freshness not checked'. Verified: the broken layers.toml test fails with main's cloud_service.py and dataops_service.py. Tests run: test_dataops 16 passed; ui.test.cjs 103/103; clean merge with main.
#309 QA-011 retry confirm PASS at e13adc1 (was 9.2 at a5f9ed6) 9.3 Nit (a) fixed: os.replace now backs off like retrying.local_retry, with 6 tries and 0.05 s doubling. My probe: a lock that outlasts it gives 5 sleeps totalling 1.55 s, then PermissionError; the old file is kept and no temp file is left. Nit (b) remains for a later slice. Tests run: test_json_files + test_schedules + test_agent 42 passed; clean merge with main.
#309 QA-011 slice: agent settings and PC schedules written atomically; torn files set aside PASS at a5f9ed6 (local files only) 9.2 write_json writes a temp file in the same folder, fsyncs it, and swaps it in with os.replace, so a reader (the scheduled-task runner reading schedules.json) sees the old file or the new one, never half of one. Windows lock: os.replace retries PermissionError 10 times, 20 ms apart. Probe (mine): when the lock outlasts that (9 sleeps, 0.18 s), it raises PermissionError, the old file is kept unchanged and the temp file is removed, so it fails safe, never torn. Corrupt file at startup: a torn schedules.json is moved to schedules.json.corrupt-<time> with a warning, and the app starts with no schedules. Before, the next save silently overwrote it, so it is now recoverable. Verified: the 4 per-site tests fail with main's local_schedules.py and runtime.py. The agent's settings live under its own home (config.home/data), not the app's settings.json, so no non-atomic writer shares the file. Nits: (a) the retry is shorter than the Delta-log pattern (retrying.local_retry: 6 tries, 0.05 s doubling, about 1.5 s); a virus scanner can hold a file longer than 0.2 s, so reuse that backoff; (b) a set-aside schedules file only reaches the log, and Windows tasks already registered under FabricDesktop then point at schedules the app no longer lists; say so in Monitor > Schedules in a later slice. Tests run: test_json_files plus the schedule/runtime/agent tests gave 94 passed; clean merge with main. Probe: quality/repros/r309_jsonfile.py.
#303 QA-016 test-only confirm PASS holds at f1dbb89 (9.2) 9.2 Test only: a refused post to a legacy /webhook/...IncomingWebhook path, and an assert that notify.failure() (which calls redact.secrets) leaves no secret. Verified: with main's redact.py, test_redact has 8 failures; on the branch, 67 passed. Clean merge with main.
#308 QA-022 slice: Teams outbox and platform ledger close their SQLite connections PASS at 2c8a776 (local state only) 9.3 transaction(path) opens with the same 30 s timeout, commits on success, rolls back on error (with db), and always closes, so the commit and rollback behaviour is exactly what with sqlite3.connect(...) gave before, minus the open handle that locks the file on Windows. All 10 _db() call sites in Outbox and Ledger already use with, and none returns a cursor past the block (pending fetches inside it). Verified: the 3 new tests fail with main's workloads/ and pass on the branch. The remaining stores are left for later slices, as stated. Tests run: test_sqlite_connections_closed plus the notify/incident tests gave 82 passed; clean merge with main.
#306 HD-035 re-grade PASS at 0cf9b9e (was CONDITIONAL 8.6 at 1c8f67c) 9.2 Condition met. pollRun no longer stops when the notebook closes; it ends only when the run finishes, the engine doesn't know the run, or 20 checks in a row fail (with backoff), so it can't loop forever. drawProve and drawSbs already return unless that notebook is on screen. proveFollows / sbsFollows (run id → notebook) give a reopened notebook object the loop that is already running, so it doesn't start a second one, and the end result lands on the notebook that's open. Verified: with 1c8f67c's prove.js and sidebyside.js, the new 'closing the notebook mid-run still settles the bell entry' tests fail for Prove and side by side (6 fail in total; 3 of those only because pollRun's options changed). Tests run: ui.test.cjs 110/110; clean merge with main.
#307 QA-026 (exists part): notebookutils.fs stops on refusals and server errors PASS at fc2ed53 (local notebook helper; makes OneLake writes safer) 9.3 _entry returns None only on a 404 from the parent listing (OneLakeFiles.list calls raise_for_status, so the response is attached) and re-raises 401, 403, 429 and 5xx. That closes the unsafe path: before, a 403 or a 503 read as 'not there', so put() without overwrite and mv without overwrite could replace an existing file. mv is now safer too: if the check after the copy fails, it raises before rm(src), so the source is kept. rm and cp with recurse raise instead of acting on a guessed 'not a folder'. Verified: the 5 new raise cases fail with main's notebookutils_local.py (5 failed, 27 passed) and pass on the branch. Out of scope as stated: mkdirs and read.schema. Tests run: test_notebookutils_fs 32 passed; clean merge with main.
#306 HD-035: Prove and side-by-side polling stop on finish, close and errors CONDITIONAL at 1c8f67c (UI only) 8.6 The shared pollRun is sound. It backs off 1.5 s → 12 s, stops after 20 failed checks in a row, and stops at once on the engine's own messages (LookupError("No proof …") in prove_service.py:573, No side-by-side run … in side_by_side_service.py:166). A lost run is marked failed, so the buttons free up, and side by side gets the one-loop-per-run guard. Leaving the page keeps polling, because state.notebook is unchanged. Condition: closing the notebook (the rail's X sets state.notebook = null) or opening another notebook now returns early before logActivity. The bell entry for that proof or comparison then stays 'running' for good, and no result toast comes. The app promises the opposite: 'the bell tells you when it's done' (prove.js:129) and 'You can leave this page; the bell tells you when the comparison is ready' (sidebyside.js:198). It resumes only if the person reopens that notebook and opens Prove or the toggle. Fix: keep checking the status after the notebook closes (the backoff and the lost/20-failure stops already end the leak), and use live only to decide whether to redraw; or, at minimum, settle the bell entry when the follow stops. Add a test that closes the notebook mid-run and checks that the bell entry ends. Tests run: ui.test.cjs 107/107; clean merge with main.
#305 HD-050 first slice confirm PASS at a8708dd (was 9.1 at e1eb2a0) 9.2 Nit (a) fixed: list_shortcuts now has the no-screen reason and is marked as a removal candidate. Nit (b) done as a comment above NO_UI_CALLER pointing to watchdog.rs. Nit (c) left as is, which is fine for a guard. Tests run: test_rpc_surface 2 passed; clean merge with main.
#305 HD-050 first slice: every RPC method has a UI caller or a listed reason PASS at e1eb2a0 (tests and docs only) 9.1 The test is not vacuous. It requires more than 300 UI matches, and when I removed one entry (run_sql) from NO_UI_CALLER the first test failed and named it. The second test fails on a listed name that has left METHODS or that the UI now calls, and on an empty reason. I spot-checked the reasons against the code: the 14 MCP names appear in integrations/, preview_job and run_job in cli.py/agent.py, and all_shortcuts, cancel_fabric_run, meta_preflight, git_path_info and git_repos are called in-process by the services named. Nits: (a) list_shortcuts is listed as used in-process by estate/shortcut services, but those call the Fabric client's api.list_shortcuts, not the Service method, so it really has no caller; mark it a removal candidate. (b) Before any later slice removes a name, also drop it from the shell's timeout list app/src-tauri/src/watchdog.rs QUICK (it names kernel_info, notebook_environment, receipts_list, run_cell's siblings, sql_compat_profiles, sql_executions); that list isn't a caller, so the test rightly ignores it. (c) Matching is any quoted occurrence in app/ui, so a name used only as a label would count as called; acceptable for a guard. Tests run: test_rpc_surface 2 passed; clean merge with main.
#304 Exclusive exports: Validate bound PASS holds at b024292 (9.3) 9.3 Nit fixed: the Validate save stops after 999 names with 'Couldn't find a free file name in Downloads for the report.', and a test covers it. No other change. Tests run: test_replay + test_validate 48 passed; clean merge with main.
#304 HD-038 follow-up: Validate report and replay bundle created exclusively PASS at a0b8235 (local files only) 9.3 Fixes my #299 nit (b). The Validate report opens with x and moves to the next name on FileExistsError. replay.write(mode="x") raises before writing anything, and on a failure part-way it removes only the zip this call created; an existing file is never touched, because the exclusive open is outside the cleanup. Names are unchanged. Verified: both race tests (which make Path.exists lie) fail with main's code and pass on the branch. The HD-039 / DI-7 'done' rows match main: retrying.retry_after caps at 60 s, and send_with_retry is used by fabric_api, onelake, leases, mailbox and the HTTP session. Nit: the Validate loop has no upper bound (as before). Lands after #299 (both edit the EN-11 rows). Tests run: test_replay + test_validate 47 passed; clean merge with main.
#303 QA-016 re-grade PASS at 7f9d53a (was FAIL 8.6 at dfc32a6) 9.2 Blocker fixed. Both redactors now also remove the bare /webhook(b2)/<id>@<id>/IncomingWebhook/... path that a failed post prints. My repro now prints SECRET after describe(): False (True at dfc32a6), and the four shapes I probe (full URL, requests ConnectionError, legacy outlook, upper-case host) are all removed. The @ and IncomingWebhook anchors keep ordinary text untouched: '/webhook/ docs' and '/api/webhook/123' stay as they are. The new test makes a real refused requests.post, and a shared case covers the JS side. docs/security.md now states exactly what is removed. Tests run: test_redact 66 passed; ui.test.cjs 102/102; clean merge with main.
#303 QA-016: redaction removes legacy Office 365 connector webhooks FAIL at dfc32a6 (security claim not met; no conditional for security) 8.6 The owner is right that main already removes full *.webhook.office.com URLs, webhookb2 included. That doesn't contradict my #301 finding: there the secret leaked as a bare path, because requests prints host='...' and url: /webhookb2/... separately, so no full URL is left to match. The change itself is sound. It adds the outlook.office(365).com/webhook(b2)/ form and ignores case in Python and JS together; a non-webhook outlook URL is left alone; 4 of the new cases fail with main's code. Blocker: docs/security.md now says redact.py removes 'Teams / Office 365 webhook addresses from every error the UI shows'. That isn't true for the commonest failure, a post that can't connect. describe(exc) still returns the /webhookb2/<id>@<tenant>/IncomingWebhook/<id>/<id>/V2<secret> path. Callers that store or show that text: dataops freshness alerts (failure(exc) returned to the UI), the agent's alert log, and the schedule alert (#301 masks it locally). Repro: quality/repros/r303_webhook_path.py prints SECRET after describe(): True. Fix: also match the bare path (/webhookb2/... and /webhook/<id>@<id>/IncomingWebhook/...) in both redactors, and add a shared case built from a real requests ConnectionError message. Tests run: test_redact 63 passed (4 fail with main's redact.py); ui.test.cjs 102/102 (2 fail with main's settings.js). Clean merge with main.
#302 HD-042: every way of closing a dialog settles its prompt PASS at 023e765 (UI only) 9.3 showDialog takes an onClose that runs once, when the dialog closes or when a new dialog replaces it. askText and pickWorkspace resolve before closing, so their onClose null is a no-op after a real answer. confirmDialog sets settled before closeDialog, so OK still returns true; its MutationObserver is gone. Real-browser probe (mine, Playwright): Escape and the X on askText return null, an overlay click on pickWorkspace returns null, a confirm replaced by askText returns false, the typed answer returns 'hello', and dialog-root ends empty. Verified: all 3 new UI tests fail with main's app.js and meta.js. Known gap (owner): the startup check (app.js:2167) and the rename splash (settings.js:238) write dialog-root directly. Both run at startup with no prompt pending, so nothing hangs; any stale onClose would only run at the next close. Tests run: ui.test.cjs 105/105; browser confirm-dialog + keyboard 8/8. Clean merge with main (#298, #300 and #302 all append to ui.test.cjs, so the later ones merge main first). Probe: quality/repros/r302_dialog_close.test.cjs.
#313 Main merge for the round PASS holds at cd5bd44 9.2 The only conflict resolution is in service.py's imports: it keeps both jsonfile and from .filenames import file_stem (#314). Verified both resolve. Tests run: test_json_files + test_sql_exec 59 passed. Clean merge with main 0e19965.
#319 Pipeline notebook steps: Windows cleanup race in the test fixture, main merged PASS holds at e49ee84 9.1 Test-only fix: the stand-in delete retries 50 x 0.1 s, then raises if the folder stays, which is stricter than the old ignore_errors. Both merges replay with no conflict. Tests run on e49ee84 merged with main 2182510: pipeline tests + test_validate 203 passed; ui.test 124 passed. Clean merge with main.
#320 Notebook files: two main merges PASS holds at 4552a47 9.1 No new code since 77007c9. The conflicted merge kept both mixins in service.py (CapacityHistoryMixin, NotebookFilesMixin) and both ui.test appends. Tests run: ui.test 127 passed; notebook files, capacity history and rpc_surface 30 passed; browser notebook-files passed. Browser risk.test.cjs fails 'Data mesh Run all goes ahead past one blocked entity' identically on plain main 2182510, so it isn't #320's (#334 fixes it). Needs another main merge: ui.test.cjs conflicts with main 2182510.
#325 Forge animations: main 2182510 merged PASS holds at ab04b00 9.3 Only change is the main merge; the remerge diff touches only ui.test.cjs, keeping both appended blocks. Tests run: ui.test 131 passed; browser forge-animations 5 passed. Clean merge with main. Chris's merge go.
#320 Notebook files: main 2182510 merged; stray worktree gitlinks removed PASS holds at e9459cf 9.1 5f8d91b recorded 4 gitlinks under .claude/worktrees/, and e9459cf removes them: git ls-tree -r e9459cf has nothing under .claude/worktrees/, and the PR diff against main is 23 files with none under .claude. A merge commit (not a squash) would carry the add-then-remove in history; harmless. Tests run: ui.test 128 passed. Clean merge with main 2182510.
#334 risk.test.cjs test 6 after #297's batched risk check (test-only fix) PASS at 117bd11 9.3 One file. The meta_risk_gate mock returns the real shape (checks with entity, blocked, held, run, enforced; risk_service.py:227). The test asserts the post-#297 dialog ('1 of 2 won't start; the other 1 run if you go ahead', 'Run the other 1') and that the gate returns ['customers'], and still asserts the customers acknowledgement. Tests run: browser risk.test.cjs 6 passed, 0 skipped; it fails on main 2182510. Clean merge with main.
#341 UX-006: Settings Advanced section; save refuses an env-overridden App ID PASS at 2b315e7 9.2 App (client) ID, notebook process limits and SQL limits move into one Advanced fold, closed the first time (foldable(..., {start: true}), then remembered). A value set by policy or by FABRIC_DESKTOP_CLIENT_ID shows read-only and says which (fixedBy). app_settings.save now refuses a client_id the environment variable overrides, instead of saying Saved for a value that never applies (new test). user-guide.md has the Advanced settings section. Tests run: test_app_settings + policy/readiness/auth tests 45 passed, 1 skipped; ui.test 126 passed; browser settings-advanced 1 and sql-exec 11 passed. Clean merge with main 2182510.
#382 Inspect profiles every row (on #381) CONDITIONAL PASS at 42d745a 8.5 Conditions: (1) one bad column fails the whole profile: a float column with ±inf raises "STDDEV_SAMP is out of range", and a tz-aware timestamp raises DuckDB's pytz error in the shipped engine; catch per column and treat inf as missing; (2) no cancel and no budget: 1M rows x 50 columns took 22.8 s, 5M x 3 took 8.4 s, it starts on Inspect and ends only by timeout (1800 s) or restart. Holds: SQL only over the held result, no user code; 200-column cap; 12 bins, top 5; map/list/struct/binary/decimal/all-null/all-NaN/constant/int64 extremes fine; falls back to the preview summary; kernel host threads requests. Nits: not Preview-marked (local feature, not required); 3-4 scans per column. Tests run: 54 py, ui.test 128; probe r382_profile_probe.py 13 passed, 3 failed. styles.css conflict with main 5052500.
#381 Notebook result viewer: page, search, sort, Copy, Download CONDITIONAL PASS at 6cd8916 8.6 Conditions: (1) tz-aware timestamp columns (Delta's default) make page, sort and search fail in the shipped engine, because DuckDB fetchall() needs pytz, which isn't in constraints.txt; fetch via to_arrow_table().to_pylist() (verified) and add a test (or land after #385 with the test); (2) no browser test for the viewer. Holds: 5M rows page 0.5 s, sort 1.7 s, search 3.5 s; pages capped at 1000; LIKE escaped; columns renamed c0..cN; downloads only to new reserved names in Downloads (xb, .partial, replace), never over an existing file; xlsx formula-looking text written as text; text nodes only; Download Preview-marked; page READ_ONLY, download audited. Nits: CSV keeps =,+,-,@ cells as formulas (docs promise text only for Excel); no byte cap (up to 20 Arrow copies plus the originals kept alive); out-of-order search responses; no cancel. Tests run: 50 py, ui.test 127; probe r381_frames_probe.py 15/15. styles.css conflict with main 5052500.
#349 Access cache (re-grade) PASS at 6c20bc2 9.1 Up from 9.0. "Who may read it" now says the step isn't available yet and nothing changed (access_cache_service.py:120); approve still writes nothing (puts == [], test ran unskipped). Tests run: 21 py, ui.test 124, browser 4. service.py mixin-list conflict with main 5052500; lands after #262.
#375 b8c4f86 on #371 01342a8 (re-confirm) Parameters and widgets bar FAIL 7.8 Automatic: a broken critical workflow and a failing existing test. start_cell now reads the saved Widgets values with notebooks.extra(notebook, "inputs"), which raises FileNotFoundError when the notebook has no file yet, so a cell in a notebook that isn't saved can't run. Repro: /mnt/project-files/quality/repros/r375c_unsaved_notebook_probe.py passes at #371 and fails at #375. The existing browser test notebook-select.test.cjs fails 2 of 7 here (Shift+Down Run selected, Ctrl+Shift+Enter) and passes 7 of 7 at #371. Fix: treat a missing file as no saved values, and keep the probe as a test. The rest held: Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. widget_values and resources_dir both reach the kernel in both kernels; the bar sits after computeNote; nbinputs.js loads after notebook.js; METHODS and READ_ONLY keep both sides. ui 201; area tests and r375b probe 113 passed; notebook-inputs browser 3 of 3.
#410 4361949 on #389 0b02f14 (re-confirm) variableLibrary from the workspace PASS 9.0 Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. Its change over #389 is the same as before. ui 201; area tests and the r410 probe 110 passed.
#389 0b02f14 on #374 6879434 (re-confirm) notebook items PASS 9.1 Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. Its change over #374 is the same as before. ui 200; area tests and the r389 probe 98 passed.
#373 ebd2d17 on #371 01342a8 (re-confirm) notebook.run timeouts PASS 9.1 Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. ui 201; area tests 107 passed. The r373 probe's single-long-sleep case still lands after the C call returns (4.0 s for a 1 s timeout), exactly as at the PASS head 24f0027; the other probe cases pass.
#374 6879434 (re-confirm) notebookutils.lakehouse PASS 9.2 Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. Lakehouse and nbResPath are both kept. ui 199; area tests and the r374 probe 98 passed.
#422 2c9a7c3 (re-confirm) Local Spark streaming PASS 9.1 Merges cleanly with main 378cec9 and contains the owner's last PASS head; no stray files, no ui test dropped. Engine tests run with the worktree first on PYTHONPATH. spark_api and spark_local both install spark_stream; fabric_run flags only continuous and Kafka/Event Hubs/socket streams; the Spark docs counts move to 79 of 102 and 14 of 17. ui 180; area tests and the r422 probe 76 passed. The probe's complete-mode case gets the intended refusal (the standing decision), as at the PASS head.
#385 0a30513 (re-confirm) Engine packages: pandas and charts PASS 9.1 Merges cleanly with main 378cec9 and contains the owner's last PASS head; no stray files, no ui test dropped. Engine tests run with the worktree first on PYTHONPATH. Docs keep the pandas and charts paragraphs with main's Magics line; chart_output is imported beside magics and frames; pins are main's. ui 180; area tests and the r385 probe 72 passed (pandas and chart venv).
#421 8b18f60 on #379 6438c79 (re-confirm) Notebook environments PASS 9.1 Merges cleanly with main 378cec9 and contains the owner's last PASS head; no stray files, no ui test dropped. Engine tests run with the worktree first on PYTHONPATH. Contains #379. EnvironmentMixin sits beside ProgressMixin. ui 182; area tests and the r421 probe 181 passed, 2 skipped.
#379 6438c79 (re-confirm) Kernel sessions PASS 9.1 Merges cleanly with main 378cec9 and contains the owner's last PASS head; no stray files, no ui test dropped. Engine tests run with the worktree first on PYTHONPATH. Session limits sit in main's Notebooks settings group; runCells keeps the forge event; test_frames' Service.new case now gets a KernelSessions. ui 181; area tests and the r379 probe 149 passed, 2 skipped. The probe's reap-window case still fails, the known nit from the PASS head.
#428 3581125 Kernel interrupt test fix (test only) PASS 9.3 One test in test_kernel_process.py. The cell now swallows KeyboardInterrupt in a loop, so the outcome no longer depends on where the interrupt lands, and the 0.3 s wait is gone. It still proves the process ended: the run reports didn't stop when interrupted, then a new pid has no kept variable. 10 of 10 isolated runs passed; the whole file 15 passed.
#718 3d09b5d4 Update banner (Preview): every 4 hours while open, the same check_for_update as Check for updates; banner + bell entry; Later per build; Settings > Updates switch; Restart to update PASS 9.1 Merges cleanly. No new host or telemetry: watchForUpdates calls the existing check_for_update command (main.rs:742, runs the updater's latest, i.e. the channel's version.json), nothing else. Restart to update goes through installUpdate, which is the Check for updates code moved out (save notebook, update_app, component-log progress); a managed PC gets Dismiss only. The switch is read in watchForUpdates and renderUpdateBanner, so off means no check and no banner; also off with preview features hidden. Error text goes through h() (text nodes). ui 291/0; update-check + settings/activity browser files 13/0 x2 (banner shown, Later per build, Restart calls update_app with the commit, managed PC has no install, switch off hides it); zensical: no issues. Nit: turning the switch back on shows nothing until the next 4-hour tick (no check on enable).
#717 78a11aaf #708 residual: PyThreadState_SetAsyncExc sent while holding cancel_lock; the disarm in the finally catches a KeyboardInterrupt raised as it takes the lock PASS 9.2 Merges cleanly. No deadlock: SetAsyncExc only marks the target thread and returns, interrupt() waits on nothing while it holds the lock, and done.wait(2.0) is after release. A cell blocked acquiring the lock in its finally gets the interrupt once it holds it, inside the with, so exit releases (Python 3.11+ exception tables); the new except marks it cancelled. Interrupt-related prove tests 5/5 runs passed; test_prove + silent_except + notebook tests 506 passed; the new test fails on main (lock not held at send). Windows behaviour not run here: merge only after the Windows sidecar job is green.
#798 a4c27f86 PB-111 (restack) PASS carried over from 5678756a Since 5678756a: only a merge of main e39281d2. The remerge diff touches only FEATURE_INVENTORY.json/.md: #798's PB-111 limitation replaces the two old PB-111 lines, and main's SM001-SM007 line stays. The PR still carries its governance_checks.py and local_schedules.py code from 5678756a, so it is not docs-only. Merged tree: best_practice_checkers + silent_except 26 passed; product_data check consistent.
#560 f4956dea Semantic model BPA in Fabric via semantic-link-labs (restack on main) PASS 9.0 The restack unions are right in each file. The README sentence is added to the #788 paragraph. The Item.ReadWrite.All clause sits beside main's. ModelBpaMixin follows RiskMixin in main's Service list. model_bpa_status and model_bpa_risk are in READ_ONLY. The incidents_board line dropped from #560's side is already elsewhere in main's audit.py (count 1 on both). VertiPaq: the notebook calls run_model_bpa(extended=True), and the doc says extended collects the VertiPaq statistics some rules need, so the statistics rules from PB-112 run in Fabric. If the statistics can't be collected, the job fails and the status shows a failed check, never a silently partial result. Required doc follow-up (not blocking, Preview): live VertiPaq statistics in a Fabric Python job are still unproven on a tenant (open since ad718ac5). On a Direct Lake model the statistics reflect only the columns paged into memory, so size-based rules can understate a cold model. Say both in semantic-model-best-practices.md and PB-112. Merged tree with main e39281d2: model_bpa, rpc_surface, silent_except, audit, audit_chain, integrations_audit, workload_audit, risk, server_lanes 74 passed; py311 compile clean on the changed engine files; ui 295/295; docs --strict clean; product_data consistent.
#829 Re-check: the core cap tested on Windows PASS at bdf19a44 9.2 Since 4ca5020e, cpu_cap.allowed() counts the process's affinity (GetProcessAffinityMask on Windows, sched_getaffinity on Linux). The capped-process, child-inheritance and ProcessKernel tests now skip only where neither exists, so they run on Windows. CI on bdf19a44: sidecar (windows-latest) is green with 5007 passed and 80 skipped, and none of those skips is these tests (their skipif doesn't apply on win32). sidecar (ubuntu-latest), engine, ui, ui-browser and audit are green too. This settles the open Windows check: SetProcessAffinityMask works and child processes inherit it. Tests run here on the merge with main ffd15c8e: side_by_side_cores, side_by_side and kernel_process 56 passed, 3 skipped (DuckDB tpch download).
#838 Re-check: exception.ending posted once per organization PASS at 3eca40dd 9.0 The required fix is in. claim_exception_warning is one conditional UPDATE on warned_until (... AND COALESCE(warned_until, '') <> ?, rowcount 1 wins), so two PCs can't both claim. A PC claims only when one of its own routes would take the event (PlatformRouting.for_event), so an installation without a route can't take the notice and drop it. An exception already warned for that date is skipped with no call. An older UDF posts nothing and shows "Finish or repair once". days_left is in UTC. Tests cover two PCs, no route, already warned, and A with no route then B with a route. I found the f4333be7 gap (claiming with no route) and sent it before this push. Tests run on the merge with main 8166072a: 174 passed, 1 skipped; ui.test 298 passed; browser policy-exceptions and platform-notices 11 passed; zensical --strict clean; product_data consistent; py_compile clean. Note: the ALTER ADD columns haven't run on Fabric SQL.
#838 PB-059 should-fix: 14-day warning before a policy exception ends, admin-only End early with a reason, Include ended, Teams kind exception.ending (draft) CONDITIONAL at 923ac242 8.6 Good: end_policy_exception requires an admin and a reason of at most 500 characters. It keeps the row, moves until_date to yesterday and records granted_until, ended_by and end_reason, plus a policy event and an audit row. _excepted and _exception_out both ignore an ended row. The schema change is additive (ALTER ADD, not yet run on Fabric SQL). The notice keeps the reason in the app, and its dedupe key is per exception and end date. Required: governance_exceptions_ending is a read that the bell or Data mesh banner runs once a day per project on every installation, and it posts every ending exception, not only for_you ones. The dedupe ledger is local (platform_outbox.sqlite under each PC's root), so every PC with a Teams route set posts the same message, and N PCs with a route give N copies per exception per date. Every other governance notice is sent by the one app that made the change. Fix: send from one place, either keyed in the catalog (for example a policy_event "exception warning sent" per id and until, checked before sending) or only from a platform admin's app, and add a test that a second installation doesn't post. Tests run on the merge with main 8166072a: requests_core_four, policy*, governance*, platform_notify, audit, rpc_surface, server lanes and silent_except 168 passed, 1 skipped; ui.test 298 passed; browser policy-exceptions and platform-notices 11 passed; zensical --strict clean; product_data consistent; py_compile clean.
#836 PB-082 finding 2: a link's accepts and columns reach the catalog (draft) PASS at 81e4c03e 9.1 After the products are published, _sync_links re-sends each unpinned link whose file differs from the catalog's row. The row id {consumer}:{alias} matches register_link, and product, port, reads, accepts and columns are compared on parsed values, so an unchanged link isn't sent again. A refusal (deprecated product, or not a member once #834 lands) becomes a problem line, never a failed publish, and a catalog that can't be read says so. Saving a link again from New link keeps the file's accepts and columns, unless the alias now names another product. The block message now says to edit the link's file and promote. It touches central/service.py in functions apart from #834's. The new tests fail with main's service.py and mesh.py (4 failed) and pass with the PR. Tests run on the merge with main 8166072a: versioned_contracts, breaking_changes, mesh*, platform and silent_except 107 passed; zensical --strict clean; py_compile clean.
#834 Re-check: project members (private security fix) PASS at 8cb21674 9.0 The security finding from 966d0570 is fixed, and security cleared the fix. My probe no longer reproduces it. The 3 new tests for it fail with 966d0570's core.py and pass now. Detail withheld here. Tests on the merge with main 8166072a: test_platform 60 passed; at 3d2af76f the platform, mesh, central, requests, contracts, audit, silent_except and rpc_surface tests gave 193 passed, ui.test 298, browser 12, and zensical --strict was clean.
#835 Warehouse explorer: a keyboard tree; Script as header "Opened, not run."; no ALTER or DROP on Fabric's own schemas (PB-025 findings 1-2, note 3) PASS at ac8faec5 (UI only) 9.1 The tree follows the ARIA pattern. It has role=tree, treeitems with aria-level and aria-expanded, and a roving tabindex in which one row takes Tab (the last focused, kept across redraws, else the first). The chevron and ⋯ buttons are tabindex -1. ArrowRight opens a row or moves to its first child; ArrowLeft closes it or moves to the parent. Home and End work, and Shift+F10 or the ContextMenu key opens Script as on objects only. Focus comes back after a redraw. Fabric's schemas come from whFabricSchema (whproject.js, #809), so their ALTER and DROP are left out with a line saying why. The old header ("won't run this script") was wrong now that writes are allowed (D1). The new browser tests fail on main's warehouse.js and query.js (7 of 20) and pass with the PR. Tests run on the merge with main d3dd0164: ui.test 298 passed; warehouse and SQL browser suites 108 passed; zensical --strict clean.
#834 Data mesh: project owners and members; domain join requests (draft) FAIL at 966d0570 7.8 A private security fix. One security finding in the change itself was sent to the owner and the security thread; the detail is withheld here until it is fixed. Tests on the merge with main d3dd0164 passed: pytest platform, mesh, central, requests, contracts, audit, silent_except and rpc_surface 191; ui.test 298; browser mesh-members, domains, project and products 12; zensical --strict clean.
#831 #827 follow-up: with runs popped out, the Fabric tab's pages still show in the main window PASS at 266a4dc4 9.2 runsBand now applies only on the KratosForge tab (source === "kratosforge"). That's right, because the runs window shows the whole KratosForge tab (Runs, Schedules, Operations, with its page switcher) and redirects a Fabric panel to Runs. Fabric > Schedules and the hub stay in the main window. The new pop-out assertion fails with main's app.js (1 pass, 1 fail) and passes with the PR. Tests run on the merge with main d3dd0164: ui.test 298 passed; browser pop-out, monitor-one-row, monitor-how and schedules-set-aside 19 passed.
#833 Warehouse: record the 2026-10-27 tenant run; permissions scope; FEAT-FAB-11 limitations (docs only) PASS at d43cc198 9.0 The permissions row now gives https://database.windows.net/user_impersonation, which matches WAREHOUSE_SCOPES (auth.py:74). It says honestly that the app's own sign-in hasn't run a warehouse query and that the run used the Azure CLI's token, and the page stays Preview until it has. The #807, #808 and #809 descriptions match what those PRs do (unmapped workspace counts as Prod; system schemas left out). FEAT-FAB-11 correctly drops the stale "read-only, waits on D1" and "no build or deploy" text. The workspace is a throwaway with no ids or secrets. I couldn't re-check the "25 of 26 checks" result here (no tenant), so it rests on the warehouse thread's run. product_data consistent; zensical --strict clean; clean merge with main d3dd0164.
#830 Product records for #811 to #826; inventory text the #815 reviews named stale corrected (docs only) CONDITIONAL at 85c42ee4 8.8 Security grep of the diff: no repro or mechanism for an open finding, no BQ-014, and nothing about #817's open follow-ups. The #817 line ("only a product's owners re-publish it") describes merged behaviour. The new Known limitations cite findings already public in docs/product/reviews. Required: DEVELOPMENT_STATUS.md's Testing and security row says "BQ-013 fix pending". The BQ-013 fix (#817) is merged, so the line is wrong, and on public main it reads as an open security finding. Use neutral wording such as "Working", or "Reviews and fixes merged". The rest checks out against main: the inventory edits match the reviews' findings, product_data is consistent, and zensical --strict is clean. Clean merge with main 2225e281.
#829 Re-check: DuckDB held to the core cap PASS at 4ca5020e (Windows affinity not checked yet) 9.0 The required fix is in: in a capped process, cpu_cap._duckdb_threads wraps duckdb.connect so it defaults to threads = cores, keeps a connection's own threads, and sets the default connection (used by duckdb.sql). from_env runs first in kernel_host.main, before any engine import. My probe, run again (Linux, cap 2): duckdb.connect() and duckdb.sql both report 2, where f20888e2 reported 4. The kernel test now asserts 1/1/1, plus DuckDB 1, an explicit 3 kept, and the default connection 1. The docs note PCs past 64 logical processors. Still open before Stable (Chris's PC): SetProcessAffinityMask and children inheriting it on Windows. Tests run on the merge with main 2bd73f06: 91 passed, 3 skipped; ui.test 298 passed; browser sbs-cores 4 passed; zensical --strict clean; py_compile clean.
#829 Re-check: cancel stops a capped run's own kernel tree (security P3) CONDITIONAL at f20888e2 8.6 The new commit is right: Cancel calls stop() on the run's own process kernel (ProcessKernel.stop ends the tree), and the notebook's session still gets interrupt(); a new test covers it. The required fix from b010573c still stands: a capped process's DuckDB isn't held to the cap's thread count (probe: threads 4 with the cap at 2), but the docs say it is. Tests run on the merge with main 2bd73f06: 91 passed, 3 skipped (side_by_side, side_by_side_cores, kernel_process, audit, server lanes, silent_except); ui.test 298 passed; browser sbs-cores 4 passed; py_compile clean.
#829 Side by side: Cores on this PC (Match Fabric by default); a capped run gets its own kernel process with CPU affinity CONDITIONAL at b010573c (not checked on Windows) 8.6 Built from Chris's mockup approval ("this looks good", 23:06Z). Logic checked: fabric_vcores returns 2 for a Python notebook, or a %%configure vCores value; cores_for falls back to all cores for Spark or when the request is at least the PC's count; side_by_side_cores_set validates the choice and saves it in the notebook's metadata; the read RPC is in READ_ONLY. A capped run uses a fresh process kernel, sets FABRIC_DESKTOP_CORES and the affinity, and closes the kernel in finally. Cancel interrupts that kernel. Required: DuckDB isn't held to the cap's thread count, but docs/side-by-side.md says "DuckDB, Polars and os.cpu_count() are told the same number". Probe (mine, Linux, 4 CPUs, FABRIC_DESKTOP_CORES=2): after from_env(), affinity 2, os.cpu_count 2, Polars 2, but duckdb.connect() reports threads 4. DuckDB sizes its pool from hardware concurrency, not affinity. On a 24-core PC held to 2, DuckDB would run 24 threads on 2 cores, which slows this PC's side and skews the comparison the feature exists for. Fix: give DuckDB connections in a capped process threads = cores (for example a default config set in from_env), or correct the docs. Also needed before Stable: a Windows check of SetProcessAffinityMask, including children inheriting it. Note: PCs with more than 64 logical processors use processor groups, so the mask covers only the current group. Note: Match Fabric is the default, so existing Python notebooks' side by side runs now use 2 cores unless changed; the docs say so. Tests run on the merge with main 2bd73f06: side_by_side, side_by_side_cores, kernel_process, audit, server lanes and silent_except 90 passed, 3 skipped; ui.test 298 passed; browser sbs 4 passed; zensical --strict clean; product_data consistent; py_compile clean.
#924 Block policies stop promote (retarget re-check) PASS at ef1bb0c9 (carried) 9.1 Second quality reviewer. Carried from 84f294c6; the main merge has no conflict hunks; the PR delta is identical apart from offsets. pytest 133 (+1 skip); ui.test 298/1, the #972 Preview-id failure.
(no PR yet) cifilters (Codebase audit) Re-check: cispeed merged in, conflict resolved PASS at f6d10e6a (carried) 9.0 Diff vs cispeed e56cd94b is only the passed filter changes; pytest step keeps -n auto --dist loadfile under the RUN_TESTS gate; pip cache gated. Merges clean into main. Merge order: cispeed, then cifilters.

| (no PR yet) cispeed (Codebase audit) | Re-check: test tool pins, xdist note | PASS at e56cd94b | 9.2 | Pins for pytest, xdist and friends in constraints.txt (installed only with -c); os._exit comment; rust-cache note. Earlier parallel run carries. Conflicts with cifilters in the sidecar pytest step; the second to merge needs a re-check. |

| (no PR yet) cifilters (Codebase audit) | Re-check: fixed matrix with step gates | PASS at a01d61c9 | 9.0 | Required fix in: matrix fixed at both OSes, steps gated on RUN_TESTS, so both required checks always report. Diff uses HEAD^1 with fetch-depth 2. YAML parses; not run on Actions. |

| (no PR yet) cifilters (Codebase audit) | ci.yml path filters for sidecar matrix | CONDITIONAL at 7390cad8 | 8.1 | Required: a path-filtered matrix entry that is never created leaves its required check waiting forever once branch protection is on; keep the matrix fixed and skip steps with a step-level if:, or add a stub. Nits: base.sha diff can be stale; a failed changes job skips release on main; ui stays ungated. |

| (no PR yet) cispeed (Codebase audit) | pytest-xdist plus pip and cargo caches in CI | PASS at eba797b2 | 9.1 | Executed locally: -n 4 --dist loadfile 5077 passed, 78 skipped, 0 failed in 303 s; serial same counts in 1054 s. Not run on Actions. Nits: pin xdist/execnet/pytest in constraints; os._exit under xdist kills only the worker; Windows xdist unproven; note the rust-cache SHA source; fixture duplicates #938. |

| SF-00 (Snowflake, not pushed) | (delta) | PASS at 7c7285a | 9.2 | Second quality reviewer. Supersedes f78e401: the passphrase problem is reported once and the stat() race is caught. connprofiles + silent_except 86. | | SF-04 (Snowflake, not pushed) | Snowflake SQL translated to DuckDB | PASS at 6538085 | 9.1 | Second quality reviewer. Was CONDITIONAL 8.6 at 86cd35c. NO_ID reason plus "no screen picks it until SF-02"; ui.test 300/0; snowflake_sql 72; zensical clean. | | SF-00 (Snowflake, not pushed) | Snowflake registry, credits, profiles schema 2, CLI discovery | PASS at f78e401 | 9.2 | Second quality reviewer. Security fix in (stray credential fields refused by name; export blanks every secret field); nits fixed. 252 tests; ui.test 299/0. Nits: a plain passphrase is reported twice; stat() race in the writable check. | | SF-04 (Snowflake, not pushed) | Snowflake SQL translated to DuckDB with a label per statement | CONDITIONAL at 86cd35c | 8.6 | Second quality reviewer. Required: ui.test 299/1 (Preview-id check flags "Snowflake SQL on this PC"); docs imply notebooks can use it, but the slice has no UI. 170 tests; zensical clean. File reads blocked; INSTALL, COPY, @stage and AT refused with the label first. | | SF-00 (Snowflake, not pushed) | Snowflake engines in the registry, credits unit, connection profiles schema 2, Snowflake CLI discovery | provisional PASS at ee75a5f (head will change for a security fix) | 9.0 | Second quality reviewer. 241 tests; ui.test 299/0; zensical clean. Plain secrets refused; export blanks key file and refs. Nits: Linux writable-file note missing; host keeps underscores; missing SNOWFLAKE_HOME returns an error key. | | #971 | Browse… beside every folder box (Windows folder dialog via pick_folder) | PASS at 44ad8f6e (earlier acba1ec0; branch, PR not opened; Security QC clear) | 9.2 | Second quality reviewer. 44ad8f6e disables the button while the dialog is open, gives each box its own aria-label (ui.test enforces it), and skips the start folder on a remote drive; folder-browse 5/5. Earlier: COM: STA on a fresh thread; the dialog is released before CoUninitialize; the PWSTR is freed on every path; Cancel maps to ERROR_CANCELLED. A locked box gets no button. ui.test 299/1 (the #972 Preview-id failure); folder-browse 4/4; on_drive unit test passes under rustc; the Windows target isn't built here. Nits: a mapped network drive passes on_drive; a double click opens two dialogs; the label wraps the button, so it can leak into the input's accessible name. | | (no PR yet) | Local pipelines in Workloads (Preview), branch claude/workload-local-pipelines-4su03b | PASS at fdead408 (and c28559d1) | 9.1 | Pipelines from opened repositories and PC schedules become a Preview group; mocked runs never show Healthy; run_schedule checks the schedule runs that workload. pytest 330 + 109; main's files fail 10/10; browser 34/34. New feature: needs Chris's typed go. | | #974 | Re-check of the #972 port | PASS at 869c9408 (carried) | 9.1 | Second quality reviewer. Carried from dde67fa7. Changed lines match #972 at 79ee6ce4 exactly in all 6 files. With main merged, ui.test 301/0, fabric-cancel 3/3. CI jammed, not checked. |

| #974 (was branch #956, dates) | PR opened | PASS at dde67fa7 (carried) | 9.1 | Second quality reviewer. Carried from 868c5e5e. Main merge has no resolution hunks; the PR delta is the reviewed one minus #943 lines now on main. ui.test 300/1 (#972 flags); schedules-edit 5/5, schedules-time-zones 4/4, fabric-cancel 3/3. |

| #973 | Apache-2.0 license: LICENSE, NOTICE, license fields and footers | PASS at 12ca57e7 | 9.3 | LICENSE is the canonical text (md5 3b83ef96). Wheel builds with setuptools>=77, metadata 2.4 License-Expression: Apache-2.0; vendored notices still ship. Nothing pins setuptools lower. zensical --strict clean. Nits: the engine wheel and installer do not carry the root LICENSE/NOTICE; README "Not yet built" still says installer. |

| #972 | Cancel a Fabric run gets its own Preview id, plus a NO_ID line for shortcuts "On a schedule" | PASS at 79ee6ce4 | 9.2 | Second quality reviewer. Clean merge onto main e50a62b2. Against main: 6 files, +10/-4. The NO_ID regex matches the new sentence, and the agent-only claim matches agent.md. ui.test 300/0. |

| #972 | Cancel a Fabric run gets its own Preview id (fixes main red after #875) | PASS at 89486906 | 9.2 | Second quality reviewer. Merged onto main ea6d6085 cleanly: 5 files +8/-3, same gate pattern as debug and replay, behavior unchanged. ui.test 299/0; browser fabric-cancel 3/3, command-bar 6/6. | | #889 | Endorsed filter wording (merge-only re-check) | PASS at 8225b176 (carried) | 9.1 | Second quality reviewer. Carried from f8aa5a04; RM's merge of main keeps #889's troubleshooting row. product_data consistent; zensical clean; pytest 55. ui.test 299/1, the expected #875 Preview-id failure that #972 fixes. | | #970 | Data Factory tenant run recorded (DF-6, DF-7) | PASS at 648d17e9 (docs only) | 9.2 | Second quality reviewer. Merged cleanly with de3b090f; product_data.py consistent; zensical --strict clean; the warehouse anchor resolves. No names, ids or open security findings in the diff. Says the run was engine-only, and that viewer, destination and portal addresses are unchecked. Nit: next_action could keep the button and viewer check. | | #961 | Every row of tabs is a tablist: arrows, Home and End, selected state | PASS at ceffd34b (earlier e43a8c9f, 8062d377; branch, PR not opened) | 9.2 | Second quality reviewer. ceffd34b also refocuses after a delayed redraw (the new 300 ms case fails on e43a8c9f). e43a8c9f looks for the tab in the same named tablist, fixing the first two nits. ui.test 300/0; 15 browser files 69/69; main's app/ui fails tab-rows and the new ui.test. Focus probe: ArrowRight then Ctrl+K or a confirmDialog keeps focus there after 1.3 s on Data mesh and Monitor. Nits: refocus matches by label document-wide; a counted label ("Changes 3") isn't re-found if its count changes; the static check passes OneLake by proximity. | | #955 | Windows High Contrast: selected items and focus use the theme's Highlight; signed-out avatar 6.2:1 | PASS at e3d0dcdd (branch, PR not opened) | 9.2 | Second quality reviewer. high-contrast 3/3, all 3 fail with main's styles.css; ui.test 299/0; clean merge with de3b090f. forced-color-adjust: none is inherited, so every descendant of the 17 matched highlighted items on 7 pages was checked under forced colors: none kept author colors. Nit: the [aria-pressed] and [aria-current] selectors are broad. | | #931 | Pipeline mailbox checks the pipeline run a request names | PASS at 9443af6f (carried) | 9.2 | Merge of main only; the FD-13 docs conflict keeps both sides. ui.test 299/0; zensical clean. | | #919 | smoke-test --platform: central platform flows against fakes, ledger-based cleanup | PASS at cf3112c7 | 9.1 | CONDITIONAL fixed: the flow 11 message reworded (ui.test 299/0; the old file fails 1); help says taken-over items are deleted unless --platform-keep. pytest 86. | | #897 | Side by side compares row checksums | PASS at 039d4ca7 | 9.2 | CONDITIONAL fixed: no shared columns now says no rows could be compared (probed). Absolute float floor; reader closed. pytest 77; the old file fails 2. | | #912 | Warehouse deploy gate works out the environment in the engine | PASS at 2a410a8a | 9.1 | Second quality reviewer. The dialog's label and typed-name rule follow plan.environment, the stricter of page and workspace. Warehouse pytest 232, ui.test 299/0, browser warehouse-deploy 5/5 and warehouse-project 8/8. | | #908 | Job file runs labelled "Job run", not "Notebook write" | PASS at 95ef36ed | 9.0 | Second quality reviewer. WRITE_JOB_PREFIX shared by lakehouse.py and costs.py; 111 passed. Nit: app/ui/app.js:1160 keeps its own copy of the string. | | #892 | Live test: lease and MERGE checks | PASS at c07b591b | 9.0 | Second quality reviewer. Test-only delta; removing the cleanup line fails the test. livetest + smoketest + silent_except 70 passed. | | #956 | One set of date and time helpers | PASS at 868c5e5e (and 43416b0d) | 9.1 | Delta over #943. ui.test 301/0; 20 browser files 116/0; old files fail 3. Nit: the schedule's next run lost its weekday. | | #951 | Every axe "needs a look" item has a person's verdict | PASS at 44f8608e (carried) | 9.2 | Verdicts now anchored to their page; checked that the anchors restrict. a11y 4/4 x3. | | #948 | AI integration architecture page: what exists now | PASS at 6e2d54e2 (and 544bc4c3) | 9.3 | Docs only. Every listener, bind address, token and policy claim checked against the code; zensical clean; product data consistent. | | #987 | Folder picker (reopened #971) | PASS at 02e11d22 (carried) | 9.2 | Second quality reviewer. Carried from 44ad8f6e. Changed lines vs main match 44ad8f6e except the #972 port; app/src-tauri diff byte-identical; ui.test 301/0. |

| #985 | Re-check: bracketed column names given bare | PASS at b16c559f | 9.2 | precondition() strips brackets after tokens() unescapes ]] ([Order Date], [a]]b] tested); docs say best-effort. warehouse*, sql_exec, silent_except 343 passed. Clean merge. |

| #985 | Warehouse deploy re-checks each change against the preview (fixes #947) | CONDITIONAL at 52e70b81 (also 638a6f69) | 8.5 | Required: precondition() (warehouse_compare.py:279) keeps brackets on column names that need them, so tables with spaced, hyphenated or non-ASCII columns are always refused as changed; the 128-character cap also refuses long bracketed names. Same-transaction check, rollback, parameterised catalog reads and Security's three fixes are right. 342 passed. Nits: best-effort under snapshot isolation; trim/strip Unicode difference. |

| #984 | Signed-out schedule runs (re-check) | PASS at ba86588c | 9.2 | Second quality reviewer. Nits a, b and d fixed: one prompt per save, and a closed prompt saves neither the times nor the setting; an unchanged save makes no call; Preview tag. Merged with main: 59 engine tests passed; browser 20/20; ui 299/1 (the known #972 test). New nit: the checkbox has no PREVIEW_FEATURES id, so "Settings can hide preview features" doesn't hold for it. Waits on Chris's Windows check. |

| #984 | Schedules on this PC can also run while signed out (PB-048c) | PASS at 9016ade3 | 9.1 | Second quality reviewer. Merged with main: 87 engine tests passed; browser 20/20; ui 299/1, the 1 being the known #972 Preview-id test. The password stays in Windows' prompt and Task Scheduler (env-var inputs, fixed script, PowerShell by full path). The id is hex-checked in Python and Rust. Nothing changes on a cancelled prompt. Nits: a partial save shown as "Not saved"; an unchanged save re-prompts; check Entra/MSA accounts on Windows; tag Preview if merged before the Windows check. Waits on Chris's Windows check and policy switch. |

| #998 | README rewrite: zensical.org link back | PASS at 39bd2216 (carried) | 9.3 | One CONTRIBUTING line since 78234cd4. Nits closed; approval of the outline confirmed via the coordinator. |

| #884 | Smoke test: two fixes from the first live run | PASS at a10da7f9 | 9.2 | Flow 2 passes for Microsoft's client id; live-test result.json no longer records the tenant id (flow 10 still checks the bundle). smoketest, livetest, silent_except 66 passed; clean merge. Nit: compare client ids case-insensitively. |

| #998 | README rewrite (independent check) | PASS at 78234cd4 | 9.3 | coverage() 70/9/8/15 of 102 and 14/3 match; every old code span and link found in the docs (11 in looser wording), only the zensical.org link gone; loosened UI tests still covered elsewhere; QA-008 wording right. zensical strict, product_data, ui.test 301/0. Nits: zensical.org link; check the quickstart OneLake line against background writes; name the #972 port in the PR; confirm the approval covers the outline. |

| #998 | README: pitch, quickstart, honest limits (52 KB to 6 KB) | PASS at 78234cd4 | 9.2 | Second quality reviewer. PySpark counts match the generated table (70 work, 9 no-op, 8 Fabric-only, 15 not built; SparkSession 14/17). Cut sections moved to CONTRIBUTING, agent.md#job-files, install.md and kratosforge.md, or already in the guides; no stale root-README anchors. Quickstart steps match the docs and UI labels. zensical --strict clean; ui.test 301/0. |

| #999 | Metadata loads: Fabric-safe types (#954), stacked on #994 | CONDITIONAL at df277615 | 8.8 | Second quality reviewer. Store.write and write_stream covered; 79 passed with main merged. Required: merge_insert and upsert bypass delta_safe. Probed: a new TIME column gives a raw delta-rs error; a new UInt32 is silently created as Int32 (overflow risk) while the docs say every load is covered. |

| #984 | Signed-out schedules (nit push) | PASS at c8f96b3d | 9.3 | Second quality reviewer. Saves after each pause; pause before sync(); 59 passed with main merged. |

| #996 | Memory limit reads the venv's real interpreter (#896) | PASS at e5d4749a | 9.2 | Second quality reviewer. Merged with main: kernel_process + silent_except 41 passed; reverting to proc.pid fails the new test. Nits: launcher pid read until ready; child processes not counted (sum the tree as a follow-up). |

| #933 | Notebook MERGE on this PC (nit push) | PASS at 6054e235 (carried) | 9.1 | Second quality reviewer. Carried from e78c59e9. Docs qualifier accurate; WITH SCHEMA EVOLUTION found after leading comments, with a test; spark_merge + silent_except 40 passed with main merged. New nit: UPDATE, DELETE and RESTORE after a leading comment give raw DuckDB or parse errors (nothing changed, probed); strip comments there too. Needs Chris's go. |

| #889 | Main merge after #972 | PASS at b53fb4e6 (carried) | 9.1 | Changed lines identical to 8225b176; clean against main b19b745. |

| #924 | Main merge after #972 | PASS at dbb2ddd4 (carried) | 9.1 | Changed lines identical to ef1bb0c9; clean against main b19b745. |

| #970 | Main merge after #972 | PASS at 6292a0fd (carried) | 9.2 | Changed lines identical to 648d17e9; clean against main b19b745. |

| #984 | Same (fix) | PASS at 81b1ea25 | 9.2 | Second quality reviewer. run_schedule skips disallowed signed-out runs with a logged reason; app start pauses them with set_enabled(false), no password; test covers both; docs say Windows keeps the password until switched back or removed. 73 engine tests passed with main merged. Nits: save after each pause; pause before sync(). Waits on Chris's Windows check. |

| #984 | Signed-out schedules + IT switch allow_signed_out_schedules | CONDITIONAL at 675b7bef | 8.7 | Second quality reviewer. Required: existing signed-out tasks kept running signed out once the key was false, while azure-setup said it stopped them. |

| #994 | Notebook table writes: Fabric-safe types (#953) | PASS at b352fd88 | 9.2 | Second quality reviewer. Merged with main: 690 passed, 3 skipped (write_types and every write_table test). Only columns delta-rs refuses are recast, via localdata _fabric_type; nested types recurse; all-NULL append takes the table's type; refused before staging; stream cast per batch. Nits: nested normalization vs the docs' "as it is"; pin the UInt64-onto-BIGINT append message. |

| #997 | Product owner acceptance batch recorded (docs) | PASS at d3a020e8 | 9.3 | Cited approval verified as Chris's own message; 35 items set Accepted, PB-114/115 added, PB-024 narrowed and still In review. product_data check consistent and regenerates identically; zensical --strict clean; no security detail in the diff. |

| #992 | Typed platform client errors (fixes #935) | PASS at a369c391 | 9.2 | Gateway 502 raises HTTPError before the body is read, so Check now says "couldn't be read", not "not in the catalog"; 502/503 retryable; non-JSON body gives a one-line PlatformError; 401/403/404 texts and the Finish or repair prompt unchanged. 205 passed; 12 fail with main's client.py. Independent of #924. Nits: client.py:83 docstring; #824 message matching remains; 429 ignores Retry-After. |

| #991 (was #948) | PR reopened | PASS at 315682cb (carried) | 9.3 | Changed lines against main are the reviewed 6e2d54e2 delta plus the #972 port. Clean merge. |

| #990 | High Contrast support (reopened #955) | PASS at 2e98f284 (carried) | 9.2 | Second quality reviewer. Carried from e3d0dcdd. Changed lines vs main match e3d0dcdd except the #972 port; styles.css kept both sides with forced-colors last; ui.test 300/0. |

| #989 | Test: UDF_Platform functions take their operations' parameters (#936) | PASS at ec854570 | 9.2 | Second quality reviewer. Merged with main: parity + silent_except 64 passed; platform and central tests 459 passed, 1 skipped. Mutation (set_project_member role default reverted) fails the test. The 5 signature fixes match core/policy; policies or None drop is safe (snapshot treats [] as None); additive defaults only, so old Fabric functions accept current calls until Finish or repair. Nit: comment that role '' removes a member. |

| #979 | Re-check: empty-load guard, overwrite_schema skips the fit | PASS at b3944c0c | 9.2 | Both nits fixed with a test. schema_evolution, meta, landing_manifest, silent_except 88 passed. Needs Chris's go for PB-031. |

| #979 | Re-check: fit empty and lossless columns to the table first | PASS at c1176f7c | 9.0 | _fit_to_table casts all-null columns and undeclared widenable columns before the guard; declared narrowing and kind changes still refused; tests for both. 175 passed; ui.test only #972's known failure. Nits: a 0-row load would cast declared narrowings (guard df.height > 0); fit ignores overwrite_schema. batch_by limitation listed. Needs Chris's go for PB-031. |

| #988 | Tab focus (reopened #961) | PASS at 24b319cb (carried) | 9.2 | Second quality reviewer. Carried from ceffd34b. Changed lines vs main match ceffd34b except the #972 port; append-only conflicts kept both sides; audit regenerated with 0 violations (Monitor aria-prohibited-attr gone); ui.test 301/0. |

| #979 | Re-check: NO_ID entry, guard before every merge path | CONDITIONAL at 82d0c77d | 8.2 | Required: the early guard (engine.py:1223) now stops ordinary landing loads when a file leaves an inferred column empty (int64 to Null refused) or a batch reads a narrower integer; reproduced on the landing fixture. Cast all-null and lossless integer columns to the table type; keep refusing real kind changes and contract narrowing; add tests. 171 passed; ui.test fails only on #972's headings. Earlier nits stand; needs Chris's go. |

| #979 | Schema evolution guard and history (PB-031) | CONDITIONAL at 4ab14e77 | 8.6 | Required: the new "Schema changes (Preview)" docs section needs a Preview id or a NO_ID line (ui.test gains a third failure). Narrowing and kind changes stop before any write (engine.py:1263, :704); the message names overwrite_schema; history computed from actual schemas; widening limit stated and pinned. 150 passed. Nits: history rows after the lock can duplicate schema_version; numbering restarts for pre-PB-031 rows; two extra schema reads; no scd1/scd2 narrowing test. Behaviour change: needs Chris's go. |

| #978 | Work queues: refresh and four-PR review cap | PASS at 13f65190 | 9.2 | Second quality reviewer. queues.py check passed (one shortfall reported: platform 1/2 ready); render stable; product_data consistent; zensical --strict clean. Mutation tests: an issue-only slot without a title, and a story queued twice, both fail rc=1. Nits: no pytest for the check/short split; platform queue short. |

| #976 (surrogate-key-order) | PR opened, rebased on 72e1d40 | PASS at dba1890a (carried) | 9.3 | Changed lines identical to 0beb3365. Clean merge. |

| #980 (file-loads) | PR opened, rebased on 72e1d40 | PASS at 8b68388f (carried) | 9.2 | All three files byte-identical to the tested tree with patches 0001+0002 (116 passed). Clean merge. |

| (no PR yet) sealed-notify (Security QC) | Re-check: docs nits, route name matched as text | PASS at 18766c5c | 9.3 | security.md now accurate (backups leave both out); unreadable wording per kind; str(name) in seal and settings view with a test. 28 passed, 1 skipped. |

| (no PR yet) sealed-notify (Security QC) | Platform notice Teams addresses sealed with DPAPI too (#957 follow-ups): independent security read | PASS at 8f127c9b | 9.2 | Route URLs sealed with the same purpose; unreadable ones stashed by name and kept through other saves; warning once per process. 69 passed, 1 skipped; DPAPI round trip Windows-only, not run. Nits: security.md names backups, which already strip these keys; an unreadable alert address can't be cleared to empty. |

| (no PR yet) offline (Codebase audit) | Re-check: confidential client covered | PASS at cb0ced89 | 9.3 | Fixture covers PublicClientApplication and ConfidentialClientApplication; new test_offline_sign_in. Dead proxy: offline_sign_in, local, agent, silent_except 91 passed. |

| (no PR yet) types (Codebase audit) | Re-check: when to run --update | PASS at 660b2312 | 9.2 | Docs only since b9195309: docstring and CONTRIBUTING say to run --update after a file rename or a pin move. |

| (no PR yet) offline (Codebase audit) | Tests no longer need the internet (MSAL discovery faked in conftest) | PASS at 5a71e47e | 9.2 | Full suite behind a dead proxy: 23 failed, all local 127.0.0.1 servers that pass with NO_PROXY (main: 89 failed, 10 errors). The fake raises on anything else and no product code passes http_client. Nits: ConfidentialClientApplication not covered; CONTRIBUTING NO_PROXY note. |

| (no PR yet) tz (Codebase audit) | Time-zone independent tests; policy.py uses the UTC date | PASS at 5a032c1c | 9.2 | test_frames 31/31 in six zones; policy, governance and contract tests 208 passed, 1 skipped in five zones (UTC-11 to UTC+14). All five policy.py sites now use core._today. Nit: TODAY computed at import (pre-existing). |

| (no PR yet) readme (Codebase audit) | "Not yet built" brought up to date | PASS at cd858771 | 9.3 | Every claim checked against install.md, enterprise-roadmap.md, local-runs.md and meta/. |

| (no PR yet) lint (Codebase audit) | ruff lint job (E9, F); 29 findings fixed | PASS at 0390b6cf | 9.2 | ruff clean on the merged tree; 299 passed, 3 skipped; product edits are no-ops; test_large_tables keeps its intent; cell formatting unchanged. Nit: F811 ignore on all tests. |

| (no PR yet) types (Codebase audit) | mypy ratchet with an 866-error baseline | PASS at b9195309 | 9.1 | Ratchet 866=866; an added error exits 1 naming the file; 21 passed; pins -c only and audited. Nits: renames count as new errors; constraints bumps can shift counts (document --update). |

| #926 | Retargeted to main after #907 | PASS at b5d4bea4 (carried) | 9.2 | Changed lines against main c1e3850e are the reviewed delta against 67da857d plus a byte-identical #972 port (79ee6ce4). Clean merge. |

| #926 | Notebook and query keyboard fixes | PASS at 4d523c7d (carried) | 9.2 | × now asks like Delete; the old file fails the new test. | | #949 | Warehouse runs retry the connect on transient Azure SQL errors | PASS at 1b20ec51 | 9.2 | Earlier FAIL fixed: matches the driver's message texts (probed with real mssql-python error objects); one 2-minute deadline including logins (fake clock ends at 120 s). pytest 350; ab59b33a's file fails 10. | | #931 | Pipeline mailbox checks the pipeline run a request names | PASS at b1beda6d | 9.2 | Earlier CONDITIONAL fixed (Preview id); finished runs and future starts rejected; transient lookups wait up to 15 minutes without blocking the loop. pytest 188; ui.test 299/0. | | #919 | smoke-test --platform: central platform flows against fakes, ledger-based cleanup | CONDITIONAL at b46efafe | 8.8 | Earlier FAIL fixed: takeover matches name and type and refuses a clash; cleanup by ledger id. Required: ui.test fails 1 on merge with main (a message the tab-name check misreads). pytest 86. | | #897 | Side by side compares row checksums | CONDITIONAL at 9522ecfd | 8.8 | Earlier findings fixed. Required: two tables with no shared columns report "the rows are the same" (reproduced). pytest 77. | | #884 | Smoke test harness (main merge) | PASS at 8b7314df (carried) | 9.1 | Changed lines against main c1e3850e identical to 8f2a6d8b apart from the cli.py docstring union. Whichever of #884/#906 merges second needs one more docstring union. |

| #884 | Live smoke test for the Fabric flows | PASS at 8f2a6d8b (carried) | 9.1 | Second quality reviewer: one docs line and a clean merge of main since 4bd39f81. On head + main de3b090f: smoketest + silent_except 32, livetest 33. | | #957 | Teams alert address sealed with DPAPI: independent security read | PASS at c4608583 | 9.1 | Own DPAPI purpose; clear values sealed on read; unreadable values empty and flagged, kept until set again; agent path and backups unchanged. 124 passed, 1 skipped; DPAPI round trip Windows-only, not run. Follow-ups: seal platform_notify webhooks too; repeated warning if sealing write fails; docs note on old plaintext copies. |

| #957 | Teams alert address sealed with DPAPI | PASS at dfeaeeac | 9.2 | CONDITIONAL 8.9 at caee04a8: an address that couldn't be decrypted turned alerts off silently. Now the app says so and asks for it again (probed in the engine and the browser). pytest 101 + 401; ui.test 299/0; real DPAPI test is Windows-only. | | #952 | CI: pull request runs cancel older runs of the same PR; main runs are never cancelled | PASS at 15207c23 | 9.3 | Read against every trigger in ci.yml; groups can't collide; the release job's own group is unchanged. The workflow itself runs only in this PR's CI. | | #951 | Every axe "needs a look" item has a person's verdict; contrast fixes | PASS at 8f08bdf0 | 9.2 | Contrast computed from the CSS: worst text 5.34:1, arrows and star 3.31:1. ui.test 299/0; a11y 4/4 x3; browser 76/76; an unjudged item fails the new test. | | (no PR yet) surrogate-key-order | Re-check: docstring | PASS at 0beb3365 | 9.3 | Only the docstring changed since 4c66c012 (drops the LH_Keys comparison). |

| (no PR yet) file-loads | Re-check: cap, look-back docs, history-failure step | PASS at patches 0001+0002 on 06a62016 | 9.2 | All four nits fixed: over 5,000 files lists none and says so; guide names the 20-commit look-back and the cap; NothingNew comment; failed history read is a run step. 116 passed (landing, meta, silent_except). |

| (no PR yet) signed-updates (Security QC) | Re-check | PASS at e72a16c8 | 9.0 | Independent security read. Required fix in. Windows-only signature calls not run; unit tests 5/5. The stable environment gate needs Chris to add reviewers. |

| (no PR yet) api-same-user (Security QC) | Re-check | PASS at 16e8fe80 | 9.2 | Independent security read. 360 passed on Linux. Needs a Windows check on a PC with IPv6 disabled before rollout. |

| (no PR yet) signed-updates (Security QC) | Updater signature checks, unsigned-build gate, signed-only promote | FAIL at c6494853 | 7.8 | Independent security read. Required fix and details are with Security QC (private). |

| (no PR yet) api-same-user (Security QC) | Local API refuses callers that are not the signed-in user | PASS at c64c616b | 9.1 | Independent security read. Fails closed on lookup errors. 359 passed on Linux; Windows-only paths not run. Low follow-ups with Security QC. |

| (no PR yet) surrogate-key-order | scd1/scd2 sort new rows by business key before assigning keys | PASS at 4c66c012 | 9.2 | 76 passed (test_meta, test_keys, silent_except); test_04e fails on main. Existing keys never move; scd2 changed and new rows sorted in their own ranges. Nits: comment says "as in LH_Keys" but LH_Keys sorts nulls first; in-batch duplicate keys keep input order (pre-existing). |

| (no PR yet) file-loads | Commits list the files they read; recover runs whose list was never saved | PASS at patch 0001 on 06a62016 | 9.0 | 114 passed (landing and meta tests, silent_except); new and changed tests fail on main. List rides in the same Delta commit; recovered rows saved under the original run id. Nits: no cap on metadata size; docs should name the 20-commit bound; concurrent NothingNew saves duplicate (harmless); a failed history read falls back silently. |

| #950 | PB-067 (main merge) | PASS at 150a3e84 (carried) | 9.2 | Changed lines against main 06a62016 identical to 5d1822bb; store.py imports keep both sides. |

| #950 | Batched loads remove the files a stopped stream wrote | PASS at 5d1822bb | 9.2 | Two earlier FAILs (5d58fe08, d1840820), each a reproduced delete wider than asked; now OneLake is never cleaned and a run that lost its lease removes nothing. Re-probed on a real table. pytest 375; the lease test fails on d1840820's store.py. | | #942 | env-drift reports an Environment's unpublished changes | PASS at f01abc2f | 9.2 | An empty staging list now shows every library as removed. pytest 91; ui.test 299/0; old files fail 8. | | #937 | Long-running operations (retargeted to main) | PASS at 5102cb5c (carried) | 9.2 | Changed lines against main identical to e32be63a against #923; clean main merge. test_fabric_api + contract + silent_except 77 passed. |

| #937 | Long-running operations follow Fabric's result location | PASS at e32be63a | 9.2 | Earlier CONDITIONAL fixed: a missing lakehouse id is looked up by name or raises a clear error. pytest 704 + 45 across the chain; #939 (9dffb1f4) and #944 (7ac165c6) carry their PASS. | | #906 | Environment drift (main merge) | PASS at 6c97a377 (carried) | 9.2 | Changed lines against main 34709911 identical to 265978ad apart from the cli.py docstring, which lists both governance check and env-drift. Clean merge. |

| #906 | env-drift compares a Fabric Environment item | PASS at 265978ad | 9.2 | Earlier CONDITIONAL 8.7 fixed: an empty library list is no longer read as a missing item; rpc surface and Preview-id checks pass. pytest 84; ui.test 299/0; old files fail 6. | | #949 | Warehouse runs retry the connect on transient Azure SQL errors | FAIL at ab59b33a | 7.9 | Automatic failure, presented as working: the retry looks for error numbers in the text, which mssql-python doesn't include, so a resuming warehouse isn't retried though the docs say it is; "under a minute" is false with a 60 s login timeout per try. pytest 338; main's warehouse.py fails 5. | | #944 | Paging guard stops a repeating or endless list instead of returning part of it | PASS at f2497536 | 9.2 | Delta over #939. pytest 245 + 1,520 across every file that lists; old files fail 4 of 5 new tests. Nits: three paging loops outside the guard. | | #943 | One size formatter replaces six | PASS at 31852fa8 | 9.2 | Every call site checked before and after. ui.test 300/0; 11 browser files 63/63; main's UI files fail 5. | | #942 | env-drift reports an Environment's unpublished changes | PASS at 3210dd96 (own delta) | 9.1 | Waits on #906; #906's empty-library-list fix must cover the staging read too. pytest 83 (1 failure from #906); new tests fail 5 on #906's files. | | #939 | Fabric errors show code, message, hint and request id, no raw JSON | PASS at 8b699a22 | 9.2 | Delta over #937. pytest 1,014; ui.test 299/0; old files fail 6. | | #938 | Tests reset the attached lakehouse | PASS at 29f42044 | 9.4 | Test-only. The order-dependent test_estate pair goes from 2 failed to 52 passed; 484 passed across the 21 files that attach. | | #937 | Long-running operations follow Fabric's result location | CONDITIONAL at 73ca5f47 | 8.8 | Required: a missing result now returns {}, so create_lakehouse callers get a bare KeyError instead of a clear error. pytest 112 + 1,178; old file fails 10. | | #934 | "Not set up" becomes a typed error | PASS at be0532ed | 9.2 | pytest 119 + 190 + 25; ui.test 299/0; main's files fail 10. | | #933 | Notebook MERGE runs on this PC through delta-rs (Preview) | PASS at e78c59e9 | 9.1 | CONDITIONAL 8.7 at a244a445, fixed and re-probed. Required then: schema autoMerge silently dropped new source columns; a Python-cell MERGE that must run in Fabric was labelled This PC. No delete wider than asked in any probe. pytest 219 + 287; main's files fail 14. New feature: needs Chris's go after a PASS. | | #932 | Retargeted to main after #907 | PASS at 6a4679b1 (carried) | 9.3 | Changed lines against main c1e3850e are the reviewed delta against 67da857d plus a byte-identical #972 port (79ee6ce4). Clean merge. |

| #932 | Data mesh entity editor: Esc then Tab leaves | PASS at 993ad9aa | 9.3 | Earlier PASS 9.2 at df2ead7c. entity-editor + a11y-audit 7/7; ui.test 299/0; the new click test fails without its fix. | | #931 | Pipeline mailbox checks the pipeline run a request names | CONDITIONAL at 6932370e | 8.8 | Required: ui.test fails the Preview-id check on merge with main. pytest 178 + 34; old files fail 32. | | #930 | Engine stops accepting six unused RPC names (HD-050 slice 2) | PASS at e7337cc3 | 9.4 | PASS at a3451d81 carried after a one-line docs fix. pytest 261 + 82; ui.test 299/0; main's files fail test_rpc_surface. | | #926 | Notebook and query keyboard fixes | PASS at 2d1b2c2d | 9.2 | CONDITIONAL 8.8 earlier: Delete closed a query tab with no confirm. Now asks in red. a11y 3/3 x3; ui.test 299/0; browser 45/45; old query.js fails the new test. | | #924 | Prod promotes refuse a governance package older than a day when the platform is unreachable | PASS at 84f294c6 | 9.1 | CONDITIONAL 8.8 at 247566d7 (path text). ui.test 299/0; pytest 79; old file fails the gate test. | | #923 | A 401 gets one fresh token and one resend | PASS at b0806de2 | 9.1 | pytest 153; full sidecar suite 5,052 passed, 0 failed; main's files fail 4. | | #919 | smoke-test --platform: central platform flows against fakes, ledger-based cleanup | FAIL at 8eff61ad | about 8.3 before the automatic failure | Automatic failure, a delete wider than asked (reproduced): upgrade mode takes over items by name without checking type, so cleanup can delete an unrelated item with the same name. | | #914 | Late rows and source deletes (NO_ID + main merge) | PASS at 4e262666 (carried) | 9.1 | Second quality reviewer. Carried from 97d11aed. Merge has no conflict hunks; sidecar delta identical. The NO_ID regex matches the new docs line. pytest 49; ui.test 299/1, only #972's two flags. New feature: needs Chris's go. |

| #914 | Lookback for late rows, soft and hard source deletes | PASS at 97d11aed | 9.1 | Earlier FAIL fixed: only a Boolean is_deleted with deleted_at counts rows as gone; Date lookback rounds up. New feature: needs Chris's go. | | #913 | PB-068 key reads (main merge) | PASS at 96b6c07d (carried) | 9.1 | Changed lines outside FEATURE_INVENTORY.md identical to 54f19d35; inventory resolution keeps main's FEAT-ONE-03 and the PR's FEAT-META-05. Clean against main 2be35e50. Nit: FEAT-META-05 next action goes stale once merged. |

| #913 | Key runs read only the batch's key rows | PASS at 54f19d35 | 9.1 | Earlier CONDITIONAL (1M-key slowdown) fixed. | | #907 | Accessibility audit of every page | PASS at 67da857d (and 60fa420e) | 9.2 | CONDITIONAL 8.5 at 88815d68: a container's shadow counted as a control's focus ring. Fixed with a baseline; the injected test fails on the old rule. a11y 3/3 x3; ui.test 299/0. | | #918 | Data access role listing follows continuation pages through followable_url (HD-058 consistency) | PASS at 8a219c48 | 9.1 | Same paging rule as _paged, including the literal "null". pytest followed_urls, fabric_api, silent_except 53 passed (168 with the data access role tests at fdacdcbd); main's fabric_api.py fails the new test. | | #917 | security.md and enterprise-install hosts checked against the code | PASS at b6045e8d (docs only) | 9.2 | Every host and claim matches the code; no listed host is unused; no open-finding detail. Nit: extensions.duckdb.org (generated TPC-H benchmark only) isn't listed. Merges after #918. | | #914 | Lookback for late rows, soft and hard source deletes | FAIL at f15c0197 | 7.9 | Automatic failure, a delete wider than asked (reproduced): keys that fail the non-strict cast drop out and their rows count as gone (ids "1.0".."10.0" deleted 10 rows the source still had). Also no delete-fraction guard (a truncated source deleted 99 of 100), a sub-day lookback does nothing on a Date watermark, and no Preview tag. pytest 100 + 738; main's files fail 21. New feature: needs Chris's go after a PASS. | | #913 | Key runs read only the batch's key rows | CONDITIONAL at a88d0ee3 | 8.7 | Correct and safe (exact escaped-key match, column_max never reuses a key, one snapshot, pushdown measured). Required: a 1M-key batch takes 26.3 s against 3.4 s on main (2M-row table); read once and join above a threshold. pytest 99 + 742 (2 order-dependent test_estate failures, same on main). | | #912 | Warehouse deploy gate works out the environment in the engine | PASS at 118120d0 | 9.1 | Stricter of page and engine (unknown is strictest); the page can't downgrade; Prod still needs the typed name. pytest 165, ui.test 298, browser warehouse-deploy 5; main's file fails 6. Nit: the page's label and typed-name rule still use its own map. | | #911 | Promote to stable copies the SBOMs | PASS at 7fb9eb21 | 9.1 | Step script run under bash -eo pipefail with a stub gh in 6 cases; a failed listing fails closed; 7fb9eb21 warns instead of swallowing a failed delete. YAML parses; permissions unchanged. | | #908 | Job file runs labelled "Job run", not "Notebook write" | PASS at 57f5d6a0 | 9.0 | history_kind matches lakehouse.py's "Notebook write to " naming; optimize/local_runs.py's own filter is unaffected. ui.test 299; pytest measurement, scorecard_cost, silent_except 48; zensical clean; main's costs.py fails test_measurement. Nit: the prefix now lives in three places. | | #907 | Accessibility audit browser test (axe-core 4.10.2) | CONDITIONAL at 88815d68 | 8.5 | Still open at 88815d68 (the Tab-loop walk added there is sound). Required: the focus-ring check counts any outline or box-shadow on the element or its 4 parents, and .dialog and .palette always have a shadow, so dialog and command-bar controls with no ring pass (probe: all three confirm-dialog stops shown with every focus style removed). Count a ring only when it changes on focus, and add an injected case inside a dialog. Ran 3/3 three times, once under CPU load; ui.test 298. Nits: KNOWN_RULES keyed by page and rule only; the shell outside #view isn't audited. | | #906 | env-drift: Environment libraries and runtime vs this PC | CONDITIONAL at 75f6e76e | 8.7 | Required: Fabric's EnvironmentLibrariesNotFound (no published libraries) is reported as a missing item; and the head fails test_rpc_surface (environment_fabric_drift has no UI caller or listed reason). Endpoints and shapes match Microsoft's docs; names via canonicalize_name, versions via packaging. pytest 71 passed 1 failed; ui.test 298; main's files fail 5 new tests. | | #902 | Agent checks shortcut health and posts breaks to Teams | PASS at a26d7cdc | 9.1 | 2b6a4dd0 adds the Preview tags and all six nits (own thread, per-call tokens, describe(exc)); a26d7cdc locks _control. pytest 126. Holds for Chris's go. At f522944b it was CONDITIONAL 8.8. Required then: Preview tag in docs/agent.md (never run on a tenant). Off by default, webhook from an environment variable only, Ledger dedupe, one posting agent, read only. pytest 124; ui.test 298; main's agent files fail test_shortcut_watch. New capability: needs Chris's go after PASS. | | #901 | %%sql column completion with an offline schema cache | PASS at 74e59a7b | 9.1 | First reviewed at aa84cdc3 (PASS 9.1; pytest 77, ui.test 298, browser 29). 74e59a7b stops a failed table_columns from being cached for good: cached names stand in for 60 s, then Fabric is asked again; the new browser test fails on aa84cdc3's notebook.js. Security QC: clear. | | (no PR yet) cifilters (Codebase audit) | Re-check: on #975 with main 2be35e50 | PASS at 7d58ca66 (carried) | 9.0 | Changed lines against #975 f8026218 identical to f6d10e6a against cispeed; audit job keeps main's comment plus needs: changes and the docs-only if; release needs audit only on main pushes, where audit always runs. Clean merge. |

| #975 (cispeed) | CI speed: pytest-xdist, pip and cargo caches (PR opened, main merge) | PASS at f8026218 (carried) | 9.2 | Changed lines against main 2be35e50 identical to e56cd94b; audit job keeps #867's audit_exceptions with the rust-cache step and version guard ahead of it. Clean merge. |

| #898 | Engine call time limits (second main merge, #923) | PASS at 16942c64 (carried) | 9.0 | Changed lines against main 2be35e50 identical to c943b35b; test_local keeps both new tests; owner ran 116 passed. |

| #898 | Engine call time limits (main merge) | PASS at 0ed07e5e (carried) | 9.0 | Changed lines against the merged main 0246ae27 identical to c943b35b; test_cloud resolution keeps both blocks. Conflicts with main 2be35e50 in test_local.py (keep both); that resolution checked: 88 passed. |

| #898 | Engine call time limits | PASS at c943b35b | 9.0 | Newest first, a 404 doesn't count as unreachable, skipped runs flagged stale, browser sign-in timeout mapped to SignInError, doc gives the worst case. pytest 115; the c7f38a0d files fail 3. At c7f38a0d it was CONDITIONAL 8.7. Required then: Monitor refresh counts a 404 toward its two-failure stop and asks oldest first, so two gone runs stop every refresh (reproduced); a partial refresh isn't flagged; the sign-in timeout doesn't bind the Windows broker and MSAL's timeout error isn't caught; the 30 s bound is only checked between requests. schtasks timeout and meta_drift schema read are right. pytest 113; ui.test 298. The owner's test_estate failure on main didn't reproduce. | | #897 | Compare above 5M rows by checksum | CONDITIONAL at 55c2cee7 | 8.7 | Required: parallel float sums vary run to run, so "Identical by checksum" shows next to a moved total (reproduced on 6M rows); a missing side still reads the other side whole. The row hash (HUGEINT sum mod 2^64) is sound. pytest 74 passed 3 skipped; ui.test 298; main's files fail the 3 new tests. | | #895 | Proofs measure the process kernel's own CPU and memory | PASS at a9e65496 | 9.1 | Was CONDITIONAL 8.8 at 91dbea1f: a stopped or restarted kernel's pid kept being measured. live_pid is None once the process ends; kernel32 calls are typed and cached. pytest 146; the 91dbea1f files fail 3 kernel tests. Windows paths verified by reading only: confirm the windows-latest job. Security QC: clear. | | #892 | Live test: lease and MERGE checks | PASS at 3a779d2e | 9.0 | First PASS 9.0 at 39173993 for its delta; 3a779d2e contains the passed #884 head and the nits. pytest 90. Both checks run only after LiveTest's guards, in the run's own ledgered lakehouse. | | #891 | Fabric Spark (Livy) Preview engine | PASS at 81208e74 | 9.1 | Was CONDITIONAL 8.9 at 949eeeb6: a session that failed while starting was never deleted (reproduced with a 429 on poll). Now everything after create closes on any exception, and an unnamed session is refused. pytest 164; the 949eeeb6 file fails 3 new tests. Security QC: clear. | | #890 | notebookutils warehouse and connections say what to do instead | PASS at 56376b1e | 9.0 | FABRIC_ONLY plus module __getattr__ raises an AttributeError naming the alternative, so hasattr stays False. Tests: notebookutils_helpers + silent_except 42 passed, notebookutils_fs 52 passed 1 skipped; zensical --strict clean. Main's notebookutils_local.py fails both new cases. Nits: the assertion at test_notebookutils_helpers.py:217 accepts two phrasings; the warehouse message is long. | | #889 | Endorsed filter wording points to Fabric's catalog | PASS at f8aa5a04 (first 618825a6) | 9.1 | ENDORSED_FILTER_REASON is the greyed button's title in the catalog and the lakehouse picker; the "embedded on the same page" claim is gone from code and docs. Tests: ui.test 299, pytest (local, trust_badges, silent_except) 75; zensical --strict and product_data clean. Main's service.py fails the new UI test. Nits: say "KratosForge reads endorsement only through the admin scan"; test the reason in pytest, not with a regex. | | #881 | Edit schedules in place; every Windows time zone with search | PASS at 3544c733 | 9.0 | Part 1 (f9619cb0): PC edits keep the id and paused state; Fabric edits use Update Item Schedule with the enabled value passed through; both RPCs audited. Part 2: time_zones reads HKLM read-only, empty off Windows, listed in READ_ONLY. Tests on the merge: pytest 59 passed 1 skipped, ui.test 298, browser schedules-time-zones + schedules-edit 9; the earlier app.js fails 3 of 4 time-zone tests. Security QC: clear. Nits: make enabled required in update_fabric_schedule; frequency edits get no capacity confirm (same gap on add); dates reset on edit; register before save. | | #885 | Preview downloads files to a per-preview folder with a size cap and sweep | PASS at fe62fc3a | 9.1 | FAIL at 7a68720e lifted at fe62fc3a: the local file name no longer comes from the remote name (Security QC clear; pytest 52, the old file fails 15). The 7a68720e FAIL was an automatic failure: a security finding on Windows in how the local file name is built. Details are with the owner and Bug fix and security QC, not here. Otherwise sound: max_bytes stops at the limit and cleans up, the sweep only removes old preview folders; 73 tests passed and 4 fail on main. | | #884 | Live smoke test for the Fabric flows | PASS at 4bd39f81 | 9.1 | Re-check: the bad-name step calls lakehouse_name_problem and sends no request (pytest 65; the new test fails on the old file). At 139af61f it was CONDITIONAL 8.6. Required then: the bad-name step calls the real create_lakehouse before LiveTest's guards and outside the ledger, contradicting README.md:5; assert lakehouse_name_problem directly and assert zero requests. Security QC: P2, same finding, plus keep workspace names and Fabric responses out of public results and issues. 71 tests passed. | | #882 | Offline policy packages for governance checks | PASS at 9aead362 | 9.1 | 517f9461 pins the package hash (--expect-sha256 checked before verify), 77701c70 refuses nan and inf, 9aead362 adds --require-pin; pytest 73. At ba8ed4f it was CONDITIONAL 8.6. Required then: the documented CI gate trusts the package's own hashes, so a recomputed package passes; add --expect-sha256 (refuse with exit 2), print the hash from governance package, make the CI recipe pin it somewhere a PR author can't edit, and test both cases. Recommended: --max-age. Tests on the merge: pytest 170 passed 1 skipped, ui.test 298, browser 8; zensical and product_data clean; main's checks_service.py and cli.py fail 11 tests. | | #879 | Command bar browser tests | PASS at 04f5d3f6 | 9.0 | 04f5d3f6 waits for settings and for focus: 3 parallel runs under two CPU burners all 6/6. At fb5b1658 it was CONDITIONAL: flaky under load: passed 6/6 five times run alone, failed under CPU contention. "Preview commands are listed only while Preview features show" reads state.settings before it loads (TypeError on show_preview); "Escape closes it and gives focus back" raced once. Required: wait for settings, and wait for focus to land. | | #876 | User and agent docs match the code (PB-077) | PASS at 80abc956 | 9.0 | Verdict sent to the owner and Release management. | | #875 | Cancel a Fabric run from Monitor > Runs and the tray (Preview) | PASS at 48c331b1 | 9.1 | Cancel refuses a workspace or item that doesn't match the logged run; cancel_requested is written from a fresh read, only on a non-terminal row. Tests: test_cloud + silent_except 42 passed; the 56e7883d cloud_service.py fails the new refusal test. Earlier PASS 9.0 at 56e7883d. Security QC: clear. | | #874 | Preview tags match the docs (PB-078) | PASS at c5b3b8a3 | 9.1 | Verdict sent to the owner and Release management. | | #871 | Refresh PB-036 evidence and the orchestration plan | PASS at 3031fe01 | 9.1 | Verdict sent to the owner and Release management. | | #867 | Release waits for the dependency audit; named advisories and exceptions | PASS at ab5d7018 | 9.1 | PASS 9.0 at cc5401a3, carried to e87992c1; 9.1 at 026dd914 (annotations escaped, exceptions capped at 90 days); ab5d7018 only runs the hint when the audit fails, and exit $status is unchanged. | | #866 | Metadata guide: keys come from one keys database where it's set up | PASS at 88ed8ab7 | 9.1 | Was CONDITIONAL 8.6 at 7f742a1d: promote steps 2 and 3 were wrong for platform keys; fixed. | | #865 | AF-5: Optimize acts on this PC's Estate X-ray before a shared lakehouse | PASS at f6691426 | 9.0 | Verdict sent to the owner and Release management. | | #864 | Workstreams and story queues (orchestrator) | PASS at 377a883a | 9.1 | Was CONDITIONAL 8.7 at 0791b046; fixes verified. | | #853 | Snowflake research (project files, not a PR) | PASS after re-check | 9.0 | Was CONDITIONAL 8.6: the probe's "18 ran correctly" overclaimed and "JSON null differs" was unevidenced. Now 29 rows: 15 match documented behaviour, 4 known differences, 10 fail (3 sqlglot, 7 DuckDB). transpile_probe.py reproduces it with sqlglot 30.23.0 and DuckDB 1.5.6, and every document agrees. Nit: the VARIANT-null statement is credited to the probe, which has no such row. | | #844 | Governance review follow-ups: item buttons follow the server's edit rule, item-name limitation documented, Check now counts notebooks that pipeline schedules run | PASS at 3b2bdb6a | 9.1 | The product page's canEdit now comes from platform_product_trust's can_edit_terms, the same _can_edit_terms rule that add and remove enforce. A failed call hides the buttons, and the server decides on every write. LocalSchedules.notebooks() adds the string values of an enabled pipeline schedule's notebooks map (what schedule_service passes to the local run); paused schedules and non-string values are skipped. Fail-without-change: main's local_schedules.py fails test_best_practice_checkers (1 failed), and main's product-items.js fails the new browser test. Tests run on the head (main 4dbd136d): pytest 141 passed, ui.test 298, browser product-groups 8, best-practice-checks 8, mesh-products 3; zensical --strict clean; product_data consistent; py_compile clean. | | #842 | Re-check: Teams line fixed | PASS at 05dd79c9 | 9.1 | The fix is in: platform_notify.py:121 writes "Open it in KratosForge: .", and the three tests that pin the line were updated. Nothing in sidecar, app or docs still writes "Open it in KratosForge >". Tests run on the merge with main: incident_desk, platform_notify, platform, governance_notices, agent_fleet and silent_except, 132 passed. py_compile clean. Merge after #840, keeping #842's wording in data-factory.md. | | #843 | Links turned off by policy: no loopback link listener, stale link-port removed, command-line link refused | PASS at 131719b8 (CI green, including the Windows shell job) | 9.0 | Security read: clear. The change removes surface and adds none. links_on is read once from the policy before the instance claim. A parseable link becomes the refused link with "Your organization turned off kratosforge:// links."; setup calls forget_port instead of listen, so a later copy can't send its token to a port another program holds. deep_link.rs built and tested standalone with rustc --test: 12 passed, and the new test fails to compile on main (no forget_port). main.rs can't be built here. Trade-off documented in vscode.md: with links off, launching again doesn't bring the window to the front. Nit: a second launch then waits about 5 s (20 tries) before stopping. | | #842 | Monitor paths named by place: Monitor > KratosForge > Operations > X | CONDITIONAL at 53f308da | 8.8 | Required: the Teams line reads "Open it in KratosForge > Monitor > KratosForge > Operations > Incidents." (platform_notify.py:121 prefixes "KratosForge > "). Change it to "Open it in KratosForge: ." Otherwise right: no product string keeps an old Monitor > X path, only historical plan docs. It conflicts with #840 on one line of orchestration/data-factory.md; keep #842's wording. Tests on the merge with main: 322 pytest passed, ui.test 298, browser monitor-how 3, operations-how 3, platform-notices 5; zensical --strict clean; product_data consistent, also merged with #839. | | #840 | Docs audit 5 (docs vs #788 to #838) | PASS at e87ee1d3 (docs only) | 9.2 | Claims checked against main: the notice kinds match platform_notify.KINDS; Connect-MgGraph uses Group.ReadWrite.All and User.Read.All (central/entra.py); the editor channel refuses non-loopback clients, a wrong Host and any Origin, and keeps tokens hashed; main.rs starts the link listener unconditionally, so "the listener itself still runs" is true until #843. Anchors resolve; zensical --strict clean; no open security detail. Bug fix and security QC's read: clear. | | #839 | Product check 2026-10-28 11:42 (#827, #829 to #838) | PASS at afccecc5, re-confirmed at c4969d7c | 9.1 | Docs only, with no open security detail (grepped). product_data consistent; zensical --strict clean; every test and source file named exists. The fixed-findings line matches the review re-read (#841). Nit fixed at c4969d7c: "PR events reach" became "can reach", since this thread's subscriptions have delivered no events. | | #828 | Data product groups (re-check after main merged in) | PASS carried over to 61869398 | 9.1 | 61869398 merges main cdbb967f into 421ea5c1. The PR's own changes are identical to 421ea5c1's (diffed against their bases). The conflict fixes keep both sides: ensure_schema runs ensure_project_members and ensure_product_items, and udf.py has both the project-member and product-item functions. Tests run on the merge with main: product groups, trust badges, audit, audit chain, server lanes, silent_except, platform, platform notify and repo, mesh home and requests 240 passed; ui.test 298 passed; browser product-groups, mesh-products, mesh-members and mesh-project 16 passed; zensical --strict clean; product_data consistent; py_compile clean. Still a draft until Chris says "merge". | | #828 | Data product groups: a product's tables, semantic models and reports, with endorsement and Products list filters (Preview) | PASS at 421ea5c1 (new catalog.product_item table; owner/admin writes; nothing written to Fabric) | 9.1 | Built from Chris's mockup go (23:04Z); merging waits on his typed "merge". BQ-013 check: add_product_item and remove_product_item both require _can_edit_terms (platform admin, or a name in the product's owner), the same rule as business terms. The UDF sets by from ctx.executing_user, so a caller can't name someone else. The owner field itself is guarded by register_product's #817 check. Reads (list_product_items) are open to everyone, like products and terms. Item and workspace ids must be GUIDs, the type must be SemanticModel or Report, and names are trimmed and capped at MAX_BK. Each change writes an audit row. The table is additive (ensure_product_items, also run on first use), and an older UDF says "Finish or repair once". The Fabric link is built from the GUID-checked ids, and names render as text. Limitation (low, document it): the catalog can't check an item against Fabric, so an owner could record any GUID under any display name; the endorsement badge still comes from the admin scan of that id. Nit: the UI's canEdit splits owner on ,; while the server uses _names; any mismatch only hides or shows buttons, since the server decides. Tests run on the merge with main 2bd73f06: test_product_groups, trust badges, audit, server lanes and silent_except 80 passed; platform, central, mesh and follow tests 140 passed; ui.test 298 passed; browser product-groups, mesh-products and related 26 passed; zensical --strict clean; product_data consistent; py_compile clean. | | #827 | Platform, Optimize and Monitor take Data mesh's navigation; Monitor is grouped by source (KratosForge: Runs, Schedules, Operations; Fabric: Monitoring hub, Schedules) | PASS at 31d4f17a (UI navigation and wording; no new writes) | 9.0 | Built on Chris's typed asks (22:56Z, 22:57Z) and his "Good, go" (23:04Z). Platform's Set up and Govern dropdown menus are now a page switcher on the view row; every Platform page still opens directly. Monitor has a KratosForge tab and a Fabric tab, and the hub is on its own page. The Hide/Show toggle and its fd.monitor.fabric key are gone; the stale key is harmless. Engine changes are wording only. Finding (pre-existing, not blocking, follow-up): when the runs list is popped out, every panel except the hub shows only the "From KratosForge, in a window of its own" band, including Fabric > Schedules, because runsBand = !hub && runsOut. I confirmed this in Chromium with a probe. main behaves the same (runsOut ? band : ...), but the new Fabric tab makes it more visible, and Home, Queue and Run as links to Fabric > Schedules land on that band. Fix: show the band only on the Runs panel. Tests run on the merge with main 2bd73f06: ui.test 298 passed; 15 browser suites (mesh-layout, monitor, platform, optimize, schedules, landing, pipeline runs, pop-out, warehouse monitoring, fabric-full-screen) 73 passed; pytest schedule, incident and run_as 132 passed; zensical --strict clean; product_data consistent; py_compile clean. | | #823 | Re-check after a main merge | PASS 9.1 carried over to 5f5a248c | 9.1 | 5f5a248c is e580704b plus a merge of main 2bd73f06. It resolves an append-only styles.css conflict and changes no code: the branch's own diff against its merge base is the same as at e580704b apart from hunk offsets and the styles.css context lines. It merges cleanly with main. Tests run on the merge: ui.test 298 passed; browser fabric-full-screen, platform-tabs and mesh-layout 16 passed. | | #826 | #825 follow-up: new Monitor schedules tab names in inventory, plan and tests; Home's All schedules opens Fabric schedules when that's all it lists | PASS at a8049b2d (UI link target and wording; no writes) | 9.1 | Fixes the #825 nits: FEAT-FAB-08/FEAT-ORC-01 surfaces, plan.md:165, PB-013 and test names now say KratosForge or Fabric schedules. Home's link picks fabric_schedules only when the shown list is non-empty and every row's where is "Fabric"; PC rows come first in the list before slice(0, 6), so a PC schedule with a next run is never hidden behind Fabric ones. Edge (not blocking): PC schedules that are disabled or have no next run aren't listed, so the link then opens Fabric schedules; the KratosForge tab is one click away. Agents' "Review schedules" stays on KratosForge schedules on purpose (agent schedules live there). The new ui test is a source-pattern test, not behaviour; it fails with main's app.js (checked). Tests run on the merge with main 00e29714: ui.test 298 passed; browser schedules-remove-confirm, schedules-set-aside, monitor-one-row, mesh-home 13 passed; test_schedules 19 passed; zensical --strict clean; product_data consistent. | | #825 | Make page layouts consistent (Data mesh, Platform, Optimize, Monitor; Monitor schedules split into KratosForge and Fabric) | PASS at bd8a2ba9 (UI layout and message text; no new writes) | 9.0 | Shared page chrome (meshPage/meshChrome in meta.js) applied to the four pages, built from Chris's "I like it" on the layout mockup. Monitor's schedules now split into "KratosForge schedules" and "Fabric schedules"; the Fabric dialog's remove confirm (offHere=false) now points at Monitor > Fabric schedules, which is right. Engine changes are message text only (incident_service, schedule_service, run_as). Nits (not blocking): "Monitor > Schedules" is still the surface for FEAT-FAB-08 and FEAT-ORC-01 in FEATURE_INVENTORY.json/.md and in docs/workloads/plan.md:165, and in some schedules-set-aside / schedules-remove-confirm test names; the "All schedules" and "Review schedules" links open the KratosForge tab only. Tests run on the merge with main 3364e79b: ui.test 297 passed; 22 browser suites (mesh, monitor, platform, optimize, schedules, landing, pipeline runs, pop-out, warehouse monitoring) 94 passed; pytest schedule/incident/run_as files 132 passed; zensical --strict clean; product_data check consistent; py_compile clean. | | #824 73d44896 | Data mesh Home not-set-up fix (Workload management's must-fix) | PASS 9.0 carried over | Since a689c161, classify_error returns str(exc) for the not-promoted match, so each raise site's own words (which lakehouse, what to do) show instead of one fixed line. That also answers my note about a lakehouse deleted after a promote: the message names it. Tests on the tree merged with main: mesh_home, workloads*, incident*, silent_except 133 passed. Workload management's sign-off covers this head. | | #823 e580704b | Fabric full screen re-check (quality nits) | PASS 9.1 | Both nits fixed: Open in KratosForge is wrapped in preview("warehouse"), with a test, and full screen no longer hides #update-root. Tests on the tree merged with main: ui 297/297; browser fabric-full-screen 8/8, warehouse-page 18/18. | | #824 a689c161 | Data mesh Home: an environment nothing was promoted to isn't a read problem | PASS 9.0 | classify_error now maps a LookupError saying something "doesn't exist in" a workspace with "promote" in the message to not_set_up, with the plain line "Nothing has been promoted to this environment yet". That covers the LH_Meta messages in meta_service, cloud_service, model_bpa_service, mailbox and meta/store. Home already hides not_set_up environments, and environment names are title-cased in problems. Fail-without-change: with main's two files, the new mesh_home test and both new classify cases fail (3 failed). With the PR: mesh_home, workloads*, incident*, silent_except 133 passed. Notes, not blocking: the match is on message text, so a typed exception (for example a NotPromoted LookupError subclass) would be sturdier. classify_error has 19 callers, so a lakehouse deleted after a promote now reads as not set up rather than an error on those surfaces too. | | #823 0cc22767 | Warehouses open on the Warehouse page; Fabric portal full screen; Open in KratosForge (draft, mockup boards 14-15) | PASS 9.0 | A warehouse's or SQL analytics endpoint's name opens the Warehouse page by default (wh_open_in, policy-fixable), and falls back to Fabric with preview features hidden. Open in Fabric stays on every row. Full screen hides the top bar, rail and tabs under a slim band with Exit and Esc; setView clears it on any navigation. Open in KratosForge reads only the Fabric view's address through the new fabric_view_url command. fabric_page_address keeps https app.fabric.microsoft.com only and drops the query, fragment, userinfo and port (security P3, with a Rust test). The UI then matches GUIDs, finds the item in the user's own workspace list and opens it; nothing runs until the existing first-run confirm. Docs: user-guide, warehouse.md, azure-setup policy rows. Nits, not blocking: (1) Open in KratosForge isn't behind preview("warehouse"), so with preview features hidden it still opens the Preview Warehouse page; (2) full screen hides #update-root and is remembered, so the update banner stays out of sight until the person leaves full screen. Tests on the tree merged with main e0586419: ui 297/297; browser fabric-full-screen 7/7, warehouse-page 18/18, warehouse-changes 9/9, settings-advanced 1/1, workspace-pipelines 5/5, onelake-writes 3/3; pytest app_settings*, policy* 59 passed, 1 skipped; docs --strict clean. Rust not run here (CI runs cargo test on Windows). | | #821 f6795f6e | Updates follow the channel when Preview moves on (fixes #820) | PASS 9.0 | update_app no longer trusts the build the banner showed. Before each download it re-reads the channel (channel_latest, then apply_release_rule, which records the accepted build) and installs the build offered now; the swap is logged as a component-log line. update_guard::offered and wants_install still gate the build, and download_app still checks the exe's SHA-256 against that build's version.json, so integrity is unchanged. download-app prints "moved " and exits 3 when the release names another build, before or after the download; the shell re-checks once, then reports that the channel is being republished and removes the partial file. Progress lines are kept out of the error tail, and an offline download says so in one line. troubleshooting.md has both new messages. Python: with main's updater.py, 4 of the updated or new tests fail; with the PR, test_updater 48 passed; py311 compile clean. Not run here: the Rust change (cargo doesn't build on Linux; CI runs cargo test on Windows), and update_app's retry loop has no Rust test. Chris's Windows update check is the live proof. | | #819 d36befd3 | Side by side: Comparing fairly section, upload-line tooltip | PASS 9.2 | Docs plus one tooltip. The section explains that upload speed sets the floor for write-heavy runs, separates processing from end to end, and asks for hardware, upload speed and two runs per side. It makes no capacity or savings claim, and the TPC-H trademark note is kept. Nit: 42 Mbps is 5.25 MB/s raw, so "about 4.7 MB/s" is the observed rate after overhead; say so or write about 5 MB/s. Tests on the tree merged with main 4e39039e: ui 297/297; docs --strict clean. | | #817 ac58d712 | Catalog publish ownership (BQ-013) | PASS 9.0 | register_product now calls _may_publish before any write. A platform admin may always publish. Otherwise an existing product may be published again only by one of its owners (case-insensitive) or its last publisher, and a row with neither is admin-only. A first publish whose owners name people must include the publisher. data-mesh.md says so. The 3 new tests in test_platform.py fail with main's core.py and pass with the PR. Follow-ups, not blocking: (1) promote catches the refusal, so a promoter who isn't an owner, last publisher or admin (for example a separate Prod promoter) gets "not published" and the catalog keeps the old environment until an owner or admin publishes again; the docs should say a promoter must be among the owners. (2) A second follow-up is with the Bug fix and security QC thread. Tests on the tree merged with main: pytest platform*, versioned_contracts, mesh*, meta*, requests*, central*, udf*, silent_except, rpc_surface 218 passed; py311 compile clean; browser mesh-products, mesh-project, product-access 8/8; docs --strict clean. | | #814 3738bb51 | Data mesh consistency pass: one Preview tag per tab, pageIntro and loading(), help links and guide sections | PASS 9.0 | Good: metaGroupPreview gives a group's tab the one Preview tag when every tab in it shares the same preview feature (Home, Products, Requests, Domains, and Products and links). Sub-tabs in such a group drop their own tag, and the previewMarked("mesh") tags inside Home, Requests, Map crumbs, Domains and Data products go. Hiding with previews off is unchanged, because visible() still filters on each tab's preview id. pageIntro and loading() replace the hand-made intro and loading lines. The Requests and Domains How this works anchors point at data-mesh, and Audit and Links name their new places. Six user-guide sections move to Data mesh. UI and docs only. Tests on the tree merged with main fd837d68: ui 297/297; browser mesh-domains, mesh-home, mesh-overview, mesh-products, mesh-project, mesh-requests, mesh-run-fx, data-requests, requests-core-four, access-reviews, product-access, owner-coverage, follow-product, platform-tabs all green (47/47); docs --strict clean; product_data consistent. | | #813 e1d37d79 | Codebase audit hardening on #560 (BPA) and #701 (publish notices) | PASS 9.2 | Good: model_bpa_status treats a result file that isn't the notebook's findings (ValueError, AttributeError, TypeError) as a failed check that says the findings couldn't be read, and a Completed check with no file says it saved none. Findings read from a file are stamped with the check's own request id, since the file is named for it. A FabricError 404, ItemNotFound or EntityNotFound starting the check republishes the notebook once (save_notebook upserts by name, so no duplicate) and runs that one; other errors still raise. A non-dict notebooks.json or a bad copy kept on this PC is ignored. mesh_publish moves each product's notices into _publish_notices behind a guard: a notice that can't be made becomes a problem, not a failed publish. If a later product fails, the notices already collected are sent before re-raising (_governance_notify returns a problem rather than raising, so the original error isn't masked). Non-dict consumers and non-string followers are skipped. Fail-without-change: with main's service.py and model_bpa_service.py, 8 of the 9 new tests fail (the ninth, other Fabric errors aren't retried, is a guard that passes on both). Tests on the tree merged with main fd837d68: pytest model_bpa*, versioned_contracts, mesh*, platform*, best_practice*, silent_except, rpc_surface 206 passed; py311 compile clean. | | #812 aba12b4d | Product data: morning check for #788 to #809 with #560, #449, #701, #763, #765, #782; PB-111 and PB-082 to In review | PASS 9.1 | Docs only (docs/product). The figures match the data: product_data.py summary gives 142 features (119/12/4/3/4; 3/127/12) and 101 backlog items (5/31/52/13), and the backlog headings count 46 Proposed, 11 In progress, 39 In review and 5 Accepted. The main hash 6159e50 and the merged PR list (#795 to #809 on main) match git. PB-111 (#798) and PB-082 (#701) move to In review with their PRs and evidence. Nit, not blocking: PB-112's evidence still opens with "#560 is an open draft" and "(BPA #560 is still a draft)" before the new "PR #560 merged", so drop the stale clauses next cycle. product_data.py check consistent; docs --strict clean on the tree merged with main 6159e507. | | #811 9d22482f | VS Code extension test: attach the denial check before answering (flake fix for #795's test) | PASS 9.2 | Test only, one test. In "a denied window stays unpaired" the pair() promise could reject while answer(false) was still awaited, before assert.rejects was attached, which gave the unhandled rejection. The fix creates assert.rejects(asked, /denied/) first and awaits it after answering, which is the standard pattern, and the assertion is unchanged. No product code changes. Tests on the tree merged with main 61eee496: npm ci and tsc -p . clean; node --test vscode/test/.test.cjs against the real engine 10/10, five runs in a row. | | #808 ecd58b2e | Warehouse environment fix (security P2: shared workspace counts as strictest) | PASS 9.1 carried over | Since 158788f7: envWorkspaces takes strictest=true and walks ENVS (dev, test, prod) in reverse, so a workspace Dev and Prod share (the Keys workspace, #293) maps to prod. The Warehouse page keeps its own whEnvWs, so the Catalog page's mapping (app.js, default order) is no longer changed by it. Before the first read every workspace counts as none (like Prod). The new browser test (shared keys_workspace_id asks for the typed name in Prod) passes. The P3 (engine trusts the environment passed to wh_project_deploy_plan) is a follow-up, as security suggested. Tests on the tree merged with main ae174223: ui 297/297; browser warehouse-changes 9/9, warehouse-deploy 5/5, warehouse-project 8/8, warehouse-page 18/18. | | #809 e4fed49d | Warehouse: leave Fabric's own schemas (queryinsights, _rsc) out of Import, Compare and Deploy (tenant run) | PASS 9.1 | Good: the engine's FABRIC_SCHEMAS (queryinsights, _rsc, sys, information_schema, case-insensitive) is skipped on write with a stated reason, and a project file for one from an earlier import is listed as not read. The warehouse side of Compare and the deploy plan drop it too, so deploy never creates or drops it. The page filters the same set after scripting (schema objects carry schema = name, so the schema rows go too), and the engine check covers callers that skip the page (MCP or the local API). warehouse.md says so. Reproduced: the new engine test fails on main ae174223 and passes on the PR. It merges cleanly alongside #808 and #806. Tests on the tree merged with main: pytest test_warehouse, rpc_surface, silent_except 229 passed; py311 compile clean; ui 297/297; browser warehouse-project 8/8, warehouse-deploy 5/5, warehouse-changes 7/7, warehouse-page 18/18; docs --strict clean. | | #808 158788f7 | Warehouse: environment only from the metadata project; unmapped counts as Prod (fixes #807) | PASS 9.1 | Good: whEnv now reads only catalogPage.envWs (from envWorkspaces of the project's environments) and returns "none" for anything unmapped, and whNeedsName treats none like prod, so the name must be typed. wh_project_deploy_plan already gates every environment except dev to Git only, so deploy follows. whEnvRead re-reads meta_project before each change confirm and deploy plan, and once per Warehouse tab. With no project, meta_project returns no environments, so every workspace counts as none (safe). A failed read keeps the last mapping, as documented. The engine still checks confirm_name against Fabric's name on every change. warehouse.md says where the environment comes from. Reproduced: the new test ("kf_tenant_test" unmapped needs the typed name) fails on main ae174223 and passes on the PR. Tests on the tree merged with main: ui 297/297; browser warehouse-changes 8/8, warehouse-deploy 5/5, warehouse-project 8/8, warehouse-page 18/18, warehouse-monitoring 8/8, warehouse-plan 4/4, sql-exec, sql-editor, sql-compat, sql-forge, sql-practices, sql-templates all green (113/113 in total); docs --strict clean. UI only, no engine change. | | #806 c4254d6b | Platform trim (dead showWaiting removed) | PASS 9.0 carried over | The only change since a561e53f is nit 1: showWaiting and its two callers (platform.js overview, mesh-requests.js) are removed, and no reference is left. Nit 2 (no separate Decided filter) stays by the owner's choice, since Everything shows decided requests. Tests on the tree merged with main ae174223: ui 297/297; browser platform-tabs, platform-overview, platform-notices, mesh-requests, data-requests, requests-core-four 30/30. | | #806 a561e53f | Platform trim: Requests move to Data mesh (stacked on #805), draft | PASS 9.0 | Good: the Platform Requests tab and platformRequestsTab are gone; goPlatform("requests") and renderPlatform redirect to goMeta("requests") (requests is in META_NO_PROJECT, so no project is needed), as do the bell's notice link (PN_WHERE and openPlatformNotice), the Overview's Requests waiting stat, the governance Ask for one dialog and the command palette entry. No "Platform > Requests" text is left except intentional "it was ..." notes; engine change is message text only (5 files). Nits, not blocking: showWaiting in platform.js now writes platformPage.waiting and looks for a .subtabs .tab-count that nothing renders or reads, so it and its two callers can go; admins lose the separate Decided filter (Everything still shows decided requests). Tests on the tree merged with main ae174223: ui 297/297; browser platform-notices 5/5 and shortcuts-dialog 6/6 (both green here, unlike the owner's container), platform-tabs, platform-overview, data-requests, requests-core-four, mesh-requests, mesh-domains, mesh-home, mesh-overview, access-reviews, product-access, entra-groups, domain-in-fabric all green (57/57 in total); pytest platform*, governance*, policy*, requests*, rpc_surface, silent_except 233 passed, 1 skipped; py311 compile clean on 5 files; docs --strict clean; product_data consistent. | | #799 ed5fa78c | Leftover staging lakehouses, main merge | PASS at ed5fa78c (carried) | 9.0 | Release management merged main b19b7456 (clean, no force push). The PR's own delta is identical to 9d4f8142 (sorted +/- lines compared against the merge-base), and it merges main cleanly. The only CI failure at 9d4f8142 was main's #972 test, now fixed on main. RM's runs at head: ui.test 301/0; silent_except, xray, rpc_surface and audit 86 passed. |

| #799 | Leftover staging lakehouses, merge re-check | PASS at 9d4f8142 (carried) | 9.0 | Second quality reviewer. Carried from cbfcaf44. Conflicts resolved right: xrayAction plus redrawXray from #865, sizeText from #943, METHODS and READ_ONLY union. pytest 85; browser xray-staging 2/2, xray-fx 3/3, optimize 5/5 (also 5/5 on main), optimize-action-first 3/3. ui.test: only #972's two flags. |

| #799 cbfcaf44 | X-ray leftover staging: prove it first, then delete (Chris's choice), draft | PASS 9.0 | Required fix from 8e0e0f3e done as option (a): after Fabric's list, _staging_dataflows reads Power BI's GET groups/{id}/dataflows (Dataflow.Read.All, Power BI's address, on first use). Any dataflow there whose objectId isn't one of Fabric's item ids (case-insensitive) keeps the lakehouse and is named; an unreadable list or a declined scope also keeps it. Every reason lands in why, so ok is false and xray_remove_staging's re-check refuses. Security's two P3s: workspace_id must match a GUID before any call (test with "../admin"), and xray-fixes.md says Remove assumes Member or Admin because Power BI lists only dataflows you can see. permissions.md has the new scope row. Merges main ae174223 cleanly; RESTRICTED keeps allow_staging_cleanup False next to allow_dbconnect_install and platform_presence. Not blocking, unproven live: whether CI/CD Gen2 dataflows appear in Power BI's list with the same id Fabric gives them; if the ids differ, Remove refuses every time (fails safe), so the first tenant run should confirm Remove can succeed. Tests at head: xray*, app_settings, policy_fail_closed, rpc_surface, silent_except, audit 111 passed, 1 skipped; py311 compile clean on 7 engine files; ui 297/297; browser xray-staging + xray-fx 5/5; docs --strict clean; product_data consistent. | | #805 8714a208 | Data mesh > Domains (org domains move from Platform > Set up into Data mesh) | PASS 9.1 | Good: renderMeshOrgDomainsTab takes over Platform > Set up > Domains; goPlatform("domains") and renderPlatform redirect to goMeta("domains"), so old links land in the new place. META_NO_PROJECT gains domains and overview, admin buttons sit behind adminOnly (whoami fetched when missing), the #793 Access groups dialog is kept, and Projects/Products counts come from mesh_map with "—" when it can't be read. Engine change is message text only (7 files). Platform is already a preview page, so moving under the mesh preview loses nothing with previews off; the only leftover "Set up > Domains" strings are intentional "it was ..." notes. Nit, not blocking: tab id "domains" now means the org Domains tab, so an old caller expecting the project's join tab lands on org Domains ("This project" is one click away). Tests on the tree merged with main ae174223: ui 297/297; browser access-reviews, data-requests, domain-in-fabric, entra-groups, mesh-domains, mesh-home, mesh-overview, mesh-products, mesh-project, mesh-requests, mesh-run-fx, owner-coverage, platform-notices, platform-overview, platform-tabs, product-access all green (51/51); pytest platform, entra_groups, platform_repo, rpc_surface, silent_except, mesh*, requests*, auth*, domain* 168 passed, 1 skipped; py311 compile clean on all 7 files; docs --strict clean; product_data consistent. | | #799 8e0e0f3e | X-ray leftover staging: prove it first, then delete (Chris's choice), draft | CONDITIONAL 8.6 | Good: staging_dataflows needs proof from every Dataflow Gen2 that Fabric lists. Its definition (getDefinition, every part decoded) must not name the lakehouse id or name (word-bounded, any case). It must have a Completed refresh that started at least an hour after the lakehouse's last write. An unreadable definition, unreadable history, no completed refresh, an unknown last write or zero listed dataflows each keep the lakehouse. The server checks again before the delete. A staging name dated more than a day ahead is never offered and doesn't decide the newest. The preview lists each dataflow with a tick or cross. xray_removed is pruned after 90 days. The docs say the paired staging warehouse is left alone and that Remove isn't on MCP or the local API. The test covers names-it, quarterly, never-ran, legacy (unreadable) and none-listed. Required fix: the proof covers only the dataflows that Fabric's items API lists, and the docs themselves say older dataflows aren't listed. The zero-listed guard therefore doesn't protect a mixed workspace: one CI/CD dataflow listed and proved, plus an older Gen2 that isn't listed, passes. A quarterly older dataflow staging in that lakehouse would then break. Either enumerate the workspace's dataflows another way with the scopes sign-in already has (for example Power BI's groups/{id}/dataflows) and keep the lakehouse when any of them isn't in Fabric's list, or show with a source that dataflows the API doesn't list never stage in a timestamped StagingLakehouseForDataflows lakehouse, and cite it in xray-fixes.md. Also: it conflicts with main ae174223 in app_settings.py and docs/permissions.md, so merge main. Tests at head: xray*, app_settings, policy_fail_closed, rpc_surface, silent_except, audit 101 passed, 1 skipped; py311 compile clean; ui 295/295; browser xray-staging + xray-fx 5/5; docs --strict clean. | | #803 2179cdfe | Data mesh tabs split (nav nits, merges of main, link notice text) | PASS 9.0 carried over | Since 07ffd792 there are three groups of change. 43e8794e fixes the three stale nav strings. Merges of main: 5fdfd240 takes #801 and #802; 897cac77 takes #701 and keeps #701's product_problems with #803's comment. f9de7a16 changes platform_notify _WHERE["links"] to "Data mesh > Products and links > Links" and the matching assert in test_versioned_contracts. That fixes the red ui check ("engine messages point to tabs that exist"); the text follows META_TAB_GROUPS' group > tab form. Merged with main: ui 297/297; versioned_contracts, platform_notify, rpc_surface 36 passed. | | #804 991617ac | Data mesh > Products (nits) | PASS 9.0 carried over | Since a298ab1c: the two nits only. platform.js:780 Product access now calls openProducts(), after elsewhere() closes the dialog, and workloads/plan.md:255 reads Data mesh > Products. ui 297/297; browser mesh-products + data-requests 6/6; docs --strict clean. | | #804 a298ab1c | Data mesh > Products: the catalog moves from OneLake (draft, stacked on #803) | PASS 9.0 | Reviewed against its parent 04206c42, a local merge of Requests and main (remerge clean). The UI moves renderDataProducts into Data mesh > Products, which works with no project open; with previews hidden it falls back as before. One openProducts() replaces every catalogPage.tab="products"; go("onelake") call: Home, map, incidents, governance checks, notices, Platform overview. OneLake's Data products tab and any old link redirect there. The here() guards now use productsHere(), so a late answer can't draw on another page. Edit definition shows only for the open project's own product. The two engine changes are message text only (governance_checks hint, platform_notify _WHERE), and the test matches. With the project unreadable, the mesh tabs still show and no Set up button appears. Nits: platform.js:780 still uses the old catalogPage/go("onelake") path, which works only through the redirect, so use openProducts; docs/workloads/plan.md:255, FEATURE_INVENTORY (FEAT-MESH-04) and PB-054-694 still say OneLake > Data products, so leave those to product data's next check. Tests on the tree merged with main 3b44efe9: ui 297/297; browser mesh-products 3/3, mesh-home 4/4, mesh-overview 4/4, mesh-project 2/2, mesh-requests 3/3, mesh-run-fx 3/3, access-reviews 3/3, best-practice-checks 8/8, incident-impact 2/2, onelake-writes 3/3, platform-notices 5/5, product-access 3/3, trust-badges 8/8; platform, platform_notify, best_practice_checkers, rpc_surface, silent_except 90 passed; docs --strict clean; product_data consistent. | | #765 f842e6f4 | Owner coverage (merge of main with #763) | PASS 9.1 carried over | The remerge diff contains only unions: READ_ONLY has platform_owner_coverage and platform_access_reviews; METHODS has the four new names; udf.py has note_seen, owner_coverage, access_reviews and confirm_access; both sets of test_platform tests are kept. Merged with main 3b44efe9: platform, app_settings, policy_fail_closed, rpc_surface, silent_except, incident_desk and mesh 157 passed, 1 skipped. | | #798 d067d9fe | PB-111 (merge of main) | PASS carried over | The remerge diff touches only test_best_practice_checkers.py: both sides' tests are kept, and the test #798 removed on purpose stays removed. best_practice_checkers + silent_except 27 passed. | | #701 49777d40 | Versioned contracts (merge of main with #763) | PASS 9.1 carried over | Since 21c170bd: a merge of main up to b261e537 (#763). The service.py conflict keeps #701's told/rest split and filters out the promoter before it (#763's me_out rule). Notify failures still go to problems. register_product still calls _followers(db, pid) (core.py:735), so the merge-order hazard is closed. The deprecation test now promotes as a third person (ops@). Tests on tree merged with main a6685b63: versioned_contracts, platform, platform_notify, incident_desk, rpc_surface, silent_except, mesh 135 passed; py311 compile clean; ui 297/297; docs --strict clean. | | #701 21c170bd | Versioned contracts (re-check) | PASS 9.1 | Fixed: product.changed now goes out in two parts. Followers not named in the deprecation notice get every change, Deprecated included. Followers already named get the changes without the Deprecated line, under a separate :told dedupe key (product_changed returns None when either list is empty). I reran my probe on the tree merged with main f269bd7a. finance is linked and bo follows; the product is deprecated in Prod with no version change. Result: product.deprecated goes to [chris] + project:finance, product.changed goes to [bo] with "Deprecated, stops ...", and chris is told once. The owner's test covers the follower with no link. Residual (accepted): a member of a linked project's role who also follows can hear it twice, because roles aren't expanded to people. Merge-order note stands: if #763 merges first, keep _followers(db, pid) in register_product. Tests: versioned_contracts, platform, platform_notify, rpc_surface, silent_except and mesh 99 passed; py311 compile clean. | | #701 8002010e | Versioned contracts (merge of main, publish loop re-check, draft) | CONDITIONAL 8.6 | The merge keeps both sides in each file. core.register_product records the port history and main's product_env/changes and followers; the audit row carries history and changes. platform_notify keeps all three kinds, and its VIEWS, _WHERE, titles and validate message are merged. The publish loop collects the deprecation and product.changed notices into one _governance_notify call; a failure is one problem and never fails the publish. Required fix: when a deprecation notice goes out (told=True), "Deprecated..." is dropped from product.changed for everyone. The deprecation notice reaches only the people who saved a link and the linked projects' roles, while product.changed reaches followers. So someone who pressed Follow, without a link, no longer hears that the product is deprecated. Probe on the merged tree with main f269bd7a: finance linked, bo follows, product deprecated in Prod with no version change. The only event is product.deprecated to [chris] + project:finance; bo gets nothing. On main, product.changed carries Deprecated to followers. Fix: keep Deprecated in product.changed, sent to followers not already in the deprecation notice, or drop only the people already told; add the follower case to the test. Heads-up for RM: #763 also changes register_product, to call _followers(db, pid) because product_followers becomes owner/admin-only. Whichever of #701 and #763 merges second must keep followers there, or every Prod publish with changes on Fabric raises. Tests on merged tree: versioned_contracts, platform, platform_notify, rpc_surface, silent_except and mesh 128 passed; py311 compile clean; ui 296/296; docs --strict clean. | | #449 db4ec75e | Animation style guide and visual identity (restack) | PASS 9.0 | Docs and images, plus contributor instructions. AGENTS.md gets a Visual identity section that adds a check; it states it changes no other agent's responsibilities and leaves the untrusted-input policy alone. .github/codex/review.md asks for a finding when the Visual identity line is empty, and says this "never makes a PR eligible for approve" (no approval path is loosened). The PR template gets a Visual identity line, CONTRIBUTING.md one rule, and ux/release-review.md adds UG-8 as non-blocking (backlog unless RM and Chris agree). animation-style-guide.md sits above forge-animations.md and motion.js and changes no code. Nits: docs/design/examples/forge-motion-samples.html loads Google Fonts (a third-party request when someone opens the sample); about 6 MB of images go into the repo (the 3 MB storyboard PNG has a web JPG beside it). Merged tree with main e39281d2: ui 295/295, docs build --strict clean (no issues). | | #803 07ffd792 | Data mesh tabs: the mesh on top, the project's editor behind Project (draft, stacked on #802) | PASS 9.0 | UI and docs only; meta_service.py changes one comment, not a message. Tab ids are unchanged, so goMeta callers still land. With previews hidden every mesh group is hidden, and the page falls back to Project > Entities as before. The problems and exception banners still show on every tab, so a blocked run or promote is never hidden. Project reopens on the last project tab. Nits (stale navigation text): mesh-home.js:58 says "Add one on the Domains > Data products tab" (now Project > Products and links); meshflow.js:58 and :151 say "its Design and Domains tabs" / "on its Domains tab" (joining is now Domains > Domain and workspaces; products are under Products and links). Merge order #801, #802, #803. Tests on the #803 tip merged with main e39281d2: ui 295/295; browser mesh-project 2/2, mesh-requests 3/3, mesh-home 4/4, mesh-overview 4/4, mesh-run-fx 3/3, data-requests 3/3, dictionary-card 3/3, directlake-card 2/2, home-action-first 4/4, model-build-fx 4/4, ossie-card 4/4, promote-fx 3/3, risk 7/7; rpc_surface, silent_except, mesh_home 27 passed; docs build --strict clean. | | #802 a086f853 | Data mesh > Requests: Waiting on you, Sent by you, Everything (draft, stacked on #801) | PASS 9.1 | No engine change: it reuses platform_requests and requestTable, so Approve, Decline and Withdraw keep the server-side checks (can_decide is only a hint). Works with no project open. The default view is Waiting on you when something waits, otherwise Sent by you. The How this works text is shared with Platform > Requests (REQUESTS_HOW) and now also names access grants, Accept, Decline and Withdraw. Home's Decide and Open Requests now go to Data mesh > Requests. Nit: Organization's "Waiting over 5 days" card opens Everything, which mixes in decided requests; Waiting on you would be closer, but for a CDO who can't decide that view is empty, so this is a judgment call. Tests on #802 merged with main e39281d2: ui 295/295; browser mesh-requests 3/3, mesh-home 4/4, data-requests 3/3; docs --strict clean. | | #801 057c9ca7 | Data mesh Home (follow-up) | PASS 9.1 carried over | Since 41b51c70: the quality nit only. The On call card reads "Late landing sources in Prod", and the doc and test match. | | #763 63c03e4a | Data mesh Wave 1: access reviews (re-check, draft) | PASS 9.1 | Fixed: incident_impact returns followers_hidden (products whose followers the platform won't list to this caller), and the Who's affected card says their followers aren't listed or told and that the owner can tell them. A PlatformError marks the product hidden; only a LookupError (no product_followers) falls back to owners and links. New test: dee (neither owner nor admin) gets people [olu] and followers_hidden [sales/orders]; olu, the owner, gets bo and none hidden. Docs (user-guide Who's affected) updated. Nit: on Fabric, an older UDF_Platform that lacks the function may answer 400 rather than 404, which reads as "hidden" rather than older; harmless (owners and links still count). Main e39281d2 merged in, clean. Tests on merged tree: platform, incident_desk, incidents, platform_notify, platform_repo, rpc_surface, silent_except 198 passed; ui 295/295; browser incident-impact 2/2, access-reviews 3/3, platform-notices 5/5; docs --strict clean. | | #801 41b51c70 | Data mesh Home: My team, On call, Organization (Preview) | PASS 9.1 | Chris said "go" at 00:08Z. mesh_home only reads: catalog list_products, whoami, list_requests, list_follows (the caller's own), access_reviews and owner_coverage, each behind a core.OPERATIONS guard so an older platform still shows the rest; the project's incidents_summary; and on call platform_landing("prod") and list_seen_shortcuts. Each source that fails is named in problems and its part shows as not known (None), never as zero. central/home.py is pure and every number counts a catalog row or an incident; nothing is estimated. The UI builds with h() (no innerHTML). With no project open, Home still renders (Set up a project stays a button). With previews hidden, the default tab falls back to Entities as Overview did. Nits: platform_landing (already in READ_ONLY) can save the adopted central landing config on this PC, pre-existing; landing lateness is read for prod only, so say so in the On call card; asks are capped at 10 with no "more" link. Will conflict with #763 and #765 in METHODS, READ_ONLY, styles.css and data-mesh.md (list-style). Tests on merged tree with main e39281d2: mesh_home, platform, rpc_surface, silent_except, audit, incident_desk 114 passed; ui 295/295; browser mesh-home 4/4, mesh-overview 4/4, mesh-run-fx 3/3, data-requests 3/3, dictionary-card 3/3, directlake-card 2/2, home-action-first 4/4, model-build-fx 4/4, ossie-card 4/4, promote-fx 3/3, risk 7/7; docs build --strict clean. | | #799 e01a3e08 | Estate X-ray: leftover Dataflow Gen2 staging lakehouses with Remove (draft) | CONDITIONAL 8.2 | The safeguards are careful and the code does what the brief says. The newest StagingLakehouseForDataflows

/ folder and mode, the schedule, and the capacity and gateway warning; Run now has a confirm naming capacity. Merges cleanly with main 21d318fc; merged tree: landing_copy_requests (11 new), landing_*, platform, requests_core_four, rpc_surface, server_lanes, silent_except 148 passed; copy job, connections, requests and policy neighbours 203 passed; ui 295/0; zensical --strict clean. I didn't rerun the owner's 22 full-suite failures. Required: (1) the approve dialog must name the zone and lakehouse the job writes to; detail.zone is taken from the request (any requester can set it through the API), defaults to Shared (read by every domain and by Dev and Test), and the dialog shows only the workspace. (2) Run now on the landed Copy job spends capacity, so it needs riskGate (it shows "couldn't run" when the check can't judge a Copy job, #589), per the confirm + risk check rule. Note: the Copy job definition fields are unverified on a tenant (Preview, as the PR says). | | #793 32bc953f | Entra ID group guidance per domain (Preview) | FAIL 7.4 (security) | Suggested group names per domain role, linking existing groups by object ID, and generated scripts (Graph PowerShell, az bash, CSV, Fabric roles PowerShell); app reads Graph with optional Group.Read.All (docs/permissions.md updated). Bash quoting (_sh), CSV formula guard, Graph filter quoting and _SAFE group names are sound. Blocking security defect: _ps() doubles only ASCII ', but PowerShell's tokenizer treats U+2018, U+2019, U+201A and U+201B as single quotes too (CharTraits.cs IsSingleQuote). Values a domain owner controls reach _ps() in the scripts: a linked group's group_name (link_entra_group strips control characters only), workspace names from product ports, and the domain name. Probed on the PR's tree: group_name x’; Start-Process calc; ’ is emitted as (Get-GroupId 'x’; Start-Process calc; ’' ...) and Write-Host 'x’; ...', so a domain owner's text leaves the string literal and runs as the Fabric or Entra admin who runs the script (a balanced payload such as x’ + (Start-Process calc) + ’ parses cleanly). A plain name like Chris’ HR also breaks the generated script. Fix: in _ps double every one of ' ‘ ’ ‚ ‛ (or replace the curly ones), add tests with each; consider limiting group_name to the characters a script needs. Also: conflicts with main 21d318fc in styles.css and service.py (routine). PR tree: entra_groups, rpc_surface, silent_except, server_lanes 41 passed, 1 skipped; merged-tree runs wait for the conflict fix. | | #792 5c4f23d2 | Platform repository: landing zones and policy templates as code (governance step 13) | CONDITIONAL 8.8 | landing_zones/.toml and policy_templates/.toml join the platform repository: export writes content only (no workspace or lakehouse ids, no switch times, no people's emails as readers; built-in templates skipped); diff compares them; deploy orders zones after domains and before sources, templates before policies, creates a new zone through the app's own create path (its lakehouse in the landing workspace), keeps platform readers the file leaves out, never removes a zone or template and never switches reads; a built-in template id and a zone without the landing workspace are blocked; older UDF_Platform functions get the Finish or repair message. Merges cleanly with main 21d318fc; merged tree: platform_repo, git*, landing_zones, landing_manifest, platform, platform_notify, polic*, rpc_surface, silent_except, server_lanes 259 passed, 1 skipped; 9 of platform_repo's tests fail with main's platform_files.py and git_service.py; git-platform-kinds browser 1/1 (0/1 with main's git.js); ui 294/0; zensical --strict clean. Required fix (correctness): a zone file whose id isn't the platform's own form is accepted and never settles. Probed on the merged tree: landing_zones/hr-payroll.toml (id "hr-payroll", allowed by the file-name rule) deploys as zone hr_payroll (core.zone_key), and the next diff shows hr-payroll only in Git and hr_payroll only deployed, so every later deploy plans the create again; a source with zone = "hr-payroll" would stay changed the same way, and an id zone_key refuses (for example 1hr) fails mid-deploy after earlier steps applied. read_repo should report a zone id (and a source's zone) that isn't core.zone_key(id) as a problem, with a test. | | #791 4abdbaf7 | Pipeline schedules on this PC (P6) | PASS 9.1 | A pipeline folder can be scheduled with Windows Task Scheduler (pipeline schedule CLI; target kind "pipeline"). Adding one reads the definition, refuses a SecureString parameter value (the default applies) and runs pipeline_run_check, so a schedule that can't run here without a missing mock is refused up front; the folder is read again at every run, and a definition changed since scheduling is refused before it runs. The run is a normal local run (Monitor > Runs and the Pipelines page show it, run_id links it), followed to its end. Schedules table and Monitor queue label it Pipeline (one-line workloads/queue.py change; Workload management sign-off). Merges cleanly with main 21d318fc; merged tree: pipeline_schedules, schedules, schedule_overlap, shared_schedules, workload*, pipeline*, workspace_pipelines, contract_fabric_client, rpc_surface, silent_except, server_lanes 344 passed; other local_schedules users (agent, agent_fleet, json_files, notebook_folders, notebook_runs) 95 passed; the 6 new tests fail on main's engine files; ui 294/0; zensical --strict clean. Nits: run_pipeline_here polls with no overall limit (activity policy timeouts still apply; same as a notebook schedule); CLI reads --mocks with open() outside a with-block; a --param or --notebook without "=" is kept with an empty value instead of refused. | | #790 29d8a08b | Notebook editor: Best practices panel (Preview) | PASS 9.1 | governance_practice_settings(kind) resolves the policies in force for the open project into {rule: enabled, severity} for notebook or sql rules: a rule no policy names keeps its own setting; two policies naming one rule turn it on if either does, at the worse severity (FINDING_SEVERITIES order Error, Warning, Info); a policy read failure falls back to the rules as built with a note. Read-only and listed in audit.READ_ONLY; the panel passes the settings to the existing notebook_practices, so the editor and Check now agree. Panel built with h() (no innerHTML). Merges cleanly with main 21d318fc; merged tree: best_practice_checkers, best_practice_checks, governance, rpc_surface, silent_except, server_lanes 106 passed; notebook-practices browser 4/4 (0/4 with main's notebook.js and no nbpractices.js); ui 295/0; zensical --strict clean. Note: no test covers one policy turning a rule off while another turns it on (the code keeps it on). | | #789 285b5036 | Re-check: no block buttons on a block cut short (nit) | PASS 9.2 carried over | One change: parse_unified sets id None on the block being read when the 5,000-line limit cuts the diff, and the page shows no buttons without an id. The new test fails on 2ccb0266's repo.py. Merges cleanly with main 21d318fc; git_hunks + git* + silent_except 75 passed; my stage/unstage/discard probe still round-trips. | | #788 fc6911d0 | Re-check: test_cloud fake entity gets date_column | PASS 9.0 | Condition fixed: the only change is date_column=None on test_cloud's fake entity. Merged tree with main 21d318fc: 560 passed (semantic-related, date table, model_practices, meta, governance, best_practice, silent_except, rpc_surface). Still open, as a documented check rather than a condition: whether a model whose date table has the Unknown member at 1899-12-30 (a gap before the real dates) is accepted with dataCategory: Time and isKey set through TMDL; the owner expects so (the no-gaps check is Desktop's dialog), and it waits on a tenant test with Chris's yes. | | #789 2ccb0266 | Source control: stage, unstage or discard one block of changed lines (draft) | PASS 9.2 | apply_hunk re-runs git diff (-U3, --cached for unstage), finds the block by a hash of its header and lines, and refuses with nothing applied when it isn't there; then git apply (--cached, --reverse as needed) with only that file's header and that block. Conflicted, untracked and binary files are refused; discard needs confirm in the engine and a danger confirmDialog in the page; the page offers blocks only for a text view of a tracked file in Staged or Changes (not a notebook's cell view, a commit compare or a conflict). My probe staged, unstaged and discarded a block on plain, two-block, Latin-1, CRLF with autocrlf, raw CRLF, no final newline and trailing-whitespace files: each round trip worked and discard restored the file. 6 tests fail on main's repo.py. Merges cleanly with main 21d318fc; merged tree: git_hunks + git* + rpc_surface + silent_except + server_lanes 85 passed; browser 6/6; ui 294/0; zensical --strict clean. Note: in a diff cut at 5,000 lines, the last block can be partial, so its buttons always answer "changed since shown"; hide them on that block. | | #788 d9736fc8 | Elegant BI C: [model] date_column marks a date dimension as the model's date table; #753 nits (draft) | CONDITIONAL 8.6 | Sound design: opt-in per entity, validated (scd1/scd2 with a surrogate key, contract type date or datetime); TMDL gets dataCategory: Time on the table and isKey on the date column, only when the column maps to dateTime; the Unknown member gets 1899-12-30 instead of a blank, with one full rewrite for an existing table (needs_unknown_date) and with_unknown_date on every overwrite. #753 nits done: delta_type is public; register() refuses a checker from another runs_in taking a kind. Merges cleanly with main 21d318fc; zensical --strict clean. Condition (CI red): on the merged tree, tests/test_cloud.py::test_semantic_model_keeps_table_names_when_a_same_named_table_arrives fails with AttributeError: 'SimpleNamespace' object has no attribute 'date_column' (semantic.py:117); it passes on main. Give the fake entity date_column or read it with getattr; the rest: 559 passed (semantic-related, date table, model_practices, meta, governance, best_practice, silent_except, rpc_surface). Should verify: Power BI's date table rules also ask for no missing dates, and an Unknown member at 1899-12-30 opens a gap before the real range; try Mark as date table on a tenant model, or date the Unknown member the day before the dimension's first date. | | #754 53968c89 | Main merge by RM (Service mixin conflict) | PASS 9.1 carried over | Parents 1718f6af and main 21d318fc. Comparing the PR's added and removed lines with 1718f6af's, the only difference is the Service class line: main's current mixin list (with WarehouseMonitoringMixin, ModelDirectLakeMixin, ModelDictionaryMixin) plus EditorMixin. Merges cleanly with main. On this head: rpc_surface, server_lanes, silent_except, editor, warehouse_monitoring 108 passed; ui 294/0; rustc --test watchdog.rs 5 passed. | | #782 74bda231 | Re-check: security read fixes (hash-pinned install, policy keys, secret removed) | PASS 9.2, pending Security QC | Verified for real: Runtimes.install("16.4") from this head ran pip -I --isolated --require-hashes --only-binary=:all: --no-deps against dbconnect_locks/16.4.txt on Python 3.12 and installed databricks-connect 16.4.23 with all 28 pinned wheels (setuptools included, so the distutils shim is there); the worker then started on that folder and a cell saw pyspark 3.5.2, with DATABRICKS_TOKEN and DATABRICKS_CLIENT_SECRET gone from os.environ. pip gets only the temp, proxy and system variables; the log is redacted; dbconnect_index_url must be https with no user info; allow_dbconnect_install fails closed to off; a runtime line without a lock file is refused before "install it" is suggested; SPARK_CONNECT* is stripped too; find_cli takes only databricks.exe in drive-letter folders on Windows, and a sign-in that needs the CLI is refused when it's missing; an env: secret's own variable is removed from the worker. Merges cleanly with main 9f6f5a62; merged tree: dbconnect, databricks_sql, engines, silent_except, policy_fail_closed, app_settings, rpc_surface 182 passed, 1 skipped. Nit still open: started.client is "" with the real package. | | #787 4aceb29b | Re-check: host check, opt-in auto build, security read fixes (draft) | PASS 9.1 | Blocking fixed: cluster() is now a fullmatch of https://<[a-z0-9-] labels>.kusto.fabric.microsoft.com, so the backslash, tab, %2f, @, port and trailing-dot strings from my probe are all refused, and a 50-60k character input is refused in under 10 ms (no backtracking). Should-fixes fixed: "without asking again" is unticked by default, and Settings > Advanced lists those workspaces with Remove. Also from the security read: a same-named queryset the app didn't make is left alone (its description must be the app's), and status lists only the app's querysets; RecursionError from a deep definition is a per-warehouse failure. 7 tests fail on 1bdf10ea's engine files. Merges cleanly with main 9f6f5a62; merged tree: monitoring, rpc_surface, silent_except, policy_fail_closed, server_lanes, app_settings 145 passed, 1 skipped; warehouse-monitoring + settings browser 13/13; ui 294/0. Nit: warehouse_monitoring.py still imports urlsplit and defines HOST_SUFFIX, now unused. Stays draft until Chris reacts to the mockup; Security QC's own re-check stands apart from this verdict. | | #787 1bdf10ea | Warehouse Monitoring tab and monitoring views (WH-19, Preview; draft) | FAIL 7.8 | Well built otherwise: the KQL is only the module's own views, with a GUID warehouse id and a whitelisted window; Kusto runs with request_readonly; the database is always read from Fabric by id; build needs confirm=True and the wh_monitoring_views policy (fails closed to off); merge keeps a person's own tabs. Merged-tree tests: warehouse_monitoring, rpc_surface, silent_except, policy_fail_closed, server_lanes, app_settings 135 passed, 1 skipped; warehouse-monitoring browser 7/7; ui 294/0. Blocking (security): cluster() checks the host with urlsplit, which keeps a backslash in the hostname, and requests reads the same URL differently: "https://evil.com\\.kusto.fabric.microsoft.com" passes cluster() and the request (with the Kusto bearer token) goes to evil.com; a tab gives "evil.com.kusto...". The URI comes from Fabric's queryServiceUri, so it's hard to reach, but this check is the stated boundary for the token: allow only [a-z0-9.-] labels ending in .kusto.fabric.microsoft.com (or compare the host requests will use), with tests for these strings. Should fix: "without asking again" is ticked by default, so one confirm opts the workspace into Fabric items being created later with no confirm, and nothing in the app takes a workspace off wh_monitoring_auto again; default it off and give the tab a way to stop it. Notes: the Kusto scope (kusto.kusto.windows.net) with the Fabric CLI public client isn't tried on a tenant; status lists every queryset ending _monitoring, including ones the app didn't build. Security read recommended (new token audience and host). | | #786 aa02cf11 | OneLake uploads finish on a slow line (issue #785) | PASS 9.0 | Cause matches the issue's error (object_store's 30 s request and 180 s retry limits, many parts sharing ~5 MB/s). delta-rs 1.6.6 (the pinned version) knows DELTARS_MAX_CONCURRENCY_TASKS and DELTARS_MAX_IN_FLIGHT_UPLOAD_BYTES, and takes the new options: a probe write to abfss with storage_options() reports retry_timeout 1800s (180s before), and a bad duration is refused, so the keys are parsed, not ignored. Retry is narrow: only "Error performing PUT" on a .parquet path, never _delta_log, and only dropped/timeout/408/429/5xx; a 403 fails at once; Spill.reader reopens the spill so a streamed write is re-read from the start (tested for both table and stream). 5 new tests fail on main's files. Merges cleanly with main 5807c562. Full sidecar suite on the merged tree: 4753 passed, 76 skipped, 2 failed: both test_warehouse_driver, because my test venv lacked the declared mssql-python; with mssql-python 1.16.0 (constraints.txt) installed they pass, so the suite is clean. Nits: the 15/30 s waits between tries aren't cancellable; a dropped try leaves its uploaded Parquet files in the table folder, outside the table, until VACUUM, which the docs could say. Not yet tried on a slow line: Chris's rerun is the check. | | #784 dd2316bc | Test fix: OneLake upload-wait flake | PASS 9.1 | Test-only. The upload now sleeps 1.0 s before the fixture's own 0.2 s, so the bound (wait under half the upload) has 0.6 s of room for recording the write, which took 0.23 s on a busy Windows runner; the assert now prints the timings. The check still means something: wait_seconds must be well under the upload, which a direct write can't meet (owner reports 1.22 vs 0.605 when forced; I didn't rerun that). Merges cleanly with main e329a32b; merged tree: onelake_writes + silent_except 40 passed; the target test 3/3. Costs about 1 s of test time. | | #782 beef0cf3 | Re-check: Databricks Connect fixes (.pth, SPARK_REMOTE, runtimes 18/19, CLI path) | PASS 9.0, pending the security read | Blocking fixed and verified against the real client: dbconnect_worker.py from this head, with databricks-connect 16.4.23 installed by install_command on Python 3.12, starts and runs a cell that imports distutils and pyspark 3.5.2 from the runtime folder. SPARK_REMOTE is stripped (with SPARK_REMOTE passed straight to the worker, the client starts against it at once, so the strip matters); RUNTIME_PYTHON knows 18 and 19, and a newer runtime says to update KratosForge; DATABRICKS_CLI_PATH comes from find_cli and Popen runs in the runtime folder. 4 new or changed tests fail on 71078a6f's dbconnect.py and worker. Merges cleanly with main 9ad4b4a2; merged tree: dbconnect, databricks_sql, engines, silent_except, sql*, rpc_surface, policy_fail_closed 558 passed, 1 skipped. Nit: the started message's client is "" with the real package (databricks.connect has no version); importlib.metadata.version("databricks-connect") gives it. | | #783 cf01606f | Warehouse project: #774's two nits | PASS 9.0 | Nit 1: the test now drives Compare through the page with wh_project_compare swapped for an error (cancelled: no toast; other: "Could not compare: ..."), and restores _fdCall in finally. Nit 2: whWhy() gives the project list, file load and deploy step lines "The sign-in window was closed." instead of an empty reason. Merges cleanly with main 9ad4b4a2; merged tree: warehouse-project 8/8, ui 294/0. Note: no test covers whWhy (warehouse-project passes 8/8 with main's whproject.js too); one inline-failure assert would keep it. | | #782 71078a6f | Databricks Connect on a cluster (Preview, fakes; draft) | FAIL 7.5 | Good shape: databricks-connect never loads in the engine (ADR-004; a pip --target folder per runtime line instead of the ADR's venv), a python -I worker per session over JSON lines, the version check before start, RemoteAuthorization per cluster before the cluster is read, DATABRICKS* and PYTHON* stripped from the worker's environment; sql.spark_fixes folds in #780's nit with no behavior change. Merged-tree tests: dbconnect, databricks_sql, engines, silent_except, sql*, rpc_surface 514 passed. Blocking (verified with the real databricks-connect 16.4.23 installed by Runtimes.install_command on Python 3.12): the worker adds the folder with sys.path.insert, so the folder's .pth files never run; setuptools' distutils-precedence.pth is what gives Python 3.12 distutils, and pyspark 3.5.2 imports distutils.version, so every start fails with "No module named 'distutils'". site.addsitedir(folder) moved to the front of sys.path fixes it (imports then load pyspark 3.5.2 and numpy from the folder). Should fix: (1) SPARK_REMOTE isn't stripped and databricks.connect.session uses it before the SDK config, so a SPARK_REMOTE on the PC connects somewhere other than the authorized cluster; (2) RUNTIME_PYTHON stops at 17, but databricks-connect 18.x and 19.x are on PyPI for Python 3.12, so DBR 18/19 clusters are refused as unsupported; (3) the SDK finds the CLI itself (_find_executable over PATH, "" and "." resolve to the current folder), the same gap #780 closed with find_cli: pass DATABRICKS_CLI_PATH=find_cli() and give the worker a cwd. Security read recommended (third-party code from PyPI run with the person's sign-in, the SPARK_REMOTE redirect). | | #781 024ab488 | Test fix: appearance-layout waits for the help panel to hide | PASS 9.2 | Test-only. features.js queues syncHowToggle on requestAnimationFrame (line 268), so a one-shot isHidden could run first under load; both checks now waitForSelector(state hidden), which is as strict as isHidden (both accept a missing element) but waits. Merges cleanly with main 6bc52ace; appearance-layout 7/7 three runs in a row on the merged tree. | | #780 2c523555 | Re-check: Databricks SQL on DuckDB gets the Spark fixes | PASS 9.0 | Blocking condition fixed: _databricks() reads with the databricks dialect, then applies sql.parse's _spark_names, _spark_dates and spark_substring. My probe now gives identical results for both dialects (substring from 0 'ab', date_add a date, trunc 'MM' 2024-03-01, unix_timestamp integer, add_months named as Spark names it); read_csv and INSTALL still refused. The new parametrized test fails on b5a4c9c6's local_sql.py (5 failed). Merges cleanly with main e5983e6a; merged tree: databricks_sql, engines, silent_except, sql* 499 passed. Nit: local_sql calls sql's private _spark_names and _spark_dates; a public sql helper would keep the two paths from drifting. | | #780 b5a4c9c6 | Databricks SQL on DuckDB (translated); #764 review notes (draft) | CONDITIONAL 8.2 | #764 notes all fixed: find_cli searches only absolute PATH folders (test plants a databricks in the current folder); warehouse and statement IDs checked against ^[A-Za-z0-9-]{1,64}$ before any URL (5 bad IDs, no calls made); 2-hour poll limit cancels on the warehouse (clock-injected test); docs and descriptor say cells can change warehouse data. Security of the new dialect holds: the closed DuckDB connection refuses read_csv, ATTACH, INSTALL and SET enable_external_access. Blocking condition: the Databricks path parses with plain sqlglot and skips sql.parse's Spark fixups (spark_substring, _spark_dates, _spark_names), so a query tried on this PC answers differently from the warehouse: substring('abcdef', 0, 2) gives 'a' (warehouse and the Spark path give 'ab'); date_add returns a timestamp, not a date; trunc(d, 'MM') errors; unix_timestamp is a double; add_months names its column after the DuckDB SQL. Databricks SQL follows Spark's semantics here, so it needs the same fixups, with tests comparing these against the Spark path. Merges cleanly with main 65ffefe0; merged tree: databricks_sql, engines, silent_except, sql* 494 passed. | | #779 992755ae | Notebook run: "has no code to run" names the skipped Run on Fabric cell (#762 nit) | PASS 9.3 | _notebook_code computes skipped_step once and appends it to the error when the only code cell is the step; return value unchanged. New test fails on main's services.py (59/1), passes with the change. Merges cleanly with main 65ffefe0; merged tree: test_integrations_executions, silent_except, notebook_cells 87 passed; py_compile clean. | | #754 1718f6af | VS Code Phase 2: editor_pending and editor_status added to the shell's QUICK list | PASS 9.1 carried over | One-file change since the ec2d93e5 PASS: watchdog.rs QUICK now lists editor_pending and editor_status, matching server.QUICK. test_server_lanes 9 passed; with ec2d93e5's watchdog.rs, test_quick_calls_match_the_shell_time_limit_list fails. rustc --test watchdog.rs: 5 passed. Conflicts with main in service.py (mixins list, RM-resolvable). | | #771 3884b3eb | Re-check: Prove waits for the Parameters bar, main merged | PASS carried over (92249be5) | Changes to the PR's own lines since 92249be5: prove.js awaits nbInputsSaved() before prove_start, and the ui.test regex covers it (fails with 92249be5's prove.js, 293/1). Merges cleanly. Merged tree: pytest (prove, integrations_executions, silent_except, rpc_surface) 158 passed; ui 294/0. Nit: the prove.js comment says "both runs". | | #761 3296849a | Re-check after main merge (conflicts with #770) | PASS 9.0 carried over. The only change to the PR's own lines is the union with #770's incident.impact kind: platform_notify.py KINDS, VIEWS (onelake: products), labels, _WHERE, the ValueError text and the startswith tuple carry both kinds; platform-notices.js kinds list and PN_WHERE add products. Merges cleanly. On the merged tree: pytest (platform, rpc_surface, silent_except, notify, governance_notices, incident) 161 passed; follow-product 3/3, incident-impact 2/2, platform-notices 5/5; ui 294/0. | | #753 5c86ed7c | Re-stack on main after #748 (RM) | PASS 9.1 carried over | Against main its diff is the same 10 files, +358/-7, with exactly the added and removed lines it had at 6a5b142c against 3d8a59e1; the Direct Lake files match main. Merges cleanly; model_practices, model_directlake, rpc_surface, silent_except pass; zensical clean. | | #777 415500f4 | Main merged in after #726 (RM) | PASS 9.1 carried over | The PR's diff against main has the same added and removed lines as aeb27796; the only resolution is the audit.READ_ONLY union (ossie folder methods next to main's dictionary methods). Merges cleanly; tmdl, model_ossie, rpc_surface, silent_except, audit and dictionary tests pass. | | #777 aeb27796 | Re-check: TMDL reader security fixes | PASS 9.1 | P2 fixed: column_ref is parsed by hand with a 1,024-character cap ("a."8000 refused in under 1 ms; a 4 MB relationship file 0.02 s, was quadratic); quoted names with '' and dots still parse. P3s fixed: deep TMDL and deep model.bim give "nested too deeply" ValueErrors; a model.bim that isn't an object is refused; the semantic/ folder, model folders, definition/ and every file go through lstat plus _is_link (junctions and other reparse links included), and the walk uses os.scandir without following links (my probe: a linked folder and a linked .tmdl under definition/ are skipped). The new tests hang on 542010bb (killed by timeout) and pass here; tmdl, model_ossie, rpc_surface, silent_except 61 passed; ossie-card 4/4; zensical clean. Nits: _tmdl_files recurses per folder level with no depth cap; unquoted dotted names now split at the first dot (TMDL quotes such names). Security QC's own probes are for that thread to rerun. | | #752 6d7015ab | Re-check: PB-018, PB-044, PB-054, PB-065 to Accepted | PASS 9.1 | Own diff is docs/product only (a0af478b plus a main merge). The four items move to Accepted with evidence citing each review record and Chris's "I accept all 4" (cmsg_018T4o2pQdpbLBNhHpgVNNGpREfN9JPWyocAdUEQR2tzj9), each naming its limitations. #752, #772 and #773 merge cleanly in three orders to one tree; #773's strict check is consistent on #752 alone and on all three merged; zensical clean. Nit: with PB-054 Accepted, the unbuilt sources list has no backlog item of its own (FEAT-MESH-01 points at "PB-054's other half"). | | #767 f5c29d55 | metadata_of uses environment_of (designation workspaces) | PASS 9.2 | metadata_of now unions located(entities) with environment_of per environment, so designation workspaces count and a designation named without an id makes the result None (refused for a limited tool), as #758 does for one environment. The designation test fails on main and passes here; integrations workspace scope, conformance and silent_except 72 passed. Needs Workload management sign-off (workspace scope). | | #778 e6d5eaf2 | Test-only: Prove cancel race waits for prove_start's id | PASS 9.3 | The patched Kernel.start waits (up to 10 s) on an Event set after prove_start returns, so the proof's thread can no longer read started["id"] before it exists; the 15 s and cancelled asserts are unchanged. The race test passed 3 runs of 3, and test_prove 76/76. | | #777 542010bb | Ossie export from TMDL kept in Git (offline TMDL reader) | FAIL 7.9 (corrected from CONDITIONAL 8.9) | Chris approved the follow-up (cmsg_018T4o2pQdpbLBNhHpgVNNGpQDLaxvcpVUcmA7GahzwnDE). Both new methods are read-only and in audit.READ_ONLY; export_folder only accepts a path from the enumerated semantic/.SemanticModel list, skips symlinked .tmdl files and files resolving outside the folder, and caps size; the parser always advances (no hang), but I missed a quadratic regex: column_ref's _NAME.\._NAME lets [^\s=']+ split at every dot, so a relationship fromColumn of "a."8000 plus a quote takes 2.3 s and grows with the square of the length, enough to hang the engine on a crafted file under semantic/ (Bug fix and security QC P2, confirmed by my probe: 2000 dots 0.14 s, 4000 0.57 s, 8000 2.0 s). A security finding can't be conditional, so FAIL until fixed. Merges cleanly; pytest tmdl, model_ossie, rpc_surface, silent_except, integrations scope and conformance 106 passed. Condition (BQ-007 / #716 standard for importers): a TMDL file nested 3,000 levels deep escapes as RecursionError from _Reader.block; to_bim (and the model.bim json.loads path) should turn it into a plain "nested too deeply" ValueError, as model_ossie.py line 77 does, with a test. Nits: a semantic/ folder or .SemanticModel folder that is a Windows junction isn't caught by is_symlink() (Path.is_junction on 3.12); the byte cap (80 MB) and the 20M-character cap differ, so up to 80 MB is read before to_bim refuses it. | | #759 b8d5edc0 | Re-grade after #757 merged | PASS 9.0 (was CONDITIONAL 8.9) | The only condition was that it cited #757 as merged before it was; #757 is on main as 375f47e0, so the G4 row is now true. Head unchanged, merges cleanly into main. | | #768 6d2577c5 | Re-stack on main after #757 merged (375f47e0) | PASS carried over (9.2) | Same patch-id against main 375f47e0 as the passed ce4360e5 against ebad0fdc (8 files, +174/-91, ci.yml and build.rs included); merges cleanly. Main carries ebad0fdc's files unchanged apart from #751's azure-setup.md row. Shell job on this head must be green before merge. | | #776 ee6650cd | Re-check: UX must-fix (play icon on the solid Run all) | PASS 9.2 | One CSS line, .tool.primary .play { color: inherit; }, which outranks .tool .play (0,3,0 over 0,2,0), so the icon takes the button's white. The new assertion (icon color differs from the button background) fails with 1065652f's CSS and passes now. notebook-action-first 6/6, ui 292/0. | | #776 1065652f | Re-check: AF-4 nits | PASS 9.2 | Nit 1 fixed: lastRun.whole is true only when the run covered every cell Run all would run, and Publish needs it. Nit 2 fixed: only the headline is role=status. Nit 3 kept with a sound reason (the notebook keeps no record of its last publish). The new partial-run test fails at 592f10c9 and passes now. notebook-action-first 6/6, actions 5/5, notebook-cells 7/7, ui 292/0, zensical clean. | | #776 592f10c9 | AF-4 notebook run-first, next step after a run | PASS 9.1 | Chris approved the build (cmsg_018T4o2pQdpbLBNhHpgVNNGpRsgJWVXFWq72vmaRYHMEkY). Run all is the solid button and Publish goes outline (split styling generalised); nbnext.js declares 8 notebook actions through actions.js, each with a why-not, Run in Fabric keeping its own risk gate; recommendations rank failure, validation findings, unsaved, then Publish after a full clean run; the line shows only for runs of 2+ cells on this PC and closes until the next run. Merges cleanly. Browser: notebook-action-first 5/5, actions 5/5, confirm-dialog 4/4, environments 4/4, home-action-first 4/4, notebook-command-mode 15/15, notebook-cells 7/7; ui 292/0; action-baseline: command bar finds all six; zensical clean. Nits: after Run selected cells or Run all above, "Every cell ran." and Publish follow though only that subset ran; role=status on a line holding buttons re-announces it on each redraw; Publish is offered even when nothing changed since the last publish. Needs UX review too. | | #761 3ec0fcf6 | Re-check after main merge: follow a data product | PASS 9.0 | The only change from the passed 5a624a2a is the conflict with #749: the product header keeps both Follow and Ask for a change, and How it works names both writes (catalog.request and catalog.follow). Merges cleanly into main. follow-product 3/3, data-requests 3/3, product-access 3/3, requests-core-four 8/8, ui 292/0; pytest platform, rpc_surface, silent_except 87 passed; zensical clean. Earlier nits stand (reads that create tables; follower list is personal data; promoter not excluded). | | #775 e1329961 | Fix main red: warehouse-plan markup test allows the sr-only level prefix | PASS 9.3 | One test line. The prefix comes from #747's sqlplan.js line 81 (an sr-only span "Level N: " before the name, built with h(), so text). The match is still start-anchored and needs the literal escaped markup right after the optional prefix; the img count of 0 and planPwned undefined asserts are unchanged, so the safety check is no weaker. warehouse-plan 4/4 on main plus #775; 3/4 on main (this test). | | #774 38345f56 | Warehouse project toasts skip cancelled sign-ins (#747 nit) | PASS 9.1 | whFailed() wraps all six whproject toasts and skips the toast when friendlyError says cancelled (SignInCancelled). Browser: warehouse-project 8/8, page 18/18, deploy 5/5, changes 7/7, ui 292/0; warehouse-plan's one failure is on main too (fixed by #775). The new test fails on main (whFailed undefined). Nits: the test calls whFailed directly instead of one of the six paths; inline failures (lines 16, 78, 544: project list, file load, deploy step) still set state failed with an empty reason when a sign-in is cancelled. | | #752 ff951448 | Re-check: product data carries the PB-review should-fixes | PASS 9.2 | Delta since 4a1f8df3 is FEATURE_INVENTORY.json/.md only: FEAT-GOV-04 next action is the HD-030 switch plus the two-PC test; FEAT-MESH-01 drops "platform_revoke has no UI", names the missing source registry screen and lists #694; FAB-06 and ORC-02 carry #772's wording and PRs. #752, #772 and #773 merge cleanly in all three orders I tried and reach the same tree (ca29ce90); #773's checker says consistent on #752 alone and on all three merged; zensical --strict clean. Nit: GOV-04 says #744 "moves" the switch to policy, but #744 is a draft waiting on Chris's fail-closed decision; "would move" is accurate. | | #726 e52c6bc3, #748 1d6bc611 | Re-stack check after #725 merged | PASS carried over | Patch-ids match the passed heads (#726 3d8a59e1 against f5481a9d, #748 94738550 against f5481a9d) against main d04934c3; both merge cleanly into main 9fcab590, #748 also on top of #726. | | #773 b574d128 | Product data check fails when a generated table differs from the JSON | PASS 9.2 | check() now renders inventory, backlog and roadmap into memory (_pending) and compares with the pages; only _replace and the JSON save write files, and check reaches neither, so it never writes (my tamper test: a hand edit in FEATURE_INVENTORY.md fails check with exit 1 and the file is left as edited). The new checker run on today's main finds the real FEAT-GOV-04 drift from #721; with #773 merged, and with #773 then #772, check is consistent and the two merge cleanly (same GOV-04 change). Workflow: one python ... check step after the zensical build in the build job, which already has setup-python 3.12 and contents: read; PRs with docs/* changes get it, deploy is unchanged. zensical --strict clean. Nits: GOV-04's next action still says to compare signed-in identities, which #721 did; the error names the page, not the feature that differs. A drift reaching main would also stop the Pages deploy until fixed. | | #771 92249be5 | Re-check: proof approval bound to the bar's values | PASS 9.2 | Nit 1 fixed: bind_proof returns the saved bar values as inputs (registry adds bound arguments to the approval's arguments, so the card shows them) and folds them into notebook_sha256; start_proof refuses with "changed after it was approved" when the current values or the bound ones don't match the hash. My probe: widget changed after approval, refused; Reset to code after approval, refused; values put back, starts; a call without inputs can't reach the handler (TypeError). pytest 451 passed, 3 skipped (integrations*, prove, side_by_side, silent_except); the new test fails at 278d2f07 (KeyError 'inputs'). Note: prove_start re-reads the values a moment after the check, a window only the person's own bar edit could hit. | | #771 278d2f07 | Prove uses the Parameters bar on both runs (KF-DE-001 slice 2) | PASS 9.1 | prove_start now takes the bar's values itself (_bar_parameters, _bar_suffixes), as side by side and Run in Fabric do: Fabric gets executionData parameters, the PC run gets runCell suffixes and widget values; a red parameter refuses before save or publish. Dropping the parameters argument breaks no caller: the UI sends publishPayload (no parameters key), integrations start_proof passes five positional arguments, server dispatch has no other caller, and tests pass. The receipt now records the parameters actually sent instead of a caller-supplied dict. pytest 292 passed, 3 skipped (prove, side_by_side, wizard, replay, integrations_executions, notebook_inputs, silent_except), kernel_process 19/19; the new test fails on main (execution_data None). zensical clean. Nits: an external tool's approved proof now runs with the person's bar values, which the approval hash and card don't include and docs don't mention (external run_notebook doesn't use them); a widget value shown in red isn't refused on the PC run (same as side by side today). | | #769 2647b0f1 | Help on request (re-check, rebased on d04934c3) | PASS 9.2 | My three nits are fixed: showDialog opens every How this works panel unfolded, with aria-expanded true and title Hide. The forced-open CSS is gone, so the toggle works and reads true, and foldable now reads the box's class, so an outside unfold stays in sync. ui-guidelines.md matches. Switching back to Beside moves an About drawer's Learn more link back under the page's intro line. appearance-layout gains a dialog test (7 tests). Tests: ui 292; appearance-layout 7, monitor-how 3, operations-how 3, platform-overview 8, ready-to-work 2, notebook-runs 3, all passing on merged tree 29034c4c. Stays a draft until Chris reacts. | | #761 5a624a2a | Data mesh Wave 1: follow a data product (draft) | PASS 9.0 | Migrations are additive: ensure_follows creates catalog.follow and catalog.product_env only if missing; ensure_schema includes it. UDF handling: platform_follow goes through call_or_repair ("Finish or repair"); _my_follows returns None on an older UDF_Platform, so Data products hides Follow (can_follow false) instead of failing; on an old UDF register_product returns no changes, so nothing is posted. register_product reads the env's last publish (product_env) and old port columns before the upsert, so changes (deprecated, version, columns removed, added or retyped) are told once per environment; only Prod posts, through _governance_notify (never fails the promote; problems returned). Follow and unfollow act only on the caller's own row; following needs a sign-in and an existing product. Nits: list_follows (on every Data products load) and product_followers call ensure_follows, so a read can create tables (as in #763; better to treat missing tables as empty); product_followers lets any caller list who follows a product, which is personal data #765's security.md section should name; the promoter isn't left out of the recipients. Tests: platform + rpc_surface + silent_except 79 passed; governance + governance_notices + platform_notify + platform_repo 82 passed; follow-product browser 3/3 on merged tree 645adc4f. #763 and #765 rebase over it. | | #760 24ae9fe5 | AF-2 Home, action first (Chris approved "Closer to today") | PASS 9.1 | Start something and Recent notebooks move to the top, with Continue for the notebook changed last (reduce over the numeric st_mtime list_notebooks returns). Sign-in is asked in one place: the sign-in callout shows only when Ready to work is hidden, and Get started drops its sign-in step while Ready to work shows (readinessShown). Signed out, the summary says to sign in so Fabric can be checked, not "nothing needs your attention", and the "couldn't check" list is dropped since nothing was tried. UI only; guide and action-first.md updated. Nit: Continue opens by name, so with the same name in two places it opens whichever openNotebook resolves, as the Recent list already does. Tests: home-action-first 4, ready-to-work 2, home-at-once 1, home-reuse 5, ui 292, all passing on merged tree 6547b67f. | | #759 b8d5edc0 | release-readiness.md refresh | CONDITIONAL 8.9 | Checked against main: evidence-pack.md, readiness-checklist.md, telemetry.md and release-management README#rollback exist; KEEP_BUILDS 20 plus every build promoted to Stable (ci.yml 287-399); with auto_update false only this build's engine installs (main.rs check_engine_build); "not ready for company-wide rollout" with G1 and G2 open matches memory and the checklist. Defect: G4 is marked "Merged" and the Limits line says "unless IT hosts the engine itself", both citing engine_download_url (#757), which isn't on main yet (still in review, with #768 stacked on it). Fix: merge only after #757 (RM ordering), or say "in review (#757)" until it merges. Docs only. | | #755 c80fcc80 | WH-16 table detail (re-check: change path) | PASS 9.2 | The change path now strips the same exact trailing hint per batch before classifying. Probe on merged tree 90028283 (writes off / on): past-time SELECT is read_only / read_only; DELETE, UPDATE, SELECT INTO with the hint are refused / warehouse_write (previewed and confirmed); GRANT, EXEC, OPENROWSET, a variable or expression in the hint, and a doubled hint stay refused or fabric_mutation; a GO batch with DROP after a past-time read gives read_only + warehouse_write. "SELECT 1; OPTION (...)" classifies as a read and fails as a syntax error in Fabric, which writes nothing. Tests: warehouse suites + silent_except 172 passed (driver tests deselected: mssql_python not in my venv); warehouse-detail browser 4/4. | | #765 97e3f8b9 | Owner coverage (re-check) | PASS 9.1 | Fixed: whoami is read-only again; the Platform page calls the new audited platform_note_seen once per run, and it writes in a background thread, so nothing waits. New policy-only key platform_presence (not in USER_KEYS), default false and false under RESTRICTED: off means nothing is written and owner coverage skips the quiet check (the card says why). security.md names catalog.person and catalog.audit as personal data readable by Platform workspace Viewers, with works council advice; azure-setup.md lists the key. owner_coverage and _last_seen no longer create the table on a read. Note for Chris: presence is per-PC policy, so it must be pushed to every PC to be useful. Tests: platform + app_settings + policy_fail_closed + silent_except + rpc_surface 115 passed, 1 skipped; owner-coverage browser 2/2 on merged tree 10c4d4b9. | | #770 9862c241 | Blast radius (re-check) | PASS 9.2 | Fixed: tell_impacted takes the UPNs the person confirmed and refuses, posting nothing, when they differ from the current set (case-insensitive); test covers the mismatch. Tests: incident_desk + silent_except + rpc_surface 46 passed; incident-impact browser 2/2 on merged tree 2404ce1f. | | #756 509c42d4 | Docs audit 3 (index and guide wording) | PASS 9.2 | Each new claim checked against main: DEVELOPMENT_STATUS.md exists; warehouse changes, Git project, compare and deploy are merged (WH-12, WH-13); kratosforge:// links merged (#710, #712); Run and Refresh in Fabric after a confirm (#739); Gateway.Read.All decline not asked again until restart, other failures retried on Refresh (fabric_connections_service._gateway_declined, #714); the Script activity refuses PC file reads (sql_policy._FILE_FUNCS). Docs only. zensical build --strict: no issues on the merged tree. | | #755 ac5893bc | WH-16 table detail: profile, a read at a past time, clone script (draft) | PASS 9.1 | The read check can't be bypassed through the hint: _AS_OF strips only a whole trailing OPTION (FOR TIMESTAMP AS OF '') at the end of the query, so the stripped text holds no executable tokens, and everything else is still checked as one read-only statement. Probes on merged tree 327e7708: a second statement, DELETE/UPDATE, SELECT INTO, an expression or variable in the hint, and a doubled hint are all refused or not read_only; a hint after a line comment stays a read. The rolled-back transaction remains as backstop. The clone script only opens in a tab: as a read it is fabric_mutation (refused); with Allow changes it is warehouse_write (preview, confirm, Prod name). Nit: with Allow changes ticked, a See it as it was query is refused ("couldn't be read as T-SQL"), because _change_verdicts doesn't strip the hint. Safe, but the read should pass there too, or the tab should say to untick. Tests: warehouse suites 167 passed; 2 test_warehouse_driver failures are only mssql_python missing in my venv (unrelated to this diff); warehouse-detail 4/4, warehouse-page 18/18, ui 292/292. | | #770 ea0f7a79 | Data mesh Wave 1: blast radius on incidents (draft) | PASS 9.1 | impact.blast_radius is pure, one hop: only published products of the incident's own project whose ports in the incident's env carry the entity, and the projects linked to those ports. Recipients are limited to product owners, whoever last updated a link, and followers (only when the platform has product_followers). Each is checked as a UPN; the caller is left out; non-UPN names are listed as unreachable. Spam guards: confirmDialog names every recipient first; the platform_notify dedupe is incident id plus a hash of the recipient set, so a second press posts nothing ("already posted") unless someone new is reached; it goes only through the person's own platform Teams routes, with quiet hours, and nothing is posted without a route (Copy emails instead). The message carries the title (secrets() masked) and product names, never notes; the incident gets a "Told downstream" note. incident_impact is READ_ONLY; incident_tell_impacted is audited. Nit: tell_impacted recomputes recipients, so if the mesh changed after the dialog opened, the post can reach a different set than the one confirmed (pass the confirmed UPNs and refuse on mismatch). Tests: incident_desk + platform_notify + silent_except + rpc_surface 68 passed; incident-impact browser 2/2; ui 292/292 on merged tree fabc4bd7. | | #769 a878692b | Help on request: one toggle for page explanations and How this works (draft, Chris's ask) | PASS 9.1 | ui_explanations now defaults to on_request (app_settings DEFAULTS and features.js LAYOUT_DEFAULTS agree). Every panel stays reachable: the page's own panel (first one outside Home cards, notebook panes, query results, dialogs) opens from the title bar's info button, and the drawer forces a folded panel open (styles.css 1727); other panels start folded in place with their title showing; a page with only a pageIntro gets an About this page drawer; the button shows whenever there is something to open. Panels still name all writes, since their text is unchanged and dialog panels never fold (CSS shows .fold-body in .dialog). Facts stay as plain .sub. Nits: in a dialog the fold toggle still reads aria-expanded=false and does nothing while the body is forced open (hide or disable it for screen readers); no browser test covers a dialog panel staying open with on_request; pageIntro moves the page's Learn more link into an About drawer, so switching to Beside drops it until the page re-renders. Tests: app_settings 11 passed; ui 292/292; appearance-layout 6, monitor-how 3, notebook-runs 3, operations-how 3, platform-overview 8, ready-to-work 2, all passing on merged tree c3686a6c. | | #768 ce4360e5 | Engine sha baked into the exe, full DACL check (stacked on #757, draft) | PASS 9.2 | The CI reorder can't pin the wrong engine: shell now needs engine and takes both sha256 values from the Zip step's outputs; release downloads the same run's fabric-desktop-engine artifact, and promote.yml only copies release files, so the baked pins match what is published (Preview and Stable). build.rs refuses a non-hex value and refuses an empty one when FABRIC_RELEASE_COMMIT is set (Security's finding fixed), so a lost output fails the build. The engine job has no if:, so shell isn't skipped. check_pinned_engine pins only this build's engine (another build, as when self-updating, is checked against its release as before); install_engine and update_engine_code both use it. policy_trust now checks owner plus the whole DACL before reading the file: any allow ACE granting change rights (file: write/append/delete/WRITE_DAC/WRITE_OWNER/generic; folder: delete child, delete, WRITE_DAC, WRITE_OWNER, generic all) to a non-admin SID fails, unknown allow ACE types fail closed, inherit-only and deny ACEs are skipped (ProgramData's CREATOR OWNER and Users add-file ACEs pass). An ignored URL reaches policy_problems via FABRIC_DESKTOP_ENGINE_URL_IGNORED. This closes my #757 nits. Nit: shell no longer runs beside engine, so CI takes longer. Tests: policy_fail_closed + silent_except 60 passed, 1 skipped; ci.yml parses. Rust not buildable here (no gdk-3.0): the Windows shell job must be green. | | #765 914092f5 | Data mesh Wave 1: owner coverage (draft) | CONDITIONAL 8.8 | Good: owner_coverage only reads; it flags no owner, no second owner, and owners quiet for 60 days (from catalog.person plus the audit log's MAX(at)); owners written as names are marked unchecked; case is handled (_who and _names lowercase); call_or_repair gives "Finish or repair"; the migration is additive. Sign-in is untouched (whoami is called by Platform and Governance pages, not sign-in). To fix before PASS: (1) platform_whoami now makes a second, synchronous UDF call (note_seen) on the first call each day; the client timeout is 300 s, so a slow UDF holds up the Platform page; run it in the background. (2) Personal data: every app user's sign-in and last-used time goes to catalog.person, readable by anyone who can read SQL_Platform, with no off switch. For a Fortune 100 rollout (works councils, GDPR) add a policy key to turn it off, and name the data in the docs' data/privacy section, not only in platform.md. Nits: platform_whoami stays in audit.READ_ONLY but now writes; note_seen calls ensure_people, so a read can create the table. Tests: platform + governance + rpc_surface + silent_except 98 passed, owner-coverage browser 2/2 on merged tree 2444d27c. | | #764 f4f44aee | Databricks SQL warehouse engine (Preview, fakes; draft) | PASS 9.1 | ADR-004 holds: no databricks-connect, documented REST only (Statement Execution, SQL Warehouses GET, Unity Catalog lists). Credentials: a connection holds references only (secret_problems refuses a token); tokens from the Databricks CLI (auth token), a CLI profile, or M2M with an env:/credman: secret, kept in memory with refresh 120 s before expiry. The host is checked as an Azure Databricks workspace before any token is fetched. Errors carry the exception type, not text; refusals and CLI stderr pass redact.secrets, CLI stdout is never quoted. Nothing opens without the RemoteAuthorization for that warehouse (ADR-003); opening reads the warehouse and never starts it. The cancel race (cancel between submit and the statement id) is handled. Nits: shutil.which("databricks") also searches the current folder on Windows (resolve it without that); warehouse_id and statement_id go into URL paths unchecked (same host, the person's own token, but a format check is cheap); polling has no overall limit (Cancel ends it); a cell's SQL can write (DDL/DML) with no confirm, like any notebook cell, which the docs could say. Tests: databricks_sql + engines + silent_except 93 passed on merged tree f7580343. | | #766 7801cc5d | pipeline-flow flake: motion.js reads state before app.js loads | PASS 9.2 | Root cause in product code: the long-task observer's motionSetting read the global state before app.js declared it ("state is not defined"). Fix: typeof guard in motionSetting, matching the existing guard at motion.js line 395; other state reads are on view changes after load. typeof is safe because app.js's const state binding only exists once app.js runs, and observer callbacks can't interleave with a running script. The new ui test fails on main's motion.js ("state is not defined") and passes with the fix. Tests: ui 292/292; pipeline-flow 3/3 twice on merged tree 58eb9f98. | | #758 0cf3be3d | Ossie MCP tools (re-check) | PASS 9.1 | Fixed: scope.environment_of adds each designation's workspace id (same rule as meta_service._env_workspaces) and returns None (refused under a limit) for a designation named without an id; workload_of (risk check inputs) uses it too. My probe now gives {'ws-A', 'ws-B'}. New test refuses all three tools when a designation is outside the limit. The tools still only read; import stays in the app. Tests: model_ossie + workspace_scope + risk + silent_except 80 passed on merged tree 019f8122. metadata_of follow-up is #767. | | #763 aec9de7a | Data mesh Wave 1: access reviews (draft) | PASS 9.0 | catalog.grant_review is additive (ensure_grant_reviews, also in ensure_schema); revoke clears the review row. confirm_access uses the same check as revoke_grant (platform admin or the product's owner, by from the UDF context), refuses projects without a grant, writes the audit log; nothing is taken away by itself. access_reviews shows owners only their products, admins all. UI builds text with h() (no HTML injection); call_or_repair gives "Finish or repair" on an older UDF_Platform. Role changes aren't touched, so central_restrict isn't involved. Nits: access_reviews is in audit.READ_ONLY but calls ensure_grant_reviews, so a read can CREATE the table (list_landing_zones' rule is "a read never migrates"; list_shortcut_risks has the same pre-existing pattern), better to treat a missing table as no confirmations; confirm_access with an empty list writes an audit row. Tests: platform + rpc_surface + silent_except 61 passed, access-reviews browser 3/3 on merged tree 1dc51bfa. Overlaps #761 (owner rebases): re-check after. | | #762 d224d1b1 | Validate and external-tool runs skip the Run on Fabric cell and say so (Chris's card "Skip and say so") | PASS 9.2 | Validate's clean run and fabric_desktop_run_notebook use runs(c, skip_fabric_step=True); step_cell/skipped_step name the cell; result, run log and Validate summary say it was skipped; Validate adds an info finding. run_plan drops blockers and uncontained warnings from the step cell only (it doesn't run here), which is correct since the step is the single last code cell (fabric_step.py). Approval binding holds: bind_notebook and run_notebook hash the same filtered cells, so flipping the mark after approval changes the hash and is refused. Prove and Side by side unchanged (still refuse). Docs updated. Nit: a notebook whose only code cell is the step gets "has no code to run" without naming the skip. Tests: validate + notebook_cells + integrations_executions + silent_except 123 passed on merged tree 26a86338. | | #757 ebad0fdc | IT engine download folder (re-check after security fixes) | PASS 9.1 | engine_mirror now reads %ProgramData%\FabricDesktop\policy.json itself (never policy-last-good.json) and uses the URL only when policy_trust::admin_only holds: file and folder owned by SYSTEM or Administrators, and a non-elevated user can't open the file for write data, delete, WRITE_DAC or WRITE_OWNER, nor the folder for delete child, WRITE_DAC or WRITE_OWNER. Off Windows nothing is trusted. Checksum and BUILD_COMMIT pins unchanged. Docs (enterprise-install, security) say to push as SYSTEM or elevated. Nits: the file is read before the trust check (a swap between them needs DELETE on the folder, which ProgramData's default ACL doesn't give; reading after the check closes it); FOLDER_RIGHTS doesn't include DELETE on the folder itself; when the URL is ignored for trust, only stderr says so, not Settings > Help and about as enterprise-install.md implies. Rust not buildable here (no gdk-3.0): the Windows CI shell job is the real test and must be green. | | #754 ec2d93e5 | VS Code Phase 2: editor channel (re-check) | PASS 9.1 | Fixed: Channel.authorize runs before the body is read and checks editor_channel_open() (switch and policy) on every call; when blocked: 403 "off", all pairings end, write asks are denied, the listener stops (editor_status and editor_pending also catch a policy change). Pairings are bound to the window folder by text (_inside, sibling-prefix safe). Negative Content-Length refused, 30 s socket timeout, an unpaired 1 MiB claimed body is refused on headers. Docs: the OneLake question is a guard rail, integrations_editors false is the control. My earlier probe is now a parametrized test (status, variables, poll, notebook) asserting 403, no value leak, port file gone, no pairings. Nit: each refused call starts an editor-off thread until the listener stops (bounded). Tests: editor_channel + rpc_surface + silent_except 36 passed on merged tree a7a9e666. | | #758 5051ed7d | Ossie MCP tools: list, export, preview import (read only) | FAIL 7.9 | All three only read: list and export touch only the environment's main workspace (list_semantic_models, getDefinition TMSL); preview builds the plan and writes nothing; import stays in the app behind its confirm. Registered READ_METADATA, read_only, approval never; YAML via SafeLoader without aliases, MAX_CHARS cap. Security finding (workspace limit not enforced for preview): scope.environment returns only located(env), which skips the environment's designation workspaces (env.workspaces..id, the key meta_service line 52 already reads). Probe on merged tree f7a8d83c: env test with workspace ws-A and designation gold in ws-B gives {'ws-A'}. preview calls store(project, env), which lists lakehouses in every designation workspace (ws-B) and puts ws-B's ids into the source, so a tool limited to ws-A reaches ws-B, against the docs' "reaches only environments in them". Fix: add the designation ids to scope.environment (and a test with a designation outside the limit). Same gap exists before this PR in metadata_of for project-scoped tools: follow-up for Codebase audit. Tests: model_ossie + workspace_scope + silent_except 58 passed. | | #757 15d69cb5 | IT engine download folder (engine_download_url) | PASS 9.0 | Only with auto_update false; release_file maps every file to {folder}/{file}. check_engine_zip still needs engine_sha256 to match and errors when it is missing; check_engine_build pins the commit to BUILD_COMMIT. engine_url_ok accepts https host[:port]/path, refuses http, IP, single-label host, %, empty or 6+ digit port. curl gains --proto =https --proto-redir =https. Nits: the checksum comes from the same folder's version.json, so trust rests on the IT https folder (as it did on the GitHub release; real integrity waits on code signing); policy-last-good.json fallback is same-user only (pre-existing). Tests: policy_fail_closed + silent_except 60 passed, 1 skipped. Rust policy tests not run here (gdk-3.0 missing in this container): CI shell job must be green before merge. | | #752 4a1f8df3 | Product data refresh (re-check) | PASS 9.1 | Fixed: the json carries #721's HD-030 wording; the md has no "PC login names"; product_data check consistent. PB-108 acceptance cites Chris's "Go on all". | | #754 724aa76d | VS Code Phase 2: editor channel and pairing (inbound surface, draft) | FAIL 7.9 | Strong base: 127.0.0.1 bind with peer check, the Host header must be loopback:port, any Origin is refused, chunked bodies refused, a 1 MiB JSON cap; the hello comes from the data folder (compare_digest). Pairing needs the person's yes; at most 3 requests wait, for 120 s. Tokens are kfp + 32 bytes, stored only as SHA-256, session pairings in memory. Paths must map to a known notebook. OneLake writes from write_table and notebookutils fs go through write_refusal per cell thread (in-process) or write_check (process kernel). Security finding (IT lock-off not enforced): probe on merged tree 085a93d7. Pair with keep=7d, then policy integrations_editors=false. /v1/run is 403, but /v1/status, /v1/run poll and /v1/variables still answer 200. The listener keeps running and the pairing stays. kernel_variables returns value previews, so a paired window can keep reading the session's data after IT turns editors off. Only pair and run re-check _editor_enabled(). Fix: re-check _editor_enabled() for every paired call (e.g. in Channel._paired), and end pairings plus stop the listener when the policy blocks. Add a test with integrations_editors=false after pairing. Tests: editor_channel + rpc_surface + integrations + silent_except 113 passed. Documented limits (not a sandbox; raw deltalake or spawned-thread writes not asked) are acceptable as stated. | | #752 b60c2a79 | Product data refresh (docs/product) | CONDITIONAL 8.8 | product_data.py check: consistent. It merges cleanly with main and with #750. The refresh content matches what merged (DF-6/7 tabs and buttons, WH-09..13, Ossie card, #721). Defect, the one the coordinator flagged: FEATURE_INVENTORY.json (line ~3767) still says 'separate_promoter compares PC login names', and the regenerated .md (line 1447) reverts #721's HD-030 wording on main. Fix: same json line as #750 at 3a782c5b, then regenerate. To confirm: PB-108 'Accepted with Documented Limitations (Chris Go on all)'. The coordinator should confirm that Go on all covered the PB-108 hold-or-accept card. | | #748 94738550 | Direct Lake check: unmatched fact rows (re-check) | PASS 9.2 | Fixed: the loop variable is now key and the helper parameter col_name, so the model-name name survives and ours is right. The new assertion (Column missing keeps fix update_model with keys=True) fails on 3a62ff28. Merged tree: model_directlake + silent_except 39 passed. | | #750 3a782c5b | Product docs re-check | PASS 9.2 | FEATURE_INVENTORY.json line 3674 now carries #721's wording (Entra object id or PC login name, HD-030), and the .md was regenerated to match. Only the json and md changed since f90c6677. test_shared_keys is cited as evidence. | | #753 6a5b142c | Semantic model rules SM001-SM007 as a local 'model' checker (stacks on #726; PB-112) | PASS 9.1 | The rules use only the definition Update model would write (semantic.plan + model_dictionary entries); nothing from Fabric. The adapter turns off every rule a policy doesn't name. SM ids don't collide with existing rule ids, and register() validates the rule fields. Model planning failure becomes a problem line, not a crash. Merged tree 49bacb9c: model_practices + model_dictionary + best_practice_checks + governance + rpc_surface + silent_except 97 passed; best-practice-checks browser 8/8; ui 293/293; zensical --strict clean. Nits: it uses model_dictionary._delta_type (private) across modules; when #560's Fabric BPA checker lands, it must not also register kind 'model', because register replaces by kind. | | #748 3a62ff28 | Direct Lake check: fact rows with no match in the dimension (stacks on #725) | CONDITIONAL 8.6 | unmatched_rows is right: it anti-joins non-null keys against the distinct one-side keys and counts null keys separately, and mismatched types are skipped. Defect: in meta_model_directlake_check the loop for table, name in unique_keys(bim) overwrites the method's name parameter (the model name). ours = name in {SM_<layer>} then compares a key column name. With keys=True, KratosForge's own model loses the Update model fix. Probe on merged tree 792523d4, SM_Gold: keys=True gives Column missing/New column with fix None; without keys, fix update_model. The existing test's all(fix != update_model or ...) passes vacuously. Fix: rename the loop variable (as before, column, or key) and assert fix == 'update_model' for Column missing with keys=True. Otherwise model_directlake 22 passed; directlake-card 2/2. | | #751 7f236665 | Keys docs: azure-setup and metadata-guide lead with the one shared keys database | PASS 9.2 | The wording matches the code: keys_home.py creates SQL_Keys (keys.* tables) and UDF_Keys, and the per-environment LH_Keys setup is kept for use without the platform. The anchors platform.md#one-keys-database-for-dev-test-and-prod and #8-surrogate-keys resolve. zensical build --strict on merged tree is clean. | | #750 f90c6677 | Product docs: FEAT-MESH-02 and PB-068 say the shared Keys workspace is built (#293) | CONDITIONAL 8.9 | The MESH-02 and PB text is right: keys_home.py and test_shared_keys.py exist. But regenerating the inventory reverted #721's hand edit: FEAT-META duties now says 'separate_promoter compares PC login names', and HD-030 compares Entra object ids or login names. Root cause: FEATURE_INVENTORY.json line ~3674 still holds the old text. Fix: update that json limitation to #721's wording, then regenerate. Nit: the evidence note 'test_shared_keys.py not run in this check' could run it (it exists). | | #749 6859470c | Data mesh Wave 1 B1: data request kind (draft) | PASS 9.1 | Additive only: 'data' is added to REQUEST_KINDS, NEW_KINDS, the notice titles and the UI. There are no table or column migrations, since the request detail is stored as JSON. An older UDF_Platform refuses the kind, which the app maps to the Finish or repair message. Checks: what is new or change; a reason is required; needed_by must be a YYYY-MM-DD real date; a change must target a published product; a new request must name an existing domain. Deciders: the product owners (change) or the domain owners (new), plus admins. Notices go to the same people; accept needs a reply note and makes nothing. Kept behind previewShown. Merged tree cb6b663b: governance_notices + platform + platform_notify + requests_core_four + silent_except 104 passed; data-requests 3/3, requests-core-four 8/8, ui 291/291, docs clean. Nit: the New/Change seg buttons show 'on' without aria-pressed. | | #747 e2cc3bed | UX consistency pass: DF Copy jobs and warehouse phase 3 screens, #600 plPulse nit | PASS 9.1 | Copy jobs Run history now shows when the definition fails (detail and runs are read together, so runs is always set). Errors go through friendlyError. Warehouse wording now reads Settings > Advanced > SQL queries. The compare list and deploy rows use aria-pressed buttons instead of listbox/option. The plan uses role=list with an sr-only level prefix (.sr-only exists in styles.css). confirmWorkloadAction gains opts.ends, carried through Sign in, Recheck and Check again; Workloads callers are unchanged. plPulse is cleared for a run never drawn. Merged tree 2920d473: 18 browser suites (df, pipeline, query, risk, sql, warehouse) all pass, ui 291/291, docs clean. Nit: friendlyError(err).text no longer drops the cancelled case before toasting. | | #746 5b6986e2 | Monitor: an odd job in Fabric's run history no longer kills the runs scan | PASS 9.2 | run_row now builds inside the per-item try, and run_row and activity_row read odd types as empty (a dict status used to raise TypeError in RUN_STATES.get). The rest of the scan is guarded: the workspaces and items reads are in their own try, and the sort key is str. Merged tree 454d7295: fabric_pipeline_runs + silent_except + monitor suites 48 passed. On main's service the scan test fails (it times out waiting for the scan to finish) and all 18 odd-field cases fail. | | #690 618696a7 | Engines: sessions can't reach outside (re-check on current main) | PASS re-confirmed 9.2 | Same head as the earlier PASS; nothing new to review. It still merges cleanly with main fbdd6bc8 (tree 4e513666): test_engines 52 passed, silent_except 18 passed. The earlier probes and nits stand. | | #745 73a0e7ba | Warehouse: names that differ only in case never share a file | PASS 9.2 | wh_project_write maps each lower-cased path to the first owner (existing files first) and skips a different object whose path collides, with a reason. An object already defined at that exact path keeps it. Probed: dbo.Sales/dbo.sales and dbo.T/DBO.T (schema case) both skip the second, and a dry-run preview shows the same skip. Merged tree 3e6dfc71: warehouse_project + silent_except 61 passed; the new test fails on main's service; warehouse-project browser 7/7. | | #744 f95b8d5b | HD-030 remainder: IT policy separate_promoter_envs forces the two-person promote check | PASS 9.1 (draft; fail-closed default is Chris's call) | Probed on merged tree 81b921f9 with a temp ProgramData. File absent, key absent or [] give [] (no change). ["Prod"] matches case-insensitively. A string, null or [1] give the restricted [test, prod], each with a policy_problems line. Broken JSON with no last-good copy gives [test, prod]; with one, the last-good copy applies (existing #165 design). Not in USER_KEYS, so user settings can't turn it off. The gate's only bypass is separation=False on rollback, which is pre-existing. Tests: duties + policy_fail_closed + settings + silent_except 88 passed; with main's three modules, 4 fail. zensical build clean. Nits: "dev" in the list has no effect (the gate returns early for dev); the fail-closed default covers environments named test/prod only. | | #726 3d8a59e1 | Data dictionary after merging #725 and main | PASS re-confirmed 9.2 | Diffed against main+#725 (f5481a9d). The result matches the passed head 6062b818, CSV fix included, apart from the Service mixin-list union (ModelDirectLakeMixin, ModelDictionaryMixin) and blank-line context. Merged tree a0c4711c includes #725: model_dictionary + model_directlake + rpc_surface + silent_except 48 passed. Browser: dictionary-card 3/3, directlake-card 2/2. ui 293/293. | | #725 f5481a9d, #726 218c0d21 | RM conflict merges of the Elegant BI drafts (Chris approved 11:28Z) | PASS re-confirmed (9.2 each) | I compared each new head's diff with main against the head I passed (#725 f63d6221, #726 6062b818). They are the same apart from the Service mixin-list union (main's list plus ModelDirectLakeMixin or ModelDictionaryMixin) and blank-line context in styles.css. Each merges cleanly with main. PR tests plus rpc_surface: #725 21 passed, #726 11 passed. | | #743 fa6e2f47 | Warehouse follow-up: hostile plan-name test; refusal hint names the word found | PASS 9.2 | _NEVER_WORDS reasons are now formatted with the matched word capitalized. Only the GRANT/REVOKE/DENY/AUTHORIZATION and USE reasons hold {}; the others have no braces, so format is a no-op on them. The matched word is a format value, not the format string. The new parametrised test covers Grant, Revoke, Deny and Authorization; on main, Revoke said [Grant]. The hostile test puts an img onerror payload in PhysicalOp, LogicalOp and Table, and it renders as text. A mutant setting innerHTML for the object name fails it. Merged tree 893f82c2: warehouse suites 160 passed. 2 test_warehouse_driver failures are only because mssql_python is missing from this env; that file is untouched. warehouse-plan browser 4/4. Nit: a later _NEVER_WORDS reason with literal braces would need {{ }}. This closes the #731 hostile operator-name follow-up. | | #742 5886fc69 | kratosforge links: refuse any name-surrogate reparse tag (#712 nit) | PASS 9.2 | _is_link now tests tag & 0x20000000 (IsReparseTagNameSurrogate). Refused: symlink 0xA000000C, junction 0xA0000003, WSL 0xA000001D and future link tags such as WCI 0xA0000027. Passed: OneDrive 0x9000x01A placeholders and the app exec alias 0x8000001B, which have no bit 29. Only caller is _no_link_below. Merged tree 2e58a0c3: vscode_setup + silent_except + link suites 53 passed. The new case fails on main's file. Draft; Security QC is doing a parallel read. | | #741 b0e82180 | Data Factory readers: odd values never break a read; status table (re-check) | PASS 9.1 | Fixed: an invalid-JSON queryMetadata.json now adds a problem line, so dataflow_connection_ids raises and the scan counts it as missed. The new test covers both describe and the scan; it would fail on 75d58e05, where problems was []. Merged tree c39433fd: copy_jobs + dataflows + fabric_connections + silent_except 107 passed. Earlier checks still hold. | | #741 75d58e05 | Data Factory readers: odd values never break a read; status table | CONDITIONAL 8.8 | Fuzz shapes now read as empty with a problem line (parts as a dict or string, int or list payloads, a non-list result, connections not a list, int kinds). Probed; none raise. A Connections scan counts any problem as missed. Gap: a queryMetadata.json that isn't valid JSON is caught as ValueError, becomes meta={} with no problem, and the scan counts that dataflow as using no connections. That is the silent undercount this PR closes for the other shapes. Fix: on that ValueError, append a problem ("queryMetadata.json isn't valid JSON...") and add a test. Merged tree be6689df: copy_jobs + dataflows + fabric_connections + silent_except 106 passed; df-connections browser 4/4; docs clean. | | #740 2d34f5d2 | Data Factory follow-up to #739: the four nits | PASS 9.2 | workload_preflight now returns {allowed:false, code:not_in_inventory} instead of raising. Every caller handles that shape: workload_act raises PermissionError on !allowed, confirmWorkloadAction shows the reason, dfRunInFabric checks the code, and the risk and scope callers use _wl_record directly. A refresh during a pending scan stores the caller's token, and one more pass then runs with the newest token. The Workloads page polls with refresh false, so this can't loop. Sign in keeps verb and done. Both buttons are outline. Merged tree 2e2b9ae7: 98 engine tests pass (workloads, risk, capacity_use, audit, workspace_scope, rpc_surface, silent_except), and the 2 new tests passed 5 of 5 times. Browser suites pass: df-copy-jobs 8, df-dataflows 8, risk 7, audit 3, capacity 4. ui 291/291, docs clean. A mutant with no rescan flag fails the rescan test. No new ruff findings. Workload management signed off. | | #739 7fa3d8d2 | DF-6 Run in Fabric (copy jobs) and Refresh in Fabric (dataflows) buttons | PASS 9.1 | Both buttons call dfRunInFabric, which runs workload_preflight and then the shared confirmWorkloadAction. Nothing starts before Confirm. A blocked check shows Check again and Close only. Pin and read again only calls set_workspace_mark pins and workloads_list refresh (pins feed _schedule_workspaces). The new opts argument defaults to {}, and the three Workloads callers are unchanged. Merged tree bca05aeb: df-copy-jobs 8/8, df-dataflows 7/7, risk 7/7, workload-audit 3/3, workload-capacity 4/4, ui 291/291, docs build clean. Mutant (blocked branch offers start) fails 3 df-dataflows tests. Nits: the sign-in retry drops verb and done; a scan already pending won't include the new pin; inventory detection matches error text; Run is outline but Refresh is primary. Workload management to sign off on the confirmWorkloadAction change before merge. | | #738 50a1e6b3 | Test speed: no_capacity_read fixture on the slow Fabric-run test only | PASS 9.1 | Stub moved out of the shared svc fixture into a no_capacity_read fixture requested only by test_a_fabric_run_stays_submitted. Merged tree 2719c977: test_workloads + test_risk + test_workload_capacity_use + test_workload_audit 61 passed in 14.8 s (the slow test was 152 s). The 6 test_risk capacity-read tests that failed at 9d035cfc pass again, so they still exercise the real _risk_capacity_read. Test body unchanged. | | #738 9d035cfc | Test speed: stub _risk_capacity_read in test_workloads' svc fixture | FAIL 7.4 | The stub sits in the shared svc fixture, which tests/test_risk.py and test_workload_capacity_use.py import. On the merged tree (d83e2846) six test_risk tests fail (service reads a paused capacity, run dialog, acknowledgement, Fabric step lakehouse workspace, external tool, batch reads each workspace once): _risk_capacity now returns None. Same file with main's fixture: 21/21 pass. Fix: stub only in test_workloads' own Fabric-run tests (or a separate fixture), not the shared svc. | | #737 e64aa80e | DF-6 Run in Fabric engine for copy jobs and dataflows (engine only) | PASS 9.1 | run_item_execute checks allow_fabric_runs first (policy test), POSTs once to /{copyJobs,dataflows}/{id}/jobs/execute/instances (POST isn't retried; 5xx test), errors on a missing Location; it goes through workload_preflight/workload_act like other run_item, with the consequence naming what the item writes. 401/403 are recorded as failed with 'Not authorized ... Item.Execute.All ... Contributor' and no run logged; docs/permissions.md lists copy jobs and Dataflow Gen2 under Item.Execute.All, and data-factory.md says dataflow scope and live behaviour are unverified (mocked tests only). QA-008: 'on its workspace's capacity'. Preview-tagged, not schedulable. No live calls: contract tests use fake_http with the adapter refused. test_a_fabric_run_stays_submitted passes here but takes 152 s, the same on main (154 s): pre-existing slowness, not this PR. 95 + 28 pytest, merges clean. | | #736 923365eb | DF Connections dataflows, round 2 | PASS 9.2 | Parsing for every kind is now inside uses()'s try, so an odd definition counts under missed and the scan finishes. The parametrized test (parts as a string; queryMetadata connections as a number) fails 2/2 on c8e6ccf9 and passes here. 34 pytest incl. silent_except, merges clean. | | #736 c8e6ccf9 | DF Connections: dataflows in Used by | CONDITIONAL 8.7 | Read only (getDefinition, as before); definitions stay in the scan's memory; unmatched dataflow ids correctly not called Missing. Defect: dataflow_connection_ids runs mashup.describe outside the read's try, and describe raises on some malformed definitions (probe: definition.parts a string -> AttributeError; queryMetadata connections a number -> TypeError). The exception leaves uses() inside pool.map, which isn't in a try, so the background thread dies with the state still pending: the tab says Reading forever, and Refresh does the same. Fix: parse inside the try (count it under missed), plus a test. 34 pytest, df-connections 4/4, ui 291. | | #735 001d93c4 | Monitor > Runs: copy job and dataflow runs in Fabric | PASS 9.1 | Read only: the scan keeps list_items + list_job_instances (GETs), now for DataPipeline, CopyJob and Dataflow, each row tagged with kind; no job starts. Cost: one more history call per copy job or dataflow, same 8-worker pool, 20 runs per item, 300 rows overall; no cap on item count (as before for pipelines). Only pipeline rows open to activities; others get Open in Fabric. All fields drawn through h() as text. Nit: FABRIC_ITEM_PATHS has no CopyJob or Dataflow entry, so Open in Fabric lands on the workspace list (same known gap). 31 pytest, fabric-pipeline-runs 5/5 twice, ui 291, zensical clean, merges clean. | | #734 b34e0289 | Monitor > Runs polls only the Fabric pipeline scan (#653 nit) | PASS 9.1 | While pending, a 2.5 s chain asks only fabric_pipeline_runs and redraws once when it's done. The chain stops on leaving Runs or Monitor, and a newer draw takes over through a counter; both are checked before and after the await (read from the code, no test leaves the page). Local runs refresh on that redraw and on Refresh. Before, they also refreshed every 2.5 s while the scan was pending; that was a side effect, now gone until the scan ends. The new assertion fails on main (1/5 pass there). fabric-pipeline-runs + monitor-one-row 8/8 twice, ui 291, merges clean. | | #733 f0298783 | Prove cancel test: patch Kernel.start first (test only) | PASS 9.2 | Patch now in place before prove_start, so the proof's thread can't reach the long cell unpatched; the cancel's answer is collected and asserted ([{cancelled: True}]) instead of asserted inside the kernel thread. Mutant: dropping record['cancel'] in prove_cancel makes it fail (long cell runs, 42 s); dropping the interrupt still passes, as expected, since this cancel lands before the cell starts and the flag is what stops it. Passed 3/3 alone; test_prove + silent_except 94 passed. Nit: started['id'] is filled after prove_start returns, so a proof reaching the long cell first would KeyError (fails loudly, not falsely passes; two kernel cells come first). Merge after Windows CI is green. | | #732 d6fb26a9 | DF-6 Copy jobs tab (Preview) | PASS 9.1 | Calls only workspace_copy_jobs, workspace_copy_job_definition and fabric_copy_job_runs (all READ_ONLY, from #724); no run, write or confirm path. Every field goes through h() as text; nothing reaches innerHTML. The parsed detail lives only in dfCopyPage in memory; localStorage holds just the workspace id (shared DF key), no console logging. NO_UI_CALLER entries removed as the tab now calls them. Nit: Open in Fabric for a CopyJob falls back to the workspace list (no FABRIC_ITEM_PATHS entry; waits on Chris's page URL, as for Dataflows). 22 pytest, df-copy-jobs 6/6 twice, ui 291, zensical clean, merges clean. | | #731 b29701b2 | WH-09 plus #730 nits | PASS 9.1 | Folds two #730 nits into warehouse_compare.py. Probes: Date/date and Count/count as names now differ, while INT/int, Date as a type, COUNT(*), CAST(... AS INT) and DECLARE @x INT stay the same. A view or inline function with ; DROP TABLE is no longer offered; a trailing ; or a ; in a string still is. Residual: a scalar function ... END; DROP TABLE t is offered, but T-SQL reads the rest of the batch as the function, so it fails to compile. Hostile operator-name test still to come. 168 pytest, warehouse project/deploy/plan 15/15, zensical clean, merges clean. | | #731 39cce8de | WH-09 estimated plan (draft, stacked on #730) | PASS 9.1 | estimated_plan is refused with warehouse_write and outside a warehouse; the read-only verdicts (refused list) run before Fabric is asked, so UPDATE, EXEC or SELECT INTO with a plan fail as permission; SHOWPLAN_XML ON wraps the one query, then OFF, and the connection rolls back. Audit adds plan: true, no SQL (test checks the table name is absent). UI: DOMParser application/xml, document never attached, attribute values drawn through h() (createTextNode), parse failure shows the XML in a pre as text. Nit: no test feeds a hostile operator name (e.g. PhysicalOp="") to pin text rendering. 226 pytest, warehouse-plan + page 21/21 twice, ui 291, zensical clean, merges clean. | | #730 16088357 | WH-13 deploy, round 2 | PASS 9.1 | Probes on a real repo with a pushed remote: a view file with GO + DROP TABLE and a table file with ; TRUNCATE are not offered; CTAS not offered; a clean one-object file is pre-ticked. Gate is now in the engine: an ignored, untracked or modified file is held in Test, Prod and no-environment (environment omitted counts as gated); one unpushed commit holds every change; Dev offers uncommitted files with the note. ls-files --error-unmatch + diff --quiet HEAD with literal pathspecs. Nit: CREATE VIEW v AS SELECT 1; DROP TABLE t in one batch is offered; T-SQL reads the rest of the batch as the view body, so it fails to compile, not runs, but refusing a ; followed by more would say so up front. 165 pytest (14 new fail on 3f5d9ae5), warehouse browser 37/37 twice, ui 291, zensical clean. Merges clean. | | #729 6b85d733 | WH-12 compare, round 2 | PASS 9.1 | All four fixed: take on an only-in-warehouse object never replaces (toast names the file), danger confirm, names keep case (keys too), GO is a token so GO in a string counts. Probes: [Customer]/[customer], Customer/customer, string case, GO in a string all differ; keyword case, [a]/a same. Nits: a column named like a keyword (Date/date) still folds; built-ins outside the list (GETDATE) read as changes, the safe way. Merges clean. | | #728 b6af790a | WH-11, main merged in | PASS 9.1 holds | Only change since 11474218 is two main merges (the service.py mixin conflict resolved); PR files unchanged. Tests in the #730 tree pass. | | #730 3f5d9ae5 | WH-13 deploy (draft, stacked on #729) | FAIL 7.9 | Critical, so no CONDITIONAL. A pre-ticked change runs its file's whole text: a view file CREATE VIEW dbo.v ... GO DROP TABLE dbo.FactSales is planned as ticked 'CREATE OR ALTER VIEW dbo.v'; a new-table file with a TRUNCATE likewise (probe). So drops can be pre-ticked under another label, in Prod. Fix: offer a change only when its script is one statement defining that object (or only ALTER TABLE ADD), checked server side from the dry run's statements. Also: the commit gate reads git status, so a .gitignore'd .sql file counts as committed; check each path is tracked and matches HEAD. The gate is UI-only. Inherits #729's identifier case folding. OK: drops unticked, rebuilds not offered, each change through sql_start with confirm_name (refused list and audit apply), Prod typed name, Cancel focus in Dev/Test, stops at first failure. 53 pytest, browser 19/19, ui 290, zensical clean. #728-#730 now conflict with main in service.py (the mixin list). | | #729 b8dc319e | WH-12 compare (draft, stacked on #728) | CONDITIONAL 8.6 | Compare writes nothing (READ_ONLY); #728 nits fixed (expect required, .tmp removed). Defects: (1) 'Take the warehouse's version' on an only-in-warehouse object sends replace:true with no confirm, so a file already at the default path that defines nothing (notes) is overwritten (probe). (2) The normalizer lowercases identifiers, quoted ones included ([Customer] = [customer], [My Col] = [my col]), but Fabric Warehouse's default collation Latin1_General_100_BIN2_UTF8 is case sensitive, so real differences read as same and object keys collide. (3) GO lines are removed before strings are tokenized, so 'xGOy' equals 'x y'. (4) The replace confirm isn't danger. Strings, N'', ]] escapes, COLLATE and numbers do differ correctly. Browser and ui pass. | | #691 0f971d58 (re-check on main 2026-10-26) | DuckDB lockdown | PASS 9.1 | Merges clean on current main (main changed sql_exec.py only). New escape probes on DuckDB 1.5.6: a symlinked folder in the project root, a symlinked file in a source, root/../.., a sibling folder sharing the root's prefix, glob('/**'), read_text('/etc/...'), LOAD and EXPORT DATABASE outside are all refused. 392 pytest (local_data, sql_exec, local_tsql, sql_compat, silent_except). Earlier nits stand (a folder change closes a streaming query; Windows path case). | | #728 11474218 | WH-11 warehouse as files in Fabric's Git layout (draft, stacked on #727) | PASS 9.1 | Probes: ../, absolute, a linked project folder and a linked subfolder are refused; '..', 'a/b', CON names skipped; a differing file stays unless replace (UI box off by default, dry-run summary first); no unlink anywhere; stale expect refused. Import calls warehouseRunOk before the catalog queries. Audit: text and objects record as (given); list/read methods READ_ONLY. Nits: wh_project_save skips the check when expect is blank (require it); a failed os.replace leaves the .tmp beside the file. 184 pytest, warehouse browser 31/31 twice, ui 291, zensical clean. Merge after #727. | | #727 8208ffae | WH-10b, rebased on #723 a343612b | PASS 9.2 | Confirm now focuses Cancel in Dev/Test (typed field in Prod), as confirmDialog does. warehouse-changes + warehouse-page 25/25 twice, ui 291, zensical clean. Merge after #723. | | #723 a343612b | WH-10a warehouse writes, round 4 | PASS 9.2 | One left-to-right tokenizer over comments, strings and quoted names. Probes: [it's], [a--b], [a/b], "it's", [a]]'b], ']' strings, N'it''s', nested / / in procedure bodies all refused; round-2 cases still refused. Use/Grant columns get a [Use]/[Grant] hint (the hint says [Grant] for REVOKE/DENY too, nit). 548 pytest pass (2 test_warehouse_driver fail here and on main, no mssql_python); 7 new tests fail on f66f2c4e. | | #727 84defaa5 | WH-10b warehouse changes on the page (draft, stacked on #723) | PASS 9.1 | Matches D1: dry run first (nothing sent), then a danger confirm listing each changing statement; Prod or unknown environment needs the typed name (engine also checks it against Fabric's); Allow changes is an in-memory Set per warehouse, so session only; policy off greys the switch out and whChangesTicked goes false. Custom showDialog rather than confirmDialog (needs the statement list), same danger-solid button. Nit: in Dev/Test focus lands on the danger button, so Enter runs the change; confirmDialog focuses Cancel. warehouse-changes 7/7 twice, ui 291. Merge after #723. | | #726 6062b818 | Data dictionary, CSV injection fix | PASS 9.2 | Export prefixes ' to cells starting with = + - @ tab CR (Git copy too); import strips it only before those. Probe: =HYPERLINK, @SUM, +e, CR cells exported quoted and round-trip with no changes. New test fails on bbc9bc95. 57 pytest, dictionary-card 3/3, zensical clean. | | #723 f66f2c4e | WH-10a warehouse writes, round 3 | CONDITIONAL 8.7 | Round-2 bypasses fixed and unreadable batches refused. New bypass (probe): strings and comments are stripped before quoted names, so a quoted name holding ', -- or / (e.g. [it's], [a--b]) masks the rest of a procedure body; CREATE PROCEDURE p ... SELECT 1 AS [it's] GRANT ... / COMMIT / EXEC (@s) is allowed, then EXEC p runs it. Fix: one left-to-right tokenizer over comments, strings and quoted names together. Use/Grant/Deny unquoted column refusal accepted. 539 pytest pass; 2 test_warehouse_driver fail here and on main (no mssql_python). | | #726 bbc9bc95 | Data dictionary card (draft) | FAIL 7.8 | CSV injection: to_csv writes table, column, description and entity cells as they are, so catalog text such as =HYPERLINK(...) or a cell starting with + - @ tab or CR runs as a formula when the export or semantic/SM.dictionary.csv opens in Excel (probe). Fix: prefix such cells with ' on export and strip that ' on import before matching and comparing. Import is otherwise sound: preview lists every change and skip, writes nothing, Save sends confirmed only after it; catalog unreachable refuses before saving. 118 pytest, dictionary-card 3/3 twice, ui 292, zensical clean. | | #725 f63d6221 | Direct Lake check (draft, Preview) | PASS 9.2 | Reads only: Delta log, parquet footers (200 files a table), one key column only when ticked; both methods READ_ONLY. QA-008 wording right in UI, README, user guide, page. semantic.py drops binary from TYPES (now left out and reported). 81+67 pytest incl. cloud/ossie/meta, directlake-card 2/2 twice, ui 292, zensical clean. Conflicts with #726 in shared files. | | #723 2854f6cd | WH-10a re-check: refuses dynamic SQL, checks procedure and function bodies, adds role/user/EXECUTE AS words | CONDITIONAL 8.5 | Merges cleanly; warehouse_queries + sql_exec + silent_except pass; compiles. My earlier cases are now refused (EXEC('COMMIT'), EXEC('GRANT'), sp_executesql, proc body then EXEC, ALTER ROLE, CREATE USER, EXECUTE AS), as are EXEC (@s), EXEC//(...), INSERT ... EXEC ('...') and COMMIT WORK. Still allowed by verdicts(writes=True): EXEC [sp_executesql] N'COMMIT', EXEC [sys].[sp_executesql] N'GRANT ...', EXEC "sp_executesql" ..., EXEC [sp_addrolemember] (bracket and quote contents are stripped before the name checks); DECLARE @p sysname = N'sp_executesql'; EXEC @r = @p N'COMMIT' (module name in a variable: the lookahead skips @r =); GRANT or USE on the same line as the statement before with no ; (UPDATE ... WHERE id=1 GRANT ...), after a CR, after a label, or after IF (1=1): these fall to "couldn't be read in full: it runs as written". Fix: refuse a batch sqlglot can't read unless it's a procedure/function definition; match GRANT/REVOKE/DENY/USE (reserved words) anywhere outside strings, comments and quoted names; check procedure names with brackets and quotes unwrapped; refuse EXEC of a module named by a variable (EXEC @r = @p). CREATE SCHEMA ... AUTHORIZATION also passes (ownership). | | #724 5b40fe9f | DF-6 copy jobs engine (read only: list, getDefinition parsed, runs) and SignInError keeps the OAuth error so AADSTS90033 server_error counts as transient | PASS 9.2 | Merges cleanly. No writes: the three methods only call list_items, get_item_definition and list_job_instances, and copyjob.py/the mixin have no file, log or print calls; the raw definition is decoded in memory and only parsed fields are returned (database and folder through redact.secrets), as the pipelines rule asks. The methods are audit READ_ONLY and in NO_UI_CALLER. Probe: server_error+AADSTS90033 is not declined; AADSTS65001 and a cancel still are. copy jobs, rpc_surface, audit, fabric_connections, dataflows, silent_except 79 passed; the new tests fail on main (20 failed); changed files compile. Field names unverified against a real export, as the PR says; problems are reported, never raised. | | #723 171a55db | WH-10a (draft): warehouse write engine: allow warehouse_write + confirm + confirm_name (checked against Fabric's name before connecting), GO batches in one transaction, a refused statement list, sql_warehouse_writes setting (restricted to off) | CONDITIONAL 8.4 | Merges cleanly. Holds: no change runs without allow + confirm + a non-empty confirm_name, and a name that doesn't match Fabric's database name fails before anything is sent (every environment, stricter than D1's Prod-only typing); batches run on one connection, committed only after all succeed, rolled back in finally; a policy that can't be read (no last good copy) or a wrong-typed value turns writes off; the audit gets affected/committed and no SQL text (run.query is cleared). test_warehouse_queries + app_settings + policy_fail_closed + sql_exec + silent_except 226 passed, 31 new tests fail on main; test_local_data 30 passed in 8 s here (no memory problem); settings-advanced browser 1/0 x2; ui 291/0; zensical: no issues. Must fix: the refused list doesn't hold. Allowed by verdicts(writes=True): EXEC('COMMIT') after an UPDATE (commits part of the run, so "a failed change keeps nothing" is false), EXEC('GRANT CONTROL TO ...'), EXEC sp_executesql N'USE other', a CREATE PROCEDURE whose body has COMMIT/GRANT followed by EXEC p in the next batch (bodies are skipped), and permission changes not on the list: ALTER ROLE ... ADD MEMBER, CREATE USER, EXECUTE AS. Fix: refuse dynamic SQL (EXEC of a string, sp_executesql), run the never-list over a procedure's or function's body, add role/user/EXECUTE AS/ALTER AUTHORIZATION to the permissions words, with tests for each. Not a privilege escalation (Fabric still enforces the person's own rights), so not FAIL. | | #719 5de70e8a | Re-check: the ribbon focus return re-checks each frame for up to 1 s, refocusing only while focus is on the body or the same button, stopping once anything else has it | PASS 9.2 | Merges cleanly. Can't steal focus: it focuses only when document.activeElement is the body (or none) and returns the moment focus is on any other element; a probe that moved focus into a notebook field right after choosing Validate kept it there after 1.2 s. ui 291/0; notebook-ribbon-menus 5/0 x3; the other changed browser files 17/0. Nit: a click on a non-focusable area within that second (focus goes to the body) puts focus back on the ribbon button. | | #721 4da7ccb6 | HD-030 re-check: same person when the Entra object ids match OR the PC logins match | PASS 9.2 | Merges cleanly; duties + silent_except + release/promote tests 45 passed; py_compile. The second-Entra-account probe now blocks: separation_problem('test','prod',3,'pat','pat',A,B) gives the error. Also blocks the same oid on another login (pat vs patricia); different login and account passes; with no ids it falls back to login names as main does. Docs (metadata-guide, hardening backlog/findings, inventory) match the rule, including that a shared login counts as one person. Note (as on main): when the PC login can't be read and no ids are known, nothing is compared. | | #722 5c6286fe | AF-1 (draft): action-first framework app/ui/actions.js (defineAction, recommendations, actionBar, nextSteps), the standard in docs/ux/action-first.md and ui-guidelines, and a measured baseline script; no screen uses it yet | PASS 9.1 | Merges cleanly. No visible change: nothing outside actions.js calls defineAction or defineRecommendation. Recommendations are deterministic: no scores or randomness, a stable sort by RECOMMENDATION_REASONS order then definition order, and "You could" when the top two share a reason. defineAction refuses a high-risk action without a confirm and a capacity-spending one without a risk check. No made-up metrics: I re-ran action-baseline.cjs on the merged tree and every number in the doc's Baseline table matches (Home 3 sign-in solid buttons, New notebook at 1,798 px, Run all in view not solid, Optimize Create a lakehouse, command bar finds only Schedule); acceptance and recovery rates are stated as not measured. ui 290/0; actions.test 5/0 x2; zensical: no issues. notebook-folded + notebook-select pass 13/0 here on both main 0a2f24ef and the merged tree, so their failure is the owner's container, not main. Nit: the notebook actually has three solid buttons (Publish to OneLake, an icon-only one, Add data items); the table names only the first. | | #721 a2c5e30b | HD-030: separate-promoter check compares Entra object ids when the release record and the promoter both have one, else PC login names with a note | CONDITIONAL 8.6 | Merges cleanly; test_duties + silent_except + release/promote tests 45 passed; the 2 new tests fail on main; changed files compile. The oid comes from MSAL's account home_account_id (<oid>.<tid>, auth.py:296), not user input, and the record's oid from the receipt's identity. Must fix (gaming): one person with a second Entra account (an admin account is common) on the same PC now passes: separation_problem('test','prod',3,'pat','pat',A,B) returns None, where main blocked it on the PC login. Fix: same person when the oids match OR the PC login and PC name both match (record the PC name in identity), or simply when either the oids or the login names match; add that case as a test. Note: neither by nor the receipt's oid is checked against receipt_id, as before. | | #719 db9f3466 | UX nits from #699, #702, #704, #705: Escape leaves the How it works drawer alone while a dialog or menu is open; focus returns to a ribbon menu's button after an item; the Monitor about sentence is reachable through aria-describedby; the Requests count comes from Overview/Requests data instead of an extra platform_requests call on every tab; messages say Platform > Set up / Govern | PASS 9.2 | Merges cleanly. ui 290/0; the six changed browser files 22/0 x2, and 8 of their tests fail with app/ui reverted to main (Escape-with-dialog, focus return, aria-describedby, count, Set up/Govern wording). Menu Escape is safe: the menu's capture listener calls stopImmediatePropagation, so the drawer's document listener never sees it. Count: cached in platformPage.waiting, refreshed by Refresh, Overview and Requests. Changed engine files compile; 271 engine tests touching the changed messages (platform, landing zones, requests, governance, workload audit, silent_except) passed. Nit: only ribbon menus carry data-menu-key, so other menus keep the old focus behaviour. | | #716 1040b21a | BQ-007: four importers (ipynb import, notebook file, pipeline definition, Ossie YAML) turn RecursionError from deep nesting into their plain message | PASS 9.2 | Merges cleanly. test_deep_nesting 4 passed and all 4 fail on main (RecursionError escapes); with silent_except and the ossie/notebook format tests 70 passed; py_compile on all four. Messages carry no file content. | | #715 cf57d4e5 | BQ-003: SECURITY.md, a private-reporting contact link in the issue chooser, a "Where in the app" dropdown and a security pointer on the bug form | PASS 9.1 | Docs and forms only. Both YAML files parse; zensical build: no issues; merges cleanly. The link https://github.com/KratosDataGod/KratosForge/security/advisories/new is GitHub's standard private-report URL for the renamed repo. No contact details invented: the only route besides GitHub is "contact KratosBI directly", already in docs/security.md. Not verifiable here: whether private vulnerability reporting is turned on in the repo's Settings (the proxy blocks that API); if it's off, the link shows nothing to reporters. Chris to confirm. | | #714 013ba729 | Gateway.Read.All: only a real decline is kept until restart; a transient sign-in failure asks again on the next Refresh | PASS 9.2 | Merges cleanly; test_fabric_connections + silent_except 30 passed; both new parametrized cases fail on main. Probe of sign_in_error + declined(): AADSTS65001 and AADSTS65004 declines, a cancel (subcode cancel), and AADSTS50076 count as declined (kept, no repeated prompts); temporarily_unavailable, unknown_error and a ConnectionError don't. Nit: a transient error that carries an AADSTS code (server_error with AADSTS90033) is classified by the AADSTS code and kept as a decline, as before this PR; classifying by the OAuth error too would catch it. | | #713 fd6c83d5 | Docs: governance.md says the semantic model check isn't registered yet (PB-108 finding 3) | PASS 9.3 | One line. Matches main: no checker registers runs_in="fabric" (PB-108 record). The "(below)" reference resolves to the NB/SQ paragraph at line 217. zensical build: no issues; merges cleanly. | | #712 127523a9 | #710 follow-ups: a refused link says so (toast, no link text), claim_single_instance doc fixed, handover marker so link copies leave the lock to an updating build, links/junctions below a known folder refused (symlink + mount-point reparse tags only, so OneDrive placeholders pass), future/overdue marker treated as stale, claim loop moved to deep_link::claim_or_forward | PASS 9.2 | Merges cleanly. rustc deep_link 11/0 x3; pytest vscode_setup, silent_except, rpc_surface, audit 41 passed; ui 290/0; deep-link browser 2/0. Refusal text is safe: toast() sets textContent (app.js:73-75); a handed-over refusal is only kratosforge://?refused (with =x refused), and local reasons are parse()'s fixed strings. The symlink pytest and the refused browser test fail without the change. Earlier heads: faec1df1 left a link copy exiting silently when a handover marker was overdue (fixed in 127523a9); 98786cd4 added the tag and mtime fixes. main.rs not compiled here: merge only after the Windows shell job is green. Nits: checking the name-surrogate bit (tag & 0x20000000) would cover future link tags; a link clicked while a just-updated build is still starting (>5 s) is dropped rather than shown (no second copy is started). | | #711 670711ba | Test-only: Windows onelake wait_seconds flake; the cell waits on an event set when its upload is in, and the bound is relative (wait < upload/2) | PASS 9.2 | Merges cleanly. Target test 5/5 passed, test_onelake_writes 22 passed. Regression check: forcing every write down the direct path (lakehouse.py:523 if True:) fails it with assert 0.21 < (0.21 / 2), so a cell that blocks for the full upload is still caught. Nit: the event reaches the cell through a private attribute set on the lakehouse module (same process only, which run_cell is). | | #710 109b1385 | Test-only re-check: test_vscode_setup builds the expected link with quote(path, safe="") as cli.py:337 does (C: becomes C%3A) | PASS 9.2 | Only change since 3223cd85 is sidecar/tests/test_vscode_setup.py (+2/-1); no product diff; descends from 3223cd85; merges cleanly. test_vscode_setup + silent_except 29 passed. deep_link.rs already parses C%3A%5C... (its tests assert it). 3223cd85 conditions stand: merge only after the shell job is green. | | #710 3223cd85 | kratosforge:// links re-check: local drive paths only (shell parse + engine, text check before any file system call), link parsed before handoff, instance lock with update handover, per-run listener token, register_link_scheme policy | PASS 9.2 | UNC probes (raw, //, @SSL, percent and double-encoded, \?\UNC, \.) all refused in parse(); ntpath probe of notebook_name_for_path: no resolve/is_file/stat on any network or out-of-folder path, only on an in-folder one. rustc deep_link 8/0 x3; pytest vscode_setup, policy_fail_closed, rpc_surface, audit, silent_except, app_settings 91 passed; 2 new tests fail on c7f0ccca; ui 289/0; deep-link + vscode browser 6/0 x2; merges cleanly. 1637b830 alone made every self-update wait 60 s for the old exe's lock; 3223cd85 releases it in spawn() and reclaims in resume(). main.rs not compiled here: merge only after the shell job is green. Nits: claim_single_instance's doc comment now sits on the INSTANCE static; a link that doesn't parse exits with only eprintln (nothing visible in a GUI app). | | #710 c7f0ccca | kratosforge:// deep links (VS Code Phase 1b, Chris "Go") | FAIL 7.6 (security) | Blocking: a link's notebook path reaches the file system before any check that it's in a known folder. parse() accepts UNC paths (probe: path=%5C%5Cattacker.example%5Cshare%5Cx.ipynb, //attacker.example/share/x.ipynb and \\attacker@SSL\dav\x.ipynb all Ok(NotebookPath)); showLink sends it to notebook_name_for_path, which calls Path(path).resolve() and is_file() first (probe recorded both calls on //attacker.example/share/x.ipynb). On Windows that opens an SMB (or WebDAV over HTTPS) connection to the named host and sends the user's NTLM credentials, from one click on a web page's link. Fix: refuse anything but a local drive path (X:\ or X:/; no \, //, \?, \., @SSL) in parse() and again in notebook_name_for_path, and check containment lexically (normpath/abspath against each folder) before any resolve, is_file or stat. Should fix: the 127.0.0.1 listener takes a link from any local process, including other Windows users' sessions on a shared PC (the port is scannable); put a random token in link-port (per-user folder) and require it on the line. Checked and fine: parse is otherwise strict (scheme, two targets, page id [a-z0-9-] up to 40, name up to 300, % decoding with control characters refused, 4096 limit, read capped at 4098 bytes with a 2 s timeout); answers kratosforge-ok only for a parsed link; HKCU registration only when cfg!(windows) and not debug_assertions, via system reg.exe; page side calls only list_notebooks and notebook_name_for_path (audit READ_ONLY) and goes only to rail pages or known notebooks. rustc --test 5/0; vscode_setup, rpc_surface, audit, silent_except 38 passed; ui 289/0; deep-link browser 2/0; merges cleanly. | | #709 dbef7a83 | Gateway names re-check | PASS 9.2 | Nit 1 fixed: a failed Gateway.Read.All token is kept in _gateway_declined and not asked for again until the app restarts; the test checks Refresh doesn't ask a second time. fabric_connections + rpc_surface + silent_except 30 passed; df-connections browser 4/0; py311 compile; merges cleanly. Note: any failure to get the token (not only a decline) is kept until restart, so a transient one hides gateway names for the session. | | #709 d6e0334e | Data Factory: gateway names on Connections (Chris "ok") | PASS 9.1 | GATEWAY_SCOPES (Gateway.Read.All) is asked for separately, after the connection token and under the same lock (MSAL isn't thread-safe); a failure to get it, or a failed list_gateways, sets gateways_error and the connections still list with a note ("Gateway names couldn't be read"). Gateway ids are lowercased on both sides before matching; member count shown only above 1. docs/permissions.md row added in alphabetical order within Power BI Service; data-factory and user-guide updated. New tests (names, and connections without gateway access) fail on main, pass on head; fabric_connections + rpc_surface + silent_except + auth 30 passed; ui 287/0; df-connections browser 4/0 twice; py311 compile; zensical clean; merges cleanly. Nits: a declined Gateway scope isn't remembered, so every Refresh of the tab asks again (interactive prompt); the Fabric CLI public client granting Gateway.Read.All is untested on a live tenant (the fallback covers a refusal). | | #695 77ba871c | VS Code setup re-check (test only) | PASS 9.2 | Only test_vscode_setup.py changed: the subprocess env is now os.environ plus the test's PYTHONPATH, LOCALAPPDATA, HOME and USERPROFILE (and the path variable for the task test), so SystemRoot and PATH carry over on Windows. Product code unchanged since the 79548b54 PASS. vscode_setup + silent_except 25 passed twice on the tree merged with main; merges cleanly. Merge once sidecar (windows-latest) is green. | | #708 eca53fc4 | Prove cancel race re-check | PASS 9.2 (Windows CI pending) | Nit folded in: the finally clears armed under cancel_lock before anything else, so a Cancel that arrives while the cell finishes waits instead of raising in it; new finishing-cancel test fails on main, passes on head. prove, kernel_process, shared_sessions, debugger, silent_except 142 passed; prove interrupt/cancel 5/5 five times; py311 compile; merges cleanly. Residual (not blocking): interrupt reads armed under the lock but calls PyThreadState_SetAsyncExc after releasing it, so a cell entering its finally in that instant can still get the exception; raising while holding the lock would close it. Merge once sidecar (windows-latest) is green. | | #708 7c48bb08 | Prove cancel-while-starting race: Kernel.interrupt armed flag | PASS 9.1 (Windows CI pending) | Locking is sound: interrupt sets cancel_requested and reads armed under run.cancel_lock; _execute sets armed and reads cancel_requested under the same lock, so either interrupt sees armed and raises in the thread, or the thread sees the request and raises itself inside the outer try (one "Cancelled" message, status cancelled, writes None, watches skipped). No cancel can be lost between arming and running; an async exception landing just after the lock is released is still inside the outer try. New test fails on main, passes on head; prove interrupt/cancel tests 4/4 five times; debugger, debugging, kernel_process, magics, parity, pipeline_notebooks, prove, shared_keys, shared_sessions + silent_except 263 passed; py311 compile; merges cleanly. Merge only once sidecar (windows-latest) is green. Nit: armed is never cleared, so an interrupt that lands after the handlers (in the finally, before run.finish) can still end the thread without finishing the run; set armed = False under the lock at the start of the finally. | | #707 65b42be4 | D1 Block re-check, draft | PASS 9.2 | Nit fixed: when the block comes from the default (no require_commit in the file), the last error says to set require_commit = false under [] in environments.toml; an explicit require_commit = true block doesn't suggest undoing it. Only meta_service.py and test_meta changed. release + meta + silent_except 66 passed; py311 compile; merges cleanly with main. | | #707 d6d04903 | D1 Block: require_commit on by default for Test/Prod in OneLake, draft | PASS 9.1 | release_gate now blocks when require_commit is unset and the target's tables aren't local (cfg target default onelake, same convention as the other gates; dev returns early), stays a note on this PC, and an explicit true or false wins. Both the promote check and promote use the gate. Docs (metadata-guide, environments.toml template comment, D1 marked decided) match the code. New tests: 2 fail on main (test_release default block, test_meta round trip), pass on head. 12 promote-related files + silent_except 200 passed; py311 compile; zensical clean; merges cleanly with main 8f99d7c9. Nit: the block message ("Test only takes released files: ...") doesn't say that require_commit = false in environments.toml lets it go ahead, and a project with no Git at all is now blocked for Test/Prod in OneLake until it adds one or sets that. | | #706 32e9d495 | Delete left-overs: owner pids for spills and TPC-H folders (stacked on #687) | PASS 9.1 | Both #687 nits fixed. tpch folders are listed only with a .kratosforge marker (benchmark + example notebook write the pid); spills are write--*.arrow; a file or folder whose owner pid is alive is kept and reported unless it's one of this engine's idle kernels. Probe (Linux): live pid kept and reported, dead pid, old-name and own-pid spills removed, unmarked tpch_other untouched, live-marked tpch kept; with that live pid as an idle kernel both go. pid_running: alive True, dead False, self True, no-permission (pid 1) True. PID reuse fails safe: a stale file whose pid now belongs to another process is kept and reported in use (retention's 24 h spill sweep still removes it). Windows path read, not run: OpenProcess(QUERY_LIMITED) failing with access denied counts as alive, any other failure as gone; GetExitCodeProcess failing or STILL_ACTIVE (259) counts as alive. retention/audit/rpc_surface/server_lanes/silent_except 53 passed; cloud, local_data, onelake_writes, receipts_env, side_by_side 117 passed 3 skipped; py311 compile. Notes: idle-kernel matching uses the kernel Popen pid, so if Windows starts the kernel through a launcher (venv python.exe redirector) the spill's pid is the child's and idle leftovers are kept as in use (safe, unverified on Windows); TPC-H folders from older builds have no marker and are no longer offered. | | #687 b61bc5a2 | Local write folder: Open folder + Delete left-overs (Chris "Yes please") | PASS 9.1 | Danger confirm (confirmDialog danger, names bytes and each folder) runs before local_writes_clear is called. Refused while any notebook kernel runs (probe: RuntimeError, nothing touched); the write queue flushes at each cell's end, so a running cell covers background uploads. In-use files are left and listed (probe: unlink PermissionError on one spill: 3 removed, that spill left and in in_use). audit.audited: local_writes_clear and local_writes_reveal True, local_writes read-only; none in QUICK. No traversal: clear takes no path (staging children plus tpch_ in the temp folder); reveal takes only exact allowlisted paths (probe: ../, root, staging/.., /etc, tpch_1/.. all refused). test_retention + audit + rpc_surface + server_lanes + silent_except 52 passed, py311 compile, ui 286/0 on the head. Conflicts with main 19813cc1 in the service.py mixin line and ui.test.cjs (mechanical, for RM). Nits: tpch_* in the system temp folder is matched by prefix only, so another tool's tpch folder would go too (the confirm does list it); a scheduled run in its own process isn't covered by any_running, so a spill closed and waiting to upload could be deleted. | | #705 0f153786 | Platform: nine tabs become five (UX cleanup 5/5) | PASS 9.1 | Page ids unchanged: PLATFORM_TABS and the tabs map are untouched, and the bar maps all nine (Overview, Requests, Set up: Landing zone/Business keys/Domains/Glossary, Govern: Governance/Audit, Settings). Every goPlatform target in app/ui (overview, requests, landing, keys, domains, glossary, governance, settings) resolves; a menu tab shows the page it's on (Set up: Domains) with aria-current; menus use showMenu, so keyboard works. docs/platform.md maps "Platform > X" to the menus. Merged tree with main 5557f1ec: ui 286/0; 13 platform browser files 68/0 twice; zensical clean. Nits: every Platform render now calls platform_requests (list_requests, a UDF call on a Fabric platform) for the whole waiting list just to count it, including on the Requests tab, which loads it again; UI messages such as "Platform > Business keys > Request a key table" don't mention Set up. | | #704 d5aa7c13 | Monitor controls on one row (UX cleanup 4/5) | PASS 9.1 | Nothing became unreachable: every Operations view is an option in the band's select (aria-label Operations view), and the Operations tab still opens the last one used; Workloads' Group by keeps all four choices in a labelled select; Refresh and pop-out unchanged; the removed CSS rule only sized the old sentence. Merged tree with main 5557f1ec: ui 286/0; monitor-one-row, monitor-how, operations-how, fabric-pipeline-runs, pipeline-runs, pop-out, schedules x2 34/0 twice; workload-audit, workload-capacity, risk, pipeline-flow, notebook-inputs 22/0; zensical clean; docs updated. Nit: the summary sentence is now a title on a non-focusable span, so keyboard and screen-reader users don't get it; put it on the Learn more link (or aria-describedby). | | #703 5baad3bd | SQL page cleanup re-check | PASS 9.1 | Condition met: the chip follows report.outcome.status: unverified shows Not verified (grey dashed, not green) and opens the panel; not_checked shows Not checked, neutral; known_problems and review as before. New browser test covers unverified (and not checked). Merged tree with main 5557f1ec: ui 286/0; sql-compat, sql-templates, warehouse-page, sql-exec 49/0 twice; zensical clean. | | #703 3a2e30b2 | SQL page: capacity once, compatibility chip, templates under New SQL query (UX cleanup 3/5) | CONDITIONAL 8.6 | Capacity wording follows QA-008: one note on the Warehouse ribbon, "Runs in Fabric · uses capacity · reads only", full sentence with the warehouse name in its title, Learn more kept; the duplicate in the actions row is gone. Templates: split arrow on New SQL query opens SQL from a template; docs say so. Compatibility stays reachable: the chip is a button with aria-controls/aria-expanded and opens the panel; the panel opens by itself on an error, warning, failed check or long-SQL notice. Blocking: the chip's state comes from error and warning counts only, so an analyzer outcome of unverified or not_checked shows a green "No known problems" and the panel stays closed. Probe: Spark WITH RECURSIVE ... gives counts unverified 1, outcome unverified ("Not verified ... Test it there"); SQL over MAX_QUERY gives outcome not_checked with zero counts. Both would read as a pass. Fix: drive the chip from report.outcome.status (unverified -> Not verified, not_checked -> Not checked, neither green) and open the panel for unverified. Merged tree with main 5ab8d1dc: ui 285/0; sql-compat, sql-templates, warehouse-page, sql-exec 48/0 twice; zensical clean. | | #702 9fafbe16 | Notebook Home ribbon: Check, Share and Schedule menus (UX cleanup 2/5) | PASS 9.1 | Every moved action stays reachable: Check (Side by side, Validate, Prove) and Schedule (Schedule, Recent runs) are also one click away on the Run tab; Share holds Save a copy, Versions, Export (Save a copy and Versions also in the command bar). items() builds fresh buttons per open, so no listener piles up; menuNode gives menuitem / menuitemcheckbox with aria-checked; arrows, Home/End, Enter and Escape cover both roles; Export reopens its formats menu anchored on Share; a menu with no visible items (Preview hidden) isn't shown. App-wide .menu change: width max-content, max 420px; [hidden] stays !important. Merged tree with main 5ae85e52: ui 285/0; all 91 browser files pass (cooling-spark failed 1 once while the full pytest ran beside it, then passed 3 times alone); ribbon-menus + cooling-spark + keyboard 15/0 twice; zensical clean; docs updated where the buttons moved. Nit: picking a menu item closes the menu without returning focus to its ribbon button. | | #701 c7123e06 | Versioned data contracts re-check, draft | PASS 9.2 | All four nits fixed: mesh.utc_today() in both promote gates (core already UTC); register_link retried without accepts/columns only when the refusal names them (a catalog refusal is raised, no second call: tested); port_version id is time + 12 hex random (same-microsecond test keeps both rows); a deprecated product with no date says none is set. 17 tests: 16 fail on main, the retry test guards against the earlier head. Merged tree with main 5ae85e52: pytest 522 passed 70 skipped, py311 compile, zensical clean. Note: the fallback depends on an older UDF_Platform's error text naming accepts or columns; unverified live. If Fabric's message omits the argument name, the link save fails instead of falling back; Finish or repair fixes it. | | #701 77925568 | Versioned data contracts, engine (8.2), draft | PASS 9.1 | Promote block: _deprecation_gate runs in both the promote check and promote; a link to a product deprecated on a date that has come blocks the consumer, a future date or unreadable catalog is a note; pinned links that skip register_link are still caught by the gate. breaking_changes counts only readers relying on a changed column, blocks a raised version outside a link's accepts unless the deprecation date passed. Migration: ensure_contracts is additive (CREATE port_version, ALTER link ADD accepts/columns), runs on first publish or link and in SCHEMA_HOOKS; reads never create tables (tested); an older UDF (refuses new args, no history) still links and publishes and says Finish or repair. 14 new tests fail on main, pass on head. Merged tree with main 5ae85e52: pytest 519 passed 70 skipped (contracts, mesh/meta/platform/governance, notify, tsql_contract, rpc_surface, silent_except), ui 285/0, py311 compile, zensical clean, no conflicts. Nits: core refuses new links by UTC date but the promote gate uses local date.today(); _register_link retries without accepts on any PlatformError, so a transient failure on a new UDF saves without accepts and says the UDF is old; port_version id is len(seen)+1, so two concurrent publishes of one port collide on the key; a deprecated product without a date says its stop date "? can't be read". ALTER on a live SQL_Platform untested. | | #700 a2800385 | DF-7 Dataflows tab | PASS 9.1 | M code kept only in memory (dfFlowPage); localStorage stores only the workspace id (fd.pipelines.workspace); no console calls; M rendered as text in a pre. mashup.describe tolerates non-dict queryMetadata (#669 nit; new tests fail on main, pass on head). Merged tree: pytest 38/0, ui 285/0, browser df-dataflows + df-connections 9/0 twice, zensical clean. Nit: Open in Fabric lands on the workspace, not the dataflow. | | #699 146b349f | Settings > Appearance > Layout | PASS 9.1 | New installs show everything; preview dots CSS only, previewTag keeps title + screen-reader text, h1 keeps full tag. pytest 29/0, ui 285/0, appearance-layout + motion-effects 9/0 twice, zensical clean, merges cleanly. Nits: dot hardcodes #f8991c not var(--brand-orange); Escape closes the drawer even with a dialog open; "On request" hides write-naming panels by default (opt-in, Chris approved). | | #698 6b6061d4 | Hardening backlog: Status column | PASS 9.1 | Docs only. Every PR a Fixed or Partly fixed row cites is merged on main, and each PR's title names that HD item (checked from the merge commits: #138 HD-001 to #263 HD-055, including #156 HD-006, #245 HD-033, #266 HD-053, #267/#271 HD-054, #593 HD-013 with its Windows check pending). Merges cleanly, zensical clean. Nit: HD-024 and HD-025 say Open, but #674 and #679 (both PASS) close them; say "closing in #674" and "closing in #679", or update the rows when they merge. | | #696 e0175b19 | Capacity drift re-check | PASS 9.1 (was CONDITIONAL 8.7) | write() now keeps the file's workspaces that Fabric doesn't show this person in their section, and lists them in kept_workspaces. A workspace that Fabric shows on another capacity, or on none, follows Fabric. state is written only where the section already set it. Out of draft after Chris OK'd the mockup. pytest 44 (capacity_repo, rpc_surface, server_lanes, audit, silent_except), ui 286/0, zensical clean. | | #695 79548b54 | VS Code 1c re-check: path via environment | PASS 9.2 (holds) | The task passes ${file} in options.env as KRATOSFORGE_FILE with --path-from-env, so cmd.exe never parses the notebook name: the launcher's %* holds only fixed words, and nothing expands the variable. apply() checks containment before mkdir. pytest 88, rustc 5/5, ui 285/0, vscode-setup 2/0 run twice, zensical clean. | | #697 7bbeed62 | Motion consistency pass (MO-011) | PASS 9.1 | Run all's arrival now goes through forgeEvent("notebook.run.finished"), which maps to the same arrive effect and wolf family as before. The new ui test fails if any FORGE_EVENTS entry is never fired. Preview effects gains a navy wolf row that clears itself after 3 s. Effect and switch texts match what plays. ui 286/0, motion-effects + mesh-run-fx 7/0 run twice, zensical clean. It merges cleanly with #688; merge it after #688. | | #696 2cac7e23 | Capacity drift report (draft) | CONDITIONAL 8.7 | The report only reads. It matches by id, case-insensitively. A capacity or workspace you can't see is reported as not visible, never as drift. git_capacity_diff is in READ_ONLY, and the file reader refuses symlinks and reports bad sections. pytest 58 (capacity_repo, rpc_surface, server_lanes, audit, silent_except), ui 286/0, zensical clean. Required fix: Write Fabric's state keeps the sections of capacities you can't see, but it rewrites each visible capacity's workspace list from what you can see. My probe: the fixture's hidden workspace w-gone, listed under the visible F64 Prod, is gone from capacity.toml after the write. One person's narrower view silently drops another team's entry, against the PR's own rule that what you can't see isn't drift. Keep the not-visible workspaces in their sections (or name them in kept), and add a test. Nit: writing state = Paused into the file makes every pause or resume show as drift. | | #695 c985a5d8 | VS Code 1c: set up a repository, nb validate CLI | PASS 9.2 | open_in_vscode now also requires inside(), which canonicalizes the path and the allowed folders (the notebooks folder and the paths in git_repos.json) and fails closed. A UNC path becomes vscode://file//server/share. \\?\ and \\.\ paths are refused. Setup writes only its four listed files, with open(..., "x"), so it never replaces one. It skips a parent that resolves outside the repository, writes no connection id, and commits nothing. nb validate is read only, and its output matches the task's problem matcher. rustc 5/5, pytest 87 (vscode_setup, integrations_core, rpc_surface, server_lanes, audit, silent_except), ui 285/0, vscode-setup 2/0 twice, zensical clean. | | #694 95fe5d26 | Data product: Access given card | PASS 9.2 | Asked to check that revoke is limited to owners and audited. The button shows only for an owner or a platform admin, and the server enforces the same rule: core.revoke_grant raises unless is_admin or the caller is among _product_owners, then writes _audit "revoke access" in the same commit. A danger confirm says existing links keep reading. product-access 3/0 twice, ui 285/0, pytest 65 (rpc_surface, silent_except, central), zensical clean. | | #693 713bfa56 | Fabric step: navy wolf and ember | PASS 9.1 | While Fabric runs the step, its line shows remoteProgress, with no fill or percentage, and its running ember is navy (data-where=fabric). Completed glows once, Failed shows the ember, and Cancelled plays nothing. ui 285/0, fabric-step-fx + motion-effects 7/0 run twice, zensical clean. | | #692 30fe727a | Shared frozen-cell test (KF-DE-001 slice 1) | PASS 9.2 | notebook_cells.runs replaces 7 copies of the cell test. Each path keeps its current Fabric step behavior. notebook.run, runMultiple and %run now skip frozen cells. A source of None no longer raises. The guard test checks each file for its own copy. pytest 360 passed, 4 skipped (notebook_cells, notebook_run, schedules, pipeline_notebooks, validate, integrations_executions, prove, side_by_side, notebookutils). The new frozen test fails on main. zensical clean. | | #691 0f971d58 | Local data: DuckDB locked to the project's folders (draft) | PASS 9.1 | The project connection is opened with allowed_directories (its root and source folders, resolved), autoinstall and autoload off, then external access off. My probes under the same settings: SET enable_external_access=true, RESET, a change to allowed_directories and a change to temp_directory are refused; root/../ is refused; spilling to the project's tmp still works. A folder change reopens the connection, and memory projects rebuild their views. pytest 139 (local_data, sql_exec, silent_except). The new test fails on main. zensical clean. Nits: a folder added or removed while a background query streams closes its connection, so that query fails. Paths are compared as text, so a source added with different capitals on Windows may be refused. | | #690 618696a7 | Engines: sessions can't reach outside (closes #380 note) | PASS 9.2 | DuckDB sessions refuse sql_policy fabric_mutation statements before anything runs, and they connect with external access off. My probes: re-enabling external access, glob('/etc/'), read_csv, CREATE SECRET and temp_directory are all refused. SQLite's authorizer denies ATTACH, DETACH and VACUUM INTO, and load_extension isn't authorized. The Python engine on KernelSessions refuses in-engine and shared sessions. pytest 84 (engines, silent_except); 9 of them fail on main. py_compile OK, zensical clean. Nits: nothing in the app calls registry.adapter(notebook_sessions=...) yet, so that adapter is library-only for now. SET autoinstall_known_extensions=true still succeeds, which is harmless while external access is off. | | #689 f028203a | Agent: prune finished jobs, requeue dead ones (PB-044) | PASS 9.2 | Asked to check prune and requeue. prune deletes only succeeded, failed and cancelled jobs with finished_at older than the cutoff, in a BEGIN IMMEDIATE transaction, so queued, running and dead jobs are never touched. requeue runs in the same kind of transaction. It accepts only dead or failed jobs, refuses pipeline jobs and a dedupe key with an active run, and resets the attempts. A second requeue is refused because the job is now queued, so it never makes a duplicate. The CLI audits agent_requeue and agent_prune. The column migration tolerates a race. pytest 56 (agent, silent_except), 8 of the new tests fail on main, py_compile OK, zensical clean. Nit: if the schedule's newer run has already finished, a requeue re-runs the old job's payload. | | #688 987ebcf8 | Promote: Anvil Strike and ember | PASS 9.1 | Strike on the toast when the promote lands, the ember when it fails, and nothing on a cancelled sign-in (friendlyError.cancelled through metaCall's onError). Its metaCall hunk is the same as #672's. ui 285/0, promote-fx + motion-effects 7/0 run twice, zensical clean. #672 and #688 do conflict, in docs/forge-animations.md (meta.js merges cleanly), so whichever merges second needs that table resolved. | | #681 37504936 | Ossie re-check: Semantic model tab card | PASS 9.1 (holds) | It adds the Preview-gated Ossie card on top of the 15c2b7dc engine fix: export, Save to Git or Copy, and an import dialog with a change table, Keep it ticks, and update, replace or new. The server's confirm step recomputes the counts the dialog shows, and Replace uses a danger confirm. The UI caps files at 20 MB like the engine. Every value goes through h() as text. The NO_UI_CALLER entries are removed. pytest 46 (model_ossie, rpc_surface, silent_except), ui 286/0, ossie-card 3/0 run twice, zensical clean. | | #687 fff15be8 | Open the folder of local writes (draft) | PASS 9.1 | Asked to check that reveal is limited to the right folders. local_writes_reveal looks the folder up by exact string in an allowlist: staging, staging\writes and the tpch folders that are in %TEMP% right then. Anything else raises ValueError, and the test refuses another temp folder, the app root and C:\Windows. It opens Explorer through reveal, a Popen of an argument list with no shell. local_writes only reads, and it is in audit.READ_ONLY. pytest 43 (retention, rpc_surface, server_lanes, audit, silent_except) on the PR head, ui 286/0, py_compile OK, zensical clean. It conflicts with main in the Service mixin list in service.py, the usual one-line conflict, so the owner or RM must resolve it before merging. Nit: is_dir follows a junction, so a tpch* junction in %TEMP% would be listed and opened. That only opens Explorer, nothing is deleted, and another user can't write to %TEMP%. | | #686 d861bfc9 | Pipelines: a Switch case reads its value (stacked on #684) | PASS 9.2 | pipeline_import returns case_values in position order, with None for a case that isn't a dict or has no text value. That matches how definition.py and adapters.py number cases[i]. The graph shows Case "emea", or Case N when there is no text value. h() renders it as a text node, so a value can't inject HTML. pytest 70 (pipeline_definitions, silent_except), ui 285/0, workspace-pipelines + pipelines* 7/0, run twice. Merge after #684. | | #685 e0f4cf0e | Publish updates the Fabric notebook by item id (PB-018) | PASS 9.1 | After the first publish, Publish finds the recorded item with get_notebook. A 404 or another workspace counts as gone. It updates that item by id, and a PATCH renames it first only when the notebook was renamed here, so a rename in Fabric is kept. Asked to check the fallback: when the recorded item is gone, the target is the notebook with that name, and _fabric_change flags it as "other item", so Publish raises FabricChanged and writes nothing until the person chooses. My probe confirmed someone else's same-name notebook was left as it was. A second probe renamed the notebook in both places: the name from here wins and there is still one item. Schedules use the same lookup. pytest 73 (notebook_files, notebook_publish, cloud, fabric_api, silent_except). The 3 new tests fail on main. ui 285/0, py_compile OK, zensical clean. Not tried on a live tenant. Nit: an item published before this PR has no recorded name, so a rename here before its next publish leaves the Fabric name as it was. | | #679 7916ad73 | Updater constraints re-check (stacked on #674) | PASS 9.1 (was CONDITIONAL 8.8) | install_sidecar no longer contacts raw.githubusercontent.com. It downloads the commit's archive once into a temporary folder and unpacks only sidecar/. zipfile drops ".." and absolute parts of names. It refuses an archive with no sidecar/ or no constraints.txt. pip then installs that folder with -c on its own constraints.txt. docs/enterprise-install.md now lists codeload.github.com, pypi.org and files.pythonhosted.org, and the evidence pack lists the PyPI hosts. It merges cleanly with main. pytest 64 (updater, silent_except), py_compile OK, zensical clean. Nit: the evidence pack's row still says "github.com and its release hosts" without naming codeload.github.com. Merge after #674. | | #684 5dc843cb | Pipelines Switch cases and SQL history times read plainly | PASS 9.1 | A Switch branch from the engine (cases[0], cases[1] ...) now reads "Case 1:", "Case 2:". SQL History uses took() from activity.js, which loads first, so a short run reads <0.1s like Monitor does, and others read 1.2s. ui 285/0. Browser tests (workspace-pipelines, query-history, pipelines*) 15/0, run twice. Nit: Fabric gives each case a value, and showing that value would say more than its position. | | #676 ec1c5716 | Read-only SQL: EXPORT/IMPORT DATABASE re-check | PASS 9.1 (was CONDITIONAL 8.7) | The regex is replaced by _outside_command, one pass that skips strings and comments and matches EXPORT|IMPORT DATABASE at each statement start. Each find moves the cursor forward, so it is linear. 3M characters of '; /' take 0.002 s, 2.4M of '--\n;' take 0.50 s, and 600K of ';' take 0.35 s. My probes: a statement led by comments is refused as a command, and the words inside a string literal are not. pytest 116 (sql_exec, silent_except). Against main's code, 9 of these fail, including the timing test. py_compile OK. Nit: the scanner doesn't know E'...' backslash escapes, so in SELECT E'it's'; EXPORT DATABASE ... the EXPORT is missed. The query still fails to parse and is refused as a SQL error, so nothing is written. | | #683 d426f186 | Prove and Side by side use the repository location | PASS 9.1 | publishPayload adds location_ref only when the notebook's data comes from locations. prove_check, prove_start and side_by_side_start use it when the notebook has no lakehouse of its own, and save only the notebook's own ref. The side-by-side Fabric step passes the saved ref plus location_ref to _publish, which already resolves them the same way. pytest 118 passed, 3 skipped (prove, side_by_side, silent_except). Both new tests fail on main. ui 285/0, zensical clean. | | #682 55920b6d | Incidents: no "Can't check" for an environment that isn't set up | PASS 9.1 | evaluate.unreadable returns no signal when classify_error says not_set_up, so the app and the agent open nothing, and an old "Can't check" incident is marked recovered. Workload incidents stay because nothing was read. Check now says the environment isn't set up, and that toast isn't an error. pytest 66 (incidents, silent_except). Both new tests fail on main. ui 285/0, zensical clean. | | #681 15c2b7dc | Ossie: refuse YAML aliases and oversized files | PASS 9.2 | The loader is SafeLoader and also refuses any alias, so a nested-alias bomb is refused with its line number. Text over 20M characters is refused before parsing. meta_model_ossie_read checks the file size before reading and refuses what Import would refuse. pytest 44 (model_ossie, silent_except), including the alias bomb and size cases. | | #680 71074701 | app_settings on jsonfile + findings updates | PASS 9.1 | app_settings reads with jsonfile.read_text, strips a BOM and sets a broken file aside. Saves use jsonfile.write_json and write_text. Each finding marked fixed matches its main commit: #180 (QA-003, 004, 007, 010), #182 (QA-012), #231 (QA-032), #273 (QA-033), #310 (QA-027), #311 (QA-021). QA-011 stays partly fixed. pytest 48 (json_files, silent_except, app_settings), zensical clean. | | #679 70536ef5 | Updater installs with constraints (stacked on #674) | CONDITIONAL 8.8 | Adds constraints_url(commit), pointing at raw.githubusercontent.com, and passes -c to pip. install-agent.ps1 does the same and now throws on a non-zero exit. test_updater 43 passed, zensical clean. Required fix: raw.githubusercontent.com is a new outbound host, but docs/enterprise-install.md and the evidence pack don't list it, so a locked-down network blocks updates with no warning. List it there, or read constraints.txt from the archive that's already downloaded. Also missing from the list before this PR: codeload.github.com, pypi.org, files.pythonhosted.org. Merge after #674. | | #678 5bf2e9cb | Estate X-ray scan motion | PASS 9.1 | The scan uses remoteProgress until it has a total, and a plain bar when paused. It fires xray.scan.finished on the stats, or xray.scan.failed on the reason. Reduced motion turns the effects off (motionLevel is 0). ui 285/0. xray-fx + motion-effects 7/0, run twice. zensical clean. | | #677 4b6df1f9 | Docs: product data and Preview notes | PASS 9.1 | Docs only. Each claim matches the code: show_preview only hides screens, batch_by is in meta/batches.py, and mount raises the "runs in Fabric" message. Product data consistent, JSON ok, zensical clean. | | #676 4677e013 | Read-only SQL: refuse EXPORT/IMPORT DATABASE after comments | CONDITIONAL 8.7 | It refuses what it should: a statement led by comments is refused, and a string literal holding the words isn't. But the new fallback regex is super-linear: '; /' x5000 (25 KB) takes 0.94 s, ';--' x10000 takes 3.37 s, 80 KB takes 10.9 s, and 150 KB runs past 60 s. The old regex took 0.002 s on these. Required fix: split statements in one linear pass that respects strings and comments, strip each statement's leading comments, match ^(EXPORT|IMPORT)\s+DATABASE, and add a timing test. | | #674 a602fafc | Docs workflow pins and permissions | PASS 9.2 | Every action is pinned to a SHA, and each SHA matches its tag (ls-remote): checkout v4.4.0, github-script v7.1.0, setup-python v5.6.0, upload-pages-artifact v3.0.1, configure-pages v5.0.0, deploy-pages v4.0.5. Top-level permissions are contents: read. pages and id-token write are on the deploy job only. zensical pinned to 0.0.71. zensical clean. | | #673 599d8798 | Docs: Parameters bar for Fabric and side by side | PASS 9.2 | Docs only. Checked against cf6b1bcd: side_by_side passes the bar's parameters to Fabric, and runSideBySide and runInFabric save the bar first. The temp-folder claim matches benchmark.py's clean_up. zensical clean. | | #672 df426fc1 | Model build ember skips on cancel | PASS 9.1 | metaCall takes an onError, and the ember is skipped when friendlyError says the build was cancelled. ui 285/0. model-build-fx + motion-effects 8/0, run twice. zensical clean. | | #671 e620b98e | BPA: a turned-off policy shows not checked | PASS 9.2 | A policy with enabled = false shows not_checked with a note, not pass. pytest 89, and the new test fails on main. best-practice-checks 8/0, run twice. zensical clean. | | #670 d638e7e0 | Open in VS Code | PASS 9.1 | The shell opens only an existing absolute .ipynb file or folder. The link is percent-encoded, and it opens with rundll32 or xdg-open, never a shell. A notebook edited outside reloads on focus, but only when it is clean, has no conflict, isn't running, and has changed on disk. ui 285/0, pytest 57, browser 6/0 twice, zensical clean, rustc 4/4. CI green except sidecar (windows), which was still running at review. Nits: a UNC path loses its leading // in the link, and any folder can be opened. | | #652 fa5d0eb6 | Integrations: Add to VS Code (out of draft) | PASS 9.2 holds | The head is unchanged since my review. Chris approved the mockups. It still merges cleanly with the newer main 6ee26532. On the merged tree: ui 285/0, pytest 29 (rpc surface, server lanes, silent_except and the PR's own tests). | | #669 589613ed | Data Factory DF-7 engine: Dataflow Gen2 reads | PASS 9.1 | Merges cleanly with main 378b2abc. The three calls are in audit.READ_ONLY and server.METHODS. Ids must fullmatch a GUID. Nothing is written to disk. Each query's M, the whole mashup and each connection path pass through redact.secrets. My probe of ten inline-secret forms found every one removed: a Bearer header, x-api-key, a Query api_key, ?apikey=, a Password comment, ODBC Pwd=, a SAS sig, a ghp_ token, URL userinfo and a Google key. The M reader only reads text and never evaluates it. It ran in linear time on 5,000 queries (0.09 s) and on an unterminated string, a run of quotes and repeated comment openers. Refreshes are newest first (list_job_instances sorts them), capped at 50. pytest 62, ui 284/0, zensical clean, py_compile OK. Nit: a queryMetadata.json that is valid JSON but not an object (a list or a string) raises AttributeError, not the documented ok:false. | | #668 631436af | Data Factory Connections: the two #667 nits | PASS 9.2 | Clean merge with main 6cb5beed. A cached result that holds an error is no longer served, so the next call scans again. A failing scan isn't re-run in a loop, because the page only polls while the result is pending. The extended sign-in test fails on main and passes here. The banner says "it fails when you run it" (or "they ... them"), and the user guide adds that the owner's schedule may still run it. pytest 26, ui 284/0, df-connections 4/0 on two runs, zensical clean, py_compile OK. | | #667 488ad02b | Data Factory DF-5: Connections tab | PASS 9.0 | Merges cleanly with main 345ea214. Scopes: it uses only the existing Connection.Read.All (shortcuts) and Item.ReadWrite.All (getDefinition), with no Gateway.Read.All, and docs/permissions.md is updated. Secrets: definitions are parsed only for externalReferences.connection ids and are never kept. A connection keeps only its name, type, gateway id, privacy, credential type and a path passed through redact.secrets. The result stays in engine memory, and df-connections.js has no localStorage or console calls. The scan is a background thread capped at 500 definitions with 8 workers, and 429s retry for POST too. fabric_connections is in audit.READ_ONLY and not quick. Tests: pytest 46, ui 284/0, df-connections + workspace-pipelines + pipelines-page 11/0 on two runs, zensical clean, py_compile OK. Nits: (1) an error result is cached, and my probe confirmed that a signed-out first visit keeps showing "Sign in first" after sign-in until Refresh; don't cache errors. (2) "Those steps fail when they run" is too strong: a run by someone who can use the connection, such as the owner's schedule, may succeed; say they fail when you run them. | | #666 97db666c | Data Factory DF-2 screen (re-check, test only) | PASS 9.1 holds | The only change is in fabric-pipeline-runs.test.cjs. The mock now stays pending until the test has seen "Reading pipeline runs in Fabric", so an extra Monitor draw can no longer skip that state. The flag is a Node-side closure, the same as the old counter. Clean merge with main 238c12bd. The four pipeline browser files passed 17/0 at concurrency 4, three runs out of three. No app code changed. | | #666 563695dc | Data Factory DF-2 screen: open a pipeline from a workspace | PASS 9.1 | Clean merge with main 238c12bd. This answers my #665 note: the definition text lives only in plPage.pipeline.source; the only localStorage writes are the workspace id and the Run dialog's settings, which already leave out SecureString values. The page has no console calls. The engine audit records text as "(given)" (audit._CONTENT), and the browser test asserts that neither the SecureString default nor any base64 part reaches localStorage or the console. Open in Fabric shows only for a pipeline opened from a workspace; a 403 on getDefinition says why and keeps the dialog open. ui 284/0; workspace-pipelines + pipelines-page 7/0 on two runs; pytest 12 (rpc surface, workspace pipelines); zensical clean. | | #665 36c2fb0b | Data Factory DF-2 engine: pipelines from a workspace | PASS 9.1 | Clean merge with main 25b9368f; the service.py mixin and NO_UI_CALLER resolutions keep both sides. Both calls are reads in audit.READ_ONLY. A paged list_items is filtered to DataPipeline, and getDefinition goes through the existing client. Ids are fullmatch GUIDs: traversal, a bad hex digit, a leading space and a trailing newline are all refused. My probe with a SecureString default: the pipeline summary hides it, pipeline_run_check accepts the text as it is, and nothing containing the secret was written under the data folder. pytest 47 + 52 (pipeline definitions), py_compile OK. Note for the Pipelines tab: text still carries the SecureString default, so the page must not store or log it. | | #664 9e6156d2 | BPA: NB001-NB012 and SQ001-SQ010 in Checked by | PASS 9.0 | Clean merge with main 68d50d34. The adapters run only the rules a policy names, with the severity and enabled switches from settings_for. NB004 and NB008 are scheduled_only, so they are not run, and there are no duplicate rule ids across checkers. My probe ran NB003 on a toPandas() cell and got one finding, prefixed with the notebook name; disabled stays disabled. Behavior change: a policy whose rules checked nothing now shows not_checked instead of pass. That is honest; the UI already draws not_checked with the note, and "passing" counts only pass. pytest 131, ui 284/0, best-practice-checks 8/0 on two runs, zensical clean; a new test fails on main. Nits: notebook items are every notebook on this PC, not the project's, but the not_checked note says "in this project"; a policy that is turned off still shows pass (as before). | | #663 09fd9896 | Pipelines: external tools told to mock notebook and lakehouse steps | PASS 9.1 | Clean merge with main 68d50d34. _external rewrites only the notebook_needs_engine and data_needs_engine messages in the check and start results (both return problems, never raise), dropping CLI flags an external tool can't pass. The activity name comes from every _problem (runner, pipeline_data, pipeline_script). RUN_LIMIT names Lookup, Get Metadata and Script. 494 passed (pipeline runs, notebooks, script, integrations, silent_except), py_compile OK; both changed tests fail on main. Nit: three blank lines after the new test. | | #662 6d91483d | WH-07 query history (re-check) | PASS 9.2 | Both required fixes are in. All fabric-desktop.sqlhistory.* keys share a 500k-character budget, and the oldest runs anywhere are dropped first. On QuotaExceededError it drops the oldest and retries, writing the shrunk lists first; the new run is never dropped. My Chromium probe filled storage with other keys, then added five 20k runs: two quota errors were recovered, all five new runs were kept, and the older ones went from three other warehouses. sqlHistoryError keeps the first line, masks quoted text and numbers and caps at 120 chars (probed a conversion error, an overflow value, a multi-line error and an unterminated quote). Merged with main 6d5381e7 (the service.py mixin conflict from #660, trivial): ui 284/0; query-history, saved-queries and warehouse-page 33/0 on two runs; zensical clean. | | #662 f1469a37 | WH-07 query history and query insights (stacked on #660) | CONDITIONAL 8.8 | UI only. Runs go into localStorage per warehouse (200 entries, 20k chars of SQL each) only after warehouseRunOk; the three queryinsights queries open in a new tab and autorun through the same confirm. Stored per run: SQL, time, state, seconds, rows and up to 300 chars of the engine error. No token or connection secret is stored, but the error text is not redacted and can echo row values (a conversion error quotes the value). Defect: the caps are per warehouse with no total budget. In Chromium one warehouse at the cap (about 4M chars) fits and a second throws QuotaExceededError (my probe). sqlHistoryAdd swallows that, so history stops recording for good, and the shared origin quota is left too small for saveQueryTabs, which then fails and drops unsaved tabs on restart. Fix: a total budget across warehouses (about 1 MB), drop the oldest and retry on QuotaExceededError, and keep only the error kind or a short redacted error. Merged with main 6a5be5bd (service.py mixin conflict from #660, trivial): ui 284/0; query-history, saved-queries and warehouse-page 32/0 on two runs; zensical clean. | | #660 20dba8a3 | WH-06 saved and shared queries (re-check) | PASS 9.2 | render writes a blank line after the header in both services and parse skips it, so SQL that starts with "-- Warehouse:" or "-- Description:" round-trips intact (probed both services; old files without the blank line still parse). Save keeps the file's own warehouse. The list returns a sha256 version; save(expect=) refused my out-of-band edit and kept the teammate's line. Now conflicts with main 6a5be5bd in service.py (mixin list, trivial). Resolved locally: pytest 54, ui 284/0, browser 34/0 on two runs, zensical clean, py_compile OK. | | #661 cbb31400 | QA-002 follow-up: replay bundle and Runs on check the save | PASS 9.2 | Clean merge with main 524e6a3f. Opening a replay bundle now returns when the save fails instead of replacing the dirty notebook; setNotebookCompute toasts only after a save that worked. The extended ui test fails on main (283/1) and passes here (284/0). findings.md marks QA-002/006/007/008/016 fixed, matching my re-verify on main; zensical clean. Nit: the same "Stop destructive Fabric actions when a lookup fails" commit also covered QA-003, QA-004 and QA-010, still unmarked. | | #660 16e81cc0 | WH-06 saved and shared queries | CONDITIONAL 8.8 | Clean merge with main 524e6a3f. Re-probed containment for both folders: a linked sql-queries or sql-templates folder is refused for save, delete and list; a file link is refused for overwrite and delete and skipped in the list; traversal, backslash, subfolder, non-.sql, device and hidden names are refused; a title with ../ becomes outsideevil.sql inside the folder; newlines in title or warehouse are refused. Nothing outside was touched. pytest 34 (queries, templates, silent_except) + 17 (audit, server lanes), ui 284/0, browser saved-queries/sql-templates/warehouse-page 33/0 on two runs, zensical clean, py_compile OK. Defect: parse treats any leading "-- query/title/warehouse/description:" lines of the user's own SQL as header, so a query whose SQL begins "-- Warehouse: WH_Gold" reopens with that comment gone and its warehouse or title replaced, and the next Save drops it from the file. Fix: render writes a blank line after the header, so parse stops there (templates share this, from #645). Nits: Save writes back warehouse = the current warehouse; overwrite has no on-disk-change check after a Git pull. | | #658 72fb959d | Navy wolf on Git remote work, spark when done | PASS 9.1 | Clean merge with main 524e6a3f. While Git gives no percentage the band uses motion.js remoteProgress (navy wolf on an empty track, role=progressbar with aria-valuetext) and only its words update in place, so the wolf keeps its stride; once Git counts objects the bar is a real progressbar with aria-valuenow. git.op.succeeded sparks for push, pull and clone (not fetch), git.op.failed shows the ember; a cancel finishes as status cancelled in git/ops.py, so it plays nothing. With the wolf off the plain indeterminate bar shows. ui 284/0; git-op-fx and motion-effects 7/0 on two runs. Doc rows added to forge-animations.md. | | #657 958f10b4 | Pipelines: lakehouse Script dry run refuses file reads | PASS 9.2 | The dry-run policy now parses the translated lakehouse SQL with sqlglot (duckdb) and runs sql_policy.reads_files on each statement; a hit returns script_refused, which becomes LocalScriptRefused at run time. My probe caught read_parquet, parquet_scan, read_text, read_blob, current_setting, duckdb_settings, sniff_csv, read_json_auto, a quoted 'C:/x.csv', delta_scan, sqlite_scan, query, query_table and iceberg_scan; glob and OPENROWSET are refused by the T-SQL translator; dbo.orders is allowed. 148 passed (pipeline_script, silent_except, sql_policy, pipeline_run, local_pipeline); the new test fails on main. py_compile OK. | | #656 4b377917 | Model build spark and ember | PASS 9.0 | renderModelTab fires model.build.failed on the toast when metaCall returns nothing and model.built on the result after success; also fixes the #646 comment. ui 284/0; model-build-fx, motion-effects and mesh-run-fx 10/0 on two runs. Nit: metaCall swallows the error, so a cancelled sign-in also shows the ember; other flows check friendlyError(err).cancelled. | | #655 4ba9bfd3 | Splash follows Motion settings | PASS 9.1 | forgeSplash is still when the system reduces motion or the chosen level is below 2, and drops sparks when motion_sparks is off (splash-still, splash-nosparks); the CSS keeps the reduced-motion media query behind html:not([data-motion-override]). ui 284/0; rename-splash and motion-effects 9/0 on two runs. | | #654 31a7be5e | Product: development status page | PASS 9.1 | Docs only: docs/product/ plus one zensical.toml nav line. Both JSON files are valid; product_data.py reports the data is consistent. ui 284/0, zensical build has no issues, no capacity-wording problems. | | #653 0f7a5e18 | Monitor: Fabric pipeline runs | PASS 9.1 | Fabric pipeline rows use fabric: ids and are deduped against fabric_runs, so they don't clash with Workload's rows. 30 pytest passed, browser 13/0 on two runs, ui 284/0, zensical clean. Nit: while the scan is pending a 2.5 s timer redraws Runs and calls all six sources again. | | #652 fa5d0eb6 | Integrations: Add to VS Code | PASS 9.2 | Clean merge with main 524e6a3f. The shell builds the whole link: client_id must be [A-Za-z0-9-]{1,64}, the launcher path is the fixed data_dir/bin path, the JSON is escaped (quotes, backslashes, control chars) and then fully percent-encoded like encodeURIComponent; the page sends only the id. vscode_link.rs tests pass under local rustc (3/3). My probe used a path with a quote, a newline, %20 and &: the link is plain ASCII, and it decodes to exactly that path and ['--client', 'cl_1'], the same args as config.py's snippet. Windows shell CI (cargo build --release and cargo test) is green on this head; ui 285/0. Not tried in a live VS Code. Draft until Chris reacts. | | #648 c53cda17 / #651 39f85184 | Resolutions after merging main 964a8dd6 | PASS 9.0 / 9.3 | Diffed against git merge-tree: platform.js keeps main's lastScan line plus productChecklistCard(p); styles.css keeps both the Fabric-run status-bar block and the best-practices block. No markers are left, and nothing else differs from a clean merge. #651 merges #648's head cleanly, and both now merge cleanly with main. On #651's tree: ui 284/0; browser best-practice-checks + trust-badges + fabric-run-fx + requests-core-four 27/0; 226 passed, 1 skipped (governance, policy, best_practice, silent_except, rpc surface, audit). | | #651 fa80aa8c | Naming checks match with RE2 (DuckDB regexp_full_match), stacked on #648 | PASS 9.3 | All six earlier bypasses ((a|a)+$, (?Pa+)+$, ((a+))+$, (\w+\w+)+$, (a+b?)+$, (a+a+)+$) and (a+)+$ now finish in about 1 ms on 29- and 256-character names. The first call's 0.38 s is the DuckDB connection. The default pattern passes dim_customer and flags Customer, and (?i) works; lookahead, backreference, invalid and \Z give unknown with the reason. 2,000 tables take 1.1 s. 226 passed, 1 skipped, py_compile ok, zensical clean, docs softened. Note for RM: main 964a8dd6 now conflicts with #648 (and so #651) in app/ui/platform.js and styles.css. | | #650 87b6d233 | Autosave vs outside changes re-check | PASS 9.2 | All three data-loss paths are closed. Clean merge with main 69cd45c7. Probe: a file with Git conflict markers (and a JSON list) is unreadable, so it counts as changed, nothing is written, and the byte copy matches the file; the screen's cells are kept as 'not saved'; Keep mine then saves over it with the raw stamp. Load is disabled while a cell runs, with a guard in load(). 538 passed, 3 skipped (notebook*, silent_except, rpc surface), browser notebook-disk-change + versions + files 10/0 on two runs, ui 284/0, zensical clean, py_compile ok. Known limitation: a notebook deleted outside the app is recreated by the next save. | | #648 f7568cd3 | Governance best-practice re-check | PASS 9.0 | Both blocking findings fixed. min_rows 'ten' now gives unknown ('This rule couldn't run...') while the other rules run; contract.endorsed reports '1 of 2 items aren't endorsed in Fabric: lh2.' 220 passed, 1 skipped (governance, policy, best_practice, silent_except, rpc surface, audit), browser 12/0, ui 284/0, zensical clean, py_compile ok. The nested-quantifier guard catches (a+)+, (?:a*), (a{1,})+ and (a+){2,} and allows the default pattern, but probing found bypasses: (a|a)+$, (?Pa+)+$, ((a+))+$, (\w+\w+)+$ and (a+b?)+$ each ran past 8 s on a 29-character name, and (a+a+)+$ took 7.2 s. Follow-up: time-box the match (a subprocess or a regex engine with a timeout) and soften the docs line, which reads as a full guard. Pattern authors are platform admins, so this isn't blocking. | | #650 07d413c8 | Autosave never overwrites an .ipynb changed outside the app | CONDITIONAL 8.4 | Clean merge with main cecf3a1e. An improvement on main: the stamp check runs under the write lock, the outside version is recorded before anything else, autosave stops on a conflict, and publish, Run in Fabric and schedule save first. 55 passed (notebook versions, files, silent_except, rpc surface), browser notebook-files + notebook-versions 7/0, ui 284/0, py_compile ok. There is no browser test of the conflict dialog. Blocking data-loss paths: (1) Probe: a Git pull that leaves conflict markers (invalid JSON) gives before={}, so the check is skipped and the save silently overwrites the file, with no outside version kept. (2) Load its version drops the in-app edits without keeping them, and the dialog doesn't say so; the same edits are lost when the app closes (the beforeunload save) or a replay bundle opens while the conflict is unresolved. Keep the caller's cells as a version on changed_on_disk too, so both sides survive. (3) If a cell is running, loadIntoState keeps the running state: Load leaves diskConflict true with a stale stamp, so autosave stays off, and the 'Loaded' toast is wrong. Nit: a file deleted outside is recreated by the next save. | | #649 f1181618 | SQL best-practices engine (SQ001 to SQ010) | PASS 9.2 | Clean merge with main cecf3a1e. Kept apart from the compat RULES, so RULE_VERSION and sql_analyze are unchanged; methods are in NO_UI_CALLER. 373 passed (sql_practices, compat, rpc surface, audit, silent_except), py_compile ok. A 17-query probe found no false positives on CTEs, #temp INTO, CROSS APPLY OPENJSON, UPDATE alias FROM, TOP with ORDER BY, window ORDER BY, EXISTS (SELECT ), INSERT with a column list, sys.tables, or DATEADD/CAST on a parameter, GETDATE() or a literal. It flagged YEAR(col) and ISNULL(col) in WHERE, INSERT SELECT , and an unqualified table. 2,000 wrapped predicates took 0.12 s. Draft until Chris reacts. | | #648 0676dd30 | Governance best-practice templates, Check now, product checklist | CONDITIONAL 8.7 | Clean merge with main cecf3a1e. Template permissions are sound: built-ins are read-only, domain owners edit only their own and only when admins allow it, and Use is admin-only through create_policy. New UDFs go through call_or_repair. Check now writes only governance_checks.json, and unknown is never a pass. 341 passed, 1 skipped (governance, policy, central, mesh, udf, breaking, audit, rpc surface, silent_except, best_practice), browser best-practice-checks + mesh-overview 12/0, ui 284/0, zensical clean, py_compile ok. Blocking: (1) A threshold the checker can't read aborts the whole Check now. Probe: min_rows 'ten' raises ValueError out of run_rule, while a bad regex is handled as unknown. Catch per rule and report unknown. (2) contract.endorsed passes when any item is accepted: Certified plus a not-endorsed lakehouse gives no finding, though the rule says the product's items are endorsed. Require every item, or reword the rule and docs. Follow-up: a catastrophic policy pattern ((a+)+$ on a 31-character name took 41 s) blocks Check now; cap the name length or run the match with a time limit. | | #645 94a1b78a | User SQL templates re-check: containment | PASS 9.1 | The blocking finding is fixed. Probe: with a repo whose sql-templates links outside, list skips it with a note, and delete, save and export are refused, so outside/victim.sql stays. A linked file inside My templates is skipped by list, and delete and edit refuse it, so the target is untouched. CON, LPT1 and con.txt.sql are refused, a title of CON saves as 'CON template.sql', edit writes through a fresh 'x' temp file, and there's a note past 200 files. 39 passed (sql_templates, rpc surface, audit, silent_except), browser sql-templates + warehouse 27/0, ui 284/0, zensical clean, py_compile ok. | | #643 995d8559 | Notebook best practices re-check | PASS 9.2 | Both nits fixed. %%pyspark, %%python and %%PySpark cells get the Python rules, while %%sql still gets NB006 and %%configure and %%sh get nothing; a non-dict settings entry is ignored. 39 passed, py_compile ok. Draft until Chris reacts. | | #647 1f251fcc | Deploy failure ember + explicit Save spark | PASS 9.1 | Clean merge with main cecf3a1e. The deploy ember plays beside the stop note on a partial deploy, and beside the toast when the engine refuses (a cancelled sign-in plays nothing, same pattern as publish); the Save button and Ctrl+S spark through saveExplicitly, throttled to once every 5 s, and the throttle only starts when forgeEvent plays; autosave and other flows still call saveNotebook. ui 284/0; save-deploy-fx + motion-effects 7/0 on two runs. | | #645 c488fb5f | WH-04b user SQL templates | CONDITIONAL 8.8 | Clean merge with main cecf3a1e. The name check holds: ../, ..\, a/b, C:x, x.sql:ads, NUL, leading dot or space, x..sql and x.sql. are all refused; places must be My templates or an opened repo, matched exactly; new files use open('x') with (n) numbering; titles go through file_stem. 36 passed (sql_templates, rpc surface, audit, silent_except), browser sql-templates + warehouse 27/0, ui 284/0, zensical clean. Blocking: no containment after symlinks. With a repo whose sql-templates is a symlink to another folder, list read that folder's .sql files and sql_template_delete removed outside/victim.sql (probe). Fix: resolve the folder and file and require file.parent == folder.resolve() under its expected root, and skip symlinked files. Nits: CON.sql style names pass on Windows; over 200 files per place are dropped silently. | | #643 242755b4 | Notebook best-practices engine (12 static rules) | PASS 9.1 | Clean merge. 39 passed (notebook_practices, rpc surface with NO_UI_CALLER, audit, silent_except), py_compile ok. Probe found NB001, 003, 005, 006, 007, 008, 009, 010 and 012 on one notebook; settings turn rules off and ignore a bad severity; findings name the cell and line, never the secret; a 200k-line cell takes 3.7 s; a syntax error is skipped. Nits: a cell starting %%pyspark skips the Python rules; a non-dict settings entry raises AttributeError. Draft until Chris reacts. | | #644 40cae8ec | Motion for Fabric notebook runs | PASS 9.1 | Clean merge. Pulse on Run all (first button[data-run]) after Fabric accepts the run; the status bar shows the remoteProgress wolf with words, then arrive on Completed and the ember on Failed, nothing on Cancelled. ui 284/0; fabric-run-fx + motion-effects 7/0 on two runs. | | #646 23e67a04 | Data mesh Run all motion | PASS 9.0 | Clean merge. One effect per batch: strike only when every result is ok, the ember on any failure, nothing on needs_decision; the trigger falls back to Run all when the risk dialog's button is gone; #toast and .dialog-head exist. ui 284/0; mesh-run-fx + mesh-overview + motion-effects 11/0 on two runs. Nit: the pulse fires before meta_run answers (a refused run still pulses, a known limit), though the comment says "once the run is confirmed". | | #642 72fd79c5 | Governance follow-ups: domain requests create in Fabric; last scan + Endorsement varies | PASS 9.1 | Clean merge with main cecf3a1e. Approve now calls platform_create_domain (all checks before Fabric; 401/403 kept as PermissionError with the platform-only route; a subdomain under a platform-only parent is saved in the platform only with a next step). Traced the retry: request target = domain_id(name), and Import from Fabric's _slug(name) gives the same id, so after a Fabric-created/platform-failed approval, import then approve completes. 164 central/request/domain/trust/silent_except passed, 4 new request tests fail on main, browser requests-core-four + trust-badges 16/0, ui 284/0, zensical clean, py_compile ok. | | #641 07b0652d | WH-04/05 re-check: narrowed rule fixes | PASS 9.1 | Both blocking findings fixed. Clean merge with main d3ce6d1e. Probed: type::, user::, object::, schema:: and a:: are flagged SYN-009 again; GRANT/DENY/REVOKE ON SCHEMA::/OBJECT:: are not. UPDATE STATISTICS (with WITH FULLSCAN, or after another statement) gives no DES-003, while UPDATE of a table named statistics, dbo.statistics, or with SET on the next line still warns. 278 compat/silent_except passed, browser sql-templates + sql-compat + warehouse 33/0, ui 284/0, py_compile ok. | | #640 fba3c90e | DF-1 re-check: GUID fullmatch | PASS 9.2 | The one-line fullmatch change plus a test for a trailing newline. Clean merge with main d3ce6d1e; 38 passed (pipeline runs, rpc surface, audit, silent_except), py_compile ok. | | #640 6e388672 | DF-1 re-check: offset kept, GUID ids | PASS 9.2 | Both #640 nits fixed. Clean merge with main d3ce6d1e; 54 passed (pipeline runs, rpc surface, audit, silent_except, spark_stream, time_travel), py_compile ok. Probed: +02:00 offset kept, 7-digit Z trimmed, '../'+GUID refused. Nit: _GUID.match with $ accepts a GUID plus a trailing newline (http.client then refuses the URL, so it fails closed); fullmatch would be exact. | | #641 1de8182b | WH-04/05 SQL from a template + compat rules 2026.10.3 | CONDITIONAL 8.6 | Templates UI is sound: fill is single-pass, sysname refuses ], strings double ', a bad value leaves its placeholder and disables Open, nothing runs. 272 compat/silent_except passed, browser sql-templates + sql-compat + warehouse 33/0, ui 284/0, zensical clean. Blocking: both rule fixes are too broad and add false negatives (shown against main). DES-003: UPDATE statistics SET a=1 (a table named statistics) loses the every-row warning; skip only when no SET follows. SYN-009: SELECT type::int, user::varchar, object::int, schema::int no longer flagged because only the previous keyword is checked; require ON before the class (GRANT/DENY/REVOKE ... ON CLASS::name). Add fixtures for both. | | #640 cb894fa3 | Data Factory DF-1 engine: Fabric pipeline runs + activity runs | PASS 9.1 | Clean merge with main d3ce6d1e. 161 passed (pipeline runs, rpc surface, audit, silent_except, all Spark, spark_stream, time_travel) in the pinned env; the owner's 91 failures are their container. 9 new tests fail on main. ui 284/0, zensical clean, py_compile ok. Probed: 7-digit Fabric times, redaction of activity errors, 16k caps. Nits: _parse takes every digit after the dot, so a non-UTC offset is dropped (Fabric sends UTC, latent); ids go unvalidated into a POST path for a method in audit.READ_ONLY (UI-only caller, not in integration capabilities; a GUID check would close it). | | #639 afd469e8 | PASS 9.1 | Re-check: X categories indexed with Sets, first 60 kept, the rest counted (50k distinct: 68 ms vs 25.4 s); histogram min/max loop; Messages/Chart Preview (sqlResultViews) off the warehouse page. ui 284; browser warehouse-page 18, sql-editor 16, sql-exec 11, sql-compat 9. | | #639 ab7c6941 | CONDITIONAL 8.6 (stacked on #638) | WH-08 Messages + quick Chart. Fix needed: sqlChartData uses cats.includes per row (quadratic); 50k rows with distinct text X took 25.4 s on the main thread (node timing), default X is the first text column, also on the non-Preview lakehouse page. Also: tag the new views Preview off the warehouse page. ui 284; browser warehouse-page 17, sql-editor 15, sql-exec 11. | | #636 d1cf142b, #637 58106d22, #638 edbd9e3a | PASS 9.1 / 9.2 / 9.2 | One-line queued-message fix in #636, forwarded; #637/#638 trees equal their previous heads merged with it. | | #638 b1d660b5 | PASS 9.2 (stacked on #637) | WH-03 Script as: SELECT TOP 100, CREATE (table from cached columns; views/procs/functions from sys.sql_modules via the read-only target, name escaped), ALTER (leading CREATE rewritten), DROP; scripts open in a new tab and never run (the engine refuses them anyway). ui 284; browser warehouse-page 14, sql-editor 15, sql-exec 11; zensical clean. | | #637 c6130c8a | PASS 9.2 | CSS only since 0bb94019: the explorer and How this works scroll together. | | #637 0bb94019 | PASS 9.2 (stacked on #636) | WH-02 object explorer: sys.objects/columns/types via the read-only warehouse target; listing waits for the per-warehouse confirm (auto after a confirmed run, documented); stale loads dropped; names [] escaped; completion from the cached catalog. Fixes both #636 nits. ui 284; browser warehouse-page 11, sql-editor 15, sql-exec 11, sql-compat 9; zensical clean. Nit: the columns query loads all columns at once. | | #636 6162d033 | PASS 9.1 (draft, Chris go 18:16Z) | WH-01 Warehouse page: UI over the reviewed sql_start warehouse target (read-only check, rollback, Fabric host only); confirm once per warehouse per app start; capacity note and How this works; Preview-gated. ui 284; browser warehouse-page 6, sql-compat 9, sql-editor 15, sql-exec 11, sql-forge 4; zensical clean. Nits: no risk check advice; stray ')' in sql-execution.md; not tenant-tested. | | #634 d89e572e | PASS 9.1 | RM test-only fix: nested-wait lower bound 0.05 to 0.03 (Windows clock tick). 22/22. Nit: upper bound 0.2 wouldn't catch a double-counted nested wait. | | #634 7679c29b | PASS 9.1 | RM test-only resolution with #635 (ui.test.cjs appends, both kept); tree equals the clean merge otherwise. ui 284, side_by_side/onelake_writes 66 passed/3 skipped. | | #634 835b43ec | PASS 9.1 | RM resolution with #624: publish.publish runs had=_files, then check_held(), then write_deltalake; tree otherwise equals the clean merge. 111 passed/3 skipped on merge with main aaf4c148. | | #635 bbf7f3e0 | PASS 9.0 | RM test-only resolution: tree equals the clean merge except test_side_by_side.py (both tests kept). 48 passed/3 skipped. | | #635 cf6b1bcd | PASS 9.0 (test conflict) | Parameters bar values go to Run in Fabric and side by side as executionData.parameters (raw typed values; NaN/inf and red values refused before publish); side by side's PC run adds runCell's suffix lines. 105 passed/2 skipped, ui 283; new tests fail on base. test_side_by_side.py append conflict with main (keep both). Not live-tested in Fabric. | | #634 868c42fb | PASS 9.1 | Re-check after main merge: #622's stage_locally and spill callback kept, both import sets; only a tooltip added. 520 passed/4 skipped, ui 283. #624 touches the lines above in publish.publish: keep both check_held() and had=_files(...). | | #634 93021ca5 | PASS 9.1 (conflicts) | Side by side: This PC split into processing vs OneLake upload wait, upload size and MB/s; sbsTime 12 min 60 s fix. Per-cell Stats via threading.local, captured before queueing; nested waits once; overlapping uploads merged. Head tests 501 passed/3 skipped, ui 283; new tests fail on base. Conflicts with main edf95c58 (publish.py, lakehouse.py vs #622): re-check after merge. Nit: _files lists add actions twice per write. | | #633 02568484 | PASS 9.3 | notebookutils fs.fastcp takes Fabric's signature (recurse=True default, extraConfigs ignored). 91 passed, 1 skipped; new test fails on main. | | #632 6bc6e3d6 | PASS 9.1 | plotly figures become plotly outputs (JSON only); plotly.js fetched once via read-only notebook_plotly_js; < escaped in the sandboxed frame; ipynb/HTML exports handled. pytest 94, ui 282, browser plotly and altair pass in the pinned env. Nit: a %pip-installed plotly in a notebook env may differ from the app's plotly.js. | | #631 ac9e0953 | PASS 9.1 | Local SQL run status names its time limit source (time_limit_from); EXPORT/IMPORT DATABASE refused as fabric_mutation (probed, also with confirm and after another statement). 229/229 targeted; new tests fail on main. Nit: a leading comment defeats the regex; still fails closed as an unreadable query. | | #630 f5d999eb | PASS 9.3 | Live test: notebook.run only when notebook.publish passed (no capacity spent on a notebook that didn't publish as written). 51/51; new test fails on main. | | #591 828829e4 | PASS 9.1 | RM merge of main 763fc070: docs/permissions.md conflict only; Tenant.ReadWrite.All row kept, main's text intact; tree otherwise identical to the clean merge. #627 touches the adjacent Tenant.Read.All row: expect a docs conflict for whichever merges second. | | #623 f3949204 | PASS 9.2 | HD-017 head.json checkpoint for both trails. Probed: cut lines reported, lost mark survives later writes, interrupted write not flagged, month rollover fine. 5 new tests fail on main. Full suite on merge with main 8a0f03b7: 4124 passed, 2 failed (warehouse_driver, mssql-python missing in that venv; same on main, pass with it). Owner's 24 environmental. | | #628 89a01d4c | PASS 9.2 | Follow-up to #620 (stacked): local_write_delta, local_change_delta (MERGE USING gap) and every transform step, dry runs included, go through check_local; step params are bound values. New test fails on #620, passes here. 226/226 targeted. Nit: confirm set_override validates type names. | | #627 f9cc91e2 | PASS 9.1 | Re-check. Scan passes unconfirmed items as cleared; record_endorsements deletes their reading under require_admin, so an old Certified becomes unknown (audited). New test fails on e005b779, passes here. 59/59 targeted, ui 282, browser 7/7. Draft for Chris. | | #627 e005b779 | CONDITIONAL 8.5 | Endorsement badges + Purview terms (draft, new feature). Fix needed: product items are Lakehouses, and a scan listing one without endorsementDetails records nothing, so a Certified badge never clears after un-certification (probed). Tenant.Read.All only on admin Scan now; require_admin in core; purview_url strict; unknown shown honestly. 58/58 targeted, ui 282, browser 7/7. | | #625 1b517061 | PASS 9.0 | TPC-H cleanup follow-up (closes #622 nits): clean_up in write finally, on failure and atexit; failed part kills the rest and all are waited. Reader is drained to a spill before close, so closing con is safe. New parts-vs-one-dbgen test skipped here (extension blocked). Nits: atexit uses latest globals; kill path untested; collection-time network check. 97 passed, 3 skipped. | | #624 8fc3889a | PASS 9.1 | HD-016 check_held before leased writes (publish, meta store write/write_stream/merge_insert/upsert). ContextVar traced: every leased write runs in the lease's thread. New tests fail to import on main; 91/91 targeted. Nit: docs say "right before each commit", but the check is before write_deltalake/merge upload, so every large write is checked at its start. | | #622 f4595728 | PASS 9.0 | Re-check. stage_locally takes root + plain parts and refuses anything resolving outside root; Job.validate refuses the same names. Deletion probe re-run: nothing outside staging deleted (incl. symlink). Sweep skips undeletable spills. TPC-H parallel dbgen parts not verified here (extension blocked); owner's hash check. Nits: TPC-H temp folder kept on failure; any(p.wait()) leaves children running. Targeted 73/73. | | #622 559b0949 | FAIL 7.4 | Local write cleanup. stage_locally rmtrees work_dir/staging/job.name; Job.name unvalidated, so "..", "../x", an absolute path or "_writes" delete app data, outside folders or in-flight spills (probed). Fix: validate Job.name and confine rmtree to staging. Minor: sweep's spill unlink unwrapped (Windows mapped file aborts sweep). Targeted 60/60 on merged tree. | | #620 7c9a44af | PASS 9.1 (draft) | local_query and local_explain run sql_exec.check_local (same as sql_start local) + confirm; new test fails on main; 138 passed. Follow-up: local_write_delta(query) still reads outside files (probed: wrote outside CSV into project) and transform runs are unchecked; not exposed to integrations or UI. | | #619 ac01f4a2 | PASS 9.2 (draft, after #618) | Guard catches shorthand { href } / { src } (planted: 3 caught; f(href,x) and spread pass). ui 282/0. Note: a shorthand alone on its own line of a multi-line object is still missed. | | #618 0a32d6bf | PASS 9.1 (draft) | HD-052 URL-sink guard + image outputs limited to 5 picture types with base64 data. SVG only via data: (no script; CSP img-src 'self' data:). ui 282/0, csp 11/0, silent_except 18/18 (owner's fail was missing yaml). Planted sinks caught except shorthand { href } (nit). | | #614 50173ea4 | PASS 9.2 (draft) | plPulse single run id cleared on every run-view draw; pipeline-flow + pipeline-runs 12/12 x 8/8 (no flake seen); ui 280/0. Nit: an older run's draw before the new view can skip the Pulse (cosmetic). | | #613 9a505edc | PASS 9.2 (draft) | Include capacity overrides checkbox (off by default) passes admin=True; toast says when overrides weren't read; engine already on main; ui 280/0, browser settings-history 4/4, zensical clean. | | #612 d275a561 | PASS 9.1 | Fabric setup-cell write_table streams a RecordBatchReader lazily (one commit, counted rows); proofs still read_all. 134 passed, 2 skipped; new assertion fails on main. Unverified: Fabric runtime deltalake streaming. | | #611 dd717f5a | PASS 9.2 | Test-only: lifts the 0.5 s cell limit before the fresh-process check (None = no limit); assertions unchanged; kernel_process 19/19 x3 on Linux. | | #610 09f21501 | PASS 9.1 (draft) | Nits fixed: _record_table uses the write's lakehouse; docs on deferred failures, skipped overwrites, zstd reader checks (SQL endpoint live per thread; Direct Lake open, Snappy fallback). 82 tests, zensical clean. | | #610 1ccd8c7e | PASS 9.0 (draft) | Local-first background OneLake writes, zstd, skip-unchanged, one-commit streams. 166 sidecar (new tests fail on main), ui 280/0, browser 18/0, zensical clean. Failed write fails its cell at end; skip only when newest commit is our same-fingerprint overwrite. Gate: live zstd check in SQL endpoint/Direct Lake before Stable. Notes: code after a failed write keeps running; skipped overwrite makes no new version; ruff 3. | | #609 b593a6ef | PASS 9.2 | Local TPC-H fix: staging writes schema-only table; timestamp_ntz still refused (new test); 132 local/delta tests pass; #588 comment nit applied. | | #605 92d94f88 | PASS 9.1 (draft) | RM merge of main: core.py docstring/admin union and service.py keeps ModelOssieMixin + RequestsMixin verified; 173 tests, ui 280/0, browser 7/0, zensical clean. | | #581 643d204f | PASS 9.1 | RM merge of #580's new head only; 184 passed, 1 skipped on merged tree. Same merge gate as #580. | | #580 6c76b24a | PASS 9.0 | RM merge keeps mssql-python and PyYAML; diff vs main unchanged in scope; 20 passed; both import. Still needs final terms and Chris's typed merge. | | #605 142a06ce | PASS 9.1 (draft) | Governance step 10: workspace, workspace access, domain, exception requests. Full suite 4002/0 vs main 3983/0 (owner's 19 failures environmental); new tests fail on main; admin-only deciders enforced in platform; Finish-or-repair on older UDF. Nits: Admin-role confirm not flagged; stale #591 comment; ruff I001/RUF100 in new test. | | #607 a75f89ef | PASS 9.2 | Update dialog says kratosforge.exe, matching main's release assets. Nit: Stable page has only the old name until next promote. | | #597 5e4874ce | PASS 9.1 | RM's core.py union with main verified; 196 central tests, ui 278/0, landing/shortcut browser 16/0. | | #290 cafd79ae | FAIL 5.9 | Fork Rust engine 2-4. Raw OneLake/Fabric tokens exposed via RPC (default mode too); continuationUri host unchecked; runtime DuckDB extension download; pump() deadlock; broken Python fallback; 412 crates outside audit/SBOM; 3 of 9 tests no-op; main.rs conflict. Not recommended. | | #289 17c75460 | FAIL 7.6 | Fork Rust engine phase 1 (opt-in). Serial forwarding defeats sidecar QUICK lane (Stop blocks behind long calls); crate not in CI/audit; main.rs conflict; architecture decision for Chris. Not recommended. | | #288 b92f4a52 | FAIL 6.8 | Fork macOS app. macOS sign-in stored unencrypted; release gated on macOS jobs though Mac shelved; unpinned tauri-cli, curl|sh, xattr -cr guidance; Windows Fabric view profile moved; 5-file conflict. Not recommended. | | #604 fc0e61f0 | PASS 9.1 | Test-only command-mode focus wait; 8/8 green on merged tree; regression still fails the assert. | | #606 7d9e3bcb | PASS 9.1 | Test-only parallel timing compares runs; 10/10 green; sequential regression still caught. | | #603 0c823775 | PASS 9.0 | Fork #131 exceptions view. Merged tree: 56 sidecar, ui 277/0, browser 590/0, zensical strict clean, ruff at main baseline. Nits: daily notice ids grow activity list and reorder each render; no browser test of the tab. | | #602 345a1434 | PASS 9.0 (draft; gate: shell green) | Manual Check for updates: same latest_release/channel and check_manifest (HD-022) as startup; accepted result recorded as offered, refused clears it; update_app still enforces commit form, policy auto_update, offered commit; download checks sha256 + embedded commit. 59 passed, ui 277/0, browser 2/2 x2, zensical clean. Shell job in progress at review. Nit: dialog says fabric-desktop.exe (align with #594). | | #598 72efd691 | PASS 9.1 (needs Chris's go) | Profile: Proof Forged from Prove, Journey and Achievements tabs. Full sidecar suite on head: 3983 passed, 74 skipped, 0 failed (owner's 22 were environmental); 7 new profile/prove tests fail on main. Reveal-once logic kept (user|id keys), "recording is on" keys on engine first = no prior award; KF-MO-008 test asserts one reveal. ui 269/0, browser profile 5/5. ui.test.cjs append conflict with main for RM. | | #600 873d680a | PASS 9.2 | Energy Flow on pipeline runs (closes #363): one flow per run kept across redraws, settle/fail only on real state change, pulse once, strike/ember via single plFollow, mocked success no strike, label from runner where/verified fields. ui 276/0, browser 10/10 x2, zensical clean; reduced-motion probe: nodes draw, level 0, no effects. Nit: unconsumed plPulse ids linger for the session. | | #594 7f09b133 | PASS 9.0 (gates: docs conflicts, shell green) | Re-check: FIND/RETARGET match the path as given and its long form (spellings(), UNC handled, case-insensitive -contains); rollback still canonicalizes. exe_name non-Windows tests 6/6 (rustc). Now conflicts with main in docs/release-management/README.md and docs/security.md; CI not running on the head yet. | | #593 cebff79b | PASS 9.1 (gate: sidecar windows-latest green) | Re-check: previous Windows run 1 failed / 3982 passed (only test_local read_text on the DPAPI blob, which proves encryption; real round trip passed); test now uses read_cache. Tmp via os.open 0o600 (probe: 0o600 before replace). 44 passed 1 skipped merged. Windows job queued at review time. | | #599 9f812685 | PASS 9.1 (draft) | Re-check: Preview row dropped (ui 276/0 merged), README says card coming, install.md names vendored converter beside SBOM note, TRY004 fixed (TypeError, no ValueError catchers). 43 passed, ruff clean, zensical clean; vendored code unchanged. | | #599 fe9681d1 | CONDITIONAL 8.6 (draft) | TMDL/Apache Ossie conversion, engine only. Vendored files match upstream apache/ossie-converters 82b9eff6 byte for byte except the two "# KratosForge:" edits and init exports; LICENSE/NOTICE identical, ship in package-data (checked with pip install --target). 54 passed (10 new fail on main), zensical clean, safe_load only, paths confined, import needs confirmed. Fix: ui.test "Preview list matches PREVIEW_FEATURES" fails (docs/README.md:165 row with no features.js entry); README reads as shipped. Nits: SBOM won't list vendored code; TRY004. | | #597 cf0ba6f0 | PASS 9.1 (draft) | Re-check: _zone_call gives "Finish or repair once" for list/save/switch/delete and OneLake runs stop with it; local Dev falls back to its folder when the catalog can't be read, known Prod-only zone still stops. 202 passed, ui 270/0. Note: offline local Dev skips the Prod-only gate (policy, not a boundary). | | #597 37720e7f | PASS 9.0 (draft) | Central landing workspace with zones (Preview). 210 sidecar (21 new fail on main), ui 270/0, browser 19/19, zensical clean. Resolver only with central config; Shared reads own LH_Landing until switch; other zones central at once; Dev/Test gated (new zones Prod only, Shared never secure); catalog failure stops, never misreads; bundle carries zone map. Pre-repair: config saved only after save_landing_zone succeeds, step says Finish setup. Nits: policy-set landing + old UDF gives misleading stop; local Dev needs catalog once central; secure zone open until Fabric role set. | | #595 e7627dfe | PASS 9.1 (draft) | Re-check: _sc_risk_call maps 404/missing function to "Finish or repair once" for list (carries on, problem line), Accept, Withdraw; 404-stub test. Wording nit applied. 41 passed, ui 270/0, browser 10/10, zensical clean. | | #596 b70408e3 | PASS 9.2 | Stacked on #592: struct<> message only when filling empty structs makes the query parse (also struct< >), docs reworded (names close to Spark's), FURB167 gone. 459 sidecar, ui 272/0, zensical clean; probes (upper case, nested, two structs, comment, named_struct) fine. | | #595 4ae3a3a2 | CONDITIONAL 8.8 (draft) | Shortcut fixes (Preview): find moved lakehouse, repoint many, Remove on Health, accept/withdraw cross_env (admin, reason, audited, ends on repoint/remove). 136 sidecar (9 new fail on main), ui 270/0, browser 10/10, zensical clean; danger confirms on Remove and repoints. Fix: unrepaired Fabric platform gets "UDF_Platform wasn't found" (client.py 404) on every Shortcuts load and on Accept/Withdraw; needs a "Finish or repair once" hint like meta_service.py:792 plus a test. Nits: "gone" vs no access wording; extra column query per scan. | | #594 81c4f0fe | PASS 9.0 | Re-check: README and install.md link releases/tag/stable with a legacy-name note, so the 404 is gone. Docs only; ui 270/0, zensical clean, merges clean. Note: real shortcut/pin retarget check on Chris's PC. | | #594 b18cd261 | CONDITIONAL 8.8 | Exe renamed to kratosforge.exe, both names published, self-rename + shortcut retarget with rollback. updater 59 passed (8 fail on main), exe_name 6/6 (rustc standalone), ui 270/0, zensical clean. Swap/.old/rename_retrying, RENAMED_TO for later updates, managed-PC skip, rollback fallback in same release all check out. Fix: README.md:144 and install.md:21 link stable/kratosforge.exe, 404 until the next promote. Note: real shortcut/pin retarget needs one check on Chris's PC. | | #593 12175a8e | PASS 9.0 (gate: sidecar windows-latest green) | DPAPI token cache (HD-013), stacked on #587. 79 passed 1 skipped (real DPAPI is Windows CI only); 3 new tests fail on main; ruff, ui 270/0, zensical clean. Plain cache migrated via atomic replace; decrypt failure means sign in again; encrypt failure keeps last file, never plaintext; old builds sign in again (no lockout); InteractiveToken schedules keep DPAPI key. Nits: POSIX tmp still written before chmod; real-path coverage only on Windows CI. | | #592 4d0c1594 | PASS 9.0 | Magics fix: Spark-style names for rewritten SQL functions (#551 nit), struct-field NOT NULL accepted, struct<> message. 458 sidecar, ui 271/0, zensical clean; new test fails on main; probes (subquery, union, view, group/order by, quotes) fine. Nits: names are sqlglot Spark SQL (DATE literal becomes CAST, Spark drops literal quotes and adds roundOff), doc says "as in Spark"; struct<> regex can mask another syntax error. | | #591 f27546d8 | PASS 9.1 (draft) | Re-check: adds "How this works" on Platform > Domains naming the tenant-wide Fabric write; text matches engine order. Merged tree ui 270/0, browser 20/20; engine unchanged. Open: default tick (Chris), not live-tested. | | #591 59256307 | PASS 9.0 (draft) | New domain also creates it in Fabric (Preview). Platform checks all run before the tenant POST; Tenant.ReadWrite.All requested only here, in permissions.md; 401/403/409 and save-after-create errors named. 117 sidecar, ui 270/0, browser 20/20 x2, zensical clean; new tests fail on main. Notes: box ticked by default (Chris via mockup), no "How this works" naming the write, not live-tested. | | #590 557834f1 | Docs: draft end-user terms for shipping Microsoft's ODBC Driver 18 (not in effect) | PASS 9.0 (draft) | Section 6 mirrors ODBC licence 4(a)-(e), 2(c)(i), export, support; conditions 1 and 3 left to counsel. zensical clean; ui.test 268/0. For counsel: mssql-auth.dll also ships, unnamed; confirm the DLLs are on the REDIST list; msvcp140's shipped licence (VS 2017 Tools) has no distributable-code grant; confirm the driver sends no data so terms 7 holds. | | #589 fcf52784 | riskGate: a check that couldn't run shows Unknown + reason with Cancel/Continue | PASS 9.2 | Never blocks, no acknowledgement recorded; real Unknown still quiet; Data mesh batch untouched. ui.test 268/0; risk + fabric-step 12/12 x3; reverting the guard fails both suites. | | #588 4ce91780 | TPC-H perf: publish loads the Delta log once under the lease; slices fold a short tail | PASS 9.1 | HD-002 holds and is tighter: check on the committed-from snapshot under the lease; deltalake 1.6.6 probe: a protocol change between load and commit fails with CommitFailedError, nothing written; stale append lands correctly. Test proves one load per publish. slices() checked on 9 shapes, rows preserved. py311; delta_profile_writes/silent_except/publish 32/0; benchmark/tpch 26 pass 2 skip. Pre-existing delta-rs caveat: overwrite from a snapshot that an outside writer appended to keeps that append ([2,9]); comment should say "no other KratosForge writer". | | #587 3fc2d453 | Docs: readiness checklist and evidence pack refreshed against c9874896 | PASS 9.0 | Verified CSP (tauri.conf.json), Fabric view hosts + fabric_view_sign_in_hosts + SmartScreen (main.rs), SH-11 reply ids (main.rs:384-407), ci.yml ui-browser + cargo test on PRs (green on #583). Nits: findings.md still lists SH-1/SH-11/SH-12 open; evidence pack "Last checked a346145" stale; gate 2 should note known flakes. | | #586 7b5debc7 | Docs: update refused if a call holds the engine 10 s after it was ended | PASS 9.0 | Matches main.rs shut_down(10 s) Err path, no swap. Nit: security.md sentence order broken by the inserted clause. | | #585 96b59b03 | mkdirs on an existing OneLake/local file raises FileExistsError before any write; Key Vault sovereign-cloud doc line | PASS 9.2 | Test checks no store mutation; fails on base. py311; fs/contract_onelake/dbutils/silent_except 144 pass 1 skip; zensical clean. | | #584 225794dc | Fabric step gets its own risk-check action from the attached lakehouse's workspace | PASS 9.0 | New test fails on base; risk_acknowledge re-checks via the same record. py311; risk/fabric_step/rpc/silent_except/workload 106/0; ui.test 268/0; fabric-step 5/0. Follow-up (risk-check owner): riskGate (risk.js:72-73) turns any risk_check error into a silent go-ahead (also Run in Fabric with no deployment); documented as advice, so show the Unknown panel with why instead. | | #583 b9eb8f29 | Test-only: declined SQL confirm, cancelled Validate, cancelled publish sign-in play nothing (#572/#575 nits) | PASS 9.4 | Merged tree: ui.test 268/0; sql-forge + cooling-spark 10/10 x3. Each guard removed in turn fails its new test (sql-forge 10, cooling-spark 4, 5). Asserts on event counts as well as __fx. | | #578 c89c016e | Re-check: Details test updated; .pl-summary scoped to .pipelines | PASS 9.2 | Only those two changes since 52ccedfc. Monitor span computes inline/0px/12px in Chromium. ui.test 270/0; pipelines-page + pipeline-runs 0 failures x3. Merges clean. | | #578 52ccedfc | RM merge of #579 and main into #578 | CONDITIONAL 8.5 | Resolution itself correct (no lost or extra lines; NO_UI_CALLER drops run_check/run_cancel, now called by pipelines.js). But combined with #579: pipeline-runs.test.cjs:85 fails 3/3 (asserts no Details button; openPipelineRun now exists), passes on main; and #578's page .pl-summary rule (flex, 12px margin, 13px) hits #579's inline Monitor span (computed in Chromium). Fix: update the test; scope the CSS or rename the span. rpc/silent_except/pipeline_runs 129/0; ui.test 270/0. | | #582 c443102b | Test-only: motion-effects waits for the redraw and finishes view animations instead of fixed sleeps | PASS 9.3 | Merged tree: motion-effects 4/4 in 5 serial and 8 four-way-parallel runs; flipping the new disabled wait fails the test (selector matches). No product code. | | RM merges: #573 f7ff542, #574 3799698, #575 b024acd, #576 17a7be2, #578 b0dfe7d | RM conflict resolutions (appends) | PASS (verdicts unchanged) | Chain nests and merges clean on main 6d54a710; every added line of reviewed heads a7da87e4, 5acf4b46, 305b3e66, 7a685d17, 0380266e present in 17a7be2 and no extra lines; same for #578 vs ed8589e4. ui.test 270/0 on both; motion browser 30/0; pipelines-page 2/2; zensical clean. | | #581 0b9389e6 | SQL-004 read-only warehouse queries (engine only, Preview), stacked on #580 | PASS 9.1 | 40 T-SQL probes: multi-statement, DML, CTE+DELETE, SELECT INTO, EXEC, DECLARE, SET, USE, BEGIN TRAN, GRANT, DBCC, KILL, MERGE, OPEN refused; GO/no-semicolon batches and WAITFOR fail to parse and are never sent; rollback backstops. Token only to Fabric-resolved .datawarehouse.fabric.microsoft.com host; database brace-escaped; connect timeout is login timeout (driver source). py311 compile; warehouse/sql_exec/policy/worker/rpc/silent_except 138/0; warehouse 28/28 x3, fail on base. Not live-tested; Azure SQL scope unproven. UI PR must add confirm + risk check (capacity). | | #580 ec7d50c6 | mssql-python 1.16.0 + pinned deps (bundled ODBC Driver 18) | PASS 9.0, hold for Chris | Microsoft-published packages; exact pins and full closure in constraints; licence path matches the Windows wheel; import is silent. ODBC EULA redistribution requires end users to agree to terms protecting Microsoft and an indemnity: Chris's licence decision before merge. CI queued at review time. | | #578 ed8589e4 | Re-check: SecureString params and network leave no longer stored | PASS 9.2 | plStorable drops securestring params (case-insensitive) and allow_uncontained; mutation caught by new ui.test. Runner notes per QA-008. py311 compile; pipeline/audit/rpc/silent_except 244/0; ui.test 268/0; pipelines-page clean x3; zensical clean. | | #576 0380266e | Re-check: entrance kept only while its own animation runs | PASS 9.1 | moEntering cleared on animationend/cancel; zero-duration case handled. ui.test 265/0; panel-transitions 10/10 serial, 12/12 four-way parallel (was 3/19 failing). | | #579 045f800f | Pipelines P3: local pipeline runs in Monitor > Runs, opening to their activities (Preview) | PASS 9.1 | Runs fetched only with Preview on; read errors shown above the list; any mock gives "Succeeded with mocks", never plain Succeeded; activities read on open/Refresh only; Details stops propagation and shows only once openPipelineRun exists; toggle is a real button. took() says <0.1s, Env says No environment. Merged tree: rpc_surface+silent_except 20/0; ui.test 263/0; pipeline-runs 5/5 x3; monitor+pop-out 12/0; zensical strict clean. Append conflicts with #578 (features.js, styles.css, test_rpc_surface.py). | | #578 257d07f8 | Pipelines P4: Pipelines page, open read-only, check, Run on this PC; pipeline_list engine call | FAIL 7.9 | Security: SecureString parameter values typed in the Run dialog are saved in plain text to localStorage fd.pipeline. by plSave (pipelines.js:418-424, 509-511) and refilled next time, while the engine hides secure defaults and masks them in run records. Fix: drop securestring params before plSave and test it. Otherwise: pipeline_list read-only, in METHODS and READ_ONLY, skips symlinks/.git/dot-folders, depth 4, cap 200. py311 compile; pipeline_runs+rpc_surface+silent_except+audit 140/0; ui.test 267/0; pipelines-page 2/2 x2. Nits: last_run keyed by name across repos; allow_uncontained remembered ticked. | | #577 30824700 | #570 follow-up: rewrite sets parquet.vorder.enabled writer option; cost and identity-column notes | PASS 9.3 | Writer option name and its precedence over a table's vorder=false property checked against Microsoft's V-Order page. Identity-column sentence is inferred, not run on Fabric. py311 compile; fabric_step+silent_except 35/0; ui.test 263/0; fabric-step 5/0. Demo1 live rewrite before Stable still recommended. | | #576 af58019f | KF-MO-003 panel and dialog transitions | CONDITIONAL 8.6 | Flaky new test: panel-transitions failed 1/11 serial and 2/8 four-way parallel, always the tray-redraw test (:87). Product is fine: a redraw within 250 ms of opening re-adds mo-in with a negative delay after the 220 ms animation ended. Fix the test wait (or align 250 with 220). Otherwise: focus in at first frame, Escape skips fade, ghost aria-hidden and pointer-events none, level 0 (incl. reduced motion) removes both. ui.test 265/0. Notes: body-wide MutationObserver cost worth profiling; side panes animate in only (deviation for Chris). | | #575 7a685d17 | KF-MO-006 cooling spark on Validate pass, Prove match, verified publish | PASS 9.0 | cool kind is sparks family level 2, covered by the switch and reduced motion; publish cools only with result.id; cancelled sign-in and Validate cancel play nothing. ui.test 264/0; cooling-spark 4/4 x3; validate/prove/forge/motion/notebook-files 16/0. Nit: the two plays-nothing paths are untested (mutations survive). | | #574 305b3e66 | KF-MO-008 Achievement Reveal, once per award per account | PASS 9.2 | Mutations caught: dropping the already-shown filter (both suites), dropping profileForget on delete (ui.test). Existing family toggles unchanged; achievements default off. ui.test 264/0; achievement-reveal 2/2 x3; motion/profile/forge/settings 17/0. Release note: awards no longer re-toast. | | #573 5acf4b46 | KF-MO-009 navy wolf in Fabric runs' progress bars | PASS 9.2 | fabric: ids with no progress only; indeterminate progressbar (no valuenow) with valuetext; reduced motion gives plain bar. Mutation (wolf on runs with progress) caught by ui.test. ui.test 264/0; remote-progress 3/3 x3; forge/motion/home/notice 15/0. | | #572 a7da87e4 | KF-MO-005 SQL spark (completed > 2 engine s) and ember (failed/timed out) | PASS 9.0 | runFx once per run after the redraw; accepted confirm recurses without a double effect; engine throw and Stop play nothing; seconds is the engine's. Mutation SPARK_SECONDS 2->0 caught. ui.test 264/0; sql-forge 3/3 x3; forge + sql browser 43/0. Nit: declined-confirm exclusion untested. | | #571 a6db230e | #527 follow-up: load-drop/cooldown unit test, Wolf N <= done+1 | PASS 9.3 | Test-only. ui.test 264/0; forge-animations 5/5 x3; mutation LOAD_BUDGET_MS 500->700 fails the new test. | | #570 d1b76448 | Fix to #550 from the live Demo1 test: V-Order read from Parquet footers; Rewrite all files reads and writes each table back | PASS 9.0 | vorder_files reads com.microsoft.parquet.vorder.enabled from up to 200 newest files' footers; health() ignores settings-only commits (TBLPROPERTIES incl. AUTOSET VORDER, constraints, column DDL, protocol, VACUUM) and vorder=false OPTIMIZEs (shared with X-ray/estate, their tests pass). Rewrite: overwrite + dataChange false in the step session (vorder.default true); concurrent append conflicts rather than drops. 67 + 74 passed (all tests touching maintenance/v_ordered); 5 new fail on main; browser fabric-step 5/5; ui.test 262/0; py311 compile; zensical strict clean. Not live-tested: one Demo1 run before Stable. Edges: identity columns refuse the rewrite; a table's vorder=false property; full-table cost. | | #569 4f60c9af | Release management: audit fixes #411-#420 (one commit each; agent, SQL, keys, incremental, shell policy/engine) | PASS 9.2 | #417 escape | as | in composite-key parts, same in polars and Spark (CHR(92)); brute force over {a,|,\} 14,400 pairs, 0 collisions; affected keys get a new SK once (old row stays, earlier facts keep old SK: release note). #415 Spark CONCAT gives -1 for blank/NULL parts as locally (release note). #412 schedules on a fixed 2000-01-01 local grid (start was always parse time). #418 auto_update false installs only build-, checked in both install paths. #419 shell/updater follow policy-last-good.json like the sidecar (copy is user-writable, as before). #411 #413 #414 #416 #420 checked. Rust standalone: update_guard 22/22 + 4/4, policy_file 1/1; main.rs via RM's Windows cargo check. 350 passed on merged tree; py311 compile clean incl. updater.py. | | #568 1a77b5f8 | Pipelines P2: Script activity through sql_exec (pipeline_script.py, registry v7), Chris's go given | PASS 9.1 | Opt-in only: lakehouse needs read_lakehouses (tsql-translated, allow read_only, worker sets enable_external_access=false + lock_configuration), local data project needs sql_projects; external tools pass neither. Policy dry-run at check and again on evaluated text at run; confirm-required statements, warehouses, other connections and parameters refused. 5,000-row cap; cancel/timeout call runs.cancel. 344 passed on merged tree (pipeline_script, data, registry, runs, sql_exec, sql_policy, localdata, notebooks, services, silent_except, rpc_surface); py311 compile; zensical strict clean. Probe: lakehouse dry-run doesn't refuse local-file reads (read_text, read_csv, FROM 'C:/...'); blocked only at run by external access off. Nits: refuse those at check via _reads_files; tables not read at pinned versions. | | #561 69aa4bbd | Shared notebook sessions, merge with main (#543 appends) | PASS 9.3 | Merge resolves appends only (features.js, styles.css, README, kernel_host OPS keeps frame_query_profile and forget_guest); probe: a guest's spark result profiles under as_guest and as host. 340 passed; ui.test 263/0; py311 compile; merges cleanly. Needs Chris's go. | | #560 32cadab5 | BPA: refusal text for a local-tables environment | PASS 9.1 | One-line message change. test_model_bpa + silent_except 26 passed; py311 compile; merges cleanly. | | #567 e2f8c9e4 | Follow-up to #566 nits: failed rollback reported, docs folder name (Rust shell, docs) | PASS 9.3 | A failed rollback now names both errors, exe.old and the name to rename it to; docs use FabricDesktop consistently; async sleep left as is (matches existing handover waits). update_guard.rs standalone cargo 21/21 + 4/4; main.rs via the shell job; merges cleanly. | | #566 e4624524 | OneDrive exe-swap fix: swap_in retries renames ~15 s on lock errors (Rust shell) | PASS 9.1 | Retries only PermissionDenied / OS 5, 32, 33 (60 x 250 ms); other errors fail at once; rollback retried too; messages name the failing step and docs row matches. update_guard.rs standalone cargo 21/21 + 4/4; main.rs not compiled here (shell job). Gaps: retry path untested (Windows OneDrive check); Program Files now waits ~15 s before failing; up to ~30 s blocking sleep in async update_app; failed rollback not reported; docs folder name KratosForge vs FabricDesktop. | | #565 e79e6eaf | Sign-in fix: no old-engine restart mid engine update; prune renames before delete (Rust shell) | PASS 9.2 | installing set under the sidecar lock before clearing it; rpc (the only on-demand starter) refuses meanwhile; RAII guard resets it on every exit. prune_engines renames to .old- first, so an engine still running on Windows stays whole (cacert.pem cause); only 40-hex build folders and .old- leftovers pruned. engine_patch.rs standalone cargo tests 7/7 incl. new prune test. main.rs not compiled here (tauri): RM waits for the shell job. Installing flag untested automatically: Windows check (engine update with Monitor open, then sign in). | | #564 7fd573a9 | Side by side: plain missing-table error, this PC's error shown, both-failed verdict, no speed on failed runs (fix) | PASS 9.3 | Missing table names schema.table and lakehouse (delta-rs text kept unless the no-log message); local.message from the failing cell's last error (capped, rendered as text); both-failed verdict names this PC's cell; speed only when both ok. 51 passed, 2 skipped on merged tree (side_by_side, time_travel, lakehouse, tpch, silent_except); 3 new tests fail on main's engine; ui.test 262/0; py311 compile; zensical strict clean; merges cleanly. | | #563 ef914bf5 | Pipelines P1: Lookup and Get Metadata read lakehouses locally (pipeline_data.LocalData, registry v6), Chris's go given | PASS 9.2 | Reads only with read_lakehouses / --read-lakehouse; integrations/services.py passes fixed args, so external tools still need mocks (refused at check). Read-only: DeltaTable at the pinned version or the run folder a notebook step wrote; test asserts no version change. Check refuses queries, other connections, non-table datasets, unsupported fields, unknown workspace; expressions re-checked at run time. 5,000 rows / 4 MB enforced; errors via redact.describe; '..' refused. QA-008 wording correct. 299 passed on merged tree (pipeline_data 15 real Delta reads, registry, runs, cli, services, silent_except, rpc_surface); py311 compile; zensical strict clean. Nits: Decimal to float; file info lists the whole parent folder; reads not interruptible. | | #562 6d628e1d | Docs audit against merged #440-#559 (docs only) | PASS 9.4 | Claims checked in code: DROP/TRUNCATE TABLE refused as Fabric-only (spark_local.py:475-487); fs.head reads maxBytes only; getToken kusto audience (notebookutils_local.py:381); Prove rule validation (verify.py:41-62) and mixed-type keys as text (:200); multi-worker page exists. QA-008 capacity wording correct. zensical strict clean; merges cleanly. Nit: "run in Fabric, and the cell says so" could say "run only in Fabric". QA-026 (findings.md on main) needs a Status line: mkdirs fixed by #547. | | #543 aa81c484 | Query profile, RM conflict resolution with #546 | PASS 9.2 | notebook.js combined diff keeps #546's chart segments and + Chart, then Inspect, Clean, Query profile (spark frames only); view routing intact (chart regex doesn't catch qprofile). node --check ok; ui.test 262/0; query_profile + rpc_surface + silent_except + frames 57 passed; merges cleanly. Chris's go given. | | #561 7cf0f5a9 | Shared notebook sessions re-check | PASS 9.3 (verdict only) | All five nits fixed with tests: guest use touches the host session; guest %pip install refused; environment change on a host with guests refused; guest cell with another lakehouse refused; Share confirmDialog danger (ui.test). 402 engine tests passed (shared/kernel sessions, kernel_proc, environments, pip, widgets, prove, replay, notebook, display_handles, output_cap, rpc_surface, silent_except); ui.test 262/0; py311 compile; merges cleanly. Cosmetic: blank lines around _lakehouse_key; guard compares with host's saved lakehouse; only %pip install refused. | | #561 1de9d282 | Runtime: shared notebook sessions (Fabric high-concurrency parity), NEW FEATURE, needs Chris's go | PASS 9.0 (verdict only) | Kernel.namespace is a property over thread-local guest; each guest gets its own base namespace while spark (module singleton) and its temp views/conf are shared (tested). as_guest save/restore on both sides (Host.handle pops guest, ProcessKernel._request adds it); poll/interrupt/debug of a non-owner leave the owner's cell alone; check_free names the running notebook. GuestKernel class proxy keeps isinstance(ProcessKernel) true; callables wrapped in as_guest; restart/close forget only the guest; proof calls refused; Stop ends the session for all (documented); each isinstance site checked. 232 engine tests passed (shared/kernel sessions, kernel_proc, environments, widgets, prove, replay, notebook, display_handles, output_cap, rpc_surface, silent_except); ui.test 262/0; py311 compile; merges cleanly. Nits: guest activity doesn't touch the host's last_used (host reapable while a non-open guest uses it); guest %pip writes the host's environment (may create one and restart the session); environment_attach on a host with guests not refused; lakehouse match only at share time; Share clears variables without confirm; guest namespace re-binds sys.modules notebookutils. | | #560 ad718ac5 | BPA engine re-check | PASS 9.1 (verdict only) | Condition met: run_parameters pass _inlineInstallationEnabled bool True (tested). Nits fixed: KratosForge heading; shared _risk_ack_write (risk_acknowledge unchanged); non-blocking module lock around newest-check/publish/job start/log refuses a concurrent start (tested). model_bpa + rpc_surface + silent_except + audit/risk/cloud/fabric_run/server 88 passed; py311 compile; zensical strict clean; merges cleanly. Live VertiPaq stats in a Python runtime still unproven (needs Chris's OK). | | #560 682d5e99 | BPA engine via semantic-link-labs (model_bpa_status/risk/check), draft, Chris's go given | CONDITIONAL 8.8 (verdict only) | Engine sound: risk gate (blocked stops, warning needs matching risk_id, unknown is advice like other Fabric runs); typed string run parameters, locally generated request_id, sanitized result path; METHODS +3, READ_ONLY status/risk only. semantic-link-labs 0.17.1 MIT on PyPI (needs semantic-link-sempy>=0.14.2). Condition: first KratosForge Fabric notebook using %pip; Fabric disables inline %pip in non-interactive runs unless _inlineInstallationEnabled is passed, and nothing ran live: add the bool parameter to run_parameters or prove one live run. Nits: notebook heading says "Fabric Desktop" (#287); _bpa_acknowledge duplicates risk_acknowledge's writer; concurrent checks not locked; extended=True in a Python runtime unproven. model_bpa + rpc_surface + silent_except + audit/risk/cloud 87 passed; py311 compile; zensical strict clean; merges cleanly. | | #543 28106f07 | Runtime: Query profile UI (qprofile.js), NEW FEATURE, needs Chris's go | PASS 9.2 (verdict only) | Runs only on click; note names the OneLake re-read and capacity (QA-008); step names/details rendered as text; tab only for frames marked spark (duckdb.experimental.spark, covers %%sql, tested). query_profile + rpc_surface + silent_except + frames 56 passed; ui.test 257/0; py311 compile. ui.test.cjs append conflict with main for RM. | | #550 81ace6ff | Fabric step, RM conflict resolution with #546/#552 | PASS 9.0 | notebook.py combined diff keeps charts and run_on; probed round-trips of chart+charts+fabric_step and each alone. silent_except + fabric_step + chart_libraries + notebook + display_handles + pipeline_notebooks 425 passed, 1 skipped; py311 compile. | | #559 f5d25e2d | Pipelines: waitOnCompletion=false starts the child and succeeds at once (registry v5) | PASS 9.2 | Top-level run joins detached children before notebooks.finish() and before the run timer is cancelled; children share the cancel event, so timeout and cancel reach them. 3 new tests pass 5/5 runs, 2 fail on main's engine. Pipeline + registry + silent_except 282 passed; py311 compile. Note: an unexpected _run_list exception skips the join (caller cancels). | | #558 1415cb5e | UX: pop-out band wording, Pop-out windows section in ui-guidelines | PASS 9.4 | Guideline facts checked against main.rs/app.js/popout.js. pop-out browser 9/9 on merged tree; zensical strict clean. | | #557 2e63fba8 | Pop-out windows (Preview): Monitor's From KratosForge and Fabric Monitoring hub in windows of their own; new feature, verdict only (needs Chris's go) | PASS 9.0 | Correctness 9.0, architecture 9.0, code 9.0, UX 9.1, tests 8.9, security 9.0, performance 9.0, docs 9.1. Merges clean on main f7360a79; on the merged tree ui.test 260/260, browser pop-out 9/9, csp 11/11, back-forward 4/4. cargo tests not run here (the crate builds only on Windows; owner reports 60). Security: (1) A pop-out is the app's own page (WebviewUrl::App), so it gets the configured CSP. on_navigation(app_page) keeps it on tauri://localhost / http(s)://tauri.localhost (no user, no port) and sends web links to the browser. The pop-out Fabric view is built by the same fabric_view_show code: fabric_nav_allows, the same pop-up filter with the #455 hosts, the SSO environment and the saved cookies, so it shares the sign-in profile; Sign out closes it. (2) The capability names only the app-page webviews pop-out-runs/pop-out-fabric, not the docked "fabric-pop-out" Fabric view, which is stricter than main's window-wide match. Without an app ACL manifest, the app pages can call the same app commands as main; that is the same code and origin, not a widening. (3) fabric_view_show/hide/action resolve their view from the calling window through fabric_view_label, which accepts only "main" and "pop-out-fabric". A call from the Fabric page would resolve to the same view as before, so the embedded page gains nothing new; pop_out_open_in_fabric passes only pages fabric_page accepts. (4) QA-008: the docs make no capacity claims. Nit: rpc starts the sidecar on demand, and only update_app sets updating. If the main page re-ran checkComponents (a reload) while the Runs pop-out refreshes every 15 s, a refresh could start the old engine during update_sidecar's install. Startup can't overlap today, since pop-outs close with main. | | #556 665b0492 | Re-check: semantic model table-name matcher and plan cache | PASS 9.1 | Correctness 9.1, architecture 9.0, code 9.0, UX 9.0, tests 9.1, security 9.5, performance 9.2, docs 9.0. Merges clean on main f7360a79. test_cloud + test_meta + silent_except 73/73; py3.11 compile ok. Matcher probes: a "///" description before the table line, a property before lineageTag, a measure's twice-indented tag before the table's own, and CRLF with a quoted '' name all match; a file with only a column's tag gives nothing. Cache: only meta_model_plan reads with fresh=False. meta_build_model with replace always reads fresh, and stores that read, before plan, build and save. The plan's answer is display only, never passed to the build, so a stale cache can at most make the preview differ from what Update then writes; it can't steer the build. A failed fresh read still stops before writing (test at line 420). | | #556 f54d9fbd | Semantic model follow-up (fix): Update reads the model's TMDL (getDefinition), maps tables to entities by lineage tag and keeps their names; only a clashing newcomer is schema-qualified; an unreadable definition stops before writing | PASS 9.0 | Correctness 8.9, architecture 9.1, code 9.0, UX 9.0, tests 9.0, security 9.5, performance 8.8, docs 9.0. Merges clean on main d6099321. test_cloud + test_meta + silent_except 73/73; 3 new test_cloud tests fail on main's code; py3.11 compile ok. Kept names are reserved up front (taken), so an entity sorted earlier can't take one, and a kept name used twice is dropped. Without replace nothing is read; a getDefinition failure raises before plan, build or save. table_names probe: plain and quoted names and CRLF match. Recommended follow-up (not blocking): the regex needs "table X" as the file's first line, immediately followed by lineageTag. A table someone gave a description in Fabric (TMDL writes it as a "///" line before "table"), or a property before lineageTag, isn't matched (probe: {}). That table then gets default naming, so in the clash case it could still be renamed. Searching for the "table" line and the first table-level lineageTag anywhere in the file would cover it. Nit: meta_model_plan now makes a getDefinition call (a long-running operation) every time the plan opens on an existing model. | | #555 b9c99f2c | Re-check: Faster engine updates, the source engine is never moved (hard-link copy, plain copy fallback) | PASS 9.1 | Correctness 9.1, architecture 9.0, code 9.1, UX 9.0, tests 9.0, security 9.0, performance 9.3, docs 9.1. Merges clean on main e9464709. The move path and strip_sidecar are gone, and stage_runtime only links or copies. engine_patch.rs built standalone on Linux: 6 tests pass, including a_failed_update_leaves_the_source_engine_whole. My probe confirms staged files share the source's inode (nlink 2) and the engine's own files are not staged. Hard-link write paths checked: tar.exe writes only the zip's paths, which are exactly the sidecar_owned files copy_runtime skipped, so it never opens a linked file. Python writes .pyc through _write_atomic (temp then os.replace), and the linked sources keep their mtime, so no rewrite. %pip and environments install with pip --target into /environments, never the engine's site-packages. A full-engine repair unpacks fresh files. The engine's own code writes nothing under sys.prefix (grep). Pruning happens with the sidecar stopped. docs/security.md and README now say "a copy (hard links...)". Residual (not blocking): if engine<BUILD_COMMIT> was the source, the two engines keep sharing inodes until one is pruned; that is safe given the replace-only write paths above. | | #555 6820150f | Faster engine updates: a small update zip of the engine's own code when the installed engine has the release's runtime key (optimization, no go needed) | CONDITIONAL 8.6 | Correctness 8.3, architecture 8.9, code 8.9, UX 9.0, tests 8.6, security 8.8, performance 9.5, docs 8.5. Merges clean on main 79eb8d4b. engine_patch.rs, built standalone on Linux (serde_json, offline): its 6 unit tests pass. Integrity holds. version.json goes through update_guard::check_manifest (stamp ordering) before the zip is fetched; the zip is checked against engine_update_sha256; check_patched requires the release's commit and runtime, python.exe and fabric_desktop/init.py before put_engine_in_place; the stamp is remembered only after that. Any Err removes .new and falls back to the full download, so no partial engine is left in place. CI refuses a build without a 64-hex runtime; the update zip is attested and listed in the per-build release; promote.yml verifies engine_update_sha256 when present and deletes a stale update zip from stable when the promoted build has none. Blocking: with may_move, stage_runtime renames the source engine into .new and strips it. If the unpack or check then fails, install_engine deletes .new, so that engine is gone, and only the full download can replace it. Probe (standalone test): stage_runtime(src, .new, true) then the error path's remove_dir_all(.new) leaves src missing. update_sidecar stops the sidecar first, so the move normally succeeds. After an exe update, engine<BUILD_COMMIT> doesn't exist yet and the previous build's engine is the one engine_python() falls back to, so a failed update plus a failed full download (e.g. offline) leaves the PC with no engine, where main keeps the old one until a new engine is in place. "is about to be removed anyway" holds only on success, and docs/security.md says the zip is applied "only to a copy". To re-pass: move only when engine<BUILD_COMMIT> exists (else copy), or restore the source on failure; add a test; align the security.md wording. | | #547 382afb65 | Re-check after Release management's merge of main (union resolution of the test-file appends) | PASS 9.0 (unchanged) | Merges clean on main 79eb8d4b. Against its merge base, the PR is still exactly the f266358e change: FileStore.mkdir, mkdirs through _writable, MUTATIONS + FakeStore.mkdir, and the two new tests. No other code moved. Both sides were kept: test_notebookutils_fs.py has #547's mkdirs test next to #545's roots/ls/dangling-link tests and #541's head test; test_contract_onelake.py has mkdir next to #541's partial-read test. contract + fs + helpers + silent_except 127 pass/1 skip. | | #554 d20770ca | Codebase audit: docs/security.md:41 links release-management/README.md#rollback (was #rollback-today), which unbreaks main's strict docs build | PASS 9.5 | One line. The target heading is "## Rollback" (release-management/README.md:116), and no other #rollback-today link remains in docs/ or README. Zensical 0.0.71 (strict = true in zensical.toml) in a scratch venv: main 31894c31 aborts ("Aborted because --strict flag is set"); this head builds with "No issues found". Merges clean on main. | | #553 0ce0874e | Prove cancel race (bug fix): Kernel.interrupt waits up to 2 s for a starting cell's thread id; _proof_pc interrupts right after kernel.start when cancel is set | PASS 9.2 | Correctness 9.2, architecture 9.1, code 9.2, UX 9.0, tests 9.3, security 9.5, performance 9.3, docs 9.0. Merges clean on main f6fe349f. test_prove + debugger + kernel_sessions + kernel_process + notebook_magics + silent_except 191/191; the 2 new tests fail on main's engine (reproducing the race); py3.11 compile ok. Shared-interrupt probe: interrupting a running cell answers {"interrupted": True, "stopped": True} in 0.001 s, and interrupting with no running cell answers interrupted False at once. The wait only spins while ident is None and the run isn't done, so normal Runtime interrupts are unchanged. A thread that never starts gets interrupted False after 2 s, not a TypeError. | | #550 ba8ced5d | Re-check: Fabric step; Prove and Side by side refuse it, %run skips it (feature, verdict only; needs Chris's go; no live run) | PASS 9.0 | Correctness 9.0, architecture 8.9, code 9.0, UX 8.9, tests 9.1, security 9.0, performance 9.0, docs 9.0. Merges clean on main f6fe349f. Merged tree: fabric_step + notebook_magics + side_by_side + rpc_surface + silent_except + proof tests 173 pass/2 skip; ui.test 258/258; browser fabric-step 5/5, now including "Stop here" and a blocked risk check sending nothing; py3.11 compile ok. The 3 new engine tests fail on f78ea7fa's code. proof.check adds a blocker on the marked cell, which prove_service raises before saving, signing in or publishing. side_by_side_start refuses right after the lakehouse check, before compute_check or any save. Kernel._run_cells skips the step for %run and notebookutils.notebook.run. The capacity gate and QA-008 findings from f78ea7fa stand. Nit: STEP_REFUSED ends "to compare this notebook", which reads oddly in a Prove blocker. | | #550 f78ea7fa | Run the last notebook cell on Fabric Spark for V-Order ("Fabric step", Preview, draft); new feature, verdict only; needs Chris's go; no live run | CONDITIONAL 8.5 | Correctness 8.0, architecture 8.6, code 8.8, UX 8.8, tests 8.5, security 9.0, performance 9.0, docs 9.0. Merges clean on main 8d76dd26; on the merged tree test_fabric_step + rpc_surface + silent_except + frames 64/64, ui.test 258/258, browser fabric-step 4/4 and notebook-runs 3/3, py3.11 compile ok. Capacity gate: runCell hands the marked cell to runFabricStep, which runs notebook_fabric_step_check, sign-in, riskGate (action run_in_fabric) and a confirm naming the workspace, lakehouse, item, tables and every write before run_notebook_fabric_step. Run all prechecks before any cell runs. The server method has no gate of its own, the same as run_notebook_in_fabric; integrations reach only curated capabilities, not raw RPC. QA-008 wording is right ("starts no Fabric job, but their OneLake reads and writes use capacity"; the step "uses capacity units"). Pipelines (code_cells) and scheduled local runs skip the step. Blocking: other run paths still run the marked cell on this PC. prove_service (code list at line 601), side_by_side_service (184, 366) and Kernel._run_cells (%run, notebookutils.notebook.run) skip only frozen cells. The step's OPTIMIZE ... VORDER is a parser error locally (probe: spark_local sql("OPTIMIZE orders VORDER") gives ParserException), so Prove this notebook and side-by-side fail at the last cell of any notebook with a step (inferred from the code; not run end to end). To re-pass: skip the step in those paths, as schedules do (with a note), or refuse up front with a clear message; add tests. Nits: the browser test doesn't cover "Stop here" or a failed risk check sending nothing; a " (Fabric step)" notebook already in the workspace is replaced (the confirm says so). | | #552 81e76f8d | Re-check: Display handles, _OutputSink.clear restored (feature, verdict only; needs Chris's go) | PASS 9.1 | Correctness 9.1, architecture 9.0, code 9.0, UX 9.0, tests 9.2, security 9.2, performance 9.0, docs 9.0. Merges clean on main 926ccd13. _OutputSink again has write/add/replace/clear, and _replace_capped is module-level. display_handles + ipywidgets + output_cap + outputs_hardening + rich_outputs + silent_except 81/81; the new clear_output-in-Output test fails on 1eaa793b's engine; py3.11 compile ok. The cap fix and lock fix from 1eaa793b stand (probed there). | | #552 1eaa793b | Re-check: Display handles, cap fix (feature, verdict only) | FAIL 7.6 | Correctness 6.5, architecture 8.5, code 7.0, UX 8.0, tests 7.5, security 9.0, performance 9.0, docs 9.0. Merges clean on main ae799946. The cap fix works: an update of 16 MB + 1,000 chars of HTML becomes the truncation line, and a later small update lands (83 chars). The lock nit is fixed. Tests: display_handles + ipywidgets + output_cap + outputs_hardening + silent_except 72/72, rich_outputs 8/8. Regression: the new module-level _replace_capped was inserted between _OutputSink.replace and _OutputSink.clear, so def clear is now dead code nested after _replace_capped's return and _OutputSink has no clear. with o: print("a"); clear_output(); print("b") now fails with AttributeError "'_OutputSink' object has no attribute 'clear'", where main gives o.outputs == [b]. No test covers IPython clear_output inside with out:. To re-pass: move clear back into _OutputSink and add that test. | | #552 dc64aac6 | Outputs: display handles (display_id=True, handle.update, update_display, DisplayHandle), Preview; new feature, verdict only (needs Chris's go) | CONDITIONAL 8.6 | Correctness 8.3, architecture 8.9, code 8.8, UX 9.0, tests 8.6, security 9.0, performance 8.5, docs 9.0. Merges clean on main ed120bdf. test_display_handles + outputs_hardening + silent_except 41/41; ipywidgets + output_cap 60/60; py3.11 compile ok. Poll sends the whole outputs list on a version bump, so in-place replacement reaches the app. An update to a display a finished cell showed leaves the current cell untouched, as documented. Blocking: an update bypasses the per-cell rich-output cap (16 MB, #490/#495). Probe: display(HTML('x'), display_id=True) then h.update(HTML of 16 MB + 1,000) puts a 16,001,078-char output in the cell, where display() of the same HTML is refused with the truncation note. The same holds inside an ipywidgets Output (_OutputSink.replace doesn't count _rich either). To re-pass: apply RICH_CHARS in _Run.replace and in the Output path (refuse or replace with the truncation note), with a test. Nit: _OutputSink.replace reads and slice-assigns Output.outputs outside the widget's lock, so an append from a handler thread in between can be lost; do it under out.lock. | | #551 45a9d93f | Magics (stacked on #542): months_between counts time of day, rounds to 8 digits, honours roundOff; element_at refuses an array's index 0; F.months_between and F.element_at go through the translation | PASS 9.2 | Correctness 9.3, architecture 9.1, code 9.0, UX 9.2, tests 9.1, security 9.5, performance 9.0, docs 9.2. Merges clean on main f0e3d31b; on the merged tree ui.test 259/259 and spark_compat + spark_local 72/72. test_spark_compat + silent_except 56/56; a new test fails on n542's engine; py3.11 compile ok. Probes against Spark's documented values: months_between(1997-02-28 10:30, 1996-10-30) = 3.94959677, with roundOff false 3.9495967741935485; 2024-03-31 vs 2024-02-29 (both month ends, times differ) = 1.0; 2024-01-01 vs 2024-03-15 = -2.4516129; text that isn't a date gives NULL. element_at: index 1 and -1 work; literal 0 and a column holding 0 raise Spark's error; a map key 0 (literal or column, also a map of arrays) still works. The DataFrame API gives the same values with Spark's column names (months_between(a, b, true), element_at(arr, 2)). Nit: the translated months_between repeats the TRY_CAST of each input about ten times (DuckDB folds it; only readability). | | #549 31be4ebe | Outputs hardening (fixes only): chart NaN/list/struct categories, plain non-number Values message, booleans as 0/1, nested CSV as JSON, Excel 15-digit text, 1900 serials, pre-1900 dates as text | PASS 9.2 | Correctness 9.3, architecture 9.1, code 9.2, UX 9.1, tests 9.2, security 9.5, performance 9.0, docs 8.8. Merges clean on main 3cabc3a4. test_outputs_hardening + test_frames + silent_except 72/72; the 2 new tests fail on main's frames.py; py3.11 compile ok. Probes: boolean sum/avg/max/min give 1.0/0.5/1.0/0.0; histogram and box on a boolean, and sum on text, are refused with the plain message ("or count rows"), while count on text still works. Excel serials match Excel: 1900-01-01 1, 1900-02-28 59, 28 Feb 12:00 59.5, 1900-03-01 61, 2024-01-01 45292; 1899-12-31 23:00 goes out as text; 999999999999999 stays a number; ±10^15 and longer become text; NaN as text. Nits (optional): an int of exactly ±10^15 (exact in Excel) goes out as text, which is conservative; nested CSV builds a Python list per column (to_pylist), fine at download sizes. | | #548 07999876 | Re-check: BPA semantic model, total measures now always "
total " | PASS 9.1 | Correctness 9.1, architecture 9.1, code 9.2, UX 8.9, tests 9.2, security 9.5, performance 9.5, docs 9.0. Merges clean on main 3cabc3a4. test_cloud + test_meta + silent_except 71/71; the new test_cloud tests fail on 87ef4ddc's semantic.py (2); py3.11 compile ok. Probe: fact_sales' TMDL is byte-identical after fact_returns(amount) and a dim column "Total qty" are added; measures fact_sales total amount/qty, fact_returns total amount; keys (customer_id) and dims get none. The earlier CONDITIONAL (names changing as the model grows) is fixed. Not blocking, follow-up: plan() renaming a table to schema_table when two Delta tables share a name is pre-existing and already renames the table and its rows measure, so it is a follow-up, not this PR's. Nit: a table "x total" with column "y" and a table "x" with column "total y" would both make "x total total y" (far-fetched). | | #546 02a7a761 | Re-check: Several charts per result, nits folded in (feature, verdict only; needs Chris's go) | PASS 9.3 | Correctness 9.3, architecture 9.1, code 9.2, UX 9.3, tests 9.3, security 9.5, performance 9.3, docs 9.2. Merges clean on main 3cabc3a4. Delta since d1b884f2: a repeated title gets the chart's number, and the ui.test case fails on d1b884f2's charts.js; new browser test several-charts 1/1; I001 and blank lines fixed (ruff back to main's count). ui.test 258/258, test_frames 31/31, result-viewer 3/3. | | #548 87ef4ddc | BPA: generated SM
sets summarizeBy none on every column; facts get "Total " SUM measures | CONDITIONAL 8.6 | Correctness 8.2, architecture 8.8, code 9.0, UX 8.7, tests 8.8, security 9.5, performance 9.5, docs 8.6. Merges clean on main 3cabc3a4. test_cloud + test_meta + silent_except 71/71; 2 test_cloud tests fail on main's semantic.py; py3.11 compile ok. Q1, implicit sums: existing visuals store their aggregation in the visual query, so changing sum to none on update doesn't break them; only the default when a field is dragged in changes, and the Total measures replace it. A fix in scope (BPA error rule), not a behaviour change needing a go. Q2, names: deterministic for the same tables (probe), but NOT stable as the model grows. Probe: [fact_sales(amount)] gives "Total amount"; adding fact_returns(amount) renames it to "Total amount (fact_sales)"; adding any column named "Total qty" renames "Total qty" to "Total qty (fact_sales)". The lineage tag stays, but reports bind measures by name, so a renamed measure breaks visuals that use it. That contradicts README and metadata-guide: "building again updates it in place … so reports on it keep working". To re-pass: keep a measure's name stable across rebuilds, e.g. reuse the existing model's measure name for the same lineage tag on Update, or always qualify the name with the table. Add a test that builds twice with a fact added between. | | #547 f266358e | Utilities: OneLake fs.mkdirs creates the folder (FileStore.mkdir, PUT ?resource=directory, If-None-Match: , 409 = there) | PASS 9.0 | Correctness 8.9, architecture 9.1, code 9.1, UX 9.0, tests 9.0, security 9.3, performance 9.5, docs 9.0. Merges clean on main 01d3d6d8. contract + fs + helpers + silent_except 122 pass/1 skip; the new tests fail on main's code (2); py3.11 compile ok. Guard probes: a write_guard refusal raises PermissionError with the guard's reason, gets ("Sales","Files","Files/g") and sends nothing; a proof refuses with no mutation; Tables/x, Files, Files/, Files// and abfss:// refused before any request. docs/permissions.md needs no change: the "Reading and writing tables and files" row and Storage user_impersonation already cover it. All three of #541/#545/#547 merged together: append conflicts in test_notebookutils_fs.py (#545 and #541) and test_contract_onelake.py (#541); keeping both sides passes 109/1 skip. Recommended follow-up (not blocking): a 409 is taken as "folder there" even when a file holds that path (OneLake answers PathAlreadyExists for both), so mkdirs on an existing file returns True, where the local branch and Fabric raise; a trailing slash is sent as is ("Files/n2/"). | | #546 d1b884f2 | Outputs: several charts per result ("+ Chart", Preview). New feature, verdict only; needs Chris's go | PASS 9.1 | Correctness 9.2, architecture 9.1, code 9.1, UX 9.1, tests 8.8, security 9.5, performance 9.3, docs 9.2. Merges clean on main 01d3d6d8. ui.test 258/258; test_frames + silent_except 49/49, and the new test fails on main's engine; py3.11 compile ok; result-viewer browser 3/3. Real-browser probe (polars frame, real engine): adding 3 charts makes Chart 2/3/4; a title renames its view; X changes stay per chart; Remove chart on Chart 2 keeps the others' settings in order; the cap stops at 10. Engine sanitises and caps the extras at 9, keeps the first in "chart" for older builds, and merge drops stale "charts". Nits (optional): no browser test commits the + Chart flow; two charts with the same title get same-named view buttons; the new test has an unsorted local import (ruff I001, not a CI gate) and an extra blank line before it. | | #545 4f3140cb | Utilities fs: exists("Files")/exists("Tables") are True, ls of a file returns that file (OneLake falls back to _entry on 400/404), a dangling link no longer breaks a local ls | PASS 9.1 | Correctness 9.1, architecture 9.1, code 9.1, UX 9.0, tests 9.1, security 9.3, performance 9.5, docs 8.8. Merges clean on main 01d3d6d8. notebookutils fs+helpers 69 pass/1 skip; the 3 new tests fail on main's code. py3.11 compile ok, test_silent_except 18/18, ruff unchanged against main. With #541: one append conflict in test_notebookutils_fs.py (keep both); the union passes 70/1 skip. Dangling-link probe (link to a path outside the folder): the listing shows only the link's own name and path, and its lstat size (the target path's length, which os.readlink gives anyway). No target content or metadata is read. A self-loop link is also listed instead of failing. ls on a dangling link itself still raises FileNotFoundError. A live link to an outside file reports that file's size, as main already did; local file: paths run with the user's own rights. Optional nit: a dangling link's size could be 0 rather than the link's lstat size. | | #544 d6ec8570 | Editor: a line continuing a list item is no longer read as a setext heading (stacked on #540) | PASS 9.2 | Correctness 9.2, architecture 9.3, code 9.2, UX 9.2, tests 9.1, security 9.5, performance 9.5, docs 9.0. Merges clean on main 01d3d6d8. Probes: - item\ncont\n--- gives no heading; a paragraph after a blank line, after a fence, or indented under a list item still becomes a heading; Text\n- item\n--- none. ui.test 256/256; notebook-cells 7/7, notebook-folded 6/6. New assertion fails on d89f2401 (255/1). Optional nit, pre-existing: a lazy quote continuation > q\nlazy\n--- still counts as a heading. | | #543 cf800b19 | Runtime: query profile engine (notebook_frame_query_profile), NEW FEATURE, needs Chris's go | PASS 9.1 (verdict only) | Re-running can't write: only spark/%%sql DataFrames are accepted (module check, relation required), and spark.sql turns only queries into DataFrames. CTAS/INSERT, including WITH … INSERT, go to the lakehouse writer and return None; anything else is executed and returns None. EXPLAIN ANALYZE runs the same relation that paging the result already re-runs, so the profile has the side effects paging has and no more: volatile functions advance (probed: nextval moved from 1 to 3), and lakehouse-backed results read OneLake again, which uses capacity. The UI copy should say so (QA-008). Profiling is switched on under a lock, written to a mkstemp file (0600) that is unlinked in finally, and disabled/reset afterwards (checked: enable_profiling is unset after). Wiring: METHODS not QUICK, audit READ_ONLY, NO_UI_CALLER until the mockup. Nit: profiling is per connection, so a query another thread runs on the session during the profile is also profiled into the temp file; harmless, as the file is deleted. Steps are capped at 200 with a count of the rest. 5 new tests plus rpc_surface, server, audit, frames, kernel_process, environments and silent_except 108 passed; compiles on 3.11. Merges cleanly on main. | | #542 c8aae346 | Magics: slice refuses index 0 and a negative length; add_months reads text/timestamps as dates | PASS 9.2 | ArraySlice gets CASE WHEN start = 0 / length < 0 THEN error(...) with Spark's own messages. A literal raises at once, a column raises only on the offending row, and an empty input raises nothing (probed in F and spark.sql). add_months wraps its input in TRY_CAST to TIMESTAMP and then DATE: text and timestamps both give dates, junk text gives NULL, and month ends clip (2024-03-31 10:00 +1 is 2024-04-30). F.add_months goes through the same path, named add_months(d, 1). New test fails on #536's code; spark, sql and local suites, silent_except and magics 629 passed; ui 258/258; compiles on 3.11. Merges cleanly on main. | | #541 d8a6bf8a | Utilities: fs.head sends a Range read; runMultiple refuses a repeated notebook; runtime.context ==/!=/pop/setdefault refresh | PASS 9.2 | FileStore.read_bytes(length=) sends Range: bytes=0-(n-1), returns b"" on 416 (empty file), and still slices if a server ignores Range. The local path reads only maxBytes. head(path, 0) is "". FileStore is the only production read_bytes; other callers pass no length and are unchanged. The runMultiple list form refuses duplicates, since results are keyed by name. The context dict refreshes on ==, !=, pop and setdefault (closes the #503 gap) and stays unhashable. 4 new tests fail on main. contract_onelake, notebook_run, notebookutils, side_by_side, readiness, fabric_compute, livetest and silent_except 207 passed 3 skipped; compiles on 3.11. Merges cleanly on main bb52c43e. | | #540 d89f2401 | Editor: multi-line setext headings keep all their text; an indented code line isn't heading text | PASS 9.2 | The paragraph's lines accumulate, so line1\nline2\n--- gives "line1 line2". A line indented 4 spaces or a tab starts no paragraph, but continues one, as in CommonMark. Quote, list, blank, fence and heading still reset it. Pre-existing rare nit: a lazy continuation line after a list item (- item\ncont\n---) still counts "cont" as a heading. ui assertion fails on #538; ui 256/256; notebook-cells 7/7; notebook-folded 6/6. Merges cleanly on main. | | #539 0e694fb0 | Runtime: removing a package leaves nothing importable; the existence check in start() runs under the lock | PASS 9.2 | _remove deletes the RECORD's files inside the target, then each emptied folder, deepest first, and each touched folder's pycache. Delete-path probe: namespace sibling (ns-a removed, ns/b kept); plugin package inside another package's folder (host/init.py and core.py kept); RECORD entries through a symlinked folder that resolves outside (the outside file was kept). The only thing removed from a shared folder is its pycache, which is cache Python rebuilds. The start() check now sits inside the lock with the busy check, so a delete can't land in between. 2 new tests fail on main; environments, kernel_process and silent_except 51 passed; compiles on 3.11. Merges cleanly on main bb52c43e. | | #258 3ea47046 | Re-check after RM's merge of main: updater hardening (HD-022) | PASS 9.1 (unchanged; merge once Windows CI is green) | The PR's own diff against its new merge base is identical to 3a05d36's apart from hunk offsets and blob ids, and it merges cleanly on main bb52c43e. Locally: test_updater + silent_except 56 passed; ui 256/256. Merge order confirmed: merge #258, then promote build-29f76070c907. promote.yml is workflow_dispatch and runs from main, so only after #258 does it stamp published into Stable's version.json. build-29f76070c907's version.json (fetched) has no published but does have exe_sha256 0fa9cd5d…, which matches the release's exe digest, so post-#258 clients' required-checksum rule is satisfied either way. A Stable promoted first would be unstamped, which update_guard accepts only until a stamped one has been seen, so replay protection would start one promote late. Clients already on 29f7607 ignore the stamp. | | #538 3924ebea | Editor: setext headings count in the outline; a fence with an info string doesn't close a code block | PASS 9.1 | Inside a fence, only a bare fence of the same kind and at least the same length closes it, as in CommonMark. Title\n=== is level 1 and Section\n--- level 2. A --- after a blank line, a list item, a quote, a heading or a table row doesn't count, and a second === isn't a second heading. Used only by the outline and the heading level for folding. Optional nits: a multi-line paragraph underlined with --- shows only its last line as the outline text, and an indented code line followed by --- is counted (CommonMark wouldn't). The ui assertion fails on main; ui 256/256; notebook-cells 7/7; notebook-folded 6/6. JS only. Merges cleanly on main bb52c43e. | | #537 1e3fd178 | Prove: comparison rules validated; form sends bad text, not NaN; mixed-type keys match as text | PASS 9.2 | verify.rules refuses each bad input with a clear message: non-dict rules; abs/rel that are text, NaN, bool or negative; examples/limit_rows that are negative or fractional; keys [1]; bad per-column tolerances; columns given as a list; a negative, bool or float offset. It still accepts "10", 1e6 and keys "id", and copies DEFAULTS' columns dict, so it is no longer shared. The ui.test change is stronger, not weaker: it now asserts the JSON value actually sent ("abc"), where the old NaN assertion passed while JSON turned NaN into null, i.e. the default. A text key against an integer key compares as text (1 = '1', the rest are only_pc/only_fabric) and the result stays "differs". 14 new tests fail on #535's code; prove, side_by_side, validate, wizard and silent_except 208 passed 2 skipped; ui 255/255; verify.py compiles on 3.11. Merges cleanly on main 1eeabfeb. | | #536 02249d2d | Magics: F.slice takes a length; add_months is a DATE | PASS 9.0 | F.slice now matches Spark: (2,2) is [2,3], where it was [2,3,4]; (-2,2) is [4,5], where it was []; (-1,5) is [5]; (4,10) is [4,5]; (1,0) is []. Column and column-name arguments work, and the name is slice(a, 2, 2). add_months is a DATE in spark.sql for a timestamp column and a text literal, where it was a timestamp; the F path was already a date. Month-end clipping matches Spark (2024-01-31 +1 is 2024-02-29; 2024-02-29 +12 is 2025-02-28). Follow-ups, both loud and pre-existing or rare: slice(a, 0, 2) gives [1] where Spark raises "SQL array indices start at 1"; add_months on a VARCHAR column is a DuckDB binder error on #533 too, so the docstring's "also for text" holds only for literals. New test fails on #533's code; spark, sql and local suites, silent_except and magics 628 passed; ui 257/257; compiles on 3.11. Merges cleanly on main de0ffe12. | | #535 e8197604 | Prove: with rel = abs = 0, integers and decimals compare exactly, not as DOUBLEs | PASS 9.2 | Consistent with #283. The defaults (rel 1e-9, full compare under 5M rows, fingerprints above) are untouched. The exact path is taken only when the effective tolerance is 0 and both sides are integer/decimal (keyed per column via _tolerance; whole rows when the significant digits reach 17). Values compare as text with trailing zeros removed. Probed: 1.50 = 1.5, 15 = 15.0, 0 = 0.000, -0.00 = 0, NULL = NULL, 10 vs 1.0 differs, and float vs decimal still uses DOUBLE. When DOUBLE can't show the difference, max_abs/max_rel are omitted, not reported as 0. Both new cases fail on main; prove, side_by_side, validate and silent_except 129 passed 2 skipped; compiles on 3.11. Merges cleanly on main de0ffe12. | | #534 0e824e2c | Prove follow-ups: DROP/TRUNCATE say "runs in Fabric"; superseded table views are dropped | PASS 9.2 | DROP TABLE and TRUNCATE on a lakehouse table raise a clear message. DROP TABLE IF EXISTS of a missing table is a no-op and DROP TABLE of a temp view drops it, as in Spark. Superseded-version views are unregistered unless a live DataFrame (WeakSet filled by a patched DataFrame.init, matched by \b on relation.sql_query(); _1 can't match _12) or a DuckDB view still reads them. View names come from a global counter, so a dropped name is never reused. Probe: DataFrames built from an older version (filter/select, join, groupBy, one held in a list) keep working while new writes land, and their view is dropped after del and gc. CSV, in-memory and pandas frames don't break the scan. 2000 throwaway frames leave the WeakSet at its baseline (3 before, 3 after), so the patch adds no leak. 4 new tests fail on #532's code. On main + #534 + #533 merged (#533 also changes sql.py): spark, validate, prove, sql, local and notebook suites plus silent_except 1049 passed, 1 skipped. Compiles on 3.11. Merges cleanly on main de0ffe12 and with #533. | | #533 48894791 | Magics: groupBy() over the whole frame; first/last ignorenulls in F, windows and spark.sql | PASS 9.2 | groupBy() with no columns now aggregates the whole frame through agg, Column and dict forms (count and sum were already right). F.first/F.last(ignorenulls=True) aggregate with FILTER (WHERE x IS NOT NULL), and .over(w) rewrites to first_value/last_value(x IGNORE NULLS). In spark.sql, last(v, true), first(v) IGNORE NULLS, and a window's IGNORE NULLS (which sqlglot dropped) now work, while last(v) without the flag is unchanged. Probed per group, running window, whole-partition window and F.col arguments: all match Spark. The quoted 'yyyy' docs line is added. New test fails on main. On main + #532 + #533 merged: spark, validate, sql and local suites, silent_except and magics 661 passed. ui 256/256; compiles on 3.11. Merges cleanly on main f4795159 and on top of #532. | | #532 0faf0927 | Prove: local Spark reads a table as it is now after a write; INSERT ... VALUES writes | PASS 9.1 | bind_tables now keys an unpinned read by table_uri plus the current Delta version (time travel is unchanged), so a later cell sees the session's own writes, and a proof's sandbox copy (a different table_uri) never reuses a view of the real table. _statement accepts exp.Values. Sandbox probe beyond the PR's 7 writes and 2 Files writes: DELETE, UPDATE and MERGE via SQL, DeltaTable.delete, DROP TABLE, TRUNCATE, INSERT OVERWRITE and INSERT VALUES into a missing table. All 8 left the lakehouse byte-identical. INSERT OVERWRITE landed in sandbox_tables; the others stop the run. Pre-existing nits: DROP/TRUNCATE stop with a DuckDB parser/binder error, not a clear message. Each new version registers another view on a long-lived connection without dropping the old one (small growth in a write loop). 5 new tests fail on main. On the merge with main f4795159 (sql.py also changed by #529/#531): spark, validate, prove, sql and local suites plus silent_except 668 passed. Changed files compile on 3.11. Merges cleanly. | | #531 f2a04d06 | Magics: unix_timestamp quoted text stays literal; a pattern with no year starts at 1970 | PASS 9.1 | Quoted text maps sqlglot's %-codes back to letters, so 'T', 'Z', 'at', 'it''s' and '100%' (escaped as %%) are literal, and the ISO ...'T'...SSS'Z' pattern gives 1710075907. Q is still refused. Checked the +70 YEAR: it is added to the naive timestamp before the session-zone cast, so 1970's DST applies (New York 07-01 12:00 is 15696000 at EDT; 01-01 00:00 is 18000 at EST). 02-28 and 12-31 23:59 are exact; 02-29 is NULL because strptime's 1900 isn't a leap year, and neither is 1970, so Spark has no such date either. yy still counts as a year. Known limitation (silent, very rare): a quoted 'yyyy' reads as 'y' and gives NULL. Should go in the docs. Spark, sql and local suites, silent_except and magics 626 passed; new test fails on #529's code; ui 255/255; compiles on 3.11. Merges cleanly on main. | | #529 e16d5b57 | Re-check: unix_timestamp formats | PASS 9.0 | The format is now built from the node with sqlglot's format_time; S/SS/SSS map to %g. The fraction example gives 1710075907 through both F and SQL. Quoted 'T' works. Untranslated letters (Q, XXX) and quoted text holding pattern letters now raise ValueError instead of a silent NULL. Probed: yyyyMMdd, dd/MM/yyyy HH:mm, yyyy.MM.dd and .S all match Spark. Follow-ups (loud, not silent, so not blocking): ...SSS'Z' (a common ISO pattern) is refused because sqlglot turns the quoted Z into %z; and a time-only pattern such as h:mm a dates to 1900-01-01 where Spark uses 1970-01-01, which is pre-existing (same on #528). Spark, sql and local suites, silent_except and magics 625 passed; ui 254/254; sql.py compiles on 3.11. Merges cleanly on main e4b4623. | | #530 fb654115 | Validate Undo-after-edit test waits for Apply's refreshes (test only) | PASS 9.1 | No product race hidden. undoCleanup re-checks cleanupUndoable at click time and refuses with a toast, and drawValidate drops Undo once the cells differ, so a refresh landing after an edit only removes the button sooner. Both paths protect the edit. The flake was the test clicking a button a late redraw had removed. The test now waits until both Apply follow-ups are back (plan replaced, checkSnapshot equal to the cells' snapshot) before it edits; the assertions are unchanged. validate.test 3/3 on three runs. Merges cleanly on main e4b4623. | | #529 edad06d2 | Spark on this PC: unix_timestamp takes dates/timestamps, reads the session time zone, NULL on no match | CONDITIONAL 8.8 | Time zones are right. The value is cast to TIMESTAMPTZ on the session connection, and every SQL path (sql.run, sql_worker, localdata engine, spark_local) sets TimeZone to UTC, so the SQL editor stays UTC as in Fabric. In America/New_York, 13:05:07 gives 1710090307 for both F and SQL, the DST-gap time 02:30 shifts forward as Spark does, a +00:00 literal is honored, and the no-argument form works. Required fix: the new "no match is NULL" turns sqlglot's untranslated tokens into silent NULLs. unix_timestamp('2024-03-10 13:05:07.250', 'yyyy-MM-dd HH:mm:ss.SSS') raised on #528 ("format %H:%M:%S.SSS") and now returns NULL, while Spark returns 1710075907. Map SSS (fractional seconds) to DuckDB's %g, which parses this, or refuse a format with letters left after translation; add a test. Also fragile: the format is cut out of the generated SQL by prefix slicing ("EPOCH(STRPTIME(fd, "); build it from the format node instead. Spark, sql and local suites, silent_except and magics 624 passed; new test fails on #528's code; ui 254/254; compiles on 3.11. Merges cleanly on main. | | #528 25d102b7 | Spark on this PC: F.initcap lower-cases the rest of each word; concat names a literal by its text | PASS 9.2 | F.initcap now uses the same translation as spark_expr/spark.sql: "hELLO wORLD-x y_z" becomes "Hello World-x Y_z", splitting on spaces only, as Spark does. _name_of names a string literal by its text with '' unescaped, so the names are concat(a, !) and concat(it's, a); other names are unchanged (5 callers, all column-naming only). New test fails on main; spark, sql, silent_except and magics suites 485 passed; ui 253/253; compiles on 3.11. Merges cleanly on main 8075cbe. | | #527 ac2a4b3b | Forge animations browser test independent of runner load | PASS 9.0 | The test stops motion.js's long-task load watch (now the named motionLoadWatch; no behaviour change, let loadTasks/dropUntil reset) and waits on effects recorded per cell (madeFx), not a short-lived element. It now also asserts that the failed cell didn't spark. The relaxed "Cell N of 3" check accepts 1-3 but is read in the same evaluate as the cells done and asserts N >= done, so a stale or lagging count still fails. Optional: add N <= done + 1 to also catch a count running ahead. forge-animations 5/5 on three runs; motion-effects 4/4; ui 252/252. Follow-up (not this PR): no test covers the load-drop itself (only motion-benchmark observes long tasks). Merges cleanly on main 8075cbe. | | #526 53366489 | Spark on this PC: substring position 0 counts as 1; concat is NULL with a NULL input | PASS 9.1 | sql.spark_substring rewrites a literal 0 start to 1 and wraps a column start in CASE WHEN = 0 THEN 1. Negative starts are left alone (they count from the end in both). The rewrite runs only on the Spark dialect in sql.parse, and in spark_expr, F.expr and spark_api._duckdb_expr. Probed: spark.sql substring with column positions 0/2, FROM 0 FOR 2, concat(NULL) is NULL, and concat_ws still skips NULLs. SQL editor / exec / compat / local and spark suites, silent_except and magics: 622 passed. New test fails on #525's code; ui 252/252; changed files compile on 3.11. Optional naming nit: F.concat(col, F.lit("!")) is named concat(a, '!') where Spark shows concat(a, !). Merges cleanly on main; merge after #525. | | #525 d6d0bc5d | Spark on this PC: drop takes F.col("ID")/backticks/df["V"]; summary() takes Spark's statistics | PASS 9.1 | drop resolves a Column's name ignoring case (backticks stripped), while expressions and literals still drop nothing. summary() was an alias of describe(), so summary("count") broke. It now takes Spark's statistics: the default adds the 25/50/75% quartiles, plus count_distinct, approx_count_distinct and any NN% up to 100 via quantile_disc (an actual value, like Spark's percentile_approx). Anything else is refused before it reaches SQL, so an injection-style string raises ValueError. describe() is unchanged. Classified as a fix: it corrects an existing public call to Spark's documented contract, with no new API surface or UI. New tests fail on main; spark_compat + spark_local + silent_except 81 passed; ui 251/251; compiles on 3.11. Merges cleanly on main 9f25b30. | | #524 be3801e8 | Spark on this PC: dropping every column raises a clear ValueError | PASS 9.1 | drop() that would leave no columns (by name, any case, or by Column) raises "drop would leave no columns (id, v)" instead of DuckDB's binder error; Spark would keep an empty frame, which DuckDB can't hold, and the docs say so. Expression, literal and aliased Columns and an empty drop() behave as on #523 (probed). Pre-existing nit, not this PR: drop(F.col("ID")) doesn't drop id (Spark would). New test fails on #523's code; spark_compat + spark_local + silent_except 79 passed; ui 250/250; compiles on 3.11. Merges cleanly on main; merge after #523. | | #523 4adfb08d | Spark on this PC: drop/withColumnRenamed ignore case and skip a missing column; dropDuplicates names an unknown column | PASS 9.2 | drop("ID") and drop("ID", "V") map to the frame's spelling, a missing name is skipped, and Column arguments pass through. withColumnRenamed on a missing name is a no-op (Spark's documented behavior), and "V" renames v. dropDuplicates/drop_duplicates resolve the subset ignoring case and raise UNRESOLVED_COLUMN for an unknown one; an empty subset is unchanged. Pre-existing, not this PR: dropping every column is a DuckDB binder error on main too. New test fails on main; spark_compat + spark_local + silent_except 78 passed; ui 249/249; compiles on 3.11. Merges cleanly on main b5fb1e9. | | #522 df56d126 | Spark on this PC: agg dict form works after groupBy and pivot, with Spark's column names | PASS 9.2 | GroupedData.agg is wrapped once (install() is guarded by _fd_compat), and PivotedData.agg takes the dict too. Names match Spark: avg(x) for mean, count(1) for {"": "count"}, a_sum(x)/a_count(v) for a pivot with two aggregates. Columns resolve ignoring case; an unknown column raises UNRESOLVED_COLUMN. Column-expression agg and groupBy().sum() are unchanged (probed). New test fails on #521's code; spark_compat + spark_local + silent_except 77 passed; ui 248/248; compiles on 3.11. Merges cleanly on main. | | #521 bef19162 | Re-check: column names resolve ignoring case | PASS 9.2 | _known matches names ignoring case and returns the frame's own spelling, and the fill dict is re-keyed. On a column id, "ID" now works in dropna (1 row), fill and fill-dict (null becomes 0), replace (1 becomes 9) and describe, while idd still raises UNRESOLVED_COLUMN. spark_compat + spark_local + silent_except 76 passed; ui 247/247; compiles on 3.11. Merges cleanly on main f4c06da. | | #521 2d5f963d | Spark on this PC: na.fill/drop/replace and describe refuse unknown columns; replace refuses uneven lists | CONDITIONAL 8.7 | A misspelled column now raises UNRESOLVED_COLUMN.WITH_SUGGESTION, and replace with uneven lists raises PySpark's error. Required fix: _known compares names case-sensitively (name not in df.columns), but Spark resolves column names case-insensitively by default (spark.sql.caseSensitive=false). df.dropna(subset=["ID"]) on a column id returned 1 row on f157395c, as in Spark, and raises on this head. fill/replace/describe("ID") now raise where Spark applies them. Fix: resolve case-insensitively and use the frame's own spelling downstream, which also makes fill/replace apply to "ID" instead of the old silent skip. New test fails on #520's code; spark_compat + spark_local + silent_except 76 passed; ui 247/247; compiles on 3.11. Merges cleanly on main. | | #520 f157395c | Re-check: dropna how=None | PASS 9.2 | how is not None and how not in ("any", "all"): on this head dropna(how=None) and na.drop(how=None) both return 2 rows again ("all", as in PySpark), and the test asserts it. The only change since 4700bacc is that line plus the test. spark_compat + spark_local + silent_except 75 passed; ui 246/246; compiles on 3.11. Merges cleanly on main fa944f4. | | #520 4700bacc | Spark on this PC: sample/dropna/unpivot refuse what Spark refuses | CONDITIONAL 8.8 | sample refuses a fraction outside [0, 1] (and NaN) or no fraction; unpivot(ids, []) raises UNPIVOT_REQUIRES_VALUE_COLUMNS while values=None still takes every non-id column. Required fix: _dropna now refuses how=None, which PySpark accepts (its check is how is not None and how not in ["any", "all"], and None then acts like "all"). On 9c56b1d4 df.dropna(how=None) and df.na.drop(how=None) returned 2 rows; on this head both raise. Fix: if how is not None and how not in (...), plus a test. New test fails on #519's code; spark_compat + spark_local + silent_except 75 passed; ui 246/246; spark_compat.py compiles on 3.11. Merges cleanly on main. | | #519 9c56b1d4 | Re-check: Python 3.11 SyntaxError fixed | PASS 9.2 | The bad name is now computed into a variable before the raise. Every sidecar/fabric_desktop file compiles under python3.11. The only change since ca94b7da is that line. Notebook tests + silent_except 394 passed 1 skipped; ui 245/245. Merges cleanly on main. | | #519 ca94b7da | Magics: WITH … INSERT/MERGE isn't a query; %env 1BAD x says it can't set | CONDITIONAL 8.6 | Logic is right: the first depth-0 verb after the CTEs decides (quotes and brackets skipped, comments already stripped by _statements), EXPLAIN INSERT still returns rows, INSERT OVERWRITE is a write. Required fix: notebook.py:1096 puts re.split(r'[=\s]', …) inside an f-string expression, a SyntaxError on Python 3.11 ("f-string expression part cannot include a backslash"). README and pyproject say 3.11+ is supported (FABRIC_DESKTOP_PYTHON); main compiles cleanly on 3.11 and this head breaks importing notebook.py there. Hoist the split into a variable. CI only runs 3.12, so it can't catch this. Both new tests fail on main; notebook tests + silent_except 394 passed 1 skipped; ui 245/245. Merges cleanly on main 6848ab3. | | #518 ef849115 | Magics: %env refuses setting a name that isn't a variable name | PASS 9.1 | %env 1BAD=x and %env =x now raise "can't set …" instead of reading a variable with that literal name; reading still takes any name (ProgramFiles(x86) checked). Error names only the name, never the value. Nit (optional): the space form %env 1BAD x still reads nothing silently. New test fails on #517's notebook.py; notebook tests + silent_except 393 passed 1 skipped; ui 244/244. Merges cleanly on main; merge after #517. | | #517 99af7536 | Magics: %run refuses leftover words; %%writefile refuses unknown options and an unquoted name with spaces | PASS 9.2 | %run strips matched $name=value pairs and errors on anything left ($full, junk), naming it; %%writefile refuses a second unquoted word (suggests the quoted name, writes nothing) and any option but -a/--append. Quoted names with spaces still write. New test fails on #516's notebook.py; notebook tests + silent_except 392 passed 1 skipped; ui 243/243. Merges cleanly on main; merge after #516. | | #516 740d4590 | Magics: autoreload no longer repoints notebook values that only equal a module constant; --user site not reloaded | PASS 9.1 | _repoint keeps identity for functions/classes/objects; bool/int/float/str/bytes/tuple/frozenset/None follow only under their own name, so flag = False no longer flips with the module's DEBUG. Trade-off (documented): from m import LIMIT as L no longer follows. site.getusersitepackages() added to system roots under a silent-ok guard. Both new tests fail on #515's autoreload.py; notebook tests 373 passed 1 skipped; autoreload + silent_except 25; ui 242/242. Merges cleanly on main; merge after #515. | | #515 53f084d9 | Magics (stacked on #514): %pip combined quiet flags, -rfile and --requirement=, pip's continuation and comment rules | PASS | 9.2 | Parsing fixes in pip_magic.specs, with the security boundary unchanged. environments.check_packages isn't touched by this PR and still refuses options, URLs, paths, archives and refused packages in the engine. Cell side: -qq, -qU and -Uq are dropped like -q (only q, U and v combine; "-qx" is still refused), and -v/--verbose are dropped. -rreq.txt and --requirement=req.txt read the file through the same read_file as "-r req.txt", so the same path rules apply. In requirements files a trailing backslash joins lines, and # starts a comment only at line start or after whitespace, as in pip. A line with any word starting with "-" is refused in the cell (--index-url lines and "pkg --hash=…"), which the engine already refused. Reviewer's probe: "polars==1.9 " followed by "# c" reads as polars==1.9; "numpy # pinned" reads as numpy; "openpyxl#x" stays one word and the engine then refuses it, as pip would. --index-url lines, --hash lines and "pkg --index-url http://e" are refused in the cell. A URL line passes the cell and is refused by the engine ("isn't a package name"), the same as before. The new test fails with #514's pip_magic.py; environments, pip and silent_except 214 passed (pinned venv); ui 241/241. Merges cleanly on main. Merge order: #513, #514, #515. | | #514 7d3256fd | Magics (stacked on #513): %timeit refuses -n/-r of 0 and names options it doesn't take; %who and %whos filter by type | PASS | 9.2 | Bug fixes. %timeit: options lead the line (-n N, -r R, or any single letter followed by a space or the end, as IPython parses them). -n0 and -r 0 now raise "%timeit -n and -r need a number of 1 or more." where they used to crash. Any other option (-o, -q, -x) is named as unsupported, where the line form timed "-o a+1" as code and %%timeit ignored it. %who/%whos with type names keep only variables whose type name matches, as IPython does. Reviewer's probe: "%who str int" gives a b; "%who DataFrame" gives d; "%who float" gives c; np.int64 isn't "int", as in IPython; "%whos int" works and bare %who is unchanged. -n0, -r 0, -o and -q are refused for both the line and the cell form. "-n2 -r2" times correctly. "%timeit -a+1" is still code (no space after -a), while "%timeit -a" is refused as an option, like IPython's getopt. The new test fails with #513's notebook.py; magic suites and silent_except 70 passed (pinned venv). Merges cleanly on main. Merge order: #513, #514. | | #513 39f393d4 | Magics: a comment ending in a backslash doesn't swallow the next magic line; returns_rows reads past / / and quoted semicolons | PASS | 9.3 | Two bug fixes. (1) _scan now reports line continuation itself, looking only at text before a comment. "# path C:\temp" followed by %pip, or "# c" followed by !echo, now finds the magic, where main ran it as Python. A real continuation ("x = 1 + "), a backslash-continued single-quoted string, an open bracket and an open triple-quoted string still keep the next line as Python. A '#' inside a string isn't a comment. (2) returns_rows uses a new _statements splitter that removes -- and / / comments and splits at ; only outside '...', "..." and ..., with backslash escapes. Reviewer's probe against main: "/ c / SELECT 1" is now True (main False); "INSERT …; SELECT 2" is True (main False, since it split only at ";" followed by a newline); "SELECT 1; INSERT … (';')" is False (main True, splitting inside the quotes); "SELECT 'a'; DROP' AS x" and "SELECT a;b" are True; an unclosed / gives False; "CREATE TABLE … AS SELECT 1;" stays False. So _sqldf, publish and depgraph see the right last statement. Both new tests fail with main's magics.py; magic, sqldf, depgraph, publish and silent_except suites 82 passed (pinned venv). Merges cleanly on main. | | #512 24ab06d7 | Magics: an empty struct<> in a DDL schema says it isn't supported instead of DuckDB's error | PASS | 9.3 | Small fix. ddl_type refuses struct<> with an empty body (spaces count as empty) with a ValueError: "An empty struct<> isn't supported on this PC. Give the struct at least one field, like struct<id: int>.". On main, ddl_schema('s struct<>') raised DuckDB's "InvalidInputException: Can not create an empty struct type!". Reviewer's probe: the clear error is raised for struct<>, array<struct<>>, map<string,struct< >> and struct<a:struct<>>, while struct<a:int> and plain types are unchanged. Not checked: a StructType([]) built directly rather than from a DDL string. The new test fails with main's spark_local.py; test_spark and silent_except 112 passed (pinned venv). Merges cleanly on main. | | #511 1406264e | Magics: containsNull=False and valueContainsNull=False refuse nulls; no row walk when nothing is NOT NULL | PASS | 9.3 | Closes the #510 nit. The new refuses_null(kind) says whether a type has a NOT NULL anywhere (a struct field, containsNull=False, valueContainsNull=False, at any depth). check_not_null returns at once when the schema has none, and inner() skips subtrees with none. A None array element or map value where the type forbids it raises the same PySparkValueError [FIELD_NOT_NULLABLE_WITH_NAME]. Reviewer's probe: ArrayType(int, False) with [1, None] is refused as "field a.element"; with containsNull=True it's accepted. A map value is refused as "field m.value" only when valueContainsNull=False. A nested array<array> is refused as "a.element.element". A null array in a nullable field is accepted. Cost: an all-nullable schema now skips the walk (300k rows: 0.0 s, against 0.41 s at #510). One NOT NULL column walks 300k rows in 0.82 s, since refuses_null runs per value; that's still small next to createDataFrame's own ~23 s. The new test fails with main's spark_local.py; test_spark* and silent_except 111 passed (pinned venv). Merges cleanly on main. | | #510 0a2539a7 | Magics: NOT NULL check raises PySpark's FIELD_NOT_NULLABLE_WITH_NAME; verifySchema=False skips it; structs in arrays and maps checked | PASS | 9.2 | Closes the three #497 nits. (1) A null in a NOT NULL field raises PySparkValueError (a ValueError) with "[FIELD_NOT_NULLABLE_WITH_NAME] field id: This field is not nullable, but got None.", PySpark 3.4+'s text. (2) createDataFrame takes samplingRatio and verifySchema as PySpark does. verifySchema=False skips the check, and neither is passed on to DuckDB, which refused both with NotImplementedError. (3) Structs inside array elements and map values are walked ("field a.element.x", "field m.value.x"). Reviewer's probe confirmed all of these, and confirmed that verifySchema=False and samplingRatio=0.5 now create the frame. Cost: the early return for all-nullable schemas is gone, so every StructType schema walks the rows. That is 0.41 s for 300k three-column rows, inside a createDataFrame that takes about 23 s here and on main (about 2%). Nit: an array declared containsNull=False (ArrayType(IntegerType(), False)) still accepts a None element, where Spark would refuse it. The new test fails with main's spark_local.py; test_spark* and silent_except 110 passed (pinned venv). Merges cleanly on main. | | #509 fd5dd56a | Outputs hardening (stacked on #508): pandas frames with repeated column names show instead of failing the cell | PASS | 9.3 | Closes the #508 finding and the older duplicate-column bug. pandas_plan now gives every column a unique string name: a repeated name gets _2, 3 and so on, skipping names already taken, whether the repeat comes from columns=["x","x"] or from joined levels that meet. Index names are then made unique against that set. Columns are renamed only when needed (multi-level or a repeat), so int column names keep their values. Reviewer's probe, each checked against Wrangler's generated code, which gives identical columns: ["x","x","x_2"] shows x, x_2, x_2_2; ["x_2","x","x"] shows x_2, x, x_3. ("a_b",""), ("a","b") and ("c","d") show a_b, a_b_2, c_d; with an index also named "a_b", it shows a_b_index, a_b, a_b_2. [1, "1"] shows 1, 1_2. [0, 1] and a plain frame are untouched. The new test fails with #508's frames.py; outputs_hardening, wrangler, frames, rich_outputs and silent_except 92 passed (pinned venv). Merges cleanly on main. Merge order: #507, #508, #509. | | #508 98faf2f4 | Outputs hardening (stacked on #507): an index name a column already has shows as name_index; multi-level columns join with "" | PASS | 9.0 | Closes the #507 follow-ups. pandas_plan names each index column, adding "index" (then "index_2", ...) while the name is taken, and joins multi-level column names with "" (skipping empty levels). pandas_frame and Wrangler's pandas_reader apply the same plan; the generated code repr()s the names (set_axis([...]) / reset_index(names=[...])). Reviewer's probe. Index collisions can't happen: index "v" with a column "v" gives v_index, and if v_index is also taken it gives v_index_2; the Wrangler code gives the same columns. agg({"v":["sum","max"]}) shows k, v_sum, v_max. Finding (low, follow-up): joined column names aren't de-duplicated. Columns ("a_b","") and ("a","b") both become "a_b", so as_table raises "Duplicate column names found" and the cell ends in error. On #507 the same frame showed as tuple strings, so this new path is narrow and contrived. It also hits an older bug: on main, displaying any pandas frame with duplicate column names (pd.DataFrame(..., columns=["x","x"])) fails the cell the same way. Fix both by giving repeated column names the same suffix loop the index uses (x, x_2). lakehouse.py:330: the owner's point stands. Spark's createDataFrame(pdf) and deltalake's pandas write drop the index, so a docs line to call reset_index() before saving is the right fix. outputs_hardening, wrangler, frames, rich_outputs and silent_except 91 passed (pinned venv). Merges cleanly on main. Merge order: #507, #508. | | #507 16f3eecf | Outputs hardening: a handler's KeyError isn't "kernel restarted"; handler tracebacks hide widgets.py; named pandas indexes show as columns | PASS | 9.1 | Fixes only. (1) widgets.handle raises the new WidgetGone (a LookupError subclass) for a missing widget, and the kernel maps only that to "gone", so a handler's own KeyError or IndexError shows as its error. (2) Kernel.error drops widgets.py frames too. (3) pandas_table (frames.py) is used by as_table and full_table: a frame with a named index is reset_index()'d so the keys show as leading columns, and Wrangler's reader emits pl.from_pandas(df.reset_index()) under the same rule. Reviewer's probe: an unnamed RangeIndex stays hidden (k, v, w). groupby("k"), set_index("k") and a two-level groupby(["k","v"]) show their keys first. A named RangeIndex (rename_axis("row")) shows as "row". A MultiIndex with one unnamed level shows that level as "level_0". If an index name equals a column name ("v"), the index is left out rather than reset_index raising "already exists"; that's safe, though Jupyter would show both (nit). Pre-existing, not from this PR: MultiIndex columns from agg({"v": ["sum","max"]}) show as tuple strings like "('v', 'sum')", and lakehouse.py:330 still writes pandas frames with preserve_index=False, so saving a groupby result drops its keys (follow-up). The 2 new tests fail with main's code; outputs_hardening, ipywidgets, widgets, wrangler, frames, rich_outputs and silent_except 104 passed (pinned venv). Merges cleanly on main. | | #506 59d3a7df | Editor: a # comment inside a Markdown code block isn't a heading | PASS | 9.1 | Bug fix. The new markdownHeadings (nbcells.js) skips lines inside and ~~~ fences, and both headingLevel (collapsible sections) and the outline use it. Reviewer's probe of the function: fences indented up to 3 spaces are recognised, and 4 spaces is not a fence, as in CommonMark. An unclosed fence runs to the end of the cell, so nothing after it is a heading. A longer fence wraps a shorter one (```` around), and ~~~ inside doesn't close it. Setext headings (=== and --- underlines) are found neither here nor on main, since both old regexes matched ATX # lines only, so nothing is lost. Nit: a line such as "python" closes an open ``` fence, while CommonMark says a closing fence has no info string, so a "# x" after it would count as a heading. That is rare in practice. The outline keeps its level <= 4 rule and strips *as before. The new ui assert fails with main's app/ui (234/235); ui 235/235; notebook-cells and notebook-folded 13/13. Merges cleanly on main. | | #505 602299bf | Runtime (stacked on #500 and #502): setting an Output's outputs starts its caps again | PASS | 9.3 | Closes the #502 nit. The outputs setter now calls _recount() after replacing the list and emptying _tail, and clear_output() goes through the setter, soout.outputs = () and clear_output() both reset _chars, _rich and _cut. A list assigned with content counts from zero, the same "caps count from here" rule as clear_output. The new test fails with #502's widgets.py (1 of 18) and passes here; ipywidgets, widgets, outputs_hardening, output_cap and silent_except 66 passed (pinned venv). Merges cleanly on main. Merge order: #500, #502, #505. | | #504 c3a33e5e | Editor (stacked on #501): magics matched by whole name (%%sqlx isn't %%sql) | PASS | 9.2 | Closes the #501 nit. setLanguage's double-% branch now needs \b after the name, and cellLang's %%sql and %%html checks use /^%%sql\b/ and /^%%html\b/ instead of startsWith. Reviewer's regex probe: \b holds at end of text and before a newline. "%%sql" alone, "%%sql\n" and "%%sql -o df" are still SQL and still stripped by M; "%%html", "%%md", "%%markdown" and "%%pyspark" alone are stripped. "%%sqlx", "%%sql_x", "%%mdx" and "%%pythonic" stay Python with their first line kept. This now matches the engine: magics.cell("%%sqlx\n…") is python and "%%sql" is sql. Nit: "%%sql-x" counts as SQL ("-" is a boundary), which isn't a real magic. The new test fails with #501's notebook.js (14/15); command-mode, notebook-select and edit-view 28/28, ui 235/235. Merges cleanly on main. Merge order: #501, #504. | | #502 7d2c78d2 | Runtime (stacked on #500): ipywidgets Output joins printed text when read, not on every print | PASS | 9.1 | Follow-up to the #500 note, with #496's piece-and-join for the widget Output. Text is kept in _tail under a per-Output Lock. The outputs property joins under that lock, and its setter (out.outputs = ()) replaces the list and empties _tail; object.__setattr__ goes through the property setter, so it takes effect. _append and _extra join under the lock, and _extra copies the list before serialising. Sync: the frontend's view is built on demand through _extra at each display and ipywidget_event. Reviewer's probe clicked a button whose handler prints into an Output three times, and each returned view carried every line in order. Deadlock: only _join and list operations run inside the lock; _write and _add call _append after leaving their own lock block, and nothing reads outputs while holding the lock. Concurrency probe: 50k writes on one thread while another read _extra in a loop gave 0 reads that weren't a prefix of the final text, and the final text matched. Speed: 100k small writes take 0.12 s (6.2 s at #500). The #500 caps hold: 1,000,005 characters keep 1,000,000 plus the line, and clear_output resets everything. Nits: (1) out.outputs = ()doesn't reset _chars, _rich or _cut, so after the stream cap is hit later prints stay dropped until clear_output(); the setter should call _recount. (2) _write updates _chars outside the lock, which only affects counts with two concurrent writers. The new test fails with #500's widgets.py; ipywidgets, widgets, outputs_hardening, output_cap and silent_except 65 passed (pinned venv). Merges cleanly on main. Merge order: #500, #502. | | #503 32bd2538 | Utilities hardening: runtime.context reads like a dict (in, len, loops, keys/items/values, copy, json.dumps) | PASS | 9.2 | Bug fix, reproduced on main: a fresh context gave'isLocal' in ctxFalse, len 0 and json.dumps "{}", because only [], get() and repr refreshed it. __contains__, __iter__, __len__, keys, items, values and copy now refresh too, and the context is filled once at construction, so json.dumps (the C encoder skips the overrides) sees the values. Cost: refresh reads only in-memory state (lakehouse._attached, host.notebook_name(), os.environ USERNAME/USER), with no Fabric or HTTP call, token fetch or file read. Reviewer's probe: 100k reads take 0.27 s for get (as main), 0.29 s for in, 0.27 s for len and 0.35 s for items, about 3 µs each. Secrets: the 15 keys are ids, names, flags, runtimeVersion and userName (the OS login), with no token, connection string or UPN. The probe confirmed a host token never appears in json.dumps. repr already showed all 15 on main, so nothing new is exposed, and Fabric's own runtime.context carries the same kinds of values. Behaviour: user-set keys survive; a user-set built-in key is reset on the next read, as main's get and [] already did. Iterating while reading works (refresh rewrites the same keys, so the size never changes). ==, pop and setdefault don't refresh; since the context is filled at construction, they are only stale for a lakehouse attached after the last read. The new test fails with main's notebookutils_local.py; notebookutils_helpers, parity and silent_except 64 passed (pinned venv). Merges cleanly on main. | | #501 a992d052 | Editor: M on a Databricks %md/%%md/%%markdown cell keeps its text and drops the magic | PASS | 9.0 | Bug fix. setLanguage's magic-line regex now also matches %%md, %%markdown and a bare %md line, so M on a %md cell gives a Markdown cell holding only its text. Reviewer's regex probe: "%md\n# Hi", "%%md\n# Hi" and "%%markdown\n# Hi" become "# Hi". "%md # Hi" (text on the magic line) is kept as written. Single-% "%mdx" and "%markdownish" are left alone, since the single-% branch needs the line to end after the name. Y on a Markdown cell made from %md: its source is already just the text, so Y makes a Python code cell with the same text and loses nothing; Jupyter does the same. Nit, the same as the existing %%sql/%%html/%%python branches: the double-% branch is %%name[^\n]* with no word boundary, so "%%mdx" and "%%markdownish" first lines would also be dropped (not real magics). The new test fails with main's notebook.js and passes here; command-mode and edit-view 20/20, ui 235/235. Merges cleanly on main. | | #500 e31d785c | Runtime: ipywidgets Output capped like a cell (1M printed characters, 16 MB rich) | PASS | 9.0 | Closes #490's known limitation. Output keeps _chars, _rich and _cut, counted from its last clear_output(). Printed text past 1,000,000 characters is cut with one line ("clear_output() starts it again"). A rich output that would pass 16 MB is replaced by one line and later ones are dropped. Errors always show, and nothing spills to a file. Reviewer's probe: an Output shown in two places (display(o) and inside a VBox) is one object with one list, so it is counted once. A nested Output is counted in itself: the outer holds only a widget reference (('widget', 'w3') plus its own 22 characters), while the inner reached exactly 1,000,000 characters plus the truncation line. 20 HTML outputs of 1 MB each stop at 15 with the line. clear_output resets all three counters and printing works again. Follow-up (low, not from this PR): Output._write still copies the whole text on every print, the O(n²) cost #496 fixed for cells. 100k small prints into one Output take 6.2 s; the cap now bounds it at 1M characters. The 2 new tests fail with main's widgets.py; ipywidgets, widgets, outputs_hardening, output_cap and silent_except 64 passed (pinned venv). Merges cleanly on main. | | #499 4e08ebb5 | Utilities hardening: variable library values of the wrong kind and broken files say so | PASS | 9.2 | Bug fix in meta/varlib.read. Integer refuses bools and non-whole floats, where int() made 1.5 and True into 1. Boolean takes a JSON bool or "true"/"false" in any case with spaces, and refuses anything else, where "yes" and "1" used to read as False. A malformed or non-object variables.json or valueSets/*.json is named in the error, where a non-object valueSets file used to raise a bare AttributeError. Compatibility (reviewer's probe): Integer 500, "500" and 500.0 still read as 500; Boolean true, "true", " TRUE " and "False" still read correctly; Number "2.5" reads as 2.5. Fabric's own definitions store Integer and Boolean as JSON numbers and booleans, which are unaffected. Newly refused: Integer 1.5, True and "500.0" (main also refused "500.0"), and Boolean "yes" and 1. Secrets: the message is "Variable pw is Integer, but its value in the library isn't one." with no value. The original ValueError(value) survives only as __context__ with __suppress_context__ set, so neither str() nor a formatted traceback shows it (probe with an override value "hunter2"). valueSets files are now read in sorted order. The 5 new test cases fail with main's varlib.py; test_estate and silent_except 43 passed (pinned venv). Merges cleanly on main. | | #498 01097080 | Editor: merge also drops a %%python line that has arguments | PASS | 9.2 | Closes the #494 nit. The strip regex is now ^\s*(%%pyspark|%%python|%python)\b[^\n]*(\n|$). It is anchored to the cell's first line (no m flag) and applies only to cells that aren't SQL or HTML; %sql, %%sql and %%html cells take the MAGIC branch. Reviewer's regex probe: "%%python -q", "%python" and "%%pyspark --opt a" are stripped. "%python3", "%pythonic" and "%%pythonx" are kept (\b needs a non-word character next). A %python line in the middle of a cell, a %sql cell and a code line with "# %python" are untouched. Nit: "%%python.x" would be stripped, but that isn't a real magic. The new test fails with main's nbselect.js (12/13) and passes here; command-mode and notebook-select 20/20, ui 235/235. Merges cleanly on main. | | #497 8343b22b | Magics (stacked on #488): createDataFrame schema strings take struct<...>, NOT NULL and COMMENT | PASS | 9.0 | Closes the #488 DDL gap. ddl_schema reads struct<...> (also inside array and map), drops a quoted COMMENT ('a, b' and "it's" no longer split the schema), and marks NOT NULL fields nullable=False. check_not_null runs only in LocalSparkSession.createDataFrame and only for list or tuple data with a StructType that has a non-nullable or struct field; it refuses a None there, inside structs too. No engine code passes nullable=False schemas (only spark_api and spark_local call createDataFrame, neither with nullable=False), and pandas or Arrow input isn't checked, as with Spark's Arrow path. Reviewer's probe: top-level, struct-field (s.a), whole-struct and directly-given StructType nulls are refused; a null struct whose own fields are NOT NULL is accepted (the struct itself is nullable), as Spark does. Wording: "field id: This field is not nullable, but got None." matches Spark's text. Nits: (1) the type is plain ValueError, while PySpark 3.4+ raises PySparkValueError with the [FIELD_NOT_NULLABLE_WITH_NAME] prefix; that is a ValueError subclass, soexcept ValueErrorbehaves the same either way. (2) verifySchema=False still checks, where Spark skips verification. (3) Structs inside an array aren't checked. Spark's nested name format ("s.a" here) wasn't verified against Spark. The 2 new tests fail with #488's code; test_spark_* and silent_except 109 passed (pinned venv). Merges cleanly on main. Merge order: #488, #497. | | #496 7b43c80e | Runtime (stacked on #490 and #495): linear printing; a swept kernel output folder is made again | PASS | 9.2 | (1) _overflow runs os.makedirs(folder, exist_ok=True) before mkstemp, closing the #495 nit. (2) _Run.write used to copy the whole stream text on every print (O(n²)). The pieces now go to _tail and are joined onto the last stream output when read. Consistency: every mutation (_stream, _append, _reset, _overflow) and every join happens under run.lock. The outputs property joins under the lock, and snapshot joins and copies the list whenever version changed. write bumps version on every print, so a changed snapshot is never stale. Output dicts are replaced, never mutated, so the shallow copy is safe. clear and clear_output reset _tail with _outputs. Nothing calls outputs while holding the non-reentrant lock (checked every use); CapturedOutput and widget Output keep their own lists. Reviewer's concurrency probe: 200k prints on one thread with a rich output mid-way, while another thread polls snapshot. It took 0.38 s (was 7.4 s). All 22 changed snapshots were prefixes of the final text, and the final text equals what was printed, capped at 1M. Contention: poll holds the lock for one join plus a list copy, as before (it already copied the list), and a join only happens once per changed version. One of the 2 new tests (swept folder) fails with #495's code; the other passes there. output_cap, kernel_process, notebook kernel/run/capture/magics, rich, frames and silent_except 134 passed (pinned venv). Merges cleanly on main. Merge order: #490, #495, #496. | | #488 b61e5505 | Magics hardening (re-check): spark_compat dropna/describe/sample/unpivot on the relation API with no views; unpivot keeps nulls; DDL schema strings | PASS | 9.2 | Fixes the FAIL at dae8e0a4. _named is gone and no view is created. Reviewer's probe /mnt/project-files/quality/repros/r488_spark_views_probe.py: 0 views and 187 MB, then 212 MB after 200 dropna calls on 250k-row frames and still 212 MB after 2000 more (was 203+ views and 1011 MB). Spark semantics checked by probe. dropna: how=any [1,4], how=all [1,2,4], thresh=2 [1,4], subset=['s'] [1,4], na.drop(subset=['id','x']) [1,4], all as Spark gives. describe: columns summary plus each column, all string-typed, rows count, mean, stddev, min, max in Spark's order (mean and stddev null for strings, stddev sample). sample: unseeded random() < p gives 0.1007, 0.503 and 0.0099 for fractions 0.1, 0.5 and 0.01 on 200k rows; seeded hash(row_number, seed) gives 0.1003, 0.5017 and 0.0104, the same rows on repeat, and columns unchanged (the helper column is dropped). 0.0 gives 0 rows and 1.0 all rows. unpivot/melt: one projection per value column, unioned and ordered by (row, column), so each row's values stay together. It keeps nulls ([(1,p,10),(1,q,None),(2,p,None),(2,q,30)]) and widens int plus double to double, matching DataFrame.unpivot; the test_spark_api assertion and comment are corrected. Note: row_number() OVER () follows scan order, so a seeded sample's rows depend on the frame's order, as Spark's do on its partitioning. The 4 new or changed spark tests fail with dae8e0a4's code and pass here; test_spark_* and silent_except 107 passed (pinned venv). Merge: conflicts with main only in app/tests/ui.test.cjs (an append, Release management's usual resolution). | | #495 fd54b0c5 | Runtime (stacked on #490): a notebook process's output files go when it stops, restarts or closes | PASS | 9.2 | Closes the #490 kernel_process gap. Each ProcessKernel makes its own folder (mkdtemp, kratosforge-kernel-*, 0700) and passes it to the child as FABRIC_DESKTOP_OUTPUT_DIR; notebook.py makes its spill there with mkstemp. The folder is emptied after Stop and before every new process (restart, crash, limit kill), close() removes it, and sweep_spills also covers files in, and empty folders of, kratosforge-kernel-* older than 1 h. Race check: the pre-start clear runs under the kernel's lock and only when the process is gone (poll() not None); Stop clears only after kill and proc.wait(10). A dead process holds no handle, and only the kernel process itself writes spills (cell subprocesses don't), so there is no live writer to race. If wait(10) times out, Stop raises before clearing and the files wait for the next start or sweep: safe. Env var: the parent sets it from its own mkdtemp path. The parent only ever clears its stored output_dir, and only kratosforge-output-*.txt in it. User code that changes the variable can only make a new random-named file (mkstemp never overwrites), which needs no more than the code execution it already has. Nit: the sweep can rmdir the empty folder of a second engine's kernel that has been idle for an hour; that kernel's next spill then fails to create its file and says "The rest wasn't kept.", with no crash. The 2 new tests fail with #490's code and pass here; kernel_process, output_cap, kernel_sessions and silent_except 61 passed (pinned venv). Merges cleanly on main. Merge order: #490, #495. | | #490 10f73770 | Runtime hardening (re-check): output spill file capped and cleaned up; errors exempt from the rich cap; "con .txt" refused | PASS | 9.1 | Fixes both medium findings at f699700a. (1) The spill file is written through one handle and stops at 100,000,000 characters with a closing line. The handle closes when the cell finishes. Files are tracked per process and deleted by the clear_output() that hides them and on kernel restart, and server.main sweeps kratosforge-output-*.txt files untouched for 1 h at engine start. Reviewer's probe /mnt/project-files/quality/repros/r490_output_cap_probe.py: the file equals everything printed, mode 0600; 200k prints after the cap take 0.38 s (7.85 s under the cap); 3 files left after the runs, 0 after restart. (2) Errors bypass the 16 MB rich cap: 15 html outputs, the truncation note, then the ValueError. (3) "con .txt" and "prn .x" are refused. Sweep safety: on Windows the Temp folder is per-user; on Linux /tmp is sticky, so another user's 0600 file can't be unlinked (the OSError is suppressed). A second running engine's file is only swept after an hour without a write, and Windows refuses deleting a file still open by a running cell. The worst case is that an output line names a file from a finished cell over an hour old that is gone. Crash and process mode: remove_spills runs inside the kernel's own process, so with kernel_process on (Preview, default off), restart and Stop kill the child and its files stay until an engine start more than an hour later. The same holds after a kernel crash. Each file is bounded at 100 MB, so this is non-blocking; follow-up: have ProcessKernel delete its child's files on stop/restart, or the kernel host sweep at start. With kernel_process off (default), the one in-engine kernel cleans up on restart. output_cap, environments, kernel_sessions and silent_except 52 passed (pinned venv). Merges cleanly on main. | | #494 8beabab2 | Editor (stacked on #493): merging drops a later cell's %%pyspark/%%python/%python line | PASS | 9.2 | Closes the #493 follow-up. For a later cell that isn't SQL or HTML, merge strips a leading %%pyspark, %%python or %python line (only a bare magic, trailing spaces allowed). The first cell keeps its own line. A plain first cell merged with a %%pyspark or %python cell becomes "x = 1\ny = 2", plain Python that runs; the new test asserts exactly that for both magics, where #493 left the magic line in the middle and the kernel refused it. A %%pyspark first cell with plain later cells keeps %%pyspark at the top, which formats and runs as Python. Not stripped: a magic with arguments ("%%python -q"), which is rare. The new test fails with #493's nbselect.js (11/12) and passes here. command-mode and notebook-select 19/19; ui 234/234. Merges cleanly on main. Merge order: #493, #494. | | #493 c66e4f9a | Editor: split, merge and run selection keep Databricks' %sql as written | PASS | 9.1 | Bug fix. Split and run selection now take the magic as the cell writes it (its first token: %%sql or %sql). The second half of a split starts with the same magic, and running only the %sql line runs nothing instead of "%%sql\n%sql". Merge drops the first line from each later SQL or HTML cell, whichever magic it uses, so two %sql cells (or %%sql plus %sql) merge with one magic line and run. Different magics: merge already refuses cells whose languages differ (cellLang, so %sql plus %python is refused with a toast), and that guard is unchanged. Magic cell with a plain cell: merging a %%sql cell with a plain Python cell is refused, being different languages. Pre-existing gap, not from this PR: %python and %%pyspark cells count as plain Python, so merging a plain cell with one leaves the magic line in the middle. Reviewer ran that in the kernel: "%python isn't supported on this PC" and, for %%pyspark, "invalid syntax". Follow-up: also drop a leading %python/%%python/%%pyspark line from later cells. With main's nbselect.js and notebook.js the two new command-mode tests and the ui assert fail; here command-mode and notebook-select passed 18/18 and ui 234/234. Merges cleanly on main. | | #490 f699700a | Runtime hardening: session cap spares the open notebook; rename during reap keeps the session; environment names, folders and delete; per-cell output cap | CONDITIONAL | 8.5 | The session and environment fixes are correct. _make_room skips the session whose notebook is self.active; if the open one is the only session left, the cap is exceeded and nothing is stopped. rename moves a session found in either _sessions or _reaping. check_name refuses CON, PRN, AUX, NUL, COM0–9 and LPT0–9, case-insensitive and with extensions (con.txt, Lpt9.tar.gz). Trailing dots and spaces were already refused, and _NAME is ASCII-only, so superscript digits can't get in. create makes site-packages inside the lock before listing the environment, and delete clears every leftover .deleting-* folder. All 10 new tests fail with main's code and pass here. Output cap, from reviewer's probe /mnt/project-files/quality/repros/r490_output_cap_probe.py: printed text past 1,000,000 characters keeps exactly 1,000,000 on screen plus one clear line naming the file, which holds every character. The file is made with mkstemp (mode 0600) in tempfile.gettempdir(), the per-user Temp folder on Windows. It is appended to rather than written atomically, which is fine for a log. Printed output isn't redacted on screen or in the notebook either, so this is no new kind of leak. clear_output resets both counts. 1M characters and 16 MB are reasonable limits, comparable to Databricks' roughly 20 MB. **Finding 1 (medium): the spill file has no size limit and is never deleted.** A runawaywhile True: print('z'*10_000)wrote 512 MB in 3 s, about 10 GB a minute, into Temp. On main the same loop filled memory until the process died; here it fills the disk and stays after the app closes, and clear_output, restart and exit leave old files behind. Fix: stop writing at a limit (for example 100 MB, with one more line saying so), and delete kratosforge-output-* on kernel restart or close, or sweep old ones at engine start. **Finding 2 (medium): the 16 MB rich cap also counts the cell's own error and notes.** With just under 16 MB of display output followed byraise ValueError, the cell ends in error showing only "Output truncated…", and the traceback is gone; "Cancelled" and "Python restarted" can be dropped the same way. Fix: count only display outputs (html, table, image) against the cap. Nits: "con .txt" (a space before the extension) is accepted, which some Windows versions treat as the device; add() runs json.dumps on every output just to measure it. output_cap, environments, kernel_sessions, kernel, notebook_run, rich, frames and silent_except 119 passed (pinned venv); ui 233/233. Merges cleanly on main. | | #492 ea48c0f9 | Outputs hardening (stacked on #482): interact errors stay in its Output; IPython.core.display; display(bundle, raw=True); ipywidgets bound-error wording | PASS | 9.2 | Fixes only. (1) interactive.update and interactive_output catch an exception from the user's function and add it to their Output as an error, with this module's frames removed from the traceback, so the controls stay and you can move off the bad value. BaseException (KeyboardInterrupt, the 60 s handler stop) still propagates. (2) The IPython.core.display shim is a re-export, not a second implementation: pkg.core.display is the same module object as IPython.display, and the finder hands it out for both names. Reviewer's probe: IPython.core.display is IPython.displayandHTML is d.HTMLare both True. install() refreshes the core entries the same way. (3) display(dict, raw=True) goes through the existing _from_bundle (html shows as html, text/plain-only as text); without raw a dict still shows as its repr. (4) Setting max below min now says "setting max < min", as ipywidgets does. All 3 new or changed tests fail with #482's code and pass here. outputs_hardening, widgets, wrangler, rich_outputs, frames, ipython display and silent_except 102 passed (pinned venv). Merges cleanly on main. Merge order: #479, #480, #482, #492. | | #491 66a5c2b1 | Editor (merges #486 and #489): the %%pyspark line keeps its trailing spaces; Show cell says when the cell was deleted | PASS | 9.3 | Closes the two nits from #486 and #489. (1) The head is now source[:m.start(2)], so the magic line comes back exactly as typed, trailing spaces or tab included; only the CRLF line end becomes \n. Reviewer's probe: "%%pyspark \r\n", " %python " and "%%pyspark\t" all keep their text. (2) Show cell checks that the notebook is still open and the cell still exists, and otherwise toasts "That cell was deleted.". The new browser test fails with #489's nbformat.js (5/6) and passes here (6/6). code_format and silent_except 30 passed (pinned venv, ruff 0.17.1); ui 234/234. Merges cleanly on main. Merge order: #486, #489, #491. | | #488 dae8e0a4 | Magics hardening: spark_compat frames get their own view names (no more clobbering temp view t); createDataFrame reads DDL schema strings | FAIL | 7.8 | (1) The view-name fix is right but brings a regression. On main, na.drop, dropna, describe, sample and unpivot registered their input as view "t". That overwrote the notebook's own temp view t: main failsspark.sql("SELECT * FROM t").dropna()with "infinite recursion detected" (reproduced), and two frames could read each other's rows. Each call now gets its own view, __fd_df_N, so the user's t survives and frames keep their own rows. **Blocking finding (high): the views are never dropped, and each one holds its source relation, so the data stays in memory for the rest of the session.** Reviewer's probe /mnt/project-files/quality/repros/r488_spark_views_probe.py, run twice and reproduced: dropna on 200 arrow frames of 250k rows each, then del and gc. Views went from 3 to 203 and RSS from 192 to 1011 MB; 2000 more small calls left 2203 views. The same loop on main keeps 1 view at 215 MB. A notebook calling dropna in a loop grows until the kernel runs out of memory. Dropping the view right after the query doesn't work: DuckDB re-binds the name whenever the result relation, or anything derived from it, executes, and fails with "Table with name ... does not exist". Fix: build these frames without named views (relation.filter for dropna/na.drop, aggregate and union for describe), or tie each view's lifetime to the result and everything derived from it; add a loop test asserting the view count stays bounded. (2) DDL strings work for int, bigint, string, double, decimal(10,2), date, timestamp, array<int>, map<string,int>, nested map<string,array<int>>, backticked names and the "id: int" form. "int NOT NULL", struct<...> and unknown types are refused with a clear ValueError; a trailing comma is accepted. NOT NULL and struct support are a follow-up. Unpivot nulls (owner's question): the owner is right. Spark 3.5 Dataset.unpivot builds Unpivot with no filter, so DataFrame.unpivot/melt keeps null values. Only SQL UNPIVOT drops them by default (AstBuilder adds Filter(IsNotNull) unless INCLUDE NULLS). Ours drops them (the probe's (1,'q',NULL) row is missing), and the test_spark_api.py comment at line 70 is wrong. The INCLUDE NULLS fix and the test correction can ride the fix push. The 3 new tests fail on main and pass here; test_spark_* and silent_except 105 passed (pinned venv); ui 234/234. Merges cleanly on main. | | #489 48029138 | Editor: Format notebook doesn't name or show a cell deleted while it formatted | PASS | 9.2 | One-line bug fix. formatCells skips a result whose cell is no longer in nb.cells, so the "left as written" toast no longer says "cell 0" and Show cell no longer selects nothing. Results map to cells by object identity (todo[i] matches out[i]), never by position in the notebook. A deleted cell's formatted text therefore couldn't land in another cell even on main. On main, setSource wrote into the detached cell object and counted it in "Formatted N cells", which also marked the notebook dirty; this PR skips that too. Moved cells keep their results. Leftover nit, not from this PR: a problem cell deleted after the toast appears leaves a stale Show cell action. The new test fails with main's nbformat.js (4/5) and passes here (5/5 in 2 runs); ui 233/233. Merges cleanly on main. | | #487 b2538bdc | Editor: cells saved with Windows line ends split where the cursor is | PASS | 9.1 | Bug fix. cellFrom now turns \r\n (and a lone \r, since the regex is /\r\n?/) into \n when a notebook loads, so the editor's cursor offsets match the cell text for Split and run-selection. Save: notebooks are stored as .ipynb JSON, so the file's own line endings don't change. Only cell source strings that contained \r\n go back as \n. That happens only when the notebook is saved for another reason, since load leaves it clean (dirty: false). A notebook that held CRLF inside its cell strings (imported, or pulled from Fabric) shows those cells as changed in a git diff once, on its next edit and save. Content is otherwise identical, and Python's tokenizer already reads \r\n as \n. Scope: only cell source. Outputs aren't read from the file in cellFrom (outputs: []; kept outputs come from keepOutputs), and meta is untouched. Raw and markdown cells get the same normalisation. Nit: a lone \r becomes \n too, which is more than "line ends" for the rare cell that holds a bare CR, though Python also treats a bare CR as a line end. The new command-mode test fails with main's app.js (9/10) and passes here. command-mode, edit-view, inputs and folded suites passed 29/29; ui 233/233. Merges cleanly on main. | | #486 52a2d670 | Editor: Format code formats %%pyspark/%%python/%python cells and leaves no stray \r from Windows line ends | PASS | 9.1 | Two bug fixes. (1) A first line of %%pyspark, %%python or %python now formats the code under it as Python, and a parse error's line number adds one for the magic line. That offset is consistent with plain cells; ruff's EOF error reports one line past the end in both. (2) \r\n becomes \n before formatting, so no stray \r is left. Reviewer's probe of 14 cells. The magic line keeps its text and any leading indent or blank lines, but trailing spaces after it are dropped ("%%pyspark " becomes "%%pyspark"). That's cosmetic, and only when the body changes. %%PySpark (case) and %%python -q (arguments) are left unformatted, as before. Line-ending normalisation changes nothing except line ends: inside a triple-quoted string \r\n becomes \n, which Python's own tokenizer already does when it reads source, so values are unchanged. A lone \r is untouched. %%md and other non-Python cells come back with LF but changed=False, and nbformat.js only applies changed cells, so they keep their text. An unchanged CRLF Python cell now reports changed (LF ends, no trailing newline), the same as main already did for an LF cell with a trailing newline. With main's code_format.py the 2 new tests fail; here code_format and silent_except 30 passed (pinned venv, ruff 0.17.1). Merges cleanly on main. | | #484 b071e93e | Editor (re-check): a queued inputs save that throws can't stop later saves or runs | PASS | 9.2 | Closes the low finding at c80ebf0. queueInputs now ends the chain with .catch, which logs the error and shows "Could not keep the value. Change it again to retry.", so nbInputsSaved() resolves and later saves and runs go on. The diff is that one line plus a comment and the new browser test "a save that fails partway doesn't stop later saves or runs" (renderInputs throws once, a second value changes, the run uses it, no page errors). With c80ebf0's nbinputs.js the new test fails (4/5) and here it passes; notebook-inputs 5/5 in 3 of 3 runs; ui 233/233. Merges cleanly on main. | | #484 c80ebf0 | Editor: notebook-inputs saves queue one after another; a run waits for them (fixes the notebook-inputs flake) | PASS | 9.0 | Fixes the race found while grading #476. setInput used to build each save from state.nbInputs, which only updates when the previous notebook_inputs_set returns, so a quick second change dropped the first, and a run could start before the save landed. Saves now chain through queueInputs. Each one builds its values when its turn comes, from what the previous save returned, Reset to code included. runCell awaits nbInputsSaved() before start_cell. The new test fails 3/3 with main's nbinputs.js and notebook.js and passes here. notebook-inputs passed 8 of 8 standalone runs; notebook-* and keyboard browser suites passed 79/79 in one sequential run; ui passed 233/233. Reviewer's probe /mnt/project-files/quality/repros/r484_inputs_queue_probe.cjs: (1) a failed save shows "Could not keep the value…", the next save still runs, and the run goes ahead with the saved values; (2) a save that never returns holds the run in "running" and the run continues once it returns. notebook_inputs_set is on the same non-QUICK lane as start_cell, so a stuck sidecar holds the run just as before; the engine watchdog still applies, and nothing new can hang. (3) Quick edits, then Reset, then one more edit, keep the latest value. Finding (low, follow-up): attempt() turns RPC errors into a toast, so they can't jam the queue, but an exception later in the same step (for example in renderInputs) leaves the chain rejected for good. The probe confirmed nbInputsSaved() stays rejected after the next edit. From the code, every later run would then fail with "Kernel error" until a reload; that last part is inferred, not run. Fix: .catch(() => {}) on the chain. Merges cleanly on main, with #476 and with #474. | | #485 d2e03480 | Utilities (stacked on #483): Key Vault names fullmatch, bare vault names lowercased, :443 next pages accepted | PASS | 9.3 | Closes the three #483 notes. (1) Vault and secret names use fullmatch, so a secret "pw\n" is refused. A vault string is stripped first, so "kv\n" becomes kv, which is harmless. (2) A bare vault name is lowercased. (3) on_vault() parses each nextLink. It requires https, the vault's exact hostname (case-insensitive), port None or 443 (a bad port counts as off-vault), no userinfo and a /secrets path; dbutils.secrets.list uses it, so a Key Vault next page written with :443 keeps listing. Reviewer's probe of 13 links: accepted :443 with $skiptoken, an upper-case host, empty userinfo (@host) and :0443, all of which reach the same host. Refused backslash-@ both ways, #@evil, an embedded newline (urlsplit drops it, so the host becomes kv1.vault.azure.net.evil.com), a trailing-dot host, :8443, http, :x and /keys. With #483's code, 7 tests in test_dbutils fail, including the two-page :443 list and the newline case; here they pass. dbutils, notebookutils_* , notebook_run and silent_except 129 passed, 1 skipped (pinned venv). Merges cleanly on main. Merge order: #477, #481, #483, #485. | | #483 d22cbbaf | Utilities security fix (stacked on #481): the Key Vault token goes only to Key Vault (vault_url allowlist, secret-name check) | PASS | 9.2 | Fixes a real token leak. On main and #481, getSecret, dbutils.secrets.get and dbutils.secrets.list sent the Key Vault bearer token to whatever host the vault string named. The new vault_url() accepts only a 1–24 character name, or https://<name>.vault.azure.net with no userinfo, port, path, query or fragment, and returns a rebuilt URL. Secret names must match [A-Za-z0-9-]{1,127}. Reviewer's probe /mnt/project-files/quality/repros/r483_vault_probe.py tried 40 vault strings and 11 secret names. Refused, with no request sent: trailing dot, Cyrillic lookalike, ideographic full stop, %2E, %2F@ and %23 hosts, userinfo, :443, ?, #, /secrets, kv#, kv/x, kv@host, backslash-@ forms, a.b.vault.azure.net, the bare vault.azure.net and //host. Accepted, all correct: mixed case (lowercased), HTTPS:// and an xn-- label, which still sits under vault.azure.net. Secret traversal is refused: ../, /versions/, ?, #, %2F and non-ASCII. Token audience: https://vault.azure.net/user_impersonation, the public-cloud audience, which matches the only host family allowed. Sovereign clouds (vault.usgovcloudapi.net, vault.azure.cn, vault.microsoftazure.de) are refused. Not blocking, because they never worked: they would have been sent a public-cloud token and got 401. Follow-up if wanted: per-cloud host plus audience pairs. Nits: the regexes use $, so "pw\n" passes the secret check (the request stays on the vault host as %0A; use fullmatch); a bare name keeps its case while the URL form is lowercased. Pre-existing follow-up: dbutils.secrets.list refuses a nextLink that doesn't start with the vault URL exactly, and Key Vault's documented nextLink examples carry :443, so multi-page lists may stop. This is inferred from the docs, not checked live. With #481's code, 9 of the 10 selected new tests fail; here they pass. dbutils, notebookutils_fs, notebook_run, related notebookutils suites and silent_except 122 passed, 1 skipped (pinned venv). docs/notebooks.md documents the allowlist. Merges cleanly on main. | | #482 54be8c81 | Outputs hardening (stacked on #480): slider bounds clamp, min > max refused; Dropdown/SelectMultiple options, index and label agree; Tab titles; Wrangler decimals and time zones | PASS | 9.2 | Fixes only. Checked against ipywidgets 8's own validators, reading their source from memory because ipywidgets isn't installed here. Moving min or max clamps the value (IntSlider 50 with max=30 gives 30; 5 with min=10 gives 10; IntProgress clamps too; unbounded IntText doesn't). min > max raises TraitError at construction and on set, for both sliders and range sliders, and min == max is allowed. A range slider clamps both ends (10..90 with max=50 gives 10..50). All of this matches _BoundedInt and _BoundedIntRange. Nit: ipywidgets says "setting max < min" when max is the one set, while here the message is always "setting min > max (lo > hi)". Same exception type, different text. New Dropdown options select the first one and value, label and index agree, as _Selection._propagate_options does. New SelectMultiple options clear the selection. index= and label= work, and an out-of-range index or unknown label raises ValueError. Tab/Accordion set_title pads titles and None becomes ""; get_title past the end returns "". Wrangler fill on a Decimal column casts a string literal to Decimal(p, s) instead of a float. Datetime literals use the column's time unit and zone. Time is parsed; Duration is refused with a message. All 5 new tests fail with #480's code and pass here. outputs_hardening, widgets, wrangler, rich_outputs, frames and silent_except 100 passed (pinned venv). Merges cleanly on main. | | #481 49d6adf7 | Utilities hardening (stacked on #477): OneLake paths compared decoded; runMultiple retry after the DAG's time ran out | PASS | 9.2 | (1) The #477 follow-up. _same_or_inside now unquotes OneLake paths once, reads \ as /, then normpaths; local paths stay literal. Bypass check: the server decodes once and requests keeps a valid %XX (it only unescapes unreserved characters such as %72 to r), so one unquote matches what the server sees. Double encoding behaves correctly: Files/a%2520b stays "a%20b", a different object from "a b", so it isn't refused, and Files/a%2520b/x under it is. Decoding can only add refusals, never remove one: an escape is three characters with no "/", so a raw "sp/" prefix stays a prefix after decoding, and %2F only adds matches. Nit (comment only): requests sends a backslash as %5C, not as a slash as the code comment says, so whether OneLake treats it as a separator is unverified; reading it as / only makes the check stricter. (2) runMultiple: a retry that started after timeoutInSeconds had expired passed 0 to _deadline (no limit); it now stops with "Stopped: ... ran out", and the retry sleep is capped at the time left. String timeoutInSeconds and concurrency go through float. With #477's notebookutils_local.py, the new tests fail (3 failed: %72aw, backslash, retry) and pass here. notebookutils_fs, notebook_run and silent_except 72 passed, 1 skipped (pinned venv). Merges cleanly on main. | | #480 5772a58 | Outputs follow-up (stacked on #479): widget links stop instead of recursing; Broken link as in traitlets; one-way dlink documented | PASS | 9.2 | Folds in the #479 nit. _Link now ignores a change coming back from the other side while one side is being set (one flag for both directions, reset in finally), and after setting the target it raises TraitError "Broken link" if the source moved meanwhile. This is the same algorithm as traitlets' link._update_target. So transforms that aren't inverses no longer recurse: (v*2, v*3) and (v+1, identity) settle after one update each way, out of step but with no error, as in traitlets. Only an observer that changes the source mid-update raises Broken link. The coordinator's summary ("non-inverse transforms now raise") overstates it, but the docs sentence is accurate. TraitError is exported on the ipywidgets module. Reviewer's probe: unlink stops syncing; dlink copies one way only. The new test fails with main's widgets.py and passes here. outputs_hardening, widgets, wrangler, rich_outputs, frames, server, rpc_surface and silent_except 106 passed (pinned venv). docs/notebooks.md says dlink/jsdlink are one-way and that notebooks relying on the old copy-back need link. Merges cleanly on main together with #479. | | #478 ac6b5c08 | Magics on Windows (re-check): \" inside double quotes is a quote, as on Windows' command line | PASS | 9.1 | Fixes the medium finding at 76100c1. magics.words is now a small splitter: spaces separate, single quotes keep everything, a backslash is literal, and inside double quotes \" is a quote unless it ends the word, so "C:\My Folder\" stays a folder. Reviewer's probe /mnt/project-files/quality/repros/r478_magic_words_probe.py: %fs put "say \"hi\"" gives say "hi" again (same as main), while C:\Users\me\req.txt and \\server\share stay whole (main mangled both). Ambiguity checks: "a\"b" gives a"b; "C:\dir\" gives C:\dir\; "x\"" y gives x" and y; "\\server\share\" keeps both backslashes. Two edge lines fail loudly with "No closing quotation" instead of guessing: a \" right before a space inside quotes ("he said \"hi\" " z) and \" outside quotes (a\"b c). Neither writes wrong data. Files/a\ b.txt is still not one argument; docs/notebook-magics.md now says so and says to quote the name. The new tests cover \" in a word, at the end of a folder, inside single quotes, a UNC path, an empty quoted argument, an unclosed quote, and an fs put end to end. magics, pip, silent_except and magics_windows tests 251 passed (pinned venv); ui 234/234. Merges cleanly on main. | | #477 0b72d376 | Utilities hardening (re-check): fs move/copy refuse a destination that resolves to the source or inside it | PASS | 9.1 | Fixes the critical FAIL at the previous head (data loss when the destination is a symlink or junction alias of the source). _same_or_inside now compares os.path.realpath plus normcase for local paths, and posixpath.normpath for OneLake. Reviewer's probe /mnt/project-files/quality/repros/r477_self_move_probe.py (run as a test module): 23 passed; symlink_file and symlink_parent are refused and the source is kept. A case-only rename (a -> A) is allowed on Linux, which is a legitimate case-sensitive rename, and refused on Windows by normcase, which is safe. On the owner's choice not to unquote: it holds for local paths, since file: URIs are not percent-decoded and a literal "%20" names a different file. It does not hold for OneLake: onelake.item_path returns the path raw and the DFS URL is built with an f-string, so the server decodes %20 and Files/a%20b.txt is the same object as Files/a b.txt, which this check treats as different. Not blocking (needs a deliberately encoded path, and OneLake move is a rename, not a delete of a nested copy), follow-up: unquote the OneLake side only before comparing. Merges cleanly on main. | | #476 ff311d6 | Editor hardening 3: frozen cells refuse M/Y type changes; Split on a frozen cell says why | PASS | 9.3 | A bug fix with no new feature. setLanguage now refuses a frozen cell with a toast, which covers the M and Y keys in command mode (they called it directly; the language picker was already disabled on frozen cells). splitCell used to return silently on a frozen cell and now shows the same toast. Every other path that changes a cell's type or source was checked and none changes a frozen cell: the read-only editor, delete (deleteCell and DD on a multi-selection), merge (mergeSelected, mergeBelow), format, find/replace, Validate's clean-up, drag-drop, paste (inserts only) and cut (the delete refuses). The new notebook-edit-view test passes 6/6 here and fails its frozen test with main's app/ui (5/6). ui 233/233; notebook-* and keyboard browser suites 80/80 in one sequential run. Merges cleanly on main, with #473 and with #474. Separate flake that predates this PR: notebook-inputs "a changed value is kept and used by the run" timed out at the 60 s wait on line 57 in 2/8 standalone runs on this head and 1/8 on main. The test waits only for the run_date and regions texts before runCells, not for the full_load and Environment changes to save; that cause is inferred, not confirmed. Follow-up: wait for both values to be applied before the run. | | #479 5fcc346 | Outputs hardening: replies stay valid JSON with NaN/inf; Wrangler integer filter precision and nan/inf; ipywidgets link/dlink/jslink as traitlets; displayHTML(bytes); HTML(url=)/Markdown(url=) | PASS | 9.1 | (a) Every reply goes through server.answer, the only writer to stdout (both lanes and errors), which now uses _reply_text: json.dumps(allow_nan=False), and on ValueError a second pass that turns NaN and infinity into null at any depth in dicts, lists and tuples. Reviewer's probe /mnt/project-files/quality/repros/r479_outputs_probe.py: a 1000x50 page takes 9.2 ms against 9.8 ms with main's dumps and the text is byte-identical; with one NaN the fallback takes 42 ms, only then. np.float64 NaN becomes null, np.float32 NaN the string "nan" through default=str (still valid JSON), and 2^53+1 is kept. Shape is unchanged for existing clients except non-finite values, whose replies the shell used to refuse. (b) Wrangler parses an integer column's value with int() before float, so 9007199254740993 matches its own row; nan/inf are refused with a message. (c) link returns an object with unlink(), sets the target from the source at creation and syncs both ways with a (forward, backward) transform pair; dlink is one-way with an optional transform; jslink/jsdlink are kernel-side links. Behaviour change: on main dlink was link, so it also copied target to source; that back-copy is gone, matching traitlets. Nit: a transform pair that isn't an inverse (x+1, x) recurses until RecursionError, where traitlets raises TraitError "Broken link". (d) HTML(url=) and Markdown(url=) fetch nothing (the repr names the URL); displayHTML(bytes) decodes UTF-8 with replace. test_outputs_hardening can't import on main (_reply_text is new) and passes here. outputs_hardening, widgets, wrangler, rich_outputs, frames, server, rpc_surface and silent_except 105 passed (pinned venv). Merges cleanly on main. | | #475 ad1009e | Query progress tied to the cell's thread, re-check | PASS | 9.2 | The CONDITIONAL finding is fixed: _query_progress walks the cell thread's whole stack and accepts it when any frame is in duckdb or fabric_desktop.spark*, or is notebook.as_table. Reviewer's r475 probe on this head: collect() 6, %%sql 7 and toPandas() 6 of 7-8 polls show progress; a query in a thread the cell started shows none (0 of 8). No misattribution through the walk: sys._current_frames() gives each thread its own stack, and a thread the cell starts begins at threading's bootstrap, so its frames never appear on the cell thread's stack; the cell thread waiting in join() or sleep() has only kernel, cell and threading frames. The remaining edges are tiny and only show a running query's percentage: a cell thread paused inside spark_local Python code while a widget handler's query runs, or a user module whose name starts with duckdb. The walk is a few dozen frame reads per poll, only while a cell runs with spark loaded. test_query_progress (now parametrized over collect, %%sql and a DataFrame as the last line) and silent_except 22 passed (pinned venv). Merges cleanly on main. | | #478 76100c1 | Magics on Windows: CRLF, backslash paths, quoted %%writefile paths, BOM files, %history | CONDITIONAL | 8.8 | The five Windows fixes work: a cell's trailing \r no longer reaches magic arguments (_lines matches on the line without it), %%writefile takes quoted paths with spaces and writes one line ending, %run -b and %pip -r read files with a BOM (utf-8-sig), and %history drops \r. The 8 new tests fail 7 of 8 with main's code (reviewer ran them) and pass here; magics, pip, history, resources, notebookutils fs and silent_except 383 passed (pinned venv); ui 234/234. Finding (medium): magics.words turns off shlex's escape character entirely, so besides keeping C:\Users\me\req.txt and \\server\share whole (main mangled both to C:Usersmereq.txt and \servershare), it changes two escapes people use. %fs put Files/x.txt "say \"hi\"" now writes say \hi\ (main wrote say "hi"), silently wrong file content; and Files/a\ b.txt is no longer one argument (the quoted form still works). Reviewer's probe /mnt/project-files/quality/repros/r478_magic_words_probe.py compares main and head for nine lines. Fix: keep a backslash literal except before a double quote inside double quotes (as Windows' own command line does), so \" still means a quote; add that case to the tests and say in docs/notebook-magics.md that a backslash is literal otherwise. Single-quoted and unescaped arguments are unchanged. Merges cleanly on main. | | #477 cefe4c3 | Utilities hardening: fs.mv/cp refuse onto or into itself; nan/inf parameters; udf.getFunctions reads BOM/.PY files; file:///C:/ URIs | FAIL | 7.8 | The self-move check (_same_or_inside) refuses every OneLake spelling tried before any write: plain, /lakehouse/default/, abfss:// by id and by name, trailing slashes, a folder into itself, ../ segments, cp onto itself (./ is refused by item_path). A sibling with a shared prefix (Files/raw to Files/raw2) is allowed, and dbutils.fs inherits the check. Reviewer's probe /mnt/project-files/quality/repros/r477_self_move_probe.py. Finding (critical, data loss, pre-existing but inside this PR's fix): local paths are compared with os.path.abspath, which doesn't resolve links. fs.mv("file:.../data/a.txt", "file:.../alias.txt", overwrite=True), where alias.txt is a symlink to a.txt (or a path through a Windows junction), is allowed: cp writes the same bytes through the link, the size check passes, and rm(src) deletes the only copy (re-run by the reviewer on this head: symlink_file case, source gone). Fix: os.path.realpath instead of abspath in _same_or_inside (keep normcase), plus a symlink test. Not blocking: (1) percent-encoded aliases such as Files/a%20b.txt for Files/a b.txt pass the check; against a server that decodes paths the copy lands on the source and only mv's after-copy size check keeps it, so compare unquote()d paths; (2) Files//one.txt isn't folded to Files/one.txt (unverified whether OneLake folds it; collapse // or refuse empty segments). The nan/inf, BOM/.PY, posonly/kwonly and file:///C:/ changes are correct and tested. Changed suites, dbutils, udf and silent_except 116 passed (pinned venv). The owner's 16 failures are their venv: chart_libraries, code_format and pandas_in_notebooks pass 21/21 in the pinned venv with ruff 0.17.1. Merges cleanly on main. | | #475 119d575 | Query progress shows only under the cell whose own thread waits on the query | CONDITIONAL | 8.6 | The intent is right: a query run by a thread the cell started, or by a widget handler, no longer shows under the cell. The cost is fine: sys._current_frames() runs only while a cell is running and spark_local is loaded (one snapshot of each thread's newest frame per poll, about every 0.4 s); reading f_globals of a frame that has since moved on is safe under the GIL and at worst one poll stale. Finding (medium, regression in #451's feature): the check looks only at the cell thread's newest Python frame, and a %%sql cell, or a DataFrame shown as the cell's last line, materialises in fabric_desktop.notebook's as_table (display, _show, _run_sql), not in duckdb or fabric_desktop.spark*. So those cells lose their progress line. Reviewer's probe /mnt/project-files/quality/repros/r475_progress_owner_probe.py (20M-row table, group-by query, pinned venv): on main, collect(), %%sql, toPandas() and a started thread all show progress (8-9 polls each); on this head, collect() and toPandas() still do (10 and 7), the started thread correctly shows none, and the %%sql cell shows none (0 of 9 polls). Sampling the cell thread during the %%sql query found it 26 of 26 times in notebook:as_table <- display <- _show <- _run_sql. Fix: accept the cell thread when any frame on its stack (not just the newest) is in fabric_desktop.spark* or is the kernel's own table conversion (as_table), and add a %%sql case to the test. test_query_progress, test_code_format (10/10 with ruff 0.17.1 installed: the owner's 6 failures are their venv lacking ruff) and silent_except 30 passed. Merges cleanly on main. | | #474 7d09c6f | Editor hardening 2: Ctrl+Shift+- splits a cell; Esc after typing leaves for command mode | PASS | 9.3 | Two fixes to existing keys. (1) The split key was bound as Mod-Shift-Minus, which CodeMirror never matches (it names keys by character), so it is now Mod-Shift--. (2) The cell keymap moves ahead of langComp. Both are Prec.highest, so the order decides, and the completion keymap no longer takes Esc while suggestions are still being fetched with nothing on screen; Esc returns false while the suggestion list is visible, so it closes the list first. Collisions checked: the completion keymap (Ctrl-Space, Escape, arrows, PageUp/Down, Enter) shares only Escape with the cell keymap (Shift-, Mod-, Alt-Enter, Escape, Mod-Shift--, Mod-/, F9, Shift-Alt-f), and that case is handled. nbintel's hover and signature help add no keymap. The default, search, history and fold keymaps keep their lower precedence as before. notebook-command-mode fails 2 of 9 with main's notebook.js (reviewer ran it: Esc and split) and passes 9/9 three runs in a row here; all notebook-* and keyboard browser suites 83/83; ui 233/233. Merges cleanly on main and with #473 (different places in notebook.js). | | #473 1267b28 | Editor hardening: collapsed sections move whole; Alt+Left/Right listed | PASS | 9.2 | No new feature. (1) Alt+Left/Right already went back and forward on main (navKey); this gives the key an id in the shortcut table so it appears in the ? dialog and the user guide (the #348 follow-up). isShortcut gains alt, and navKey reads it with the same conditions as before (no Ctrl, Cmd or Shift; not in a text box or dialog). (2) Four fixes to collapsed headings, all in existing commands: Move up/down, Alt+Up/Down and drag now take a collapsed heading's hidden cells along (withSection/placeCells, as JupyterLab does); a block selected next to each other on screen moves together across a fold (moveShown); and a moved, new or pasted cell that lands in a collapsed section opens it instead of going in hidden. The four new browser tests fail with main's app/ui (reviewer ran notebook-folded with main's UI: 4 of 6 fail) and pass here. ui 233/233; notebook-folded, shortcuts-dialog, back-forward and keyboard browser suites 20/20. placeCells calls revealCell for each shown cell on a move: quadratic in cell count but no-op for cells already shown, fine at notebook sizes. Docs: organise-cells.md and the user-guide row describe the behaviour. Merges cleanly on main. | | #472 517633b | Charts follow-up to #448: Vega third-party notices; plotly offline.plot in the cell, no browser from write_html | PASS | 9.2 | Closes the follow-up left on #448. Reviewer's probe /mnt/project-files/quality/repros/r448b_plotly_browser_probe.py (webbrowser faked as found, opens recorded; plotly 7.1.0, pinned venv) now records no browser for fig.show(), pio.show, offline.iplot, offline.plot(fig) (drawn in the cell, file still written as asked, URL returned), offline.plot(output_type="div"), offline.plot(auto_open=False) and write_html(auto_open=True). plotly.io._html's webbrowser is replaced only inside the engine; renderer="browser", a renderer the notebook sets and PLOTLY_RENDERER stay as on #448. The plot patch binds the arguments to the original signature, so auto_open and output_type defaults are read correctly, and it is idempotent (_fabric_desktop marker). write_html(auto_open=True) now shows nothing rather than a tab; acceptable, the file is written. The drawn page includes plotly.js, as the file does (a few MB in that cell's output). THIRD-PARTY-NOTICES.md lists the 58 packages vega-frame.js bundles with versions and licenses (ISC, BSD-3-Clause and others), beside the three LICENSE files. chart_libraries, rich_outputs, silent_except 32 passed; the new test fails if a browser opens. Merges cleanly on main. | | #471 8b74c61 | Browser test: "a restart reopens the last page" served over http (flake fix) | PASS | 9.3 | Test-only. The test opens the app with the harness csp option (http://app.test with the shell's CSP) instead of file://, keeps its assertion, and also asserts that the CSP blocked nothing. The real app never uses file:// storage. Tauri serves frontendDist (tauri.conf.json) from its own http origin (on Windows WebView2, http://tauri.localhost), and the last page is written to that origin's localStorage (app.js:410, read back at :454), which WebView2 keeps on disk across restarts. Swapping the test's origin therefore matches production rather than hiding a product bug. Other tests: back-forward.test.cjs is the only browser test that reloads (no other reload, goto or newPage outside the harness), and the storage option seeds storage before the first load, so no other test needs csp mode for this reason. The harness comment tells future tests to use it. back-forward 4/4 five runs in a row; ui 231/231. Merges cleanly on main. | | #470 856ad78 | Format cell and Format notebook (ruff for Python, the SQL formatter for %%sql) | PASS | 9.2 | READ_ONLY is right: notebook_format returns text and writes nothing. The page applies it (nbformat.js: setSource, then markDirty, so the change is saved by the usual autosave or save_notebook, a writer). It skips frozen cells and keeps a cell that was typed in while the engine formatted. ruff runs as an argument list with no shell, gets the cell on stdin as a one-cell notebook, has a 20 s timeout and CREATE_NO_WINDOW, and runs with --isolated. Reviewer's probe /mnt/project-files/quality/repros/r470_format_probe.py, with a pyproject.toml and ruff.toml (line-length 20, single quotes) in the working folder, got default output (88 columns, double quotes), so no nearby config applies. ruff format only parses and prints and never runs the code. Cells: line magics and !commands are kept as written; %%sql and a bare %sql go through sql_format in Spark SQL (formatted on purpose, and it returns the original when it can't show the meaning is the same); %%html, %%pyspark, %md and a one-line %sql are left alone; a syntax error is reported per cell; # fmt: off is honoured. Supply chain: ruff==0.17.1 is pinned in constraints.txt and installed --only-binary like every engine package (no package in the engine build is hash-pinned; that is the repo's convention, not this PR's gap). ruff.exe sits under Lib\site-packages, which the main-only signing step covers (dll,pyd,exe, recursive). cyclonedx-py environment lists it with its MIT license in sbom-engine. The win_amd64 wheel is 10.1 MB (about 25 MB installed) against an engine download of about 150 MB. The CI engine job runs format_cells against the built engine. test_code_format, rpc_surface, audit, sql_format, silent_except 61 passed; ui 229/229; notebook-format browser 4/4. Conflict with main in app/tests/ui.test.cjs (the usual appended tests after #451/#467): keep both sides. | | #448 87a0899 | Charts: plotly fig.show() draws in the cell on Windows too, re-check | PASS | 9.1 | Cause confirmed: plotly makes "browser" its default wherever webbrowser finds one (always on Windows), and the old patch replaced only an empty default. The cell renderer is now the default unless PLOTLY_RENDERER is set. Reviewer's probe /mnt/project-files/quality/repros/r448b_plotly_browser_probe.py (webbrowser faked as found, opens recorded): the default is kratosforge; fig.show(), pio.show(fig) and offline.iplot(fig) draw in the cell and open nothing. Still opened on purpose: fig.show(renderer="browser"), a notebook that sets pio.renderers.default itself, and a PLOTLY_RENDERER the person set. Not addressed, and the same on main: plotly.offline.plot(fig) (auto_open is True by default) and fig.write_html(..., auto_open=True) open a browser from the engine. That is a follow-up (draw offline.plot's figure in the cell, as iplot does), not a blocker. PLOTLY_RENDERER is not in EXTERNAL_ENV_ALLOW (kernel_proc.py), so an AI tool's Python never inherits it from the app; in the person's own kernels it is their own setting. The new test fails with 978096b's chart_output.py (reviewer ran it) and passes here; chart, display, outputs and ipython tests with silent_except 31 passed (pinned venv, plotly 7.1.0). Merges cleanly on main. | | #469 5c56711 | Docs build: fix the %run -b anchor in notebook-resources.md | PASS | 9.5 | One link changes from #...-run--b to #...-run-b, the slug the heading gets. Reviewer ran zensical build --strict: main's file fails ("anchor does not exist", aborted by --strict, exit 1); this head builds with "No issues found", exit 0. --strict checks every internal anchor, so no other link is broken, and no other docs link uses a double-hyphen slug. Merges cleanly on main. | | #468 9dee705 | One sign-in client at a time; get_status doesn't build one when nobody signed in (conformance flake cause) | PASS | 9.2 | (1) No deadlock: _auth_lock (a plain Lock) is held only while the Authenticator is built and is released before it is returned; every sign-in (interactive WAM, browser, silent token) runs on the returned object outside the lock, and Authenticator.__init__ never calls back into the service. A slow or stalled endpoint lookup now makes the other callers wait for the one build rather than each doing their own, and they all needed the client anyway. (2) Skipping can't hide a sign-in: get_accounts() reads MSAL's token cache, broker sign-ins included, and _save writes that cache to msal_cache.bin (default_cache_path, the same path the service's Authenticator uses) after every change; WAM accounts the app never signed in with aren't listed by get_accounts on main either. So with no client in this process and no cache file, main also answered not signed in. (3) Right after a sign-in in this engine, _auth exists, so get_status reads it; a sign-in by another process (a scheduled run) writes the cache file, which the next get_status sees. A changed client ID still rebuilds the client, now under the lock. Both new tests fail with main's two files (reviewer ran them) and pass here; integrations_conformance 39/39 three times in a row; integrations_core, auth and silent_except 65 passed. No assertion or time limit changed. Merges cleanly on main. | | #467 a06d9f6 | IPython history, re-check | PASS | 9.2 | The CONDITIONAL finding is fixed: OUT_KEEP = frames.MAX_FRAMES (20), so Out pins no more tables than the result viewer already holds, and the docs say 20. Reviewer's r467 probe on this head: of 30 shown 8 MB results, 20 stay alive and Out holds 20 (100 before). A _ the notebook assigns is now left alone, as in IPython: __fd_last__ remembers what the kernel last set, record_output skips _/__/___ when _ is something else, del _ resumes it, %reset -f clears the marker, and the %run branch keeps the marker in step. The probe's user = 'mine'survives a shown result. __fd_last__ starts with an underscore, so the Variables pane and %who skip it; it holds one extra reference to the last result, the same one _ held. test_notebook_history (new 25-cell test), magics, proof, replay, prove, debugger, frames, silent_except 206 passed (pinned venv); ui 229/229. Merges cleanly on main. | | #467 8a4e20d | IPython history: In, Out, _/__/___, _N, _iN, %history | CONDITIONAL | 8.8 | Works as IPython does: In and _iN record each cell's source before it runs, Out and _N its shown result, only for the notebook's own cells (not %run, depth 0, the notebook namespace); %reset -f clears results and keeps sources; restart starts again. Prove and replay run in their own kernels, so each gets its own history, and nothing compares namespaces; the Variables pane and variable_detail skip underscore names and In/Out (base namespace keys). Finding (medium, memory): Out keeps the last OUT_KEEP = 100 results and each one stays alive (reviewer's probe /mnt/project-files/quality/repros/r467_history_probe.py: 30 shown results of 8 MB each, all 30 still alive). On main only _ held a shown result, and the result viewer (frames.MAX_FRAMES = 20) already keeps the last 20 tables, so for tables this raises what a notebook pins from 20 to 100. A notebook that shows large pandas or Polars frames can hit the kernel's memory limit, which clears every variable. Fix: OUT_KEEP = frames.MAX_FRAMES (or lower), so Out pins no table the viewer doesn't already hold; say the number in docs/notebook-magics.md. Not blocking: a user variable named _ is still overwritten by the next shown result, as on main (IPython leaves a user's _ alone); %history -o prints results with repr, as a cell's own output already does for the same value (no new exposure: the kernel doesn't hide a secret's value in a cell's output on main either). test_notebook_history, magics, proof, replay, prove, debugger, frames, silent_except 201 passed (pinned venv); ui 229/229. Merges cleanly on main. | | #466 2882519 | Keyboard shortcuts: Ctrl+Shift+Enter listed under Notebook | PASS | 9.3 | The run-selected-text key moves from the several-cells group to the Notebook group in nbselect.js. registerShortcuts only appends to the registry (features.js:156), so a second Notebook call adds to the rows app.js and notebook.js register and replaces none; the when: inNotebook condition is unchanged. The browser assertion reads the rows under the Notebook heading and checks the key is there and Merge isn't. ui 228/228; shortcuts-dialog and notebook-select browser suites 12/12 (reviewer ran them). No Python changed. Merges cleanly on main. | | #465 14cbc50 | AI tool Python keeps the Windows processor variables (fixes a #249 regression) | PASS | 9.2 | Cause confirmed in CPython 3.13: platform._get_machine_win32 falls back to PROCESSOR_ARCHITEW6432 then PROCESSOR_ARCHITECTURE when its WMI query raises OSError, and _Processor.get_win32 falls back to PROCESSOR_IDENTIFIER; with #249's allowlist both came back empty, and Polars' CPU check then refuses to import. Security: the four values are hardware descriptors Windows sets (architecture names like AMD64, a CPU family string, a count). They hold no secret and no path, and any process can read the same facts through WMI or GetSystemInfo, so passing them gives an approved tool nothing new; the allowlist still drops every other variable (test_the_external_environment_is_the_allowlist_and_nothing_else passes). Minimal: the architecture pair and PROCESSOR_IDENTIFIER are what CPython reads; NUMBER_OF_PROCESSORS is not read by CPython or any package in the pinned engine (os.cpu_count uses the system call), so it could go, though it is harmless. The new test forces the WMI failure and expects AMD64; it fails with main's kernel_proc.py (reviewer ran it) and passes here. docs/permissions.md lists the four. integrations_executions and silent_except 77 passed. Merges cleanly on main. Nit: three blank lines before the new test and one after it. | | #464 b6b1bf3 | Looking at a notebook's kernel never makes a session (fix for the cap eviction found on #463) | PASS | 9.3 | poll_cell, interrupt_cell, kernel_variables and debug_cell look the session up with create=False, and with none they answer as a fresh kernel already did: an idle snapshot (version 0, count 0, outputs []), {interrupted: false}, [] and "No cell is running under the debugger.". So opening a notebook no longer makes a session, and at the cap no longer stops another notebook's idle session and clears its variables. kernel_complete keeps create=True (completion needs a process). The new test (cap 2, all four calls for a notebook with no session: no session made or stopped, no note, A keeps its variables) fails with main's service.py (reviewer ran it: 1 failed) and passes on this head. UI: refreshVariables shows variableTable([]), the same empty pane a fresh kernel's [] gave before (Fabric notebooks don't ask); the run loop's poll gets the same idle shape it got from a new kernel on main. kernel_sessions, debugger, server_lanes, kernel*, widgets, proof, replay, silent_except 123 passed; ui 222/222. Merges cleanly on main. Overlaps #463: both rewrite debug_cell the same way (same message), and they conflict in service.py (only #463's docstring differs). #464 does everything #463 does and its test covers debug_cell, so merge #464 and close #463 as superseded; if #463 lands first, #464 takes main and keeps its own body. | | #258 3a05d36 | HD-022 update hand-over, re-check after merging main (#264's Arc<Sidecar>) | PASS | 9.1 | Checked the main.rs resolution with --remerge-diff: rpc is main's (lock held only to find or start the engine, ptr_eq before clearing the slot) plus the updating check under the engine lock; start_into fills Option<Arc<Sidecar>>; shut_down is reworked for the Arc. (1) Killing with holders: shut_down takes the engine out of the slot first, so no call can clone it afterwards and strong_count counts only calls in flight. A killed engine can't hand a half reply to a call: read_replies delivers a line only when reply_id parses it as whole JSON, so a truncated last line is dropped, and EOF closes Pending, so every waiting call gets Closed (SIDECAR_EXITED) and drops its Arc; a call writing to stdin gets a broken pipe and returns the same. The kill and wait paths lock child with unwrap_or_else(into_inner), and nothing panics while holding the sidecar, child, stdin or pending locks, so no mutex is poisoned. (2) Err path: hand_over calls resume(false) when stop_engine fails, which clears updating and shows the window; nothing was swapped. The slot is already empty and that engine's process was killed (an Err needs a holder, and holders trigger the kill), so the next call starts a fresh engine and the old exe keeps working. (3) Deadlocks: the lock order is sidecar then child in rpc, start_into and resume; shut_down takes each one alone and holds neither while it waits; rpc's ended branch takes only sidecar; stop_kernel takes only child; updating is an atomic, not a lock. The 10 s wait and the 90 s start wait block one async worker; rpc calls finish on spawn_blocking threads, so holders can still return. A grandchild holding the engine's stdout open would delay EOF past the grace period; that fails safe (Err, no swap), and the engine's response handle is not inherited. Rust can't be compiled here (no WebKitGTK): the CI shell job (cargo test, clippy) must be green on this head before merge, and the owner reports cargo test 56 passed. Windows file locks during the swap stay with Chris's Windows check. Merges cleanly on main. | | #349 5f9847a | Access cache (GOV-001), re-check after merging main | PASS | 9.2 | Checked with --remerge-diff. The only sidecar conflict is the Service base list: main's list (now with NotebookFoldersMixin) with AccessCacheMixin first. MRO checked on the merged class: AccessCacheMixin defines _visible_workspaces, access_cache, access_cache_protect and access_cache_refresh, and none of them is defined by any other class in Service's MRO or by Service itself, so being first shadows nothing (NotebookFoldersMixin included). ui.test.cjs is the two sides together. access_cache, rpc_surface, audit, notebook_folders, server_lanes and silent_except 86 passed; ui 223/223. Merges cleanly on main. | | #463 9b80da6 | debug_cell never starts a kernel session (follow-up to #264) | PASS | 9.3 | debug_cell looks the session up with create=False and answers "No cell is running under the debugger." when there is none, so a quick-lane debugger command no longer makes a session (and, at the session cap, no longer evicts another notebook's idle session). On main it made a session but no process (debug sends with spawn=False). The new test fails on main (reviewer ran it with main's service.py: 1 failed) and passes on this head. debugger, kernel_sessions, server_lanes and silent_except 63 passed. Merges cleanly on main. On the other quick-lane calls the PR names: KernelSessions.session holds an RLock, so a quick-lane create can't race the ordered lane into two sessions. poll_cell, interrupt_cell and kernel_variables never start a process (they answer idle, not interrupted or [] when none runs), but a lookup that creates a session calls _make_room, which at the cap closes the oldest idle session and clears its variables. notebook.js calls kernel_variables when a notebook opens, so opening or refreshing a notebook with no session can evict another notebook's idle session. That predates #264 (it happened in the ordered lane too) and is worth a small follow-up: create=False in those three, returning their existing empty answers. kernel_complete starts a process by design (completion needs one), so it keeps create=True. | | #462 f8aa388 (on #459) | Risk check scope follow-ups: refuse what can't be placed; docs for the oracle and capacity read | PASS | 9.2 | scope.workload_of now picks the deployment exactly as risk_service._risk_facts does (same env, the action in its actions) and returns None when none matches or a Fabric deployment has no workspace_id; enforce refuses None as permission_denied before any approval, so those calls no longer pass scope and fail later in the handler. Cases that passed before still pass where they should: a this-PC deployment and a schedule (run_schedule runs on this PC) give an empty set, as no capacity is read; a Fabric deployment gives its workspace; a Data mesh run adds the environment's input workspace. One deliberate change: with several deployments in an environment only the one the check reads must be inside the limit, which is exactly what is read. The reviewer's r459 probe was updated for that and passes 5/5 on this head (/mnt/project-files/quality/repros/r459_workload_scope_probe.py); a deployment record without actions is now refused, and every real one carries them (workloads/inventory.py). Docs (ai-integration-security.md) name the not_found/denied difference and the tenant-wide capacity list. workspace_scope, risk, integrations_permissions, rpc_surface, silent_except 72 passed. Merges cleanly on main. Nit: one blank line instead of two before test_a_limited_tool_checks_risk_only_in_its_workspaces. Merge after #459. | | #457 6b9c3bf | Watchdog time limit for the notebook lifecycle reads, re-check after merging main (#264) | PASS | 9.1 | Checked with --remerge-diff. watchdog.QUICK and server.QUICK now list the same methods; the five reads (notebook_comments_list, notebook_folders, notebook_resources, notebook_version, notebook_versions) are added to both. Dropping new_notebook is right: it writes a notebook file, and main's rule (server.py comment, test_server_lanes writer check) keeps new, save and rename in the ordered lane with publish and delete, so a quick-lane create can't race a save or publish. The five are read-only (notebook_versions reads the saved file and the versions folder; notebook_version one version file) and safe beside an ordered-lane write: a version file deleted or half-written mid-list is skipped by _read, never shown, and a listing that runs during a folder rename at worst fails once and is retried. One timing note: the quick lane is one thread, so on main a very long history (201 x 4 MB, 1.4 s to list) delays the other quick calls by that much, well inside QUICK_SECONDS (60); #461's index brings the list to milliseconds. test_server_lanes, rpc_surface, silent_except, notebook versions/folders/comments/resources 142 passed. Merges cleanly on main. | | #242 6a8d2af | HD-052 raw HTML sink check, re-check after merging main (#250, #267) | PASS | 9.2 | Checked the merge with --remerge-diff. CONTRIBUTING.md keeps #242's Tests bullet (ui-browser in CI, the sink rule) and main's T-SQL contract bullet. ui.test.cjs keeps the HD-052 sink test and #250's CSP test. The one test edit drops the notebook.js srcdoc entry from the reviewed list. That does not hide a sink: #250 removed that line (no srcdoc, innerHTML, insertAdjacentHTML, document.write or outerHTML is left in app/ui outside the three reviewed app.js/meshmap.js lines), and the test's second assertion fails on any allowed entry that is gone from the code, so the entry had to go. The walker would fail on any new sink in notebook.js. The notebook HTML path is now htmlFrame(): an iframe with sandbox=allow-scripts and src nbout:, with the HTML sent by postMessage. The CSP test covers it: no allow-same-origin or srcdoc on the frame, convertFileSrc("frame", "nbout"), and nbout: in frame-src. The HTML is written inside main.rs OUTPUT_FRAME, outside app/ui, on its own origin; that page's no-network policy was verified when #250 was graded (r250_frame_csp). ui 223/223 on this head, both tests ok. Merges cleanly on main. | | #459 119f083 | check_run_risk limited by scope.workload | PASS | 9.0 | scope.workload (integrations/scope.py) locates every deployment of the workload in the requested environment, so a workload deployed to two workspaces needs both inside the limit (reviewer's probe /mnt/project-files/quality/repros/r459_workload_scope_probe.py, 5 passed: {in, out} refused; a location naming a workspace without its id refused; the capacity read stays inside the checked set; Data mesh runs add the environment's input workspace). Capabilities still declare workspaces= and the walk-every-capability tests pass. Nits, not blocking: (1) an out-of-limit id answers permission_denied while a missing id answers not_found, so a limited tool can tell an id exists (same as notebooks; worth a docs line); (2) no deployment, an environment mismatch or a Fabric location with neither id nor name give an empty set, which scope lets through and the handler then refuses or reads nothing; returning None there would refuse it up front; (3) list_capacities reads tenant-wide to find the one workspace's capacity (pre-existing, only that capacity is returned). integrations* 364, risk 20, workspace_scope 12, rpc_surface 2, silent_except 18 passed run file by file (one process for all of them passed the reviewer's 590 s limit, the known conformance-under-load slowness); ui 221 passed. | | #461 ec707c6 | Notebook versions: index.json so saves and the list stay quick | PASS | 9.3 | Re-ran the long-history case (reviewer's probe /mnt/project-files/quality/repros/r461_versions_index_probe.py, 199 checkpoints + 2 automatic versions of about 4 MB each): a save takes 0.06 s and the list 0.00 s, against about 2.4 s per save on main, which parsed every version twice. A torn index is rebuilt from the version files on the next list (2.84 s once, then 0.004 s). Concurrent saves of one notebook (4 threads x 20, then 4 processes x 20): 160 version files, 160 index entries, ids match. Saves are not locked, so two at once can still drop one entry from the index; the index is then out of step with the files, and the next list or save rebuilds it, so no version is lost and none shows that isn't on disk. A version deleted outside the app drops out of the list the same way. The index holds no cells; record, prune, coalesce and delete keep it in step. Merges cleanly on main; test_notebook_versions, test_notebook_folders and silent_except 55 passed. | | #458 2afd639 | Governance sends platform notices (requests, shortcut health), re-check | PASS | 9.2 | The CONDITIONAL finding is fixed: _governance_notify now takes a builder and runs it inside the guard, so the list_products read and the event build for requests (central/service.py) and shortcut health (shortcut_service.py) can no longer raise after the decision is saved; the [build] case is kept as a test (stored declined, problem reported). Merge of main (#450, #452) checked with --remerge-diff: platform_notify_service.py imports keep both sides, nothing else changed. Reviewer's r458 probe passes on this head; governance, platform_notify, shortcut, central, redact, rpc_surface and silent_except tests 157 passed. Merges cleanly on main. | | #460 7cd9e48 | Platform definitions: every metadata file saved whole | PASS | 9.2 | Entity, environments, layers, key-table, source-system, mesh and template files now go through jsonfile.write_text (temp file, fsync, os.replace with the Windows retry). Settings read through read_json: a torn settings.json is moved to settings.json.corrupt-<time> before the next save, so its contents are kept rather than silently overwritten (reviewer's probe /mnt/project-files/quality/repros/r460_torn_settings_probe.py: torn file set aside byte for byte; a failed replace leaves the old file whole and no temp file; a non-object file is ignored and left in place). The next save after a torn file starts from just that change, as before; the set-aside copy holds the rest. An entity rename writes the new file before removing the old one; a case-only rename on Windows is still refused as "already exists" (unchanged). Merges cleanly on main and with #454 (which changes read_text inside read_json; compatible). meta, keys, mesh, templates, test_meta_atomic_save and silent_except 76 passed. | | #458 c4be602 (on #450 + #452) | Governance sends platform notices (requests, shortcut health) | CONDITIONAL | 8.6 | Tested on main 3256668 + #450 + #452 + #458, merged locally. Notices go out only after the change is saved; the request reason and detail notes never reach a notice (reviewer's probe /mnt/project-files/quality/repros/r458_reason_never_notified_probe.py: a marker and a secret-looking token in the reason, detail and decide notes are absent from the bell, every outbox table and the Teams posts); r450 redaction probe 4 of 4 on the combined tree; if platform_notify raises or sqlite is locked, make, decide and withdraw still succeed with the decision saved and a problem line that names no webhook; shortcut checks notify only on real transitions (record_shortcut_health). Finding (medium): the notice is built, and for access and shortcut requests list_products is read, before the try in _governance_notify (central/service.py:550-551, shortcut_service.py:155), so a failure there raises after the decision is saved (probe [build] case: stored declined, platform_decide raises KeyError('owner')); the person sees an error and a retry gets "already decided". Fix: build the event inside the same guard (for example pass a builder to _governance_notify) and keep the [build] case as a test. Conflicts with #452 in platform_notify_service.py imports (keep both). governance, governance_notices, platform_notify, redact, silent_except, rpc_surface, audit, shortcut_center 173 passed; central callers 116 passed; test_pandas_in_notebooks (pinned) 6 passed, and main passes it too (the owner's "6 pytz failures" are their venv); ui 217. Merge after #450 and #452. | | #457 0ab9a79 | Watchdog 60 s limit for five notebook read calls | PASS | 9.0 | Adds notebook_versions, notebook_version, notebook_comments_list, notebook_folders and notebook_resources to watchdog QUICK; leaves out compare (git), notebook_runs (Fabric refresh) and import_check (large archives), which is right. The method test now scans server.py plus the four service files whose METHODS merge in, so a QUICK name that no engine file declares fails. 60 s check by the reviewer: 201 versions of a notebook with a 4 MB output (about 800 MB of history, the most a notebook keeps: 100 automatic plus 200 checkpoints, pruned) list in 1.4 s warm; the other four read one notebook's metadata or a folder. Merge order: watchdog.rs conflicts with #264 (not yet merged), whose test requires watchdog.QUICK and server.QUICK to be identical; whichever merges second adds the five to server.QUICK too, which also moves them to #264's quick lane (they only read files written with os.replace and skip unreadable versions). Follow-up for the Notebook development program (pre-existing, #346): notebook_versions.record reads and parses the whole history twice on every save (_all, then _prune), so with that 800 MB history each save took about 2.4 s in the probe, and save_notebook is itself a 60 s QUICK call on a slow disk. Rust tests not compiled here (owner reports the 5 watchdog tests pass). Merges cleanly with main. | | #456 fff7dd0 | Docs: /why-fabric-desktop/ forwards to /why-kratosforge/ (#447 nit) | PASS | 9.4 | One zensical.toml block (redirects plugin, why-fabric-desktop.md to why-kratosforge.md). Reviewer built the site: zensical build --strict reports no issues; site/why-fabric-desktop/index.html is a redirect page (meta refresh, canonical link and a script that keeps any #anchor) to ../why-kratosforge/, which exists. Merges cleanly with main. | | #455 84cbe42 | Fabric view: Microsoft sign-in hosts for device check, Seamless SSO and personal-account guests (#259 follow-up) | PASS | 9.2 | #259 is on main (a24acb7); this adds device.login.microsoftonline.com, autologon.microsoftazuread-sso.com and login.live.com to FABRIC_VIEW_HOSTS with exact-host tests, plus look-alikes (login.live.com.evil.com, evil-microsoftazuread-sso.com, x.autologon.microsoftazuread-sso.com) refused; account.live.com still opens in the browser. security.md, enterprise-install.md (firewall list) and the HD-027 Windows check list are updated. Rust not compiled here (shell job; owner reports cargo 28). Merges cleanly with main. | | #454 3b211ef | side_by_side and JSON reads wait out a Windows replace; saves are serialized | PASS | 9.3 | jsonfile.read_text retries only PermissionError, 5 times with 0.05 s doubling backoff (about 1.5 s), then one last plain read that raises; FileNotFoundError and ValueError keep their meaning in read_json and _sbs_saved. _sbs_save now reads, changes and writes under a module lock, so two comparisons finishing together keep both rows (single process; the file belongs to this engine). The 4 new tests in test_json_files fail against main's code (reviewer swapped main's sidecar code in: 4 failed) and pass on the branch. json_files, side_by_side, silent_except, rpc_surface 60 passed, 2 skipped. Merges cleanly with main. | | #453 0d00cb0 (re-grade) | Proxy user name and password removed from external-tool Python's environment | PASS | 9.1 | Both leaks fixed: the value is stripped, and userinfo runs to the last @ before the host; an @ after a / counts as path only when the text before that / is already host[:port]. Reviewer's r453 probe 7 of 7 (IPv6 with port, percent-encoded, scheme-less, socks5h @@, unencoded / in the password, leading spaces, a path @ kept); extra cases http://u:p@h:1/a@b, http://user@h:1 and @h:1 lose their credentials. integrations_executions, silent_except plus probe 82 passed. Nit: a contrived http://u:p/q@h:1/x@y becomes http://y (no leak, wrong host). Merges cleanly with main. | | #453 641eb15 | Proxy user name and password removed from external-tool Python's environment | CONDITIONAL | 8.7 | Works for the common forms: reviewer's probe (/mnt/project-files/quality/repros/r453_proxy_userinfo_probe.py) strips http://u:p@[::1]:3128 to http://[::1]:3128, percent-encoded credentials on an IPv6 host with port, a scheme-less u:p@proxy:8080, socks5h with "@@", and any-case names (http_proxy too); a path @ after the host is kept; nothing logs the values. Two forms leak the password, though the docs and comment say credentials are removed: an unencoded / in the password (http://u:pa/ss@proxy:8080 is left whole, because [^/]* stops at the /) and a value with leading spaces (the regex is anchored at ^). Fix: strip the value, then remove everything after the optional scheme up to the last @ before the host (for example split on the last @ when one appears before any later /, or use rpartition('@') on the part after the scheme), and add both cases to the test. Not a regression (main passes every proxy value through). integrations_executions, kernel_process, silent_except 89 passed. Merges cleanly with main. | | #451 094fdac | Query progress under a running spark cell | PASS | 9.2 | Main merge: the PR's net diff against main removes no lines from notebook.js or notebook.py, so #387 debugger, partial runs and #430 ipywidgets are intact; the change is additive. spark_local.progress() reads conn.query_progress() on the session's connection, the cross-thread call DuckDB provides (as interrupt() already does); values outside 0-100, -1 or None give None; a closed connection gives None (silent-ok). _Run.snapshot asks only while running, outside the run lock, and never imports spark for cells that didn't use it; the UI clears progress as soon as a snapshot isn't running. Reviewer's probe (/mnt/project-files/quality/repros/r451_progress_race_probe.py): 4 threads polled 5.5 million times during three 40M-row aggregations with no crash, deadlock or wrong result, polls under 170 ms, values 5.8-100; progress gone after end, Stop and error; none for plain Python. query_progress, kernel_process, kernel_sessions (PYTHONPATH set), notebook, spark_local, debugger, debugging, ipywidgets, silent_except, rpc_surface, test_pandas_in_notebooks (pinned) 161 passed; ui 218; debugger, ipywidgets, notebook-cells, notebook-runs browser 13 passed. Nits: progress belongs to the session, so a spark query from a background thread or widget handler shows under whichever cell is running (notebook.py:290); test_query_progress builds 60M rows and is timing-dependent, 20M would do on small CI runners. Merges cleanly with main. | | #452 c31b54c (on #450) | Platform notices: redact event text; a damaged row doesn't blank the list | PASS | 9.3 | Answers both #450 follow-ups. validate() runs redact.secrets on title and detail before cutting to 200 characters, so the bell, the stored notice and the Teams card all get the redacted text: reviewer's r450 probe now shows "Bearer [removed]" and "sig=[removed]" in both the bell and the Teams card, and no SAS signature stored. A damaged or unknown open target falls back to the notice kind's own page (_target checks view and tab against VIEWS), so one bad row no longer hides the rest. platform_notify, redact, silent_except, rpc_surface plus the probe 109 passed; ui 217. Merge after #450 (retargets to main then). | | #450 db10e88 | Platform notices in the bell and Settings > Notifications (Preview) | PASS | 9.1 | Hidden state is clean: the bell's Platform chip shows only when a route is set or something is open or waiting; with no routes and no notices platform_notify_open returns open [], waiting 0, routes false; a filter left on Platform falls back to All; a failed read leaves the filter out; all behind previewShown with the Preview tag. Webhook addresses never come back: settings show only url_set and host, and outbox errors are redacted on write (reviewer's probe /mnt/project-files/quality/repros/r450_notice_redaction_probe.py: a failed post whose error holds the full Teams URL shows "url: [removed]" and the URL is absent from platform_outbox.sqlite). Read RPCs are in audit.READ_ONLY; route removal uses confirmDialog danger; "How this works" names every write; text via h(). platform_notify, silent_except, rpc_surface 34 passed; test_pandas_in_notebooks (pinned) 6 passed; ui 217; platform-notices and settings browser 9 passed. Trial merge with #432 is clean. Follow-ups, required before governance wires callers: (1) event title and detail are never redacted (workloads/platform_notify.py:63, platform_notify_service.py:61-67): in the probe a bearer token and a SAS URL show verbatim in the bell and are stored in the new notice table; the same text already goes to Teams on main; fix with redact.secrets in validate(). (2) One corrupt open column makes platform_notify_open raise (platform_notify_service.py:111) and blanks the list. Nit: the read RPC creates platform_outbox.sqlite on first open. Merges cleanly with main. | | #448 2cbb914 | Altair charts draw in cells; plotly fig.show() (Preview) | PASS | 9.2 | Altair output becomes a vegalite output drawn in the existing sandboxed nbout frame; in the app page vega-frame.js only assigns a string, so Vega never runs there. vegaPage (notebook.js:980) escapes every < in the spec; the Vega source is inlined raw but build.cjs refuses </script and <!--, and the committed bundle has neither. Reviewer's probe (/mnt/project-files/quality/repros/r448_vega_escape_probe.test.cjs) under main.rs OUTPUT_FRAME and OUTPUT_CSP: a spec holding </script><script>, <!--<script>, a backtick ${} and U+2028/2029 draws them as text and runs nothing; data.url to an outside host reaches no network; external image marks and plain HTML images are blocked by CSP. OUTPUT_CSP already allowed 'unsafe-eval' and #448 doesn't change it (Vega needs it; notebook code could already run script in that frame). The Altair browser test draws 3 marks with 0 requests. Vendored bundle is byte-identical to npm's vega 6.4.0, vega-lite 6.4.3 and vega-embed 7.3.0 builds, with their BSD-3 LICENSE files; build.cjs and package.json pin versions. plotly's default renderer is set only when none is; fig.show() emits HTML without a browser. bokeh's patch moves to a table with the same behaviour (#434 thread test passes). .ipynb export keeps the spec; HTML export shows a skipped note (the relay said it keeps the spec; the docs correctly claim only .ipynb). chart_libraries, test_pandas_in_notebooks (pinned, altair 6.3.0), notebook, notebook_formats, silent_except, rpc_surface 81 passed; ui 218; Altair and notebook browser 63 passed; probe 4. Nits: bundled d3 (ISC) and vega-embed's MIT/ISC deps have no third-party notice; each chart frame receives the 850 KB Vega source. Merges cleanly with main. | | main 29f7607 (Stable candidate, Chris 10:25Z "Let's get a stable update to the app pushed") | Release readiness of main for Promote to stable | CONDITIONAL | 8.8 | Full engine suite at 29f7607 in the pinned venv: 3236 passed, 3 skipped, 0 failed; ui 217. Every PR merged into it holds a quality PASS on its merged head. Conditions before promoting, both outside this container: (1) main's CI run 1710 on 29f7607 must finish green, including the shell job's first cargo test run on main (#244) and the first ui-browser run on main (#242), and Preview must publish from it; earlier main runs today were cancelled as superseded, so no Windows build of today's merges has finished yet. (2) Today's merges change the update path (#258 stale-release guard and exe hand-over, #241 per-build releases, #251 engine lookup) and the app's CSP (#250); Rust and Windows behaviour are not run here, so install the Preview build on a Windows PC and check it starts, opens a notebook with outputs, and updates once before Stable PCs take it. Stable PCs on 39f02ab update with their own (old) updater for this hop, which accepts the new unstamped-then-stamped version.json. | | #447 f62d2d8 | Docs say only KratosForge | PASS | 9.2 | The only change since 85ab4f2 restores docs/quality/pr-review.md, which is out of the diff (20 files). Every removed line naming Fabric Desktop, FabricDesktop, fabric-desktop, fabric_desktop or FABRIC_DESKTOP was checked: all replacements are prose. No kept identifier was renamed: asset names, %LOCALAPPDATA%\\FabricDesktop, FABRIC_DESKTOP_*, the package, MCP tool names, FabricDesktop_Central, "Fabric Desktop Platform - <Environment>", notebook marker cells, repo URLs, latest/stable tags. kratosforge.md still names them exactly. main.rs changes only the NO_ENGINE text, byte-identical to #443's. why-fabric-desktop.md becomes why-kratosforge.md and two images are renamed; nothing references the old names and the nav is updated. zensical build --strict clean; ui 217. Findings: docs/security.md conflicts with #443 (python.exe row); whoever merges second keeps #443's wording. /why-fabric-desktop/ now 404s with no redirect (low impact). kratosforge.md heading anchors changed; no in-repo references. Merges cleanly with main. | | #444 9ec0054 (re-grade, fixes 9dd62ad + main merge) | Notebook folders (draft, new feature) | PASS | 9.1 | Both findings fixed. (1) _notebook_renamed runs every step (session, environment, Fabric link, versions, schedules) for every notebook even when one fails, logs it and returns problems [{notebook, was, step, error}] through describe; the UI warns "Moved, but some things didn't follow". The reviewer's partway probe now finds no orphaned schedule. (2) check_notebook_name refuses CON, PRN, AUX, NUL, COM1-9 and LPT1-9 in any case, with an extension or trailing space, for every part (probe: CON/x, NUL, COM1/x, LPT1, con.txt/x, "aux /x", "CON .txt/x", com1.tar.gz refused; Console, COM10, LPT0 pass). Folder rename now reserves the target with mkdir (an empty folder made since the plan is never replaced) and moves contents in, putting back what moved if a step fails; a case-only rename uses a plain rename. Publish clash limitation documented. r444 probe 37 passed; notebook_folders, notebook, notebook_files, notebook_versions, schedules, kernel_sessions and kernel_process (PYTHONPATH set), silent_except, rpc_surface 172 passed; test_pandas_in_notebooks (pinned) 6 passed; ui 221; notebook browser 66 passed. Nit: a failure during the put-back itself would leave a split folder (rare, raises). Merges cleanly with main. | | #446 77a46d1 | notebookutils.udf.getFunctions (Preview) | PASS | 9.2 | Reads the item through getDefinition (a read, as for notebooks) and lists @...function() definitions with ast.parse, ast.unparse and ast.get_docstring only: nothing is imported, compiled or run. Reviewer's probe (/mnt/project-files/quality/repros/r446_udf_parse_probe.py): source that runs os.system and raises SystemExit at import is listed without running (no marker file), a syntax error is skipped, and calling a listed function raises NotImplementedError while an unknown name raises AttributeError. Docs mark it Preview and say calls run in Fabric on capacity. notebookutils*, silent_except, rpc_surface 71 passed plus probe 2; ui 218. Nits: any decorator ending in .function matches; a pathologically nested file could raise RecursionError rather than being skipped. Merges cleanly with main. | | #444 3b9fd66 | Notebook folders (draft, new feature) | CONDITIONAL | 8.6 | Path traversal is closed (reviewer's probe /mnt/project-files/quality/repros/r444_folder_names_probe.py refuses .., ../x, a/../../x, a/.., a\\..\\b, a\\b, C:x, C:/x, a//b, a 4th level, .hidden, x.resources and a trailing dot; a leading / or // is stripped to a relative folder inside the notebooks folder). Folder rename never overwrites; delete removes only an empty folder; move goes through rename_notebook, which now refuses an existing destination; publish names the item by its last part and refuses a clash with another linked notebook in the workspace; publish from a folder is tagged Preview; docs updated. Two findings. (1) A folder rename that fails partway leaves split state: the directory moves in one step, then _notebook_renamed runs per notebook with no rollback or continue-on-error; with environments.rename_notebook raising on the second notebook, notebooks were EMEA/A and EMEA/B but schedules sat on EMEA/A and Sales/B, and B's link and versions stayed on Sales/B (renaming back recovers). Fix: run every notebook's and every step's update even when one fails, and report what failed. (2) Windows device names pass _check_part (CON/x, NUL, COM1/x, LPT1, con.txt/x, "aux " stripped to aux): a raw OSError on Windows, and on older Windows a NUL.ipynb save can be lost silently; the notebook-name half is pre-existing but folders make it a directory. Fix: refuse CON, PRN, AUX, NUL, COM1-9, LPT1-9 with or without an extension, with a test. Case-only names: two notebooks on Linux; on Windows the second is refused. notebook_folders, notebook, notebook_files, notebook_versions, schedules, cloud, prove, kernel_process and kernel_sessions (PYTHONPATH set), silent_except, rpc_surface 227 passed; test_pandas_in_notebooks (pinned) 6 passed; ui 217; notebook browser 66 passed. Nits: an empty destination created between plan and rename is replaced on POSIX; publish clash check sees only notebooks linked from this PC (as on main); proof receipts and side-by-side records don't follow a rename (pre-existing). Conflicts with main in ui.test.cjs (appends): needs a main merge. | | #445 38af293 | CSP regression test in the browser harness (#250 follow-up) | PASS | 9.3 | Test-only (harness.cjs, csp.test.cjs). openApp({csp: true}) serves app/ui from http://app.test with tauri.conf.json's CSP built from the file (not copied), adds a fresh style nonce to style-src and to index.html's <style> tags as Tauri does, refuses paths outside app/ui (path.join normalises ..), and collects securitypolicyviolation events. Reviewer ran it: csp.test 11 of 11 (inline script blocked and reported; 8 pages, notebook editors and SQL editor with nothing blocked). Mutation by the reviewer: serving <style> without the nonce fails the notebook and SQL editor tests (2 failed), so the test bites. sql-editor and notebook browser tests 77 passed. Runs in CI through the ui-browser job's glob. Gap stated by the owner: the notebook output frame isn't covered (no convertFileSrc in the harness); #250's own probe covers it for now. Merges cleanly with main 29f7607. | | #443 d0b0b42 | NO_ENGINE wording and its security.md quote (#251 nit) | PASS | 9.3 | Two files against main 562730a: NO_ENGINE in main.rs now says "The KratosForge engine isn't installed, and this build has none to download" (user-facing text says KratosForge; FABRIC_DESKTOP_PYTHON stays as the identifier), and docs/security.md quotes it and drops the old "offer the download again" claim, now explaining that published builds install their engine first. The Rust test's "engine isn't installed" assertion still matches. Rust not compiled here (shell job; owner reports cargo 18 passed). Merges cleanly with main. | | Feature chain tip cfa4740 (#436 #432 #438 #439 #440 on #430) | Full engine suite | PASS holds | n/a | Full suite at the tip in the pinned venv: 3188 passed, 3 skipped, 1 failed. The failure was test_integrations_conformance::test_results_match_their_output_schema[stdio-legacy], a tool call that hit its 15 s limit while the full suite ran on a busy container; test_integrations_conformance alone then passed 39 of 39 three times. None of the chained PRs touches the integrations server. The ui at the tip passed 220. | | #349 ade1a2d (clear-out full grade, on #262 3bbffd3) | OneLake > Access: All workspaces, from an access cache in the central lakehouse (fdacc_, Preview) | PASS | 9.2 | Up from 9.1 at 6c20bc2. #262's 3bbffd3 is an ancestor, so it merges after #262. Remerge-diff checked: optimize_service imports, server.METHODS (access cache and notebook resources), Service mixins (AccessCacheMixin plus main's), test_optimize_service takes #262's shown=/changes version. "Who may read it" goes only through central_restrict: without approve it returns the plan; with approve it needs shown= and refuses "changed since you looked" when the plan differs; no other path changes roles. The first refresh refuses with "Confirm to continue" and creates no fdacc_ table; reads only list tables and columns; a refresh writes only fdacc_ rows in the central lakehouse and nothing in the workspaces it reads. The refusal test now simulates a list-less engine and asserts no PUT; the "not available yet" user-guide line is rightly gone. Preview tag kept; docs/optimize/README.md documents fdacc_ and the protection step. access_cache, optimize*, fail_closed, estate*, fabric_api, audit, silent_except, rpc_surface 139 passed; test_pandas_in_notebooks (pinned pandas 2.3.3) 6 passed; ui 215; access-cache, optimize, OneLake/estate browser tests 9 passed. Nits: after setup a refresh writes without asking again (by design, documented); the cache is readable by anyone who can read the central lakehouse until "Who may read it" runs (documented, not a security boundary). Merges cleanly with main. | | #267 129651e (re-confirm, main 8c0c57e) | HD-054: T-SQL contract cases, opt-in live job | PASS | 9.2 | Main re-merged after #244: CONTRIBUTING.md keeps main's Rust-tests sentence and the PR's T-SQL contract rule (remerge-diff checked). Since f3e6029 only docs changed; ui 216 (owner). Merges cleanly with main. | | #242 c0a8d59 (re-confirm, main 8c0c57e) | HD-052: browser tests in CI, raw HTML sink ban | PASS | 9.2 | Main re-merged after #244: CONTRIBUTING.md and architecture.md now carry both the Rust-tests sentence and the browser-tests-in-CI sentence (remerge-diff checked). No code change since 30be358; ui 217 (owner). Merges cleanly with main. | | #326 a4077bd (clear-out re-confirm) | KF-DE-003: every OneLake table write takes the table's write lease | PASS | 9.2 | Last PASS at 247ba2c. Since then 601086e answers the reviewer's lease-timeout finding: OneLakeBackend takes a per-request timeout and table leases and metadata runs set it to a ninth of the lease (lease_timeout), so a hung renewal (up to three requests) can't outlast the 60 s lease unnoticed; new test checks a hanging renewal times out within ttl/9 and the write reports LeaseLost; docs/agent.md notes the ~40 s clock-skew tolerance. The main merge had no conflict (empty remerge-diff). Full engine suite at this head in the pinned venv: 3191 passed, 3 skipped, 0 failed. Nit: the lease read keeps send_with_retry, so 429/5xx backoff can stretch one read past ttl/9. Merges cleanly with main. | | #442 d07625e (re-confirm, main merged) | Notebook keys in the shortcuts list | PASS | 9.3 | Only the ui.test.cjs appends were in conflict and both sides are kept (remerge-diff checked); ui 217. Merges cleanly with main. | | #260 76a6e25 (re-confirm, #276 merged in) | HD-014 workspace limits, with #276 | PASS | 9.2 | Both 8b66bcf and #276's 08828cc are ancestors; the #276 merge had no conflict, and placement_advice now declares workspaces=scope.notebook, which clears the merge-order failure. integrations*, advisor, risk, audit, rpc_surface, silent_except 366 passed (the declaration test included); ui 214. Merges cleanly with main. Merging this also brings #276. | | #264 0a5a8fd (clear-out re-confirm) | HD-041: engine replies by id, quick calls off the shared pipe | PASS | 9.1 | watchdog.QUICK and server.QUICK are identical (parsed); debug_cell is in both; new_notebook leaves the quick list by design (notebook writes stay ordered on the shared lane) and so loses its 60 s hang limit. Lock order is consistent: save and update_extra take the class RLock, then _write_atomic takes _path_write_lock; nothing takes the class lock while holding a path lock, and _WRITE_LOCKS_GUARD is released before a path lock is taken, so no deadlock. Reviewer's probe (/mnt/project-files/quality/repros/r264_notebook_write_locks_probe.py): 4 savers and 4 metadata writers x 30 rounds all finish with no key lost. server_lanes, notebook, kernel_process, silent_except, rpc_surface plus probe 105 passed; ui 214. Nit: debug_cell uses sessions.kernel(), which can create a session from the quick lane. Rust not compiled here (shell job). Merges cleanly with main. | | #259 3e5bdca (clear-out re-confirm, Rust) | HD-027: Fabric view only navigates to Fabric and sign-in hosts | PASS | 9.0 | Merge keeps dns_name/_sign_in_host_problems and main's user_can_change in code and tests. fabric_nav matches the url crate's parsed host exactly: look-alike suffixes go to the browser, userinfo never counts as host, credentials or a non-default port aren't kept in the view, http is refused, IDN hosts are punycoded; pop-ups get the same filter and a failed pop-up is denied. Policy sign-in hosts must be exact DNS names. policy_fail_closed, app_settings, silent_except, rpc_surface 70 passed, 1 skipped; ui 214. Nits: Seamless SSO (autologon.microsoftazuread-sso.com), device.login.microsoftonline.com and login.live.com aren't built in and open in the browser unless an admin adds them; docs mention only third-party IdPs. Rust not compiled here (shell job); live tenant behavior needs a Windows check. Merges cleanly with main. | | #250 5c3fc95 (clear-out re-confirm, security) | HD-020: CSP for the app, notebook HTML output on its own origin | PASS | 9.1 | Merge keeps cmStyleNonce and main's dbgEditorMarks, both security.md sections and ui tests. Against today's main every HTML output (text/html bundles, displayHTML, %%html, Plotly, Bokeh, chart_output) reaches renderOutput type html and htmlFrame; other innerHTML uses are the escaping Markdown renderer and the mesh map SVG; Data Wrangler builds with h(). Trial merge into #430 21a95a9 is clean: HTML widgets use htmlFrame, native controls use h(). Old follow-up "frame CSP lets network through" closed by the reviewer's probe (/mnt/project-files/quality/repros/r250_frame_csp/): OUTPUT_FRAME under OUTPUT_CSP renders HTML that tries img, css, fetch, WebSocket, beacon and an external script, and 0 requests leave (control without the header leaks 6). Main window under tauri.conf.json's CSP: 21 views plus a CodeMirror editor, 0 violations. ui 215; notebook and output browser tests 62 passed; silent_except 18 passed. Nits: the browser harness applies no CSP, so CI has no CSP regression test; WebRTC is outside CSP (documented). Rust not compiled here (shell job). Merges cleanly with main. | | #260 8b66bcf (clear-out re-confirm) | HD-014: workspace limits on every external capability | PASS | 9.2 | Merge keeps scope and redact.describe imports, side_by_side workspace_id/lakehouse_id with code_revision; scope.py says KratosForge with a silent-ok tag. All 45 core capabilities declare confinement and an undeclared one fails closed (UNKNOWN, refused for limited tools); the declaration test walks reg.all(). Newer main features (ipywidgets, %pip, environments, magics, %run -b, sessions, time travel, Wrangler, Validate Spark, workload audit, capacity overrides) are app RPC or kernel features, reached by external tools only through execute_python and run_notebook, which limited tools are refused. HTTP and MCP dispatch only through registry.invoke. Merge order: #276 adds fabric_desktop_placement_advice with no workspaces= declaration; #260 + #276 merge without text conflict but the declaration test fails (trial merge: 1 failed); whichever merges second adds workspaces=scope.notebook. integrations*, prove*, side_by_side*, silent_except, rpc_surface 399 passed, 2 skipped; ui 214. Nit: check_run_risk is UNKNOWN. Merges cleanly with main. | | #442 cac3f3f | Notebook keys in the shortcuts list | PASS | 9.3 | Registry only: the three registerShortcuts blocks (notebook.js, nbselect.js, nbfind.js) carry no id or match, so isShortcut never matches them and no key behavior changes; each is listed only while the notebook view is open. Labels spot-checked against the handlers (run keys, A/B, DD/Z, M/Y, C/X, V/Shift+V, O, Shift+L, split, comment, multi-cell move and select, Find and Replace). Keys repeated across groups describe different contexts, not conflicts. ui 215; shortcuts-dialog plus all 14 notebook browser files 67 passed, 0 failed. Nits: F9 (breakpoint) and Ctrl+Shift+Enter in a single cell aren't in the Notebook group; Ctrl+Space comes from CodeMirror's default keymap. Merges cleanly with main. | | #276 08828cc (clear-out re-confirm) | FinOps placement advisor | PASS | 9.2 | Main merge checked with remerge-diff: audit.READ_ONLY and server.METHODS keep placement_advice and meta_risk_gate; plan.md rows 5 and 6 keep both sides. placement_advice on NO_UI_CALLER holds: no app/ui file calls it, it is a registered MCP tool (fabric_desktop_placement_advice, READ_METADATA, Preview), the list's own rule covers MCP-only methods, and plan.md gives its UI to Prove (item 35). risk_service.placement_advice is read-only (notebook, proof receipts, side-by-side runs, then advisor.advise; nothing in advisor.py writes), and its caveat keeps QA-008 capacity wording. advisor, risk, integrations, audit, silent_except, rpc_surface 355 passed; ui 214; zensical build --strict clean. Merges cleanly with main. | | #262 3bbffd3 (re-grade, main merged) | Central lakehouse: family schema and central_restrict | PASS | 9.2 | Last PASS 9.1 at e2c5816. Main merge checked with remerge-diff: fabric_api._request keeps the caller's headers (If-Match) with the bearer token and sends through main's send_with_retry; optimize_service imports local_runs, roles, schema and setup. A 412 is never retried: TRANSIENT_STATUS is {408, 429, 500, 502, 503, 504}, and a PUT or DELETE is retried only on 429. All four follow-ups landed: the confirm error carries changes; approve=True without shown= raises, and a mismatched shown= raises "changed since you looked"; central_restrict is documented as untested on a live tenant; OneLake > Access save and delete send If-Match and turn a 412 or PreconditionFailed into a clear PermissionError with nothing saved (test_fail_closed). Optimize, fabric_api, fail_closed, estate, retrying, silent_except, rpc_surface and test_pandas_in_notebooks (pinned pandas 2.3.3) 130 passed; ui 214. Nit: with no ETag from Fabric the role PUT goes without If-Match (last writer wins, as on main); stray blank line before _put_roles. Merges cleanly with main. | | #249 0f6410f (clear-out re-confirm) | HD-012: external-tool Python gets an allowlisted environment | PASS | 9.2 | Main merge checked with remerge-diff. kernel_proc starts the child with dict(self.env(), FABRIC_DESKTOP_LIBRARY_PATHS=...), so the person's own kernels still get os.environ while ExternalKernel passes the allowlisted environment; FABRIC_DESKTOP_LIBRARY_PATHS is in EXTERNAL_ENV_SET and set by the engine, never copied from the parent. Reviewer's probe (/mnt/project-files/quality/repros/r249_env_allowlist_probe.py): 34 secret-like names in upper and lower case (AZURE_CLIENT_SECRET, FABRIC_TSQL_CLIENT_SECRET, FABRIC_DESKTOP_BUILTIN_CLIENT_ID, GITHUB_TOKEN, MSI_SECRET, IDENTITY_HEADER, PYTHONSTARTUP, LOCALAPPDATA and more) are all dropped. Probe plus integrations, kernel_process, kernel_sessions, environments, silent_except, rpc_surface 379 passed; ui 214. Nit: proxy URLs can carry a proxy password and pass through (documented). Merges cleanly with main. | | #258 874e7d7 (clear-out re-confirm, release workflow) | HD-022: refuse stale channel releases; keep the previous exe until the new one starts | PASS | 9.1 | Main merge kept #241's build-<sha> flow and adds published to version.json (remerge-diff checked); promote keeps #241's named-build source and checksum checks, then stamps published on the copy it uploads to Stable only, so build-<sha> keeps CI's stamp. Checksums are of the exact exe and engine zip uploaded. update_guard refuses, per channel, a version.json stamped earlier than the newest accepted, an equal stamp naming another build, and a future stamp; a cached older Stable stays refused, and only a Promote run (repo writer plus Chris's go) can make an older build current. Live stable and latest version.json checked: both carry checksums and no published, which update_guard accepts while no stamp has been seen, so no PC is stranded. test_updater, silent_except 56 passed; ui 214; both workflows parse. Rust (update_guard, 34 cargo tests) not compiled here: the shell job is the check; merge #244 first. Merges cleanly with main. | | #253 2745ce7 (clear-out re-confirm) | HD-015: external SQL timeout or cancel stops the query | PASS | 9.2 | Main merge kept prepare_sandboxed/execute_sandboxed and runs main's history_query before check_read_only. history_query only rewrites DESCRIBE HISTORY into a SELECT over a view registered from lakehouse.table_history (a Delta log read); check_read_only sees the rewritten list, so one-statement and read-only rules still hold. Reviewer's probe (/mnt/project-files/quality/repros/r253_history_readonly_probe.py): DESCRIBE HISTORY t; DROP TABLE t, DESCRIBE HISTORY t; CTAS, CTAS and COPY TO are refused, and a sandboxed DESCRIBE HISTORY returns versions newest first (5 passed). sql*, integrations*, silent_except, rpc_surface 641 passed. Merges cleanly with main. | | #244 3489d68 (re-confirm, main merged) | HD-011: Rust tests in CI | PASS | 9.1 | Clean merge of main (empty remerge-diff), including #241's release changes; the cargo test step is still in the shell job before signing, and release still needs shell. Shell job on CI must be green before merge. | | #242 30be358 (clear-out re-confirm, workflow) | HD-052: browser tests in CI, raw HTML sink ban | PASS | 9.2 | Last PASS at fa7c5db. Main merge resolved ui.test.cjs by keeping both tests (remerge-diff checked: the sink test closes properly and main's tests follow). Adds a ui-browser job (Playwright 1.56.1, fakes only, no secrets); release needs [sidecar, ui, engine, shell, sbom-app], so a browser failure turns PR CI red but does not gate Preview or Stable publishing, and those pipelines are otherwise unchanged. The raw HTML sink check passes against today's app/ui: ui 215 passed. All 47 browser test files at this head: 206 passed, 0 failed, 0 skipped. Merges cleanly with main. | | #251 18f23f4 (clear-out re-confirm, Rust) | HD-026: release builds never run a bare python from PATH | PASS | 9.0 | Last PASS at d7d3d92. Main merge kept both docs/security.md rows (remerge-diff checked); main.rs merged without conflict and every python()/updater() caller in the merged file handles the Result (lines 230, 279, 390, 427, 555). Not compiled here (no WebKitGTK): the shell job, with #244's cargo test, is the check; merge #244 first or confirm cargo ran on this head. Nit stands: security.md quotes "isn't installed or couldn't be found ... offer the download again", but NO_ENGINE now says "this build has none to download". Merges cleanly with main. | | #267 f3e6029 (clear-out re-confirm, workflow) | HD-054: T-SQL contract cases, opt-in live job | PASS | 9.2 | Last PASS at 809065a. Main merge kept the T-SQL section and main's "more opt-in checks" wording in live-testing.md (remerge-diff checked). The new tsql-contract-live workflow runs only on dispatch or the Monday schedule, only on main, behind a required-reviewer environment, and stops at its gate until the variables and environment secret exist; it does not touch CI, Preview or release. Offline contract cases against today's SQL engine: test_tsql_contract plus silent_except 339 passed, 70 skipped (live cases). Merges cleanly with main. | | #244 1b85501 (clear-out, workflow) | HD-011: run the shell's Rust tests in CI | PASS | 9.1 | Adds one step to the shell job (working-directory app/src-tauri): cargo test --release --locked, after the build and before signing, with the same env so the build script doesn't rerun. A failing Rust test now stops the exe from being signed or published, on pull requests and on main, so the Preview and Stable pipelines are otherwise unchanged. Docs updated (CONTRIBUTING, findings, quality README and architecture). Not run here: the shell needs WebKitGTK on Linux, which this container lacks; the shell job on the merge ref (run 39578333911, queued 09:37Z) is the check and must be green before merge, since main's shell code moved after this head. Merges cleanly with main. Graded for Chris's 09:33Z instruction to merge PRs older than a day without his review. | | #441 278b313 (re-confirm) | Idle sweep never makes a second session | PASS | 9.3 | Folds in the switch() nit: switch() returns the reaping kernels with the others for the caller to close and clears _reaping, and the sweep, finding its session no longer in _reaping, leaves it to that caller, so nothing is closed twice and the next lookup gets a fresh kernel. Only switch() changed since 1cb7388. kernel_sessions, kernel_process, prove, silent_except tests plus the r441b and r379 probes 104 passed. Merges cleanly with main. | | #441 1cb7388 (re-grade) | Idle sweep never makes a second session | PASS | 9.2 | Reworked as suggested: reap_idle moves stale sessions into _reaping under the lock; session() takes a reaping session back (touched) instead of making a new one; forget() checks _reaping; reap_idle closes only a session still in _reaping and not running, and puts a running one back. Reviewer's probe (/mnt/project-files/quality/repros/r441b_reaping_probe.py): a lookup during the sweep gets the same kernel, nothing is closed and nothing is left untracked, whether or not a cell starts; an idle session still closes and the next lookup makes a fresh one. The earlier r441 probe's two cases no longer happen. Nit: switch() clears _sessions but not _reaping, so after a quick process to in-engine to process switch a lookup could take back a pre-switch kernel; the sweep closes it otherwise. A caller that already held the kernel (no new lookup) and starts a cell between the running check and close is the same window as main. kernel_sessions, kernel_process, prove, silent_except tests plus the r441b and r379 probes 103 passed. Merges cleanly with main. | | #441 ee27ff8 | Idle sweep closes a second session instead of dropping it | CONDITIONAL | 8.6 | Fixes the #435 nit for the common case: the old session with the running cell goes back in, and no process is left untracked by the sweep. Two gaps in the race it targets, both confirmed by the reviewer's probe (/mnt/project-files/quality/repros/r441_reap_second_session_probe.py). (1) The new session was handed to a caller by session()/kernel() (that lookup is what made it), and closing it strands that caller: its kernel is closed and out of the list, and ProcessKernel._ensure starts a fresh process on its next cell, which runs untracked, with variables apart from the notebook's session, and is never reaped, listed or closed by forget. (2) When both sessions have a running cell, the old one is closed mid-cell, which is worse than main, where it was only left untracked. Suggested fix: never make the second session. reap_idle keeps the sessions it takes out in a _reaping map under the lock, and session() moves a reaping session back (touched) instead of creating a new one; reap_idle then closes only what is still out and not running. kernel_sessions, kernel_process, prove, silent_except tests plus the probe 99 passed. Merges cleanly with main 535dea3. | | #440 fade946 on #421 75954cb (re-confirm) | %pip in notebooks | PASS | 9.1 | Restacked onto #421's Windows fixture fix; git range-diff shows the %pip commit identical to 797347a. Environments, notebook_magics, kernel_process, kernel_sessions, silent_except, rpc_surface tests 90 passed; ui 215. Merges cleanly with main; merge after #421. | | #421 75954cb (re-confirm, main 6c66ee5 merged) | Notebook environments | PASS | 9.1 | The Windows CI failures (WinError 193) were in the test fixture: it wrote a #!/bin/sh fake-pip launcher that Windows can't run. On Windows it now writes fakepython.cmd; Linux and macOS keep the shell script. Product unchanged since 52de1dd: the merge resolved cleanly (empty remerge-diff) and the only other commit touches test_environments.py. The product's only Environments() call (environment_service.py) uses sys.executable, which in release builds is the embeddable engine's python.exe, and ci.yml installs pip into that bundle, so no product path launches a non-.exe interpreter. Environments, kernel_sessions, kernel_process, silent_except, rpc_surface tests 48 passed on Linux; ui 214. Windows CI is the final check for the .cmd fixture. Merges cleanly with main. | | #430 21a95a9 (re-grade, after #379) | ipywidgets bridge (Preview) | PASS | 9.2 | Merges main 971665b (with #379) and routes each event to its notebook's session: notebook_ipywidget_event keeps the proof_busy and replay guards, looks up sessions.session(notebook, create=False) and answers "gone" when that notebook has no session, so an event never starts a kernel or reaches another notebook's (test_an_event_goes_to_its_notebooks_session checks "Other" gets gone and no session). ipywidgets.js sends notebook with each event. The stuck-handler guard (_widget_thread, _handler_alive) lives on each Kernel, so it holds per session kernel. With no notebook named the active notebook's session is used; in in-engine mode all notebooks share one kernel, as before. ipywidgets, kernel_sessions, kernel_process, prove, silent_except, rpc_surface tests plus the r430 probe 112 passed; ui 215; ipywidgets browser 1 passed. Merges cleanly with main. | | #440 797347a | %pip in notebooks (stacked on #421 52de1dd) | PASS | 9.1 | pip_magic calls install_packages and polls package_job every second, giving up after the engine's 15-minute pip limit plus a minute; a failed install raises with the last 4000 characters of pip's log, and packages not yet visible print "Restart the session to use them". Refuses -e, --index-url and option lines in requirements files; environments.py refuses URLs and paths; notebook_packages_install obeys allow_notebook_packages (PermissionError, tested). Environments, kernel_process, magics, sessions, silent_except and rpc_surface tests 90 passed; ui 215. Merge after #421. | | #439 d79e2d4 | %autoreload, %aimport, %load_ext autoreload | PASS | 9.1 | Only autoreload loads; any other %load_ext is skipped with a note and not imported (probe with %load_ext evil_ext). Reloads only the user's own .py files, outside sys/site roots and the engine folder. Proof and replay hashes cover notebook cells only and never covered helper modules, so reloading does not weaken them. Tests 143 passed; ui 213. Merges cleanly with main. | | #438 21528bb | %run -b for resource .py and .sql files | PASS | 9.1 | Resolves through notebook_resources.resolve; the reviewer's probe refused ../secret.py, ../../secret.py, an absolute path and ..\secret.py, and passed {"factor":1} args through. Resources, magics, depgraph, notebook, silent_except tests plus probe 139 passed; ui 213. Merges cleanly with main. | | #435 ce8e44e (now on main) | Session lookup counts as use | PASS | 9.2 | Same kernel_sessions change as db1d0de: lookup touches the session, and reap_idle re-checks running() before closing and puts the session back with setdefault. Tests plus the r379 reap-race probe 81 passed (probe 2 of 2). Nit: if a new session for the same notebook was made meanwhile, setdefault keeps the new one and drops the old without closing it, which could leave a kernel process running. Merges cleanly with main 6c66ee5. | | #437 aa6a786 | Kernel kill-test alive() fix (test only) | PASS | 9.3 | alive() now treats FileNotFoundError or ProcessLookupError as ended (a vanished pid on ubuntu); macOS relies on the signal alone. test_kernel_process 17 of 17 in three runs. Merges cleanly with main. | | #436 e37275c | Validate runs Spark cells on this PC, writes sandboxed | PASS | 9.1 | Only Validate (check and notebook_validate_start) calls run_plan(spark=True); pipeline_notebooks.py still calls run_plan without it, so local pipeline notebook steps keep refusing Spark even though they share Validate's clean kernel, and a proof's Fabric side still blocks Spark. Sandbox checked with the reviewer's probe (/mnt/project-files/quality/repros/r436_spark_sandbox_probe.py), which snapshots the lakehouse folder: saveAsTable (append and overwrite, new and existing), insertInto, format('delta').save('Tables/...'), CREATE TABLE AS SELECT and INSERT INTO through spark.sql all land in sandbox tables, and parquet()/csv() to Files/ stop with an error; the lakehouse folder and the orders table version never change (8 of 8). New Fabric-only rules flag spark.sql MERGE/UPDATE/DELETE and replaceWhere or partitionOverwriteMode; main's streaming rules are kept. Validate, pipeline, prove, fabric_run, pandas (pinned 2.3.3), silent_except and rpc_surface tests 285 passed; ui 212. Merges cleanly with main. | | #435 f721438 on #379 790f39b | Session lookup counts as use | PASS | 9.2 | KernelSessions.session touches a session it finds, under the same lock reap_idle takes, so a kernel just handed to a proof or replay isn't reaped; new test. Kernel sessions, prove, silent_except tests 79 passed. The r379 probe's other case (a cell starting between reap_idle's idle check and close, outside the attach lock) still fails; that is the known nit from #379's PASS, not this PR's. | | #434 96f05c4 | bokeh show() from a cell's thread | PASS | 9.2 | show() from a thread a cell started now raises THREAD_NOTE instead of writing a file next to Python and opening a browser; the docs line says so. Its tests, notebook, pandas (pinned 2.3.3) and silent_except 52 passed; the r385 chart probe passes; ui 212. Merges cleanly with main. | | #433 9bf8065 | Time-travel reads record the version read | PASS | 9.2 | open_table with version= or timestamp= records the version it loaded rather than the latest, so a replay reads the same data; the plain read path is unchanged. Time travel, replay, prove, lakehouse and silent_except tests 106 passed. Merges cleanly with main. | | #432 9dfb585 | Workload actions on the platform audit (item 76, stage 2B) | PASS | 9.1 | log_workload_action writes to the existing catalog.audit through _audit with the caller Fabric reports, allow-lists actions, states and fields, and cuts values to 500 characters; the app redacts secrets before queuing. Lines wait in a new audit_out table in workloads.sqlite (CREATE TABLE IF NOT EXISTS), are sent oldest first, stop at the first refusal to keep order, and never fail the action. Repair step checked: Platform > Settings > Finish or repair is the existing dialog, which writes only after Finish setup is pressed; it updates UDF_Platform's code and ensure_schema only adds missing tables, and #432 adds no table, so it is additive and idempotent. Nit: a resend after a lost reply can duplicate a line; entry.id tells them apart, as documented. Workload, central, platform, pandas (pinned 2.3.3), silent_except, rpc_surface and audit tests 162 passed; ui 213; workload browser 7 passed. Merges cleanly with main. | | #431 bfe75a1 | Editor follow-ups: folded cells, Find, pandas loads, subscript magic targets | PASS | 9.2 | Range select, Shift+Down and select-all use visibleCells; Find calls revealCell first. The new notebook-folded browser test fails 2 of 2 with main's nbselect.js and nbfind.js and passes with the fix. The subscript target[^]=\n]can't hold=, so #354's safety holds: the r354 probe passes, d["k"] = "id=%s" % 5andq = d["x"] % 3stay clean, andd["k"] = %sql, a[0].b = !lsand mixed tuple targets now pass. pandas loads: under the pinned pandas 2.3.3 (polars 2.0.0), test_pandas_in_notebooks passes with intellisense and silent_except, 60 tests. ui 212; find, drag, folded and select browser tests 20 passed. Merges cleanly with main. | | #421 52de1dd on #379 790f39b (re-confirm) | Notebook environments | PASS | 9.1 | Contains #379's new head and the PASS head 8b18f60; merges cleanly with main 6578880. ui 214; area tests and the r421 probe 271 passed, 3 skipped; debugger, environments, inputs, resources, runs, sessions, select and ipywidgets browser 28 passed. | | #379 790f39b (re-confirm) | Kernel sessions | PASS | 9.1 | Merges batch 6 (via #375) and main 5704f34, and merges cleanly with main 6578880. Resolutions checked: start_cell keeps the proof and replay guards, the attach lock and KernelSessions, and passes watches, breakpoints and step, the widget values and resources_dir to the session's kernel. runCell takes code, debug and nb, polls with the notebook, keeps nbInputSuffix and depsRan, and moves stopRequested onto the notebook (as at the PASS head). debug_cell sends the notebook. audit READ_ONLY keeps kernel_sessions beside kernel_inspect and kernel_variable_detail. ui 213; area tests and the r379 probe 239 passed, 3 skipped (the probe's known reap-window case fails, fixed by #435); debugger, inputs, resources, runs, sessions and select browser 24 passed. #430's notebook_ipywidget_event uses self.kernel, so once #379 lands it needs the session's kernel. | | #430 1807a84 (re-grade) | ipywidgets bridge (Preview) | PASS | 9.1 | FAIL cleared: notebook_ipywidget_event refuses while proof_busy() and calls _replay_guard(None); the kernel keeps the handler thread, and start() and new events refuse while it is alive, until it returns or the kernel restarts; docs and the message say so. The r430 probe passes 2 of 2. ipywidgets, notebook, kernel_process, prove, silent_except, rpc_surface and audit tests plus the probe 140 passed; ui 214; ipywidgets browser 1 of 1. Merges cleanly with main. | | #430 6f42b4f | ipywidgets bridge (Preview) | FAIL | 7.9 | Correctness 7, architecture 8, code 8.5, UX 8.5, tests 7.5, security 8, performance 9, docs 8. A widget handler is user code but skips two guards a cell run has. (1) Service.notebook_ipywidget_event doesn't check proof_busy (or the replay guard) the way start_cell does, so a click while Prove this notebook runs executes code inside the proof that its receipt never records. (2) A handler that times out in native code keeps running, but _widget_lock is released anyway, so a new cell starts in the same namespace while the handler still runs; the docs say a stuck handler "is stopped". Repro: /mnt/project-files/quality/repros/r430_widget_guards_probe.py (both cases fail). Fix: refuse events while proof_busy() and apply _replay_guard like start_cell; release the widget lock only when the handler thread ends (or refuse cells while it's alive), and say so in the docs. Both security claims hold: an HTML widget goes through htmlFrame, the same sandboxed frame as %%html, and Password sends only filled, never its value (not in the view, print or the Variables panel; checked). Preview tag is in features.js, on the output bar, and in docs. Merges cleanly with main 5704f34. ipywidgets, notebook, kernel_process, silent_except, rpc_surface and audit tests 84 passed; ui 214; ipywidgets browser 1 of 1. | | #351 72fc1a7 (re-grade) | Capacity settings history: admin overrides | PASS | 9.1 | FAIL cleared: the client reads the documentedvaluelist (key="overrides" removed). The reviewer's probe is kept as a test that runs the documented sample through the real client into an override row; the probe passes too. Merges cleanly with main. Capacity history, tenant history, fabric_api, silent_except and rpc_surface tests plus the probe: 51 passed. Still untested on a live tenant, as its docs say. | | #342 8a6d28a | KF-DE-008: local PySpark API pinned against engine upgrades | PASS | 9.2 | Test and one doc line. SUPPORTED keeps 24 answer checks of DuckDB's own API; EXTENDED checks real answers for Window row_number, explode, current_timestamp, date_format, count('*'), agg, selectExpr, fillna, na.drop and pivot (pivot checks only its column count). None of them touches the merged local Spark refusals (dynamic partitionOverwriteMode, streaming complete/update modes), so nothing here contradicts them. The module-scoped session and pyspark alias don't disturb other tests: with spark_api, spark_compat, spark_stream, notebook, magics, kernel_process and silent_except 161 passed, and in another order 69 passed. Merges cleanly with main. | | #337 cda187a | KF-DE-043: scenario numbers no longer named saved | PASS | 9.1 | costs.report renames the rough scenario's plain numbers to scenario_cu_hours and scenario_saved, and items are now ranked by Fabric cost plus calibrated avoided cost, never by the scenario (new test). Nothing in app/, the engine, deploy or docs reads saved or saved_cu_hours from the cost report; the doc names the old fields for API callers. measurement, estate, calibration, silent_except and rpc_surface tests 72 passed; ui 212. Merges cleanly with main. | | #333 d5f30d4 | KF-DE-011: data copied to this PC (security doc) | PASS | 9.2 | Docs only. security.md gains a Data copied to this PC table: OneLake roles are checked only at read, RLS/OLS don't apply to direct Delta reads, labels don't travel, local_retention_days covers caches only, and Runs on: Fabric keeps data in the tenant. permissions.md links to it. Accurate to the engine as reviewed. Merges cleanly with main. | | #351 03a28c0 | Capacity settings history: admin overrides | FAIL | 7.6 | Automatic: functionality presented as working that isn't. list_capacity_tenant_setting_overrides pages with key="overrides", but Fabric's documented response (learn.microsoft.com/en-us/rest/api/fabric/admin/tenants/list-capacities-tenant-settings-overrides) puts the list undervalue, so a real administrator's read always gets no overrides, records the read as read, and returns overrides: "read"with nothing recorded. The tests mock the client method, so they never see the response shape. Repro: /mnt/project-files/quality/repros/r351_overrides_paging_probe.py, which feeds the documented sample through the client and fails. Fix: use the defaultvaluekey, and keep the probe as a test. The rest is sound: overrides are asked for only with admin=True, a non-admin's 403 is recorded asunreadable(reason redacted) while capacities are still read, a missing field is no longer recorded as removed, removal of an override is recorded only from the admin read that covers every capacity, and permissions.md names the new Tenant.Read.All use. Merges cleanly with main 5704f34. Capacity history, tenant history, fabric_api, silent_except and rpc_surface tests 49 passed. | | #429 3b676b1 | Motion benchmark writes to a temp folder | PASS | 9.3 | One file, app/tests/browser/motion-benchmark.cjs. Without a folder argument it makes a fresh kf-motion-benchmark-* folder under the OS temp folder and prints it; with one, it behaves as before. Reviewer ran it with no argument: it wrote motion-benchmark.json and seven frame sheets to /tmp/kf-motion-benchmark-..., and git status stayed clean. Merges cleanly with main. | | Tail re-chain: #354 4be3370 > #375 3f02478 > #428 0c260d3 > #385 1e4e197 > #422 beefdb5 > #386 b58d21d (re-confirm) | Release management | PASS | 9.2 | #354 adds# silent-ok: a broken doc just means no docsto intellisense._doc, which meets #354's condition: the HD-055 guard test passes. Each of #375, #428, #385 and #422 differs from its previous head only by that line. #386 b58d21d chains #386's 90b2968 on #422: notebook.py keeps clear_pending beside debugger, paused and set_paused in the run state; _base_namespace keeps displayHTML, the ipython_display install and the dbutils host; _base_namespace_keys has both displayHTML and dbutils. Each head contains the one before, merges cleanly with main f7fcac1, and drops no ui test. At b58d21d: ui 212 passed; browser tests 197 passed, 0 failed; full engine suite (worktree first on PYTHONPATH) 3100 passed, 3 skipped, 0 failed. | | #386 90b2968 (re-confirm) | displayHTML and IPython stand-in | PASS | 9.1 | Contains main f7fcac1 and the PASS head 171f6b1, merges cleanly, no stray files. notebook.js keeps main's markdown md-view line with the JSON line under it; styles keep the JSON block beside main's chart and Wrangler blocks. ui 188; its tests plus notebook, silent_except, rpc_surface and audit 63 passed; r386 probe as before; result-viewer browser 3 of 3. | | Re-chain after #382 and #391 merged (main e7b996b): batch 4 #427 0624e72 > #400 0b20ce2 > #392 f81c585 > #380 008447b > #346 2ac4463 > #350 f7873f9 > #359 7c25071 > #376 a43101d > #388 195fd1b; batch 5 #338 4355c9c > #383 33e69a1 > #390 2ad6f58 > #347 14f3e13 > #401 a674451 > #378 daf97ad > #398 2d54e98 > #395 9764fb7 > #358 3be0458; batch 6 #387 8ff9dd7 > #394 a275c8d > #316 103b6c7 > #371 c88294d > #373 a0dc214 > #374 16a05ab > #389 9290bca > #410 138036d > #354 30811ec > #375 5c56109; batch 7 #428 0163c63 > #385 bc77fe9 > #422 2613f5b (re-confirm) | Release management | PASS through #410; #354 and everything after it held | 9.2 | Each head contains the one before it and its owner's last graded head, and merges cleanly with main e7b996b (the merged tree equals the tip's). No ui test and no engine test function is dropped anywhere in the chain. ui at each head runs 185 to 211, all passing. #350's fix is right: the unsafe-path check now reads ZipInfo.orig_filename, the raw name Windows would otherwise turn from \\ into /, and the test writes the raw name through ZipInfo. #385's change over #428 is the import line and its own files; #422's fabric_run keeps the chain's notebookutils rule and replaces only the streaming rule. kernel_host OPS keeps debug, variable_detail and inspect. Browser tests at the tip: 197 passed, 0 failed. Full engine suite at the tip (worktree first on PYTHONPATH): 3091 passed, 3 skipped, 1 failed: test_silent_except flags intellisense.py:70, a broad except in #354 with no# silent-ok: reason. It fails at #354 alone too, so #354, #375, #428, #385 and #422 can't merge until #354 adds the reason (or narrows the except) and they are re-chained. | | #354 30811ec (correction to the c15949d PASS) | Notebook: hover docs, signature help and syntax errors | CONDITIONAL PASS | 8.9 | The reviewer's c15949d run didn't include test_silent_except, which main's HD-055 guard adds; it fails on this PR's intellisense._doc (except Exception: # noqa: BLE001without# silent-ok: ), so CI would be red. Condition, verified by the reviewer before merge: that handler gets a silent-ok reason or a narrower except, and the guard test passes. Nothing else changes from the PASS. | | #354 c15949d (re-grade) | Notebook: hover docs, signature help and syntax errors | PASS | 9.1 | FAIL cleared: the IPython assignment rewrite now matches only a plain target at line start (name, a.b, or a, b), so =%or=!inside a string is left alone. The r354 probe passes and its cases are tests, plusx != 1and"a=!b"; the IPython forms still pass, including inside an if block. Hover values and signatures go through redact.secrets, with a test. Contains batch 5's tip 564ea71, merges cleanly with main, no stray files; OPS, METHODS and READ_ONLY keep frame_* and add inspect, kernel_inspect and notebook_syntax. ui 198; intellisense, kernel_process, notebook, rpc_surface and audit tests plus the probe 79 passed (worktree first on PYTHONPATH); browser intellisense, notebook-select and notebook 11 passed. Nit: a subscript target (d["k"] = %sql ...), which IPython accepts, is still underlined. | | #354 e1a49e1 | Notebook: hover docs, signature help and syntax errors | FAIL | 7.5 | Correctness 6, architecture 8, code 8, UX 7, tests 7, security 9, performance 9, docs 8. The as-you-type syntax check flags valid Python: its IPython-assignment rewrite replaces everything after =%or=!even inside a string, soq = "id=%s" % 5, print("done=!")andf"a?x={1}&y=%d" % 2each get a red underline reading Unterminated string literal. Repro: /mnt/project-files/quality/repros/r354_syntax_false_errors_probe.py. Fix: apply thex = %magicandx = !cmdrewrite only when the=is outside strings (tokenize the line, or only matchname = %/name = !at the start of a statement), and keep the probe as a test. Hover and signature help are read-only (they use Kernel._lookup; nothing is called beyond repr, as in the Variables panel) and hide secret-named and getSecret values. Nit: the hover preview should pass through redact.secrets like the Variables panel. Head is from 2026-10-20 and conflicts with main in 8 files (README, ui.test.cjs, styles.css, docs/README, audit, kernel_host, server, service, zensical.toml), so it needs main merged before a re-grade. At this head: intellisense, kernel_process, rpc_surface and audit tests 32 passed; ui 124 passed. | | #375 f047c6d (re-grade) | Parameters and widgets bar | PASS | 9.1 | FAIL cleared: start_cell and notebook_inputs read the saved values through _saved_inputs, which returns None for a notebook with no file or an invalid name. The r375c probe is kept as a test and passes, as does r375b. notebook-select 7 of 7 and notebook-inputs 3 of 3 in the browser; ui 201; inputs, dbutils, rpc_surface and audit tests 51 passed. Merges cleanly with main. | | #371 01342a8 (re-confirm) | Databricks dbutils on this PC | PASS | 9.1 | Contains batch 5's tip 564ea71 and merges cleanly with main; no stray files and no ui test dropped. Engine tests run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. The RestartPython import is in each place it's used, and all restartPython tests pass. The Host keeps tasks/task_values and main's resources. fabric_run keeps the dbutils check, %%configure and %%cmd. ui 199; area tests and the r371 probe 100 passed; notebook-select browser 7 of 7. | | #394 824b1f2 on #387 4b5dbec (re-confirm) | Editor power features: variables explorer | PASS | 9.2 | Contains #387's head and the owner's last PASS head b7a2515, merges cleanly with main, and adds no stray files. Its change over #387 is the same variables explorer as before. kernel_host OPS keeps every frame_* op and adds variable_detail; server METHODS keeps the notebook_frame_* methods and adds kernel_variable_detail, which is in READ_ONLY. index.html keeps batch 5's script order with nbvars.js last of the nb scripts. ui 200 passed. Parity, kernel process, debugger, notebook, frames, rpc_surface and audit tests: 133 passed, run with the worktree first on PYTHONPATH so the kernel process imports the PR's code. | | #316 a5d4aa9 on batch 5 tip 564ea71 (re-confirm) | Prove this notebook: SCD type 1 and 2 templates | PASS | 9.2 | Contains the batch 5 tip (with #401) and the owner's last PASS head 8a1e9ec, and merges cleanly with main. Its own change over the tip is the same four files as before: wizard.py, test_wizard.py, the notebooks.md rows and one wizard.js hint. wizard.js keeps tracked next to #401's json_file and order_by. test_wizard keeps both SCD tests and #401's tests: wizard, rpc_surface and audit tests 75 passed. ui 197 passed. | | #387 4b5dbec on batch 5 tip 564ea71 (re-confirm) | Prove this notebook: debugger | PASS | 9.2 | Contains the batch 5 tip and the owner's last head, and merges cleanly with main. notebook.py now takes main's magics.rewrite(cell.body); the breakpoint padding is gone because magics.cell already blanks the header line, so line numbers still match the editor. The reviewer's probe set breakpoints below a shell line, inside a triple-quoted string that holds a magic, in %%pyspark below blank lines, and after a multi-line statement: each paused on the right line in both kernels. %%timeit with a breakpoint runs untraced and finishes with its timing output (status ok, no pause), as the owner said. ui 199 passed. Debugger, notebook, magics, kernel, prove, replay, rpc_surface and audit tests plus the probe: all passed. Browser debugger and notebook-select tests: 9 passed. | | Batch 5 chain on batch 4 tip 9e65caa | #338 d75ff84 > #383 2daa3c6 > #390 739308f > #347 1bee042 > #401 16568e3 > #378 3e07df0 > #398 5f47830 > #395 b4244c2 > #358 564ea71 (re-confirm) | PASS | 9.2 | Each head contains the one before it and its owner's last re-confirmed head, and merges cleanly with main 378cec9. No ui test is dropped. ui at each head: 193, 194, 195, 197, 197, 197, 197, 197, 197, all passing; 197 at the tip with main merged. Release management's resolutions checked at the tip: the cell menu has Find in this cell, then commentMenuItems, then cellMenuExtras. notebooks.md Edit row reads Find and replace (every cell). findHighlighter(cell) and dataItemDrop(cell) are both kept. The cells row is nbFindBar() then cells-inner, with selectionBar() first and visibleCells(nb.cells).map(renderCell). The cell head keeps cellHeadExtras and commentBadge. Run selected cells is in the Run row. notebook.py keeps heading_collapsed, the Databricks cell metadata and the fabric_desktop chart meta. local_explain sits above local_query_start, and local-data.md keeps the local_explain and sql_start rows. Browser tests at the tip with main merged: 185 passed, 0 failed, 0 skipped. Full engine suite at the tip (main already in), with the worktree first on PYTHONPATH: 2960 passed, 4 skipped, 0 failed. | | #378 | SQL local target (re-grade, main merge with behaviour change) | PASS at 2c75979 | 9.1 | It merges f738ccc. Main added T-SQL to local projects, and #378 forwards local_query_start to sql_start, so T-SQL now reaches the statement policy after tsql.translate. Reviewer probe with dialect tsql: read_csv, query(), COPY INTO, a bracketed path, and getenv are refused as permission. OPENROWSET fails to parse. EXEC sp_executesql isn't run locally. DELETE, UPDATE and TRUNCATE without WHERE, and DROP, need confirm. SELECT INTO and TOP behave. No outside file was read and no row changed. r378b 32/32. r378 12/13, where the EXPORT DATABASE kind is unchanged and nothing runs. sql, local, tsql, rpc_surface, audit 435 passed. ui 172. test_kernel_process::test_a_cell_that_ignores_the_interrupt_has_its_process_ended passed 3 of 3 runs here, so the owner's single failure isn't reproduced; it looks like a timing flake. Clean merge with main 378cec9. | | #398 > #395 > #358 | LDE stack (re-confirm, main 378cec9 merges) | PASS at e6fb9df, d77c65b, a47ff6f | as before | Stacked in order. Each head contains main 378cec9 and its last graded head (2381d22, 943391e, 3aaed53), and merges cleanly. Files beyond main are each PR's own plus the ones below it in the stack. ui 180 on each. At the top head: r395 and r398 probes plus every test_local* file 202 passed; touched tests plus rpc_surface and audit 48 passed. | | Batch 4 chain | #382 e5f17c3 > #391 7801bbf > #427 0624e72 > #400 0b20ce2 > #392 f81c585 > #380 008447b > #346 2ac4463 > #350 92febe0 > #359 817877e > #376 5d67cae > #388 9e65caa (re-confirm) | PASS | 9.2 | Each head contains the one before it and its owner's last re-confirmed head. The chain sits on main f738ccc, not on the current main 378cec9; every head merges cleanly with 378cec9, so the reviewer tested the tip with 378cec9 merged in. No ui test is dropped. ui at each head: 181, 183, 185, 185, 186, 186, 187, 188, 189, 190, 191, all passing; 191 at the tip with main merged. Release management's resolutions checked: Service lists NotebookResourcesMixin first, NotebookFormatsMixin after NotebookVersionsMixin, and CommentsMixin after ProgressMixin. index.html loads notebook-formats.js after charts.js and wrangler.js, and keeps runs.js. The Home row reads Save a copy, Versions, nbfExportButton(). runsToggle(nb) comes after Schedule. notebook.py keeps both _BuiltinPaths and _run_target. notebook_resources is in READ_ONLY. The panels row reads commentsPanel, runsPanel, provePanel. #350's test regex now allows items between Save a copy and the export button. Browser tests at the tip with main merged: 160 passed, 0 failed, 0 skipped. Full engine suite at the tip with main merged: 2861 passed, 4 skipped, 0 failed. | | #347 | Multi-select cells (re-grade) | PASS at 6430ecf | 9.1 | Condition closed: the 8 stray root files are removed, and /frames-*.png and /motion-benchmark.json are added to .gitignore; nothing else changed. Clean merge with main 378cec9. | | Main f738ccc merges, round 2 | #387 af9724c, #338 dbf54c9, #383 511990a, #390 c38fcf7, #371 20440c9, #374 0ae0e8f, #373 201e2e3, #375 62b71ac, #389 dadb439, #410 2b43f9e, #401 0333db9, #316 8a1e9ec (re-confirm) | PASS | as before | Every head contains main f738ccc and its last graded head, and merges cleanly. Each changes the same files as before; the only additions are #375's docs/README.md row and #410's stacked #374 test file. #387 was checked closely: %%pyspark blank-line padding plus magics.rewrite keeps line counts, and a cell raising on line 4 reports line 4. #401 and #316 drop their fabric_run shim copies in favour of main's (#406). ui 172 to 176 on each head, all passing. Touched tests: #387 168 Python and debugger browser 2. #338 browser 7. #383 browser 4 and the r383 probe 0 unsafe of 30. #390 38 Python and browser 7. #371 31 Python and r371 5/5. #374 20. #373 60. #375 46 Python and browser 3. #389 26. #410 46. #401 68 Python and r401 8/8. #316 54. | | #347 | Multi-select cells (re-confirm) | CONDITIONAL PASS at aa142c2 | 8.9 | The runCells resolution is right. It keeps main's wolf track, announcements and the runningAll try/finally; done() records on both the stop path (i or i+1) and the finish path (code.length); setKernel runs on each path. ui 174; browser notebook-select, forge and motion 16 passed. Condition: the merge commit adds 8 stray files at the repo root, likely motion benchmark output: frames-achieve/fail/pulse/settle/spark/strike/wolfrun.png and motion-benchmark.json. Remove them before landing. | | #394 | Variables pane (re-grade, semantic merge with #387) | PASS at b7a2515 | 9.2 | Built on #387 af9724c, so it carries main f738ccc and lands after #387. _describe adds memory and expandable. Paused-frame locals go through _frame_row with expandable forced to False, so a local can't open the same-named global, and a test covers it. _sqldf opens with variable_detail. OPS, METHODS and READ_ONLY keep both sides. ui 175; notebook, parity, debug, kernel, frames, rpc_surface, audit 117 passed; browser variables, debugger, result-viewer, keyboard 8 passed. Clean merge with main. | | Main f738ccc merges, round 1 | #400 5ed39df, #392 c196615, #380 49a8ebd, #346 572d126, #350 2fe1de6, #359 c66d061, #376 d39a2e7, #388 d14fe8a, #382 895fa7e, #391 21c113c, #427 1a22c94, #386 21103ae (re-confirm) | PASS | as before | Every head contains main f738ccc and its last graded head, and merges cleanly. The files it changes beyond main match the graded head's set; the one exception is #359, which adds a docs/README.md Preview row. No ui test from main is dropped. #400's platform.js resolution keeps #400's subdomain cell and #399's domainOwnersCell. ui per head: 172, 173, 172, 173, 173, 173, 173, 173, 173, 175, 177, 173, all passing. Touched Python tests plus rpc_surface and audit passed on each head (10, 10, 186, 20, 32, 17, 52, 22, 32, 40, 53+1 skipped, 18). Touched browser tests: #400 8 (with the r400 probe), #392 3, #346, #350, #359 and #427 3 each, #376 and #388 6 each. All passed. r376 probes: 36 passed. | | Batches 2 and 3 after #381's Windows test fix | Batch 2: #381 4714cf2, #396 9aaa831, #397 ed39e89, #332 895f929, #353 21a6b4b, #399 041ea33, #377 cf27e6a, #384 3b6ea7b, #355 a3c31ab. Batch 3: #352 b14b821, #402 802b705, #403 6ffb9fc, #404 b46d422, #405 e38aff4, #407 1a0fb8f, #408 219db43, #409 0226a83, #393 3f0f7ca, #331 12c9f47 (re-confirm) | PASS | 9.2 | Each new head contains its old re-confirmed head. Against that old head, the only file changed is sidecar/tests/test_frames.py: test_service_download_never_replaces_a_file now compares Path(path).name instead of splitting on "/", which was Windows-red. Product code is unchanged, so the earlier ui, browser and full-suite results (2604 and 2666 passed) carry over. test_frames at the batch 3 tip 12c9f47 passes. | | Batch 3 chain on batch 2 tip 2150ca4 | #352 ed8dc5f > #402 2666544 > #403 21951fd > #404 15dd997 > #405 b290277 > #407 8797bca > #408 a9e224c > #409 19e1f1c > #393 1f2d230 > #331 c8715ed (re-confirm) | PASS | 9.2 | Each head contains the one before it, and no ui.test.cjs test is dropped. ui passes at every head: 172, 173, 174, 175, 176, 177, 178, 179, 179, 180. Two resolutions go beyond test tails, and both are right. #352's notebook.py imports magics and frames; the reviewer ran it: %%sql sets _sqldf, shows through #381's viewer, and DDL leaves _sqldf as it was. #409's notebooks.md keeps both the Everyday PySpark block and #384's time-travel bullet. Browser at the tip: 132 passed, 0 failed, 0 skipped. Full engine suite at the tip c8715ed: 2666 passed, 3 skipped, 0 failed. | | #421 | Notebook environments (re-grade) | PASS at 1c2404a | 9.1 | Up from CONDITIONAL 8.6. Carries #379 c7ee803, so #379's conditions are closed here as well (r379 Prove case passes; only the reap-window nit logged on #379 remains). Main conflicts resolved, keeping both allow_notebook_packages and forge_animations. Archive specs (.whl, .zip, .tgz, .tar*) are refused: r421_env_probe now 28/28. Delete renames the folder aside first, so an environment in use isn't half deleted (with a test). New browser test environments.test.cjs on the real engine plus sessions.test.cjs: 7 passed. environments, kernel_sessions, prove, side_by_side, rpc_surface, audit, app_settings plus probes: 136 passed, 2 skipped, 1 failed (the known #379 reap nit). ui 156. Clean merge with main 2a54a62. | | #385 | pandas and chart libraries in the engine (re-grade) | PASS at 73f2776 | 9.1 | Up from CONDITIONAL 8.5. chart_output.py patches bokeh.io.showing on import, so show(p), bokeh.io.show and a bokeh model as the last value draw in the cell with bokeh's JS inline: no file, no browser, no CDN (reviewer confirmed no cdn.bokeh.org in the output). Altair prints a note pointing to chart.save. docs/notebooks.md says which libraries draw. Main 2a54a62 merged; certifi and pillow pins are main's. Nit: show() called from a background thread inside a cell has no running cell, so it falls back to bokeh's own show and opens the system browser (reviewer reproduced it with a stubbed webbrowser.open); rare, but the fallback could refuse instead. Not dependent on the ci.yml change: the engine import check not importing pandas and the chart libraries is a CI coverage gap for Chris, not a merge blocker. Reviewer, in a fresh venv from #385's constraints: r385_charts_probe plus pandas, notebook, kernel_process, rpc_surface 50 passed. Clean merge with main 2a54a62. | | #422 | Structured streaming on this PC (re-confirm) | PASS at 77a5a63 | 9.1 | Deletion-vector nit closed: a Delta source whose protocol lists the deletionVectors reader feature is refused by name in _Source._delta, covering both the schema lookup and every batch, with a test on a real DV-enabled table; docs list it as Fabric-only. The probe gives the same 3 of 4 as before (complete mode is refused by design). spark, notebook, rpc_surface plus probe: 59 passed. Clean merge with main 2a54a62. | | #393 | PySpark session API (re-grade) | PASS at 2d05c0c | 9.1 | FAIL cleared. Restacked on #409 298360c. LocalRuntimeConfig.set refuses a dynamic partitionOverwriteMode, and #409's check at write time stays. NOT_HERE nit addressed. Tests: r393_conf_overwrite_probe 3/3, plus spark, notebook, parity, rpc_surface 96 passed; ui 130. Clean merge with main 2a54a62; lands after #409. | | #422 | Structured streaming on this PC (re-grade) | PASS at 3450cca | 9.0 | FAIL cleared. Complete and update output modes are refused as Fabric-only, with a pointer to a batch groupBy plus overwrite, or to foreachBatch with MERGE. The Delta source now reads one commit at a time: skipChangeCommits skips a rewriting commit whole, OPTIMIZE commits are passed over, and files are read by path with their partition values. r422_stream_probe: 3 of 4 pass, and the 4th fails by design because complete mode is now refused before anything is written. Nit: files are read by path, so a source file that carries a deletion vector would show its deleted rows; delta-rs writes none, but Fabric tables can have them. Refuse sources with deletion vectors, or say so in the docs. Tests: spark, notebook, places, parity, fabric_compute, activity_registry, validate, rpc_surface 200 passed; ui 129. Clean merge with main 2a54a62. | | Batch 2 chain on batch 1 tip 48f165e | #381 f5ec539 > #396 b9a5b62 > #397 f29fa21 > #332 1215876 > #353 5bf0bb3 > #399 1390f27 > #377 3712514 > #384 b34764c > #355 2150ca4 (re-confirm) | PASS | 9.2 | Each head contains the one before it, and no ui.test.cjs test is dropped along the chain. ui passes at every head, ending at 171 (168, 168, 168, 169, 170, 171, 171, 171, 171). Browser at the tip: 129 passed, 0 failed, 0 skipped. Full engine suite at the tip 2150ca4: 2604 passed, 3 skipped, 0 failed. | | #379 | Kernel sessions per notebook (re-grade) | PASS at c7ee803 | 9.1 | Up from CONDITIONAL 8.6. Prove, Side by side, their cancel and their replays use sessions.kernel(name) (prove_service.py:146, 359, 404, 601, 695; side_by_side_service.py:218, 277), with new tests. New browser test sessions.test.cjs passes 3/3. Main merged. reap_idle now removes stale sessions under the lock and closes them outside it. Reviewer: r379 probe's Prove case passes. Its reap case still fails because it flips a kernel to running between the check and the close, which models a caller already holding the kernel when the reaper runs. That window is narrow and needs idle past the Settings limit, so it stays a nit, not a condition. Tests: prove, side_by_side, kernel, notebook, replay, rpc_surface, audit, app_settings 171 passed, 2 skipped; ui 155; browser sessions 3, debugger 2. Clean merge with main 2a54a62. | | #338 | Notebook find and replace (re-confirm) | PASS at 47c7a84 | 9.1 | Same head as the earlier PASS (see the re-grade row below). Its conflicts with 2a54a62 are append-only; re-confirm after the owner merges main. | | Batch 1 chain on main 2a54a62 | #341 0b1ddfe > #335 b4f8132 > #343 77ece3d > #356 52033ab > #423 81145ff > #406 f988434 > #327 87a137e > #424 9a31585 > #372 48f165e (re-confirm) | PASS | 9.2 | Each head contains the one before it, starting from main 2a54a62. No ui.test.cjs test is dropped along the chain except main's "Forge animations setting" test, which #372 replaced with its motion-level tests (also absent at the graded #372 heads). ui at each head: 156, 157, 157, 157, 157, 157, 159, 160, 165, all passing. Browser at the tip: 123 passed, 0 failed, 0 skipped. Full engine suite at the tip 48f165e: 2530 passed, 3 skipped, 0 failed (the pipeline-stop flake is gone with #423). | | #403 | Shell commands (re-grade) | PASS at b47f64c | 9.1 | Conditions closed. A statement-start scanner leaves ! and % alone inside strings, open brackets and after a backslash. Reviewer: r403_string_rewrite_probe now shows the strings unchanged; ! inside an open bracket gives Python's own syntax error; ! after a backslash continuation and indented ! lines still run. Docs and security.md item 6 name shell commands. Stack-top tests below. | | #404 | IPython magics (re-grade) | PASS at 193ca5b | 9.1 | Condition closed. Reviewer: %env refuses HTTPS_PROXY, https_proxy, NO_PROXY, REQUESTS_CA_BUNDLE, SSL_CERT_FILE, ALL_PROXY and CURL_CA_BUNDLE. %%writefile docs updated. | | #352 #402 #405 #407 #408 | Magics stack (re-confirm) | PASS at 42ce925, 407de6b, f0a0ee7, 8c00113, 0e514e0 | 9.1-9.2 | Main merges only; #408's comment nit fixed. At the stack top 0e514e0: r402 and r404_408 probes plus magics, notebook, publish, parity, depgraph, prove, rpc_surface, audit, fabric_compute: 178 passed; ui 161. Every head merges cleanly with main 2a54a62. | | #409 | PySpark API fill (re-grade) | PASS at 298360c | 9.1 | FAIL cleared. r393_conf_overwrite_probe 3/3 at this head. Reviewer added 5 more paths after spark.conf.set(..., 'Dynamic'): saveAsTable with partitionBy, insertInto(overwrite=True), mode('overwrite').insertInto, writeTo().overwritePartitions(), and SQL INSERT OVERWRITE. Each one either refused with the table untouched or kept the other partition. format_number is now half-even. Ignored percentile_approx and to_json options print a note. r409 probe plus spark, notebook, parity, pipeline_notebooks and rpc_surface tests: 115 passed. Clean merge with main 2a54a62. | | #409 | PySpark API fill | FAIL at b312a80 | 7.2 | Automatic: wider overwrite than asked, introduced here. _conf_set accepts spark.sql.sources.partitionOverwriteMode=dynamic, so a later write.mode('overwrite').partitionBy(...).saveAsTable replaces the whole table (probe r393_conf_overwrite_probe.py: dbo.sales loses its US row; Fabric replaces only EU). On main 618b1b9 conf.set raises, so this path is new. Fix: refuse a dynamic partitionOverwriteMode in conf.set, or pass it to LakehouseWriter so the write is refused as the .option() form is, with a test of conf.set then write. (builder.config fails on main too; counted under #393.) Rest sound (probe r409_spark_compat_probe.py: months_between, date_format, from_unixtime, unix_timestamp, lag/row_number, fillna, pivot, expr, trunc week correct). Nits: format_number(2.345, 2) gives '2.35' (Spark half-even inferred '2.34', not run on Spark); percentile_approx accuracy and to_json options silently ignored. Tests run: 104 Python; ui 130. Clean merge with 618b1b9. #393 stacks on this and inherits the fix. | | #404 | IPython magics | CONDITIONAL PASS at 0831123 | 8.95 | Condition: %env refuses FABRIC_DESKTOP_* but sets proxy and CA variables in the engine process (reviewer: %env HTTPS_PROXY=http://evil:8080 returned ok and the engine's os.environ had it), which can redirect the engine's token-bearing Fabric calls. Not new capability (a Python cell can do it), but refuse or warn on HTTP(S)_PROXY, NO_PROXY, REQUESTS_CA_BUNDLE, SSL_CERT_FILE as FABRIC_DESKTOP_* is. Nit: %%writefile overwrites a local file with no confirm (as IPython); docs should say relative paths are in the engine's working folder. Probe r404_408_magics_probe.py covers %%time, %%timeit, %%capture, %%writefile, %lsmagic, %env, %reset -f, %matplotlib; %cd and %%javascript refused. Tests run: 160 Python; ui 129. Docs-index conflict with 618b1b9. | | #402 | Notebook cell languages | PASS at c539dd5 | 9.1 | Fabric %% and Databricks % headers (only when alone on line 1); %md renders Markdown, %%pyspark runs as Python; %scala, %r, %%spark stop with a pointer to Fabric; publish converts Databricks headers. Probe r402_cell_language_probe.py 11 forms as documented. Tests run: 146 Python; ui 127. Docs-index conflict with 618b1b9. | | #405 | %run parameters | PASS at 499e9fd | 9.1 | Arguments parsed as JSON, then ast.literal_eval, then $k="v" pairs; nothing evaluated; injection-shaped arguments fail cleanly. Tests run: 162 Python; ui 130. Docs-index conflict with 618b1b9. | | #407 | %%configure | PASS at 1309a44 | 9.2 | Validates the JSON and says what each key does in Fabric and that nothing changes here; invalid JSON stops with line and column; compute_check flags it. Tests run: 164 Python; ui 131. Docs-index conflict with 618b1b9. | | #408 | %%tsql | PASS at d2cf96b | 9.1 | Check-only (sqlcompat.analyze, then a "runs in Fabric" stop); a DELETE without WHERE is warned. Nit: misplaced comment on the %%tsql line in notebook.js. Tests run: full suite at the stack top 2506 passed, 3 skipped, 1 failed (known pipeline-stop flake, fixed by #423); ui 132. Docs-index conflict with 618b1b9. | | #427 | Data Wrangler (Clean view) (re-grade) | PASS at 39e8877 | 9.1 | FAIL cleared: describe_step repr()s column names and run() replaces non-printable characters in the comment with a space. Reviewer: r427_comment_injection_probe.py passes, plus 24 extra cases (CR, U+2028, form feed + newline, NEL line breaks across drop, rename, sort, fill, split, trim): no generated cell wrote the marker. test_wrangler, rpc_surface, audit 48 passed, 1 skipped (with probes); ui 162; browser result-viewer 3 (test 3 covers the Clean view and Add code to notebook). Clean merge with main. | | #427 | Data Wrangler (Clean view) | FAIL at a763c90 | 7.6 | Automatic: security violation (code injection from data). describe_step (wrangler.py) writes column names unescaped into each step's "# ..." comment in the generated cell, so a column name from the data containing a newline plus an indented line becomes code that runs when the person adds and runs the cell. Probe r427_comment_injection_probe.py: a column named "x\n open(<file>, 'w').write('1')" with a Drop step produced a cell that wrote the file. This contradicts the module's "a step can only ever produce the Polars call it names". A CSV or table from someone else is enough. Fix: repr() the names in the comment or strip newlines and control characters, with a test. Holds: values reach code through repr(); ops, types and comparisons come from fixed lists; the preview runs each line with no builtins; valid_name checks the variable; notebook_frame_wrangle is read-only. No browser test for the Clean view. Tests run: test_wrangler, rpc_surface, audit 22 passed, 1 skipped; ui 162. Stacked on #391; clean merge with main dc51346. | | #422 | Structured streaming on this PC (availableNow) | FAIL at e05d18e | 7.4 | Automatic: data loss and a wider overwrite than asked. Probe r422_stream_probe.py (re-run by the reviewer, 0/4): (1) outputMode("complete") overwrites the sink with only the new batch's result (spark_stream.py:467): groupBy().count() went from 2 to [1] after one appended row (Spark: 3); complete without aggregation (Spark refuses) replaced [1,2] with [3]; (2) skipChangeCommits still emits files a change commit rewrote (spark_stream.py:80-88): an UPDATE of id 1 made the sink [1,1,2,2]; the PR's own test asserts the divergent result; (3) OPTIMIZE compaction stops the stream, though Spark ignores dataChange=false commits. Fix: refuse complete mode or recompute over the whole source; skip change commits entirely; ignore dataChange=false commits. Holds: checkpoints kept apart from Fabric's and moved only after a successful write; continuous, Kafka/Event Hubs, update mode and stream joins refused; Preview. Tests run: 198 Python across spark_stream, spark_writer, notebook, parity, validate and others; ui 129. Clean merge with main dc51346. | | #393 | PySpark session API | FAIL at 7274c66 | 7.8 | Automatic: wider overwrite than asked. spark_api.py:47 keeps spark.sql.sources.partitionOverwriteMode as "takes effect in Fabric" and LocalRuntimeConfig.set (:59) accepts it, so conf.set('...partitionOverwriteMode','dynamic') then write.mode('overwrite').partitionBy('region').saveAsTable replaces the whole table, where Fabric replaces only the written partitions; the writer already refuses the same write option for this reason. Probe r393_conf_overwrite_probe.py (re-run by the reviewer): fails for conf.set and SparkSession.builder.config; also fails at #409 b312a80 (where conf.set came from); on main conf.set errors. Fix: refuse a dynamic partitionOverwriteMode in conf.set or in the overwrite, with a test. Nit: NOT_HERE lists readStream/writeStream/isStreaming as Fabric-only, stale if #422 lands. Tests run: 85 Python; ui 130. Clean merge with main dc51346; after #409. | | #421 | Notebook environments | CONDITIONAL PASS at f242d1a | 8.6 | Stacked on #379 (659f182) and inherits its conditions (Prove and Side by side use self.kernel; r379_sessions_probe.py 0/2; no browser test for Sessions or environments). Conflicts with main dc51346 in ui.test.cjs, notebook.js, docs/README.md and app_settings.py. Own code holds (r421_env_probe.py 25/28): bad env names, pip options, URLs, paths and pyspark/databricks-connect/delta-spark refused; delete removes only its folder; allow_notebook_packages=false blocks app and %pip installs before pip runs; a real install of tabulate 0.9.0 landed in the env; numpy==1.0 refused by engine constraints; danger confirm; Preview; IT key documented. Nits: specs ending .whl/.tar.gz/.zip pass check_packages (environments.py:58); deleting an env a running kernel uses can leave files on Windows (:158). Tests run: 142 passed, 2 skipped; ui 131; browser notebook-files 4. | | #403 | Shell commands, !cmd, %fs | CONDITIONAL PASS at 6db1ddb | 8.45 | Not an automatic fail: no new capability, since any Python cell can already run subprocess and docs/security.md item 6 says notebook code runs as you. Conditions: (1) a ! (or %) line inside a triple-quoted string is rewritten to __fd_magic__(...), changing the string's text (reviewer re-ran r403_string_rewrite_probe.py: '!ls' became "__fd_magic__('system', 'ls')"); IPython leaves it alone and the docs say "as in IPython"; detect with tokenize, covering the older % case too; (2) notebook-magics.md should say running someone else's notebook runs its ! commands on your PC, linking security.md item 6, and that item should name shell commands. Recommended: an org policy switch for shell magics; an output cap; a Cancel test that checks child processes. Cancel kills the whole tree on Linux (probe); Windows taskkill /T not run here. Tests run: 212 Python; ui 128. Conflicts with main 618b1b9 on docs index lines only. | | #352 | %sql / _sqldf magics | PASS at a0af3f9 | 9.1 | df = %sql, _sqldf and publish to spark.sql/lakehouse.sql; compute_check flags %sql MERGE/UPDATE/DELETE as Fabric-only. Tests run: 195 passed, 1 failed (known pipeline-stop flake); ui 126. Conflicts with main on README.md and docs/README.md index lines; needs a main merge. | | #371 | Databricks dbutils on this PC (re-grade) | PASS at 8a35f34 | 9.1 | FAIL cleared: bare absolute paths (/mnt, /tmp, /FileStore, C:\, and path keyword args) are refused with a pointer to file:; DBFS: in any case is caught; secrets.list stops when nextLink leaves the vault host. r371_dbutils_probe.py 5/5; dbutils, notebookutils, notebook, rpc_surface, audit 131 passed; ui 127. Clean merge with main dc51346. | | #373 | notebook.run timeouts (re-grade) | PASS at 24f0027 | 9.1 | A child that catches Exception still times out (probe case passes); docs say the timeout lands between Python steps (the 4 s sleep case is now documented behaviour). Now based on #371. 139 passed; ui 129. Clean merge with main dc51346. | | #375 | Parameters and widgets bar (re-grade) | PASS at 2e7899f | 9.1 | Widget values are no longer suffix code: start_cell gives the kernel the saved values and each run starts with them. New probe r375b_widget_values_probe.py 3/3 (same-cell and later-cell get return the bar value, clearing restores the default, an injection-style value stays data, an out-of-choices multiselect falls back to the default). 49 passed; ui 129; browser notebook-inputs 3. Clean merge with main dc51346; after #371. | | #410 | variableLibrary from the workspace (re-grade) | PASS at d42e737 | 9.0 | The first getLibrary prints which workspace it read and that Fabric reads the notebook's own; a bad typed value names the variable and type, not the value. 113 passed; ui 130. Clean merge with main dc51346. | | #423 | Pipeline stop race (re-grade) | PASS at 91b5fa9 | 9.2 | FAIL cleared: notebooks.finish() runs only at depth 0, so child pipelines no longer clean up the parent's folder; both r423 probe cases are now tests. Reviewer: r423_child_pipeline_probe.py, pipeline_notebooks, pipeline_runs and rpc_surface 136 passed; the old flaky test_a_step_stopped_after_writing_leaves_no_folder passed 6 of 6 runs. Clean merge with main dc51346. | | #372 | Living interface motion (re-confirm) | PASS at 59a3f9c | 9.2 | 4f81f88 plus main dc51346; conflicts in ui.test.cjs and user-guide.md resolved keeping both sides. ui 159; motion and forge browser 9; settings, policy, rpc_surface, audit 63 passed, 1 skipped. Clean merge with main dc51346. | | #381 | Result viewer (re-grade) | PASS at 3dbf16d | 9.1 | Racy sort test fixed (waits for "row 2499"): result-viewer browser 5 of 5 runs passed; main merged; Result downloads row in the Preview table. ui 157. Clean merge with main dc51346. | | #382 | Chart sampling (re-grade) | PASS at 8b1f14c | 9.1 | #381 merged in; profile uses a seeded random sample (periodic-data nit closed). Tested within #391's stack: r381 and r382 probes plus notebook, frame, kernel, rpc_surface, audit tests 170 passed. Clean merge with main dc51346. | | #386 | displayHTML and IPython stand-in (re-confirm) | PASS at 171f6b1 | 9.1 | Main merged. r386_ipython_probe script output as expected; r386_html_sandbox_probe 3 of 3; ui 155. Clean merge with main dc51346. | | #391 | Notebook outputs follow-up (re-confirm) | PASS at 4275bc5 | 9.0 | Contains #381 and #382; notebooks.md:170 nit fixed. ui 160; result-viewer browser 2; Python 170 passed (above). Clean merge with main dc51346. | | #327 | Developer profile (re-confirm) | PASS at 47b2dd1 | 9.2 | Condition closed: merges dc51346 with no conflicts; docs/README.md Preview row for Profile; profile header calls learnMore("profile-preview"); user-guide.md has a Profile (Preview) section. ui 156; profile browser 4; rpc_surface, audit and profile tests 43 passed. Clean merge with main dc51346. | | #424 | notebookutils.fs.ls modifyTime | PASS at 6901cf2 | 9.1 | ls entries carry modifyTime in ms (UTC) and Databricks' modificationTime alias; local from st_mtime, lakehouse from FileStore's ISO "modified" (reviewer checked a DFS HTTP date converts to the right ms); unparseable gives 0. notebookutils_fs and rpc_surface 35 passed; ui 130. Clean merge with main dc51346. | | #423 | Pipeline stop race: clean up before the final state | FAIL at 9a619ec | 7.6 | Automatic: high-severity regression. PipelineRun.run() now calls self.notebooks.finish(), but a child pipeline (ExecutePipeline/InvokePipeline, runner.py:605-611) shares the parent's LocalNotebooks, so the child's run() deletes the parent's run folder mid-run and sets _finished, after which nothing is cleaned. Probe r423_child_pipeline_probe.py: Filter (writes dbo.picked) > child pipeline > Count (reads dbo.picked) fails with TableNotFound; a notebook step after a child pipeline leaves its pipeline-<id> folder behind. Both pass on main dc51346. Fix: finish only in the top-level run (depth == 0, or the run that created the notebooks), with a test for both cases. The race fix itself (finish before the final state; idempotent finish; stop then finish in pipeline_service) is right. Clean merge with main dc51346. | | #406 | Fabric shim table_exists (re-confirm) | PASS at 82b7d6b | 9.1 | Head unchanged; clean merge with main dc51346. | | #425 | Audit pin fix: certifi 2026.10.19, pillow 13.0.0 | PASS at 564e82c | 9.3 | Two lines in sidecar/constraints.txt. Reviewer ran CI's exact command (pip-audit 2.10.1 -r sidecar/constraints.txt --no-deps --disable-pip): "No known vulnerabilities found"; main dc51346 shows 9 (8 pillow CVEs fixed in 13.0.0, certifi PYSEC-2026-4320). A fresh venv from the new constraints installs the engine plus matplotlib 3.11.2 with pillow 13.0.0; pip check clean. Owner: savefig PNG round trip and 130 image tests pass. Clean merge with main dc51346. Full suite under the new pins (reviewer): 2494 passed, 3 skipped, 1 failed (the known pipeline-stop flake, red on main too). | | #378 | SQL local target (KF-DE-027) (re-grade) | PASS at e37357b | 9.1 | Up from CONDITIONAL 8.6. query, json_execute_serialized_sql, json_deserialize_sql, current_setting, duckdb_settings and getenv are refused. Reviewer probe: 9 query() variants (QUERY, "query", main.query, system.main.query, json_execute_serialized_sql, query_table list, ::VARCHAR, query text built from a CTE) all refused as permission; r378b 32/32; r378 12/13 (EXPORT DATABASE still fails as kind "sql", nothing runs). sql_exec, local_data, local_delta, rpc_surface, audit 149 passed. Locked connection stays a follow-up. Clean merge with main dc51346. | | #358 | Local data engine writes (re-grade) | PASS at 3aaed53 | 9.1 | Up from CONDITIONAL 8.85. Unconditional WHEN NOT MATCHED BY SOURCE DELETE/UPDATE and WHERE clauses naming no column need confirm, from a query and from local_change_delta; a failed change checks its own commit metadata (reviewer confirmed delta-rs history exposes fabric_desktop.query); a dry run reports the version its copy reached. New tests cover all three. local_delta_dml, local_data, local_delta, sql_exec, rpc_surface, audit 127 passed. Clean merge with main dc51346. | | #401 | Notebook templates (re-grade) | PASS at 2233fc9 | 9.1 | Up from CONDITIONAL 8.7. Empty-value ties stop the run; Profile and Snapshot refuse output == source (case-insensitive, missing schema = dbo); flatten clash check ignores case. r401_templates_probe.py 8/8 plus test_wizard and rpc_surface: 67 passed. Clean merge with main dc51346; textual conflict with #316. | | #400 | Platform tidy-up (re-grade) | PASS at cc2cc52 | 9.1 | Up from CONDITIONAL 8.7. Under policy Overview shows "Set by your organization's policy" and hides "Set up in Fabric". Reviewer ran r400_policy_setup_probe plus platform-overview and mesh-overview: 13 passed; ui 154. Clean merge with main dc51346; one-line platform.js conflict with #399 left for whichever lands second. | | #332 | Replay sandbox cleanup (re-confirm) | PASS at e986d41 | 9.2 | Merge of main only; ui.test resolution keeps both sides. ui 155; replay and rpc_surface 34 passed. Clean merge with main dc51346. | | #387 | Notebook debugger (re-confirm) | PASS at 14e999e | 9.2 | Merges main with #348: debugger keys registered in the shortcuts dialog, shown only with Preview; docs Preview row renamed. ui 156; debug, prove, replay, rpc_surface 114 passed; browser debugger 2. Clean merge with main dc51346. | | #327 | Developer profile (re-confirm) | CONDITIONAL PASS at 707fb05 | 8.8 | The merge with 618b1b9 keeps both sides of every conflict (index.html, audit READ_ONLY, server METHODS, service mixins); ui 138 at the head. But merged with current main dc51346 (textually clean) two of #348's ui tests fail: "the documentation's Preview list matches PREVIEW_FEATURES" (docs/README.md lacks Profile) and "every page links to its section of the user guide" (the profile page has no learnMore or howItWorks). Merging as is turns main red. Merge dc51346 and fix both. Profile browser 4, rpc_surface, audit and profile tests 43 passed. | | #371 | Databricks dbutils on this PC | FAIL at 7e43778 | 8.4 | Automatic: deletes more than asked. In Databricks a bare absolute dbutils.fs path means DBFS; here it means this PC's disk. Probe r371_dbutils_probe.py (re-run by the reviewer): dbutils.fs.rm("<abs>/mnt/raw", True) removed the local folder and its file with status ok, and dbutils.fs.put("<abs>/FileStore/x.csv") wrote to this PC. Only dbfs:, /dbfs/, /Volumes/ and /Workspace/ are refused. Fix: refuse bare absolute paths and say a local path needs file:. Holds: secrets hidden in Variables and errors; restartPython inside notebook.run refused; OneLake writes still go through the write guard. Nits: DBFS: in capitals isn't caught; secrets.list follows nextLink without checking the vault host. Tests run: 71 py, ui 126, full 2496 passed (via #375). Clean merge with main 618b1b9. | | #373 | notebook.run timeouts | CONDITIONAL PASS at 990a6b4 | 8.6 | A parity feature, not a fix (main already stops self-runs with RecursionError). Conditions, probe r373_timeout_probe.py (re-run by the reviewer, 3 passed 2 failed): (1) a child that catches Exception swallows the timeout and the run returns 'done'; raise RunTimeout when the deadline fired or check it between cells; (2) a blocking time.sleep(4) with a 1 s timeout ends at 4.0 s; say in the docs the timeout lands between Python steps. PR body should state the enforced 90 s default and string exit values. Tests run: 65 py, ui 126; full 2476 passed, 1 failed (known #319 flake, red on main too). Clean merge with 618b1b9. | | #374 | notebookutils.lakehouse | PASS at a7edb49 | 9.2 | create/update/delete/loadTable refuse before any HTTP request through notebookutils and mssparkutils; isValidToken never raises or leaks for 10 malformed inputs; row marked Preview; no new scopes. Probe 14/14. Nit: listTables on schema-enabled lakehouses shows Fabric's raw error. Tests run: 85 py, ui 127; full 2479 passed at bcd833c (same code). Clean merge with 618b1b9. | | #375 | Parameters and widgets bar | CONDITIONAL PASS at 0674194 | 8.4 | Condition: a cell that creates a widget and reads it in the same cell gets the default, not the bar's value (probe r375_inputs_probe.py re-run by the reviewer: '2026-01-01' instead of '2026-05-05'), while the bar says runs use these values; set the values before the cell runs or say they apply from the next cell. Holds: values inserted as Python literals (injection inert); bad types and unknown names ignored; Preview; notebook_inputs read-only in audit, notebook_inputs_set not. Stacked on #371 (FAIL). Tests run: 84 py, ui 127, browser notebook-inputs 3; full 2496 passed. | | #389 | notebook items (re-confirm) | PASS at 05847d6 | 9.1 | get/list/getDefinition only read; create/update/updateDefinition/delete raise before any HTTP request; Preview; contains #374's fix. Tests run: 91 py, ui 128. Clean merge with 618b1b9; lands after #374. | | #410 | variableLibrary from the workspace | CONDITIONAL PASS at e379b19 | 8.7 | Read only (list + getDefinition); no attached lakehouse gives a LookupError with no call. Condition: it reads the attached lakehouse's workspace (notebookutils_local.py), while Fabric reads the notebook's own; with a lakehouse in the shared landing or keys workspace it silently reads another library, and variableLibrary leaves the Fabric-only check. Use the notebook's saved workspace and fall back to the lakehouse's, or print which workspace was read. Nit: a bad Integer value is echoed in the error. Tests run: 78 py, ui 130. Clean merge with 618b1b9; conflicts with #371, #374, #389. | | #400 | Platform tidy-up | CONDITIONAL PASS at 1c3dae8 | 8.7 | Condition: Overview's "Set up in Fabric" now calls platformSetupDialog with only adminOnly, while Settings > Platform hides Create when platform_status.source is "policy"; probe r400_policy_setup_probe.test.cjs shows it 3 times under policy and opens "Create the Dev platform". Hide it under policy or keep the Settings link, with a test. Holds: non-admins see "A platform admin sets it up"; Edit owners saves to the platform catalog only; Delete is a danger confirm; docs updated. Tests run: ui 129; browser platform-overview 7, mesh-overview 4. Clean merge with 618b1b9; conflicts with #399 in platform.js (keep both). | | #401 | Notebook templates: latest row, flatten JSON, profile, snapshot | CONDITIONAL PASS at c130880 | 8.7 | Holds: names reach code via !r; non-empty ties and flatten clashes stop before writing; snapshot same-day retry writes nothing; json_file refuses .. and paths outside Files/; fabric_run shim identical to #316's. Conditions, probe r401_templates_probe.py (re-run by the reviewer, 4 passed 4 failed): (1) a key with 2+ rows whose order_by is empty isn't caught as a tie; (2) Profile and Snapshot accept output == source, and Profile overwrites, replacing the source table (recoverable from Delta history); refuse it. Nit: flatten clash check is case-sensitive. Tests run: test_wizard + rpc_surface 53; shim suites 245 passed 3 skipped; ui 129. Clean merge with 618b1b9; conflicts with #316 in wizard.js and test_wizard.py. | | #377 | Live test pack v2 (KF-DE-005) (re-grade) | PASS at c9383f6 | 9.1 | Up from CONDITIONAL 8.7. Cleanup accepts only this run's names (lakehouse == fdlt_<run id>, items fdlt_<run id>_*) and reads each item back before deleting (type and displayName must match list_items, or get_lakehouse for the lakehouse); a mismatch is refused and kept in the ledger; a 404 counts as gone. Probes r377_ledger_delete_probe.py and r377b_ledger_live_check_probe.py 9/9. permissions.md keeps both Item.ReadWrite.All additions. Tests run: livetest, silent_except, contract_onelake, rpc_surface, audit 96 passed; ui 129. Clean merge with 618b1b9. | | #378 | SQL local target (KF-DE-027) (re-grade) | CONDITIONAL PASS at 5df660a | 8.6 | Up from 8.3. Closed: CREATE OR REPLACE TABLE/VIEW and INSERT OVERWRITE need confirm unless made earlier in the same query (r378_local_target_probe.py 12/13; EXPORT DATABASE fails as kind "sql", nothing runs). Deny-list holds for 31 of 32 bypass attempts (r378b_denylist_probe.py). Condition, re-run by the reviewer: SELECT * FROM query('SELECT * FROM read_csv(''<outside file>'')') completed with confirm and returned the outside file's row (column "secret"), because the inner SQL is a string the statement check never sees, against the docs' "reading files ... never run, confirmed or not". Refuse query and any SQL-text function, or run user SQL on a connection with file access off. A locked connection is a recommended follow-up, not a blocker once query is closed. Nit: current_setting('home_directory') and duckdb_settings() show local paths. Tests run: 145 py; ui 129; browser sql-exec 11, sql-editor 15. Clean merge with 618b1b9. | | #376 | Notebook builtin paths (re-grade) | PASS at 11c5c1b | 9.2 | Up from CONDITIONAL 8.9. The rewrite now uses an allowlist of call sites instead of every string constant. Probes r376, r376b, r376c plus suites: 141 passed. Owner reports ui 130, browser 10. Clean merge with 618b1b9. | | #399 | Domain owners from Fabric (re-confirm) | PASS at ac7c236 | 9.2 | Throttle check now uses FabricError.status == 429. Platform tests 40 passed. Clean merge with 618b1b9. | | #395 | Pipeline step replace guard (re-confirm) | PASS at 943391e | 9.1 | A step replaces a table only if its comment mark or Delta version still matches. r395 probe plus local tests 114 passed. Clean merge with 618b1b9. | | #397 | T-SQL translation (re-grade) | PASS at f15980a | 9.1 | Up from CONDITIONAL 8.3. Reviewer spot-check: '1' + 1 gives 2 (CAST AS INT); CAST AS VARCHAR(3) cuts to 'abc'; CHAR(4) pads; CONVERT(VARCHAR(10), datetime, 120) gives '2026-10-18'. r397 probe plus local tests 130 passed, 6 failed: DATEADD, SUM and ROUND differ only in value format; the bracket-injection case is a probe flaw; COPY via tsql and read_csv('/etc/hostname') are policy cases that depend on #378's statement check (report-only here). Clean merge with 618b1b9. | | #379 | Kernel sessions per notebook | CONDITIONAL PASS at 659f182 | 8.6 | Conditions: (1) Prove and Side by side take self.kernel, which is now the open notebook's kernel (prove_service.py:600 and :694, side_by_side_service.py:218 and :277); use sessions.kernel(record["name"]), check the replay paths, add a test; (2) no browser test for Sessions; (3) conflicts with main 618b1b9 in notebook.js and app_settings.py. Nit: reap_idle closes the session outside the lock. Probe r379_sessions_probe.py. | | #358 | Local data engine writes | CONDITIONAL PASS at ec31deb | 8.85 | Condition: MERGE ... WHEN NOT MATCHED BY SOURCE THEN DELETE with an empty source wiped every row with no confirm; require confirm for an unconditional BY SOURCE DELETE or UPDATE. Low: WHERE true gets past the confirm; the concurrent-commit message drops "nothing was committed" (engine.py:929); a dry run always reports version before+1 (engine.py:921); no atomicity or concurrency tests. Tests run: full suite 2506 passed, 3 skipped, 1 failed (known pipeline-stop flake, #423). Clean merge with 618b1b9. | | #386 | displayHTML and IPython stand-in (re-grade) | PASS at 13a9c4c | 9.1 | FAIL cleared: the IPython stand-in is a lazy meta_path entry, IPython.version_info no longer breaks matplotlib, and the sandbox holds. Conflict with main in styles.css. | | #381 | Result viewer (re-grade) | CONDITIONAL PASS at 87e0237 | 8.8 | tz condition cleared. New condition: result-viewer.test.cjs test 1 is racy (failed 6 of 6 here); after the second sort it waits for "Rows 1 to 100 of 2,500", already on screen; wait for "row 2499". Conflict with main in styles.css. | | #382 | Chart sampling (re-grade) | CONDITIONAL PASS at b35f48e | 8.8 | Own conditions cleared (probe 16/16; sample labelled). Conditional only on #381's racy test. Nit: every-4th-row sampling skews periodic data. | | #391 | Notebook outputs follow-up | PASS at 8db6d72 | 9.0 | Lands after #381's fix. Nit: notebooks.md:170 is stale. | | #384 | Runtime replay versions | PASS at 40cb433 | 9.1 | Probe r384 13/13. Nit: the replay record keeps the latest version (lakehouse.py:284). | | #385 | pandas and chart libraries in the engine | CONDITIONAL PASS at 6ba01e9 | 8.5 | All new packages pinned in constraints.txt with win_amd64 cp312 or pure wheels; about +120 MB; pandas also fixes TIMESTAMPTZ collect (pytz). Conditions (probe r385_charts_probe.py): (1) bokeh show(p) writes threading.html into Python's folder and opens the system browser on a page loading cdn.bokeh.org; send it to the cell or refuse it, with a test; (2) land after #386 or say altair and bokeh charts don't draw yet (the pyproject comment says they do). Chris item: ci.yml engine import check doesn't import pandas or the chart libraries. #383's load-data-items.md:41 goes stale. Tests run: full sidecar with pandas at c0f0908 2443 passed, 3 skipped; at 6ba01e9 114 notebook and kernel tests; ui 123. Clean merge with 618b1b9. | | #388 | Notebook comments (re-confirm) | PASS at e588f86 | 9.3 | Both nits fixed: comment-author-id is created with open(path, "x"); a loser reads the winner's id back (retry up to 2 s), with an 8-thread test; legacy comments without author_id documented as locked (resolve and reopen work, edit and delete don't), with a test. Tests run: notebook_comments, rpc_surface and probe r388b_identity_probe.py 20 passed. Clean merge with main 618b1b9. | | #399 | Domain owners from Fabric (re-confirm) | PASS at 4ee941d | 9.2 | Throttle nit fixed: a domain whose admin read still gets 429 after the client's retries is listed as "<name> (Fabric is busy: import again later)" (central/service.py:322-325); test step added. Nit: the 429 is detected by matching "failed with 429" in the message; prefer the FabricError status attribute. Tests run: platform and rpc_surface 42 passed. Clean merge with main 5052500. | | #380 | Fabric and Databricks unified, Phase 1 (re-confirm) | PASS at bb6fe75 | 9.2 | Test-only: adds the bare-token commit-scan case and a 33-hex non-match. Tests run: git and redact 105 passed. Clean merge with main 5052500. | | #394 | Notebook Variables pane (re-confirm) | PASS at ac0ed86 | 9.2 | Up from 9.0; all three nits fixed: only exact built-in containers are measured or opened item by item (no user __iter__/__len__/__sizeof__; items counted by type basicsize), docs now say repr is the only user code touched; a LazyFrame is caught by type name before .schema; set detail sorts only the 100 items read (islice). New parity test covers all three. Tests run: notebook, kernel_process, rpc_surface, variables tests and probe r394_variables_probe.py 53 passed; ui.test 130; browser notebook-variables 3. Clean merge with main 5052500. | | #399 | Domain owners from Fabric | PASS at 318f1b3 | 9.1 | Import from Fabric adds GET /v1/admin/domains/{id}/roleAssignments per domain (same Tenant.Read.All; permissions.md and data-mesh.md updated); keeps role Admin(s) only, display name + type, no email or id (test asserts no "@"); a domain whose admins can't be read keeps the last import's and is listed in owners_unread; non-admin refused by the existing 401/403 path; nothing written to Fabric. Additive column catalog.domain.fabric_owners via idempotent ensure_domain_columns; _upsert updates only given columns, so save_domain and Git deploys keep it. Not a permission source: owner checks (core.py:766, :860, policy.py:471) read owners only; Git platform files carry owners only. Text nodes only; Preview. Nits: one admin call per domain may hit throttling (degrades per domain, toast doesn't say why); toast lumps admin changes with renamed/moved. Tests run: 91 py; ui.test 130; browser mesh-overview + platform-overview 9. Clean merge with main 5052500; one-line platform.js conflict with #400 expected. | | #387 | Prove: breakpoints and stepping (re-grade) | PASS at af1f4dd | 9.1 | Up from CONDITIONAL 8.8. Kernel.interrupt (notebook.py:330) falls through to the async-exception interrupt when debugger.stop() doesn't end the cell within 0.5 s: a busy Python Evaluate is cancelled with variables kept (verified; new test on both kernels). A blocking C call (time.sleep) in Evaluate still can't be cancelled, but neither can a plain cell's on main (same Cancel code), so not this PR's; process-kernel Stop still kills it. The interrupt unwinds cleanly (_pause's finally, settrace reset, per-run debugger). New app/tests/browser/debugger.test.cjs runs against the real engine; styles.css merge keeps both sides; docs say secret-derived values aren't hidden. Tests run: 71 py; ui.test 131; browser debugger + keyboard 6, twice. Clean merge with main 5052500. Note: #394's _describe merge (see #394 row). | | #406 | Fix: Fabric shim table_exists (Incremental template in Fabric) | PASS at 82b7d6b | 9.3 | Addstable_existsto the Fabric shim in fabric_run.py, matching lakehouse.table_exists on the PC: only "not found" (deltalake TableNotFoundError, or a proof's LookupError) returns False; any other failure raises, so it can't turn into an overwrite. New test runs Incremental through FakeFabric with the real shim; with main's fabric_run.py it fails (verified), with the fix it passes. Tests run: test_wizard and test_prove 89 passed. Clean merge with main 5052500. | | #376 | Notebook resources folder (re-review) | CONDITIONAL PASS at e9f3036 | 8.9 | Up from 8.8; last condition closed: visit_BinOp/visit_Call/visit_Dict keep a plain string on the right of + or /, as a later join/joinpath argument and as a dict key. Remaining (probe r376c_rewrite_probe.py): 6 forms still rewritten after another base because _after_a_base skips only plain strings: base + f"builtin/{n}", os.path.join(base, f"builtin/{n}"), "/".join([base, "builtin/x"]), "%s/%s" % (base, "builtin/x"), "{}{}".format(base, "builtin/x"), base + ("builtin/x" + ".csv"); each can silently send a OneLake path to the PC when a resources folder exists. Skip f-strings in _after_a_base and builtin/ strings inside %/format/str.join, or name these forms unsupported in the docs (use nbResPath), with tests. Tests run: probes plus resources, process-kernel and related suites 219 passed (clean worktree); ui.test 130; browser 10. Clean merge with main 5052500. | | #380 | Fabric and Databricks unified, Phase 1 (re-confirm) | PASS at 53ca3a7 | 9.2 | Up from 9.0; both nits fixed. Databricks PATs redacted with one pattern (\bdapi[0-9a-f]{32}(?:-\d+)?\b) in redact.py, settings.js redactReport and git/secrets.py. Shared case "in" as a list: both harnesses join with ""; the joined value is a full token and the expected output holds [removed], so the case can't pass vacuously; no whole token in the repo (git grep empty). No false positives on a 40-hex SHA, a GUID, rapidapi, uppercase DAPI or dapi + 34 hex. ui.test 129 equals main (the PR edits one test, adds none). Nit: add a bare-token commit-scan case. Tests run: 186 py; ui.test 129. Clean merge with main 5052500. | | #388 | Notebook comments (re-confirm) | PASS at 222cabe | 9.2 | Up from 9.1; both nits fixed. Server derives author_id (aad:<oid>, else user:<email>, else pc:<uuid4 hex> from a comment-author-id file); edit and delete go by author_id; an author_id passed over RPC is refused; docs say email and account id go into the file and Git. Probe r388b_identity_probe.py 3/3; legacy comments without author_id are locked for everyone (say so). Nit: comment-author-id is written with plain write_text, so two concurrent first signed-out comments can orphan the first id; create with xb and re-read. Tests run: 107 py (1 expected failure in the old probe), ui.test 130, browser 6. Clean merge with main 5052500. | | #398 | Local data engine: explain (FD-LDE-017) | PASS at 2381d22 | 9.2 | Only one read is explained: DML/DDL, multi-statement, COPY/ATTACH/INSTALL/SET/PRAGMA/CALL/CHECKPOINT and EXPLAIN ANALYZE DELETE refused with and without analyze, nothing changed; plan mode runs nothing (nextval not advanced); analyze runs the query, as docs say; stdout stays clean; profiling reset after, under the engine lock. Nit: the reset also clears a person's own SET enable_profiling. Probe r398_explain_probe.py 34/34. Tests run: 76 py, ui.test 129; new tests fail on main. Clean merge with main 5052500. | | #397 | Local data engine: T-SQL (FD-LDE-004) | CONDITIONAL PASS at 78a7ae9 | 8.3 | Silent answer changes, against the module's promise to translate the differences that change answers: (1) + concatenates when either side is text (verified:SELECT '1' + 1becomes'1' || 1= '11'; T-SQL gives 2; int column + '7' gives '57', T-SQL 12); (2) VARCHAR(n) lengths dropped (verified: CAST('abcdef' AS VARCHAR(3)) gives 'abcdef'; CONVERT(VARCHAR(10), day, 120) keeps the time). Fix or refuse, with tests. Holds: DECLARE/@var/IF/EXEC/BEGIN TRAN/FOR JSON/OPTION/CREATE PROCEDURE/OPENROWSET refused clearly; TOP, ISNULL, brackets, DATEADD month end, DATEDIFF boundaries, OFFSET/FETCH, #temp, GO, integer division right; MERGE to MERGE INTO. Note: COPY passes the T-SQL path (as main's DuckDB dialect); when #378 lands, add tsql to its local dialects. Probe r397_tsql_probe.py. Tests run: 88 py, ui.test 129, browser sql-exec 11. Clean merge with main 5052500. | | #396 | Local data engine: PIVOT hint | PASS at 9ff2c20 | 9.1 | A dynamic PIVOT gets the hint to list its values; a listed PIVOT writes; UNPIVOT isn't hinted. Nit: any whole word pivot triggers it, so a 2-statement script naming a column "pivot" is told to list values. Tests run: 67 py, ui.test 129; new test fails on main. Clean merge with main 5052500. | | #395 | Local data engine: SQL transformations (FD-LDE-006) | PASS at fe9611c | 9.0 | Steps never replace a person's table, view or project Delta table; only one read runs (CTE delete, second statement, comment and $$ tricks, INSERT/COPY/CREATE refused before running, dry run or not); dry run makes no table or run record and doesn't advance nextval; parameters are bound; writes stay in the project folder, never OneLake. Nit: .state.json is trusted, so a person's own table that reuses a transform-made name is replaced on the next run without asking. Probe r395_transform_probe.py 30/30. Tests run: 76 py, ui.test 129, browser sql-exec 11. Clean merge with main 5052500. Landing order for #395-#398: #396, #397, #398, then #395 (most conflicts: engine.py, docs/local-data.md, audit.py, localdata_service.py, test_rpc_surface.py). | | Chain | Merge chain #325 > #340 > #344 > #345 > #348 > #341 > #335 > #343 > #356 (re-confirm) | PASS at 5ce67bd (tip) | holds | Heads as given: #325 4391a74, #340 473bae6, #344 f647fce, #345 c4cea3f, #348 abe03d0, #341 cc9edb0 (via 957c6f3, also merges #325), #335 8a17230, #343 d5ee495, #356 5ce67bd; every graded head (incl. 9ae6620, c46534c, 4658679, e7e1feb) is an ancestor of the tip. Remerge diffs: ui.test.cjs tails only, except #345 app.js boot keeps bothstate.starting = falseandnavRestore(); #348 app.js keeps the nav listeners and the Notebook registerShortcuts; #341 settings.js tab list is [account, updates, display, previews, usage, platform, notify, about, advanced] and the SQL section correctly lives inside advancedSection (not lost from 4391a74's list), test regex updated. #343 and #356 merges have no conflicts. Tests run at the tip: ui.test 157; browser forge-animations 5, settings-advanced 1, back-forward 4, keyboard 4, shortcuts-dialog 4, error-panel 3, home-at-once 1, home-reuse 5, mesh-overview 4, confirm-dialog 4, notebook-files 4; touched sidecar tests (app_settings, optimize_local_runs, optimize_service, rpc_surface, audit) 35 passed. Each PR keeps its own verdict. | | #394 | Notebook Variables pane: filter, sort by memory, open frames and containers | PASS at 29dcc6a | 9.0 | One read-only RPC kernel_variable_detail (honest: no mutation, no cell code, LazyFrames never collected); first 100 items or a frame's columns; whole-variable, named and getSecret-equal items hidden, nested secrets only as on main. Probe r394_variables_probe.py 8/8: refresh with 5M list + 2M dict under 2 s, dict detail under 1 s, 3M set under 2 s, recursive containers fine, generators untouched. variableTable moved to nbvars.js, loaded before debugging.js. Nits: _memory runs user __iter__/__sizeof__ each refresh, so "never runs your code" overstates; _columns resolves a LazyFrame's schema before excluding it; set detail sorts the whole set. Merge notes: #387 conflicts in notebook.py, where its _describe refactor must take memory/expandable and paused-frame rows must not open namespace variables (whoever lands second); #381 append conflicts in 5 files. Tests run: 79 py (new tests fail 3 on main), ui.test 130, browser notebook-variables 3. Clean merge with main 5052500. | | #353 | Workload Capacity use card (re-confirm) | PASS at ca9d14b | 9.2 | Last nit fixed: a run with an unreadable start time is no longer counted as recent (workload_service.py:303). Tests run: workload_capacity_use, workloads and rpc_surface 32 passed. Clean merge with main 5052500. | | #392 | Optimize > Settings history tab (re-confirm) | PASS at 6cc5df9 | 9.2 | Up from 9.0; all three nits fixed in 6cc5df9: the tab, How this works and docs/optimize/README.md say anyone who can read the central lakehouse sees the history, including tenant settings an administrator read; repeated failed reads collapse to one line per scope kind with a count and the latest reason (settingsHistoryGaps); the probe is adopted as app/tests/browser/settings-history.test.cjs. Tests run: ui.test 130; browser settings-history and optimize 8 passed. Clean merge with main 5052500. | | #389 | notebookutils.notebook get, list, getDefinition (on #374) | PASS at 1734c84 | 9.0 | Diff over #374 61969a6. get/list GET /workspaces/{ws}/notebooks and getDefinition makes only the getDefinition POST, all as the signed-in person; create/update/updateDefinition/delete raise NotImplementedError pointing to Publish to OneLake and call nothing; fabric_run._FABRIC_ONLY flags them. Workspace defaults to the attached lakehouse's, refuses with neither. No token in items, lists, definitions or errors. Should-fix before merge (AGENTS.md: untested Fabric integrations keep Preview): mark the notebookutils docs row or section Preview, since it reads Fabric live and is untested against a tenant (same for #374). Nit: maxResults=-1 drops the last item (probe r389_notebook_items_probe.py 8 passed 1 failed). Tests run: notebookutils, rpc_surface, audit and validate 89 passed; ui.test 127. Clean merge with main 5052500. | | #353 | Workload Capacity use card (re-grade) | PASS at 76c008a | 9.1 | Up from CONDITIONAL 8.7. Card heading "runs from this app, last 30 days", empty state "No runs started from this app in the last 30 days." (browser-asserted), plus a standing line that Fabric-started runs aren't counted, pointing to Optimize > Cost and savings; user guide and docstring match; ui.test conflict resolved. Nit still open: an unreadable start time counts as recent ((parse_time or since) >= since). Tests run: 52 py, ui.test 130, browser workload-capacity 4. Clean merge with main 5052500. | | #359 | Notebook Recent runs panel (re-grade) | PASS at 14c4c82 | 9.2 | Up from 9.0; both nits fixed. Runs follow the linked Fabric item id when known, else name within the publish workspace, name alone only with no workspace; tests exclude a same-named notebook in another workspace. Refresh asks Fabric only for this notebook's open job ids via a new optional fabric_runs(job_ids) filter (default unchanged). Merge append-only. Tests run: 56 py, ui.test 130, browser notebook-runs 3. Clean merge with main 5052500. Also on #341: full browser run 97/98, the one failure sql-compat "a long query is checked only when asked", 3/3 alone (flake, not #341's); test_kernel_process passed. | | #392 | Optimize > Settings history tab (tenant and capacity settings) | PASS at 071b381 | 9.0 | UI only over the merged engine: opening the tab calls only tenant_settings_history (reads fdten_/fdcap_ tables, writes nothing); Fabric is read only from the two buttons; the first read's "Confirm to continue." PermissionError opens a dialog naming the tables, Cancel never approves, OK sends approve:true once; a non-admin tenant read is recorded unreadable with a plain toast; failed reads are listed as a gap; removals per #294/#351; permissions.md updates the existing Tenant.Read.All and Capacity.Read.All rows, no new scope; hostile names render as text; How this works names all six tables; Optimize page is Preview; rail unchanged. Nits: say plainly in the tab and tenant docs that anyone who can read the central lakehouse sees tenant settings an administrator read (security groups included), as #343 now does; non-admin presses pile up gap rows when no admin has read; no browser test of the tab ships (probe could be adopted). Tests run: 93 py, ui.test 130, browser optimize 5; probe r392_settings_history_probe.test.cjs 3/3. Clean merge with main 5052500; CI queued when checked. | | #341 | UX-006 Settings Advanced (re-confirm, merge of main 5052500) | PASS at 9ae6620 | 9.2 | Holds. Merge-only since 2b315e7; remerge diff touches ui.test.cjs alone, both sides kept. Tests run: ui.test 131; browser settings-advanced 1; app_settings and rpc_surface 9 passed. Clean merge with main 5052500. | | #388 | Notebook comments | PASS at be34e75 | 9.1 | Threads in metadata.fabric_desktop.comments via NotebookStore.update_extra (re-read, change, tmp + os.replace under a class-level _write_lock that save now also holds; merge_saved keeps them). Probe r388_comments_probe.py 7/7: 60 concurrent saves + 60 comment adds lose neither; a stale screen save keeps threads; published ipynb has no comment text (fabric_ipynb builds from cells); audit records text as "(given)"; bad line ranges refused. UI renders text nodes only; delete is a danger confirm; edit and delete only your own comments; a thread with others' replies can't be deleted. Local feature, no Preview tag needed. Nits: author falls back to "You" before the authenticator exists and every signed-out person is "You" (one can edit another's after a Git pull); the account email goes into the file and Git, so say so in the docs; check that restoring a version keeps comments once #346 lands. Tests run: 114 py, ui.test 130, browser notebook-comments 5. Clean merge with main 5052500. | | #376 | Notebook resources folder (re-review) | CONDITIONAL PASS at 9f695ce | 8.8 | Up from 8.5; fixes in the main-merge commit (remerge diff; audit.py and service.py keep both sides; delete goes through #320's soft delete). Closed: _PREFIXnow^(?:./)?builtin[/\](bare word left),visit_JoinedStrrewrites only an f-string's leading text, rewrite only when the folder exists,..clamped; resources_dir set for PC schedules (schedule_service.py:156) and run_cells (executions.py:296); polars test. Probes: r376_resources_probe.py 22/22 (was 19/22); r376b_rewrite_probe.py 12 passed 2 failed. Condition: a constant on the right of+or as a non-first join argument is still rewritten:base + "builtin/x.csv"with an abfss base becomes a garbled OneLake target, andposixpath.join(onelake, "builtin/x.csv")becomes the bare local path (a OneLake read or write silently goes local). Same class as the fixed f-string case, only when a resources folder exists; leave these as written or document them, with tests. Nits: dict keys starting builtin/ are rewritten (documented); no run_cells test. Tests run: 182 py (process-kernel suite green in a clean worktree), plus executions/prove/validate/side-by-side 134 passed 2 skipped; ui.test 130; browser 10. Clean merge with main 5052500. | | #372 | Living interface (re-confirm) | PASS at bbada0a | 9.2 | Up from 9.1; should-fix closed. app_settings.load: an IT policy of forge_animations:false now sets motion_level 0 with source policy unless the policy sets motion_level itself, so the Settings radios lock; a person's own old false still yields to a level they pick later; test_app_settings covers both; azure-setup.md and forge-animations.md updated. Tests run: app_settings, rpc_surface and migration probe 11 passed; ui.test 141. Clean merge with main 5052500; lands after #325. | | #390 | Notebook editor power features (re-grade) | PASS at 4be823e | 9.1 | Up from CONDITIONAL 8.9. runCell (notebook.js:1156) now opens a collapsed section and scrolls to a cell that errored in it; Run all still stops there; new browser test, and probe r390_cells_probe.test.cjs now passes. Range select and Find over hidden cells go to a follow-up after the last of #338, #347 and #390 lands. Tests run: ui.test 130; browser notebook-cells plus probe 13 passed. Clean merge with main 5052500. | | #383 | Notebook editor: drag into cells (re-grade) | PASS at 0ac0c46 | 9.1 | Up from CONDITIONAL 8.7. 2785e12: readSnippet and the table click handler (app.js:1475, 1514) now use JSON.stringify, closing the same flaw on main's click path; Spark SQL names that aren't plain identifiers get backticks (with `` escaping) in the SQL option and SQL-cell drops; ui.test covers an injection-style file name and a backticked table name. Probe r383_quoting_probe.cjs: 0 of 30 cases unsafe (was 3). Tests run: ui.test 130; browser notebook-drag 4. Clean merge with main 5052500. | | #347 | Multi-select (re-grade) | PASS at 4d4fd5d | 9.1 | FAIL cleared.undoDeleteGroup (nbselect.js:133-141) restores the merged head only if its text still equals the merged text; otherwise it restores just the other cells, leaves the edited cell and shows a toast. New browser test covers typing after a merge; probe r347_merge_undo_probe.test.cjs now passes. The fix sits in the main-merge commit. Tests run: ui.test 131; browser notebook-select plus probe 9 passed. Clean merge with main 5052500. Note: #390 (collapsed sections) must make range select skip hidden cells, whichever lands second. | | #390 | Notebook editor: collapse sections, cell titles and tags, duplicate, drag to move | CONDITIONAL PASS at 47c5e79 | 8.9 | Engine change is metadata round-trip only (notebook.py _cell_metadata/_cell_meta/_merge_cell_metadata): jp-MarkdownHeadingCollapsed and the Databricks cell title, other Databricks keys kept (tested). Holds: Run all runs hidden cells; duplicate gets a new id/cell_id, same source, no outputs, drops parameters and collapsed; titles and tags render as text (hostile values from a file inert); tag regex; parameters tag goes through toggleParams; moving into a collapsed section opens it; J/K skip hidden cells; Move up/down without a mouse; docs linked. Condition: a cell that fails inside a collapsed section stays hidden while Run all stops (probe: visible m1, m2, c3 with c2 in error), although nbcells.js says revealCell covers run errors; call revealCell on a failed run and add a browser test. Nits: drag not undoable (as main's Move); frozen cells can be dragged and duplicates stay frozen (say so); collapse state dirties the file and Git; hidden cells unreachable by Find (whichever of #338 and #390 lands second should reveal matches); #347 conflicts in notebook.js and others, and its range select must skip hidden cells. Tests run: 45 py, ui.test 130, browser notebook-cells 6 and keyboard 4; probe r390_cells_probe.test.cjs 5 passed 1 failed. Clean merge with main 5052500. | | #386 | Notebook rich outputs (displayHTML, IPython.display stand-in, Markdown/JSON, mime bundles, clear_output) | FAIL at 94b8cf0 | 7.7 | Automatic: high-severity regression. Every kernel calls ipython_display.install(), which puts a stand-in in sys.modules["IPython"]; matplotlib's pyplot then reads IPython.version_info and every plot errors (AttributeError: module 'IPython' has no attribute 'version_info', reproduced with Kernel().run("import matplotlib.pyplot as plt\nplt.plot([1,2,3])\nplt.show()")). matplotlib ships and the docs say charts show as images; test_notebook_parity::test_matplotlib_figures_show_as_images fails on #386 and passes on main; CI hasn't run (conflicts in ui.test.cjs and styles.css). Fix: resolve IPython/IPython.display only when cell code imports it (e.g. a sys.meta_path finder), with a test that plots after a kernel is built. Security holds: HTML stays in main's htmlFrame (sandbox allow-scripts, no allow-same-origin, srcdoc); browser probe found parent/top, __TAURI__, localStorage, cookies and top navigation blocked; Markdown escapes raw HTML and drops javascript:/data: links; JSON is text nodes. Older gap: csp null lets the frame make network requests (CSP follow-up after #242); WebView2 iframe IPC injection needs a Windows check. Tests run: 58 py (new tests fail 6/6 on main); parity/pipeline/places 56 passed 2 failed (matplotlib regression; pipeline step-folder test flaky on main too); ui.test 126; browser validate 3; probes r386_html_sandbox_probe.test.cjs, r386_ipython_probe.py. | | #387 | Prove: breakpoints and stepping | CONDITIONAL PASS at 548effa | 8.8 | sys.settrace on the cell's thread, tracing only cell code; both kernels tested; F5/F10/F11 act only while paused; Preview (debug). No deadlock: kernel_host threads requests, eval waits at most 10 s, within watchdog QUICK 60 s. Secret masking hides on screen only: repr(s), s[::-1], s.upper() and [s] show the secret via Evaluate, the same as main's watches, so no new exposure (nit: say derived values aren't hidden). Conditions: (1) Cancel can't end a cell stuck in an Evaluate expression: Kernel.interrupt returns once debugger.stop() queues a stop the busy thread never reads (stopped False on every Cancel); fall through to the normal interrupt, with a test; (2) no browser test for the debug panel or gutter; (3) styles.css conflict with main 5052500. Against #354: text conflicts in kernel_host OPS and server METHODS only; ops differ (debug vs inspect), keep both. Tests run: 66 + 51 py passed (pipeline stop-after-write test flaky on main too); ui.test 127; browser keyboard 4, validate 3; probe r387_debugger_probe.py 3 passed 2 failed. | | #372 | Living interface (on #325) | PASS at 84b9191 | 9.1 | Graded at the merge of #325's 4391a74. motion_level 0-3 with legacy forge_animations mapped (probe r372_motion_migration_probe.py 13/13); Preview effects runs a real local Wait/SetVariable/Wait pipeline whose only write is a local run-history row, stated in the dialog; Anvil Strike is one forgeEvent after a successful deploy; UX's #361 changes verified. Earlier motion-effects failures don't reproduce on the same code (a0506f3 now 4/4; 84b9191 4/4 three times), so environmental (shared-container load). New tests fail on #325's code (9 ui, 3 py, 4 browser). Budget bench: p95 16.8 ms, 0 long tasks. Should-fix before merge: an IT policy of forge_animations:false used to lock animations off and now yields to a user motion_level (map policy false to policy level 0). Note for Chris: motion_follow_system=false lets the level apply despite Windows reduced motion (per spec, policy-lockable, default follows Windows). Tests run: ui.test 141, py 123, browser forge-animations 5 and motion-effects 4. Clean merge with main 5052500; lands after #325. | | #332 | Replay cleanup (re-confirm) | PASS at 8c83e8d | 9.2 | Nit fixed: replay_sandboxes uses x.get('id'), so an entry without an id is listed, never deleted, instead of raising KeyError; test_replay asserts it. Tests run: replay, rpc_surface, audit and probe r332b_odd_entries.py 42 passed. Clean merge with main 5052500. | | #348 | UX-019 shortcuts dialog (re-confirm, merge of main 5052500) | PASS at a5d3cb2 | 9.0 | Holds. a558cea registers page-only keys with when(Ctrl+Enter on Source control, Ctrl+S and Tab in the entity file); Ctrl+S save notebook is registered (app.js:2119), closing half the earlier nit; Alt+Left/Right belongs to #345 and isn't in the dialog yet (follow-up once both land). Merge commit also fixes two drifts from main, both verified: a fabricEdit Preview row in docs/README.md and an All notebooks help link (heading added). Tests run: ui.test 132; browser shortcuts-dialog 4, keyboard 4, confirm-dialog 4; sql-compat 9/9 three times alone (owner's full-run flake not reproduced). Clean merge with main 5052500. | | #345 | Back/Forward (re-confirm, merge of main 5052500) | PASS at 6aea04e | 9.1 | Holds. f10a6ff: user-guide line and navKey comment (app.js:434) that Alt+Left/Right inside the embedded Fabric portal stay in that page. Verified by reading main.rs fabric_view_show, not run: the portal is a separate child webview (window.add_child), so its key presses never reach navKey; the guide's hedged wording and pointer to the Back/Forward buttons are accurate. Remerge diff touches ui.test.cjs alone. Tests run: ui.test 136; browser back-forward 4, keyboard 4, home-reuse 5. Clean merge with main 5052500. | | #344 | UX-011 error panel with Retry (re-confirm, merge of main 5052500) | PASS at 8728c06 | 9.1 | Holds. Merge-only since 4a23d36; remerge diff touches ui.test.cjs alone and keeps theretry: againassertion. Tests run: ui.test 133; browser error-panel 3, confirm-dialog 4, keyboard 4. Clean merge with main 5052500. | | #340 | Home showing at once (re-confirm, merge of main 5052500) | PASS at 473bae6 | 9.2 | Holds. Merge-only since 1335ed4; remerge diff touches ui.test.cjs alone, both sides kept. Tests run: ui.test 133; browser home-at-once 1, home-reuse 5, ready-to-work 2, create-tiles 4, keyboard 4. Clean merge with main 5052500. | | #355 | Workloads continuation note (re-grade) | PASS at 0db734a | 9.2 | Up from CONDITIONAL 8.8: #336 now shown as merged (531107e) in the base line and Next action; #331 still correctly a draft with Quality PASS (not on main). Docs only. Clean merge with main 5052500. | | #347 | Multi-select (re-grade) | FAIL at 8f7c3b3 | 8.6 | Automatic: data loss, same class as #338. Language refusal and the single merge path (mergeBelow calls mergeSelected) hold, but undoing a merge after typing in the merged cell resets it to its pre-merge text:undoDeleteGroup(nbselect.js:136) callssetSource(head, before)whenever the head cell still exists, without checking it still holds the merged text. Probe r347_merge_undo_probe.test.cjs loses a line typed after the merge. Fix: restore the head only when unchanged; otherwise restore just the removed cells, leave the head and say so; add a browser test. Tests run: ui.test 125, browser notebook-select 6. Conflicts with main 5052500 in ui.test.cjs, styles.css and zensical.toml. | | #378 | SQL local target (KF-DE-027) | CONDITIONAL PASS at 0a5d15b | 8.3 | Classifier holds for comments, case, multi-statement and CTE + DELETE; COPY, ATTACH, INSTALL and LOAD refused even with confirm; EXPORT/IMPORT DATABASE fail to parse (nothing runs). Strictly safer than main, where local_query ran everything unpoliced. Conditions: (1)CREATE OR REPLACE TABLE orders AS SELECT 1on an existing project table ran without confirm (10 rows to 1), and INSERT OVERWRITE likewise, against the PR's own "removes a table or every row asks first" rule; (2) the refusal text and sql-execution.md say nothing outside the project runs, but read_csv/read_text of outside files completes,SET profiling_outputwrote a file outside the project, and the engine has autoinstall/autoload, external access on and configuration unlocked; lock it down (allowed_directories, no autoinstall, refuse path/extension SET/PRAGMA) or correct the claim. Synchronous local_query unpoliced: not a blocker (RPC-only, no UI caller, not on the localhost API, unpoliced on main); follow-up. Nit: parse failures reported as error_kind "sql". Probe r378_local_target_probe.py 9 passed 4 failed. Tests run: 135 py, ui.test 124, browser sql-exec 11 and sql-editor 15; new tests fail on main. Clean merge with main 5052500. | | #377 | Live test pack v2 (KF-DE-005) | CONDITIONAL PASS at db8c858 | 8.7 |cleanup(livetest.py:515-533) trusts ledger.json: an entry with kind notebook, a name startingfdlt_and any item id deletes that item through the genericDELETE /items/{id}(main's path reached only lakehouses), and it never reads the live item's type or name; the check isfdlt_, not fdlt__, contrary to live-testing.md. Reaching it needs an edited or mixed-up local ledger; delete_item is called only from cli live-test (not RPC, UI, localhost API or CI) and notebook.run only with --run-in-fabric. Conditions: before delete_item, fetch the item and require type matching the ledger kind, displayName equal to the ledger name and the fdlt__prefix; resolve the docs/permissions.md conflict (keep both Item.ReadWrite.All additions). Nit: check-then-create race on "fails rather than overwrite". Probe r377_ledger_delete_probe.py 3 passed 2 failed. Tests run: 77 py, ui.test 123; new tests fail on main. | | #346 | Notebook version history (re-grade) | PASS at 4bfacaf | 9.1 | Up from CONDITIONAL 8.8. Both conditions closed, inside the main-merge commit (remerge diff): a View button callsnotebook_version, so test_rpc_surface passes; _keep_versioncatches Exception and logs;_readrequires id (fullmatch), numeric t, kind in KINDS, hash and at, and_allrequires the id to match the file name, so bad records are skipped. Merge resolutions in audit.py and service.py keep both sides (NotebookFilesMixin and NotebookVersionsMixin). Tests run: notebook_versions, rpc_surface, audit and probe r346_versions_probe.py 44 passed (the KeyError case now passes); ui.test 130; browser notebook-versions 3. Clean merge with main 5052500. | | #350 | Notebook export and import (re-grade) | PASS at 3bcab4c | 9.3 | Up from 9.2; both nits fixed in ad7d4f4: BadZipFile, zlib.error, EOFError and NotImplementedError inside an entry give "... in the archive is damaged" and nothing is imported; the 128 MB total pre-checks the header size and then countslen(raw)actually read. Tests run: notebook_formats, rpc_surface, audit and probe r350_formats_probe.py 52 passed, 1 failed (the NUL-in-name case, a probe flaw: zipfile cuts the name itself); ui.test 130; browser notebook-formats 3. Clean merge with main 5052500. | | #332 | Replay cleanup (re-grade) | PASS at eb9af6a | 9.1 | Up from CONDITIONAL 8.6. replay_sandboxes is out of METHODS and READ_ONLY (used only by replay_check); test_rpc_surface passes. replay_delete_outputs builds a path only when the id matches replay-YYYYMMDD-HHMMSS-hex6 and both workspace and lakehouse ids fullmatch a GUID; any other entry stays listed with a problem line. Probe r332b_odd_entries.py (no id, trailing newline, GUID + "/../x", id + "/../../Tables"): only the good entry reached _proof_delete_folder. Keep as a normal notebook asks first (confirmDialog) when outputs remain; docs updated. Remerge diff keeps both ui.test additions. Nits: an entry without id makes replay_check fail with KeyError 'id'; no test for the Keep confirm. Tests run: replay, rpc_surface and audit 41 passed; ui.test 126. Clean merge with main 5052500. | | #383 | Notebook editor: drag tables and files into cells, right-click to load | CONDITIONAL PASS at e244f5b | 8.7 | Graded at e244f5b (bab6364 superseded): no pandas option remains; docs say pandas isn't in the engine yet. Drops and menu items only insert code (undoable; nothing runs); frozen cells refuse. Docs linked. Condition: the Polars load reusesreadSnippet(app.js:1514), which writes the path into "..." unescaped, while the new Spark/text/drop code uses JSON.stringify. Polars is now the default for drops and the first menu item, so a lakehouse file named with a quote or newline gives broken code, and a crafted name gives code that calls os.system when the user runs the cell. Probe r383_quoting_probe.cjs (parse only): 3 of 30 unsafe, all the Polars load. Same flaw exists on main's click path; fix with JSON.stringify in readSnippet. Nits: SQL option and the table click handler (app.js:1475) don't quote names. Tests run: ui.test 124; browser notebook-drag 4, keyboard 4. ui.test.cjs conflict with main 5052500. | | #325 | Forge animations (re-confirm, merge of main 5052500) | PASS at 4391a74 | 9.3 | Holds. Remerge diff resolves ui.test.cjs, styles.css (Forge fx block and Notebook files block both kept, markers gone) and zensical.toml (both nav entries kept); notebook.js differs from ab04b00 only by main's "Save a copy" button, with the cellFx/wolfTrack call sites intact. Tests run: ui.test 136; browser forge-animations 5, notebook-files 4; app_settings and rpc_surface 9 passed. Clean merge with main 5052500. | | #356 | Share this PC's notebook runs to Optimize | PASS at e7e1feb | 9.1 | Without approve=True nothing is written (test asserts the lakehouse is empty after the ask); stable per-PC run ids and the existing skip-present write path make a reshare add 0 (tested); refuses unless connected; no new scope; under Optimize's Preview banner. Field shapes match real history (lakehouse.py:296-299) and schedule rows. Minor: confirms by raising with.wouldrather than returning needs_confirm; reads up to 100,000 history rows per call. Tests run: 30 passed; new test errors on main. Clean merge. | | #355 | Workloads continuation note (docs) | CONDITIONAL PASS at 7230561 | 8.8 | Stability-round PRs confirmed merged. Condition: #336 is merged (531107e) but the note still says "in the fix round" and "Land #336"; mark it merged. Clean merge. | | #353 | Workload Capacity use card | CONDITIONAL PASS at 5156aa5 | 8.7 | Reuses existing figure helpers; Preview; read-only registered; a run with no figure makes the total Incomplete. Defect: the card counts only runs this app started plus the schedule's last run (inventory.py:331-348), while Recent runs on the same page reads Fabric's job history (workload_service.py:319-331), so a Fabric-scheduled item shows "No runs in the last 30 days." (workloads.js:224) beside a full Recent runs list. Conditions: scope the wording and guide to runs started from this app, or count the job history; resolve the ui.test.cjs conflict. Minor: an unreadable start time counts as recent. Tests run: 52 py, ui.test 124, browser 4; new tests fail on main. | | #335 | Lineage views (re-confirm) | PASS at c46534c | 9.0 | Holds. Main-merge only: the remerge diff touches app/tests/ui.test.cjs alone and keeps both appends. Tests run: ui.test 130 passed; browser mesh-overview 4 passed. Clean merge with main 5052500. | | #376 | Notebook resources folder (L4) | CONDITIONAL PASS at 713c403 | 8.5 | Names checked (traversal, UNC, devices, NUL); add and rename reserve with xb and never overwrite (8-way race: one wins); notebook rename and move carry the folder and refuse an existing target; delete keeps the folder (documented); resources_dir reaches the process kernel, Validate, Prove and Side by side. Conditions: (1) the builtin rewrite is too wide:_PREFIX(notebook_resources.py:33) matches the bare wordbuiltin, _BuiltinPaths.visit_Constant(notebook.py:639) rewrites every string constant including the middle of an f-string, and it runs in every saved notebook because_resources_dir()doesn't check the folder exists. Sodf.kind == "builtin"silently matches nothing andf"{base}builtin/x.csv"with an abfss base becomes a changed OneLake target. Rewrite onlybuiltin/or./builtin/ prefixes, not inside f-strings unless first, only when the folder exists, with tests. (2) Local schedules (schedule_service._run_notebook_here, :146) and integrations run_cells(executions.py:295) never set resources_dir; set it or document the gap. (3)test_builtin_paths_in_a_cell_read_the_resources_folder` imports pandas, which isn't a dependency; CI never ran on this head (ui.test.cjs conflict). Nits: doc examples use pandas; doc's os.path.join claim is wrong; Prove/Validate writes to builtin/ land in the real folder. Tests run: 138 passed 1 failed py (process-kernel suite green in a clean worktree), ui.test 125, browser 6; probe r376_resources_probe.py 19 passed 3 failed. | | #380 | Fabric and Databricks unified, Phase 1 (engines/ + connection profiles) | PASS at 0641d12 | 9.0 | Scope as claimed: new engines/ modules, connprofiles.py and docs/engines.md (Preview, "no screen in the app yet"); nothing imports them and no service/server/kernel/UI/METHODS change. Profiles hold only env:/credman: references; save/load/import refuse secret values (redact.secrets plus Databricks PATs) without echoing them; export blanks references; hybrid can't share a secret; .databrickscfg reads never return token/client_secret. No network at import; Databricks host must be https .azuredatabricks.net with no user, path or query; no new scopes. Packaged via packages.find fabric_desktop. Nits: ids use re.match so "x\n" passes (use fullmatch); ProfileStore.list only finds p-.json, so a saved id like "abc" isn't listed; local_sql docstring allows COPY TO/ATTACH on read-only files, so Phase 2 should apply #378's refusals. Tests run: engines, connprofiles, rpc_surface, audit 79 passed; probe r380_profiles_probe.py 19 passed, 2 nits. Conflict in zensical.toml with main 5052500. | | #344 | UX-011 error panel with Retry (re-confirm) | PASS at 4a23d36 | 9.1 | Holds. New commit wires Retry to the read-only list_workspaces in loadWorkspaces (app.js:317-319): Retry refills the list and redraws, and a failed Retry goes back through attempt, so troubleshooting.md is now true. Tests run: ui.test 128 passed; browser error-panel 3 passed. ui.test.cjs append conflict with main e9ce1f7. | | #338 | Notebook find and replace (re-grade) | PASS at 47c7a84 | 9.1 | Earlier automatic FAIL cleared. Regex replace now runs on the whole cell text at the match position (nbfind.js findReplacement): a node probe of lookbehind, lookahead, \b, ^ without m, $1, $<name>, $&, empty matches, plain-text $& and a bad regex gave 16 of 16 expected results. Undo replace all records before/after per cell and skips any cell edited or removed since, saying how many it left (nbfind.js:215-230); browser test covers it. Tests run: ui.test 125, browser notebook-find 7. ui.test.cjs conflict with main e9ce1f7. | | #335 | Lineage views (re-grade) | PASS at 7e65806 | 9.0 | Earlier CONDITIONAL cleared: browser mesh-overview 4 of 4 pass (tests 3 and 4 failed before). ui.test 124 passed. ui.test.cjs conflict with main e9ce1f7. | | #340 | Home showing at once (re-grade) | PASS at 1335ed4 | 9.2 | a11y nit fixed: the starting Home has one live status region; the other placeholders use loading(..., { live: false }), asserted by home-at-once.test.cjs:19. Out of scope: the loaded Home still has three live loading regions. Tests run: ui.test 128; browser home-at-once 1, home-reuse 5, ready-to-work 2, create-tiles 4, keyboard 4, mesh-overview 4. ui.test.cjs conflict with main e9ce1f7. | | #359 | Notebook Recent runs panel (Preview) | PASS at 2981a6a | 9.0 | Reads the two run logs only; never starts a job; Preview-gated. READ_ONLY is consistent: notebook_runs reuses fabric_runs, already READ_ONLY, whose refresh writes only the local status cache fabric_runs.jsonl (cloud_service.py:71-88), no OneLake or tenant change. Nits: Refresh status polls every unfinished run the app started (up to 500), not just this notebook's; Fabric runs match by notebook name only (rows show the workspace). Tests run: notebook_runs, schedules and audit 30 passed; ui.test 125; browser notebook-runs 3. Clean merge with main e9ce1f7. | | #343 | X-ray findings to the central lakehouse (re-grade) | PASS at 4658679 | 9.2 | Up from 9.0 at 8916b5a. The read exposure is now stated plainly in How this works, the user guide, optimize/README.md and xray-fixes.md: anyone who can read the central lakehouse sees the workspace, lakehouse and table names the scan reached, and app-side hiding is a courtesy, not security. _xray_share uses the storage token the scan took on the calling thread (_optimize_lake(token=...)), and the test asserts that exact callable reaches the lakehouse. A progress phase names the write. Nit: a scan longer than the token lifetime would fail the share step, which is recorded and never fails the scan (same token the scan already uses for reads). Tests run: optimize, xray and rpc_surface 29 passed; ui.test 123 passed. Clean merge with main e9ce1f7. | | #346 | Notebook version history | CONDITIONAL PASS at 6adddc5 | 8.8 | Versions live under notebook-versions// with temp-then-move writes; bad ids and names (traversal, absolute, UNC, drive) are refused; restore keeps a "before restore" copy first; delete uses a danger confirm; retention 5-min coalesce, 30 days, 100 automatic, 200 checkpoints. Conditions: (1) test_rpc_surface fails because notebook_version has no UI caller; (2) a version file with nb but no kind/t/hash makes save_notebook return KeyError: 'kind' after the notebook was already saved, and listing breaks the same way, because _keep_version (notebook_versions_service.py:40) only catches OSError and ValueError. Catch Exception there and validate fields in _read. Nit: id check uses re.match, prefer fullmatch. Tests run: 45 passed 1 failed py, ui.test 125, browser 3; probe r346_versions_probe.py 20 passed 1 failed. ui.test.cjs conflict with main e9ce1f7. | | #349 | Access cache (on #262) | PASS at 4692d1b | 9.0 | Reads come from the cache; every write is named in "How this works". Role changes only via central_restrict with its own access schema and AccessCacheReaders role; approve needs the shown plan and re-checks it. Against the real central_restrict (plain PermissionError, no .changes) approve always refuses and writes nothing (puts == [], test ran unskipped). Access tab is Preview. Nit: "Who may read it" always refuses until the exc.changes follow-up, and its "Update KratosForge and try again" message is misleading; hide, disable or reword. Tests run: 45 py, ui.test 124, browser 4. Clean vs main; lands after #262. | | #350 | Notebook export and import, including .dbc | PASS at 8b40543 | 9.2 | Archive limits enforced (500 entries, 16 MB entry, 128 MB total, 200 notebooks); traversal, absolute, drive and backslash paths refused before type filtering; encrypted entries refused; names sanitized. Import never replaces (open(..., "xb"), "(2)" suffixes, partial files removed); export never overwrites. HTML export escapes source, output, name and markdown, drops HTML outputs and bad base64 images, and sets default-src 'none'. Preview tagged, audited, documented. Nits: map BadZipFile/zlib.error to a friendly ValueError (a lying CRC shows raw BadZipFile, nothing written); count len(raw) for the total. Tests run: 31 py, ui.test 125, browser 3; probe r350_formats_probe.py 16 passed, 2 non-defects. ui.test.cjs conflict with main e9ce1f7. | | #351 | Capacity tenant-setting overrides for Fabric admins (+ #294 nits) | PASS at da71cbf | 9.2 | With admin=True only, an admin's read adds each capacity's overrides (GET /v1/admin/capacities/delegatedTenantSettingOverrides, Tenant.Read.All, the scope already in auth.py and now named for this in docs/permissions.md) as override:<setting> rows with an '(admin)' source. A non-admin's attempt is recorded as unreadable and the capacity read still goes ahead. The admin read covers every capacity, so a missing override is recorded as removed; a failed or paged-out read raises and is recorded, never compared. #294 nit fixed: a field missing from one non-admin response is no longer recorded as removed. Writes stay insert-only into the existing fdcap_ family, after the existing first-time confirm. Same exposure as the tenant settings history: anyone who can read the central lakehouse sees the overrides. Tests run: test_capacity_history, tenant history and rpc_surface 23 passed; the new capacity tests fail or error with main's code. Clean merge with main 2182510. | | #344 | UX-011: error panel with Retry; friendlyError check order; toast roles | PASS at 035c20b | 9.1 | Retry re-runs only reads: SQL run(query) or a page reload (query.js:388) and shortcut reads (shortcuts.js:240/246/397); local SQL can't write lakehouse tables, and local changes still confirm. Error toasts are role=alert and others role=status, not alert on everything; a toast stays while hovered or focused. Engine and local-file errors are now matched before Fabric HTTP patterns (side effect: a sidecar PermissionError gets the local-file wording, low impact). Nit: attempt(..., {retry}) exists but no caller passes it, so the toast Retry never shows, while troubleshooting.md:5 says toasts have Retry. Tests run: ui.test 128 passed; browser error-panel 2, sql-exec 11, sql-editor 15 passed. Clean merge with main 2182510. | | #345 | UX-008: Back/Forward and reopen the last page | PASS at d3ad42e | 9.1 | navKey ignores Alt+Left/Right in input, textarea, select, contenteditable and .cm-editor, and while a dialog is open. Startup reopens the last rail page (an item page maps to its parent rail page), the same as clicking it, so no item page re-runs and nothing writes on open. The embedded Fabric view is a separate child webview (main.rs:603-647), so its keys never reach the app and nothing is handled twice. Inferred from code, not run on Windows: WebView2's own browser keys aren't disabled, so Alt+Left inside the Fabric view probably moves Fabric's own history; the docs don't say. Nit: localStorage written on every chrome render. Tests run: ui.test 131 passed; browser back-forward 4, keyboard 4, home-reuse 5 passed. Clean merge with main 2182510. | | #347 | Notebook: select several cells; run selected cells and selected text | PASS at 51f34c2 | 9.1 | Run selected runs only non-frozen, non-empty code cells in notebook order (via runCells; runCell's frozen check stops one too). Run selected text works in code cells only; the text is dedented, keeps the cell's SQL/HTML magic and runs as runCell(cell, {code}); a partial run sets cell.partial and doesn't mark dependencies as run. Delete selected keeps frozen cells and undoes as a group. The capture-phase key handler skips inputs, and inside CodeMirror acts only on Ctrl+Shift+Enter. Nits: merging selected cells can't be undone; merging a Python cell with a %%sql cell leaves the second cell's magic line mid-cell. Tests run: ui.test 125 passed; browser notebook-select 5, keyboard 4, validate 3 passed. Clean merge with main 2182510. | | #348 | UX-019: shortcuts dialog from a registry; one Preview list | PASS at a848591 | 9.0 | The duplicate PREVIEW_FEATURES key was a real bug on main: replay appears twice (features.js:47 'Failure replay bundles', :75 'Quarantine replay'), the later wins, so Settings' 'you can hide these' text never named Failure replay bundles, although hiding still worked. Renamed to quarantineReplay, and a test fails on any duplicate id. Each isShortcut id matches the keys the old e.key checks used; '?' is ignored while typing (CodeMirror included), with modifiers, or with a dialog or the command bar open. The docs Preview table is tested against PREVIEW_FEATURES. Nit: docs say '?' shows every shortcut, but Ctrl+S (save notebook) and #345's Alt+Left/Right aren't registered. Tests run: ui.test 127 passed; browser shortcuts-dialog 3, keyboard 4, confirm-dialog 4 passed. Clean merge with main; ui.test.cjs append conflict with #344/#345/#347. | | #343 | Optimize: Estate X-ray records its findings in the central lakehouse (draft) | PASS at 8916b5a | 9.0 | After each scan, _xray_share calls Shared.record_analysis only when this PC is connected with write access and policy allows it (allow_optimize_lakehouse); otherwise it does nothing. It never fails the scan, and an error is kept with the result and shown. It writes rows only into existing fdopt_ tables (setup.write -> insert_new): no table is created without the existing confirm, and the MERGE skips rows already there. Access findings (people) and cost findings (one PC's estimates) are left out. The How this works panel, the X-ray result line and the docs name the write. Boundary note for Chris: X-ray reads every lakehouse the scanner can reach, and now writes those lakehouse and table names into the shared lakehouse. In the app, Opportunities shows each person only workspaces they can open, but shared.py says that isn't a security boundary: anyone who can read the central lakehouse reads every row. The docs' 'shows them to everyone who uses it' should say that. Tests run: test_optimize_service + xray tests 66 passed (2 of the new ones fail with main's xray code); ui.test 123 passed. Clean merge with main 2182510. | | #339 | KF-DE-035: dropped relationships named | PASS holds at 7196889 | 9.3 | relationships_left_out names each relationship dropped because its column isn't in the model ('fact.col to dim.col'), only where both tables are in the model (a missing table is already reported). The Deploy line shows it, and metadata-guide.md says so. Tests run: test_cloud 17 passed; ui.test 124 passed. Clean merge with main 2182510. | | #333 | KF-DE-011 doc: proof sandboxes nit fixed | PASS holds at 59f6c10 | 9.3 | The new section no longer lists proof sandboxes as PC copies (they are written to OneLake). Docs only. Clean merge with main 2182510. | | #337 | KF-DE-043: cost report no longer calls the scenario 'saved'; ranks by Fabric cost + calibrated avoided cost | PASS at 9c6d00a | 9.2 | costs.report renames the scenario's plain numbers to scenario_cu_hours / scenario_saved, and ranks items by cost plus evidence.avoided_cost (unknown counts 0) instead of cost plus the scenario. No UI reads the old saved or saved_cu_hours (estate.js uses the evidence dict), and cost-evidence.md names the rename. Capacity wording holds (QA-008): 'OneLake reads and writes from this PC still use capacity'; a price is not a charge. Note: cost_report over the local API loses the two old field names, a small break for any external caller. Tests run: estate, measurement, cost, optimize and integrations tests 390 passed; ui.test 124 passed. Clean merge with main 2182510. | | #331 | Monitor > Operations How this works panels: Queue, Incidents, Run as (UI and docs) | PASS at 4a2e42d | 9.2 | Panels match the code. Incidents names every write (Acknowledge, Assign, Add note, Resolve, Check now and the 10-minute check); Check now calls incidents_evaluate without notify, so it never posts. Queue's 'no Fabric call' matches queue_list (incident_service.py:103), which reads only cached Fabric runs and schedules; Run as is read only. Docs anchors resolve. Tests run: ui.test 124 passed; browser operations-how + monitor-how 6 passed, 0 skipped. Clean merge with main 2182510. | | #335 | Staged roadmap: whole-lineage view per table (feature draft) | CONDITIONAL PASS at f385a14 | 8.6 | mfLineage is correct: hops deduplicated, cycles end, external reads shown as sources, downstream to products and the projects reading them (same link direction as meshflow.js:126); probed with a diamond and a two-table cycle. Condition: browser mesh-overview.test.cjs still asserts the old 'Comes from' / 'Read by' layout. Test 3 fails, and test 4 times out because test 3 doesn't navigate back; both pass on main (4/4). Update the test. Nits: column in mfLayer now unused; the inline grid-template-columns overrides the 900px one-column rule (overflow-x keeps it usable). Tests run: ui.test 124 passed; browser mesh-overview 2 passed, 2 failed. Clean merge with main 2182510. | | #338 | Notebook find and replace across every cell (feature draft) | FAIL at a126668 | 8.6 | Automatic failure, presented as working when it isn't: regex Replace re-runs the pattern on the matched text alone (findReplacement, nbfind.js: match.text.replace(re, withText)), so any lookaround or context-dependent pattern changes nothing. (?<=x)a -> 'B' on 'xa ya xa' finds 2 matches and returns 'a' for both; foo(?=2) -> 'bar' returns 'foo'; Replace all still toasts 'Replaced 2 matches'. Also, Undo replace all restores a snapshot with setSource, and typing in a cell doesn't clear it (cleared only at nbfind.js:133/181/238/251), so Undo silently discards edits made after Replace all. Fine: frozen cells skipped with a toast, outputs never searched, plain-text replace literal, bad regex reported, empty matches skipped, 5,000 cap. Fix: expand $-groups from the original match in the full cell text, and drop or verify the undo snapshot on any edit to a cell it covers. Tests run: ui.test 125 passed; browser notebook-find 5 passed; probe of the pure functions with node. Clean merge with main 2182510. | | #340 | UX-020: Home draws at once while components are checked; shared loading() and emptyState() | PASS at 7ae1dc7 | 9.2 | startingHome() (app.js:441) calls nothing during the check and isn't cached in homeCache; state.starting is cleared in checkComponents().finally before render(). New globals don't clash; the spinner uses the existing @keyframes spin and stops under reduced motion. Nit: the starting Home has four role=status regions at once, so a screen reader may say 'Loading' several times. Tests run: ui.test 128 passed; browser home-at-once 1, home-reuse 5, ready-to-work 2, create-tiles 4, keyboard 4, mesh-overview 4, all passed. Clean merge with main 2182510. | | #332 | Prove this notebook: delete replay sandbox outputs (draft, feature) | CONDITIONAL PASS at 9a2229f | 8.6 | Each replay_start records its sandbox (id, workspace, lakehouse, time) in the notebook's extras, kept after Keep as a normal notebook. Delete replay outputs deletes only Files/fabric_desktop/proofs/, with ids regex-checked against the format replay_start makes (prove_service.py:356 vs :385). It is refused while the replay is live, sits behind a danger confirm that names each folder and lakehouse, and keeps sandboxes it couldn't delete listed. Condition: the suite is red. test_rpc_surface test_every_rpc_method_has_a_ui_caller_or_a_listed_reason fails: replay_sandboxes is in server.METHODS but nothing in app/ui calls it (the UI reads sandboxes from replay_check). Drop it from METHODS or list it in NO_UI_CALLER. Nits: an entry whose id fails the regex is silently dropped from the list rather than kept; workspace_id and lakehouse_id from the notebook's metadata (a file that can come from Git) go into the DFS URL unchecked, so validate them as GUIDs. Tests run: test_replay, test_audit 37 passed, test_rpc_surface 1 failed; ui.test 124 passed. Clean merge with main 2182510. | | #333 | KF-DE-011: what local copies lose (docs only) | PASS at 7e1ba80 | 9.2 | security.md 'Data copied to this PC' and a pointer from permissions.md. Claims checked against code: retention sweeps only files/, staging/ and onelake-cache/ after local_retention_days (default 30), per retention.py and app_settings.py; local SQL is DuckDB over the Delta files (sql_exec.py:9), so 'RLS/OLS not applied on this PC' holds. No capacity wording; anchor and azure-setup.md link resolve. Nit: 'proof sandboxes' are listed as PC copies, but proof tables are written to OneLake (proof_runtime.py). Clean merge with main 2182510. | | #339 | KF-DE-035: Build model names columns Direct Lake can't read | PASS at 94c59be | 9.2 | semantic.left_out() names columns tmdl_type() can't map (array, map, struct). The result returns columns_left_out and the UI lists table.column (type). Relationships are kept only when both columns are usable; before, one on a dropped column stayed in the model, pointing at a column it doesn't have (old cloud_service.py:546-548). Replacing an existing model still asks first (danger confirm), so there is no new silent write. metadata-guide.md says both. Nit: the result counts relationships but doesn't name the ones dropped. Tests run: test_cloud 17 passed (the new test fails with main's cloud_service.py and semantic.py); ui.test 124 passed. Clean merge with main 2182510. | | #342 | KF-DE-008: local PySpark API pinned in tests | PASS at 6923898 | 9.3 | test_spark_local.py runs through spark_local's own alias and session (duckdb 1.5.6, constraints.txt:18). 24 SUPPORTED calls are checked by their results; 11 KNOWN_GAPS fail with 'move it to SUPPORTED' if one starts working; one test checks docs/notebooks.md names every gap. Tests run: 36 passed, 0 skipped. Clean merge with main 2182510. | | #336 | Failed PC scheduled-run Teams alerts through notify.Outbox (fix: webhook-leak gap) | PASS at 2feec1a | 9.2 | An alert Teams doesn't take is kept in schedule_alerts.sqlite3 and posted, marked Delayed, after the next run on this PC, for up to three days. This reuses the outbox the agent uses since #311. The outbox stores title, lines, a scrubbed error and the route name, never the URL: the URL comes from settings at send time. The immediate failure is scrubbed with _without_webhook, and a waiting alert's failed retry is wrapped as TeamsUnreachable with the scrubbed text before outbox.failed stores it. A lock under schedule_locks (_alerts, with the existing stale-lock expiry) means one run process sends at a time. send() never raises, so a run's own result is unaffected, and nothing is created when nothing waits. The tests assert a legacy connector secret is absent from the run record and from the sqlite file. Docs (user-guide Runs) name the file and the three-day limit. Tests run: test_schedules + notify/redact tests 98 passed; 4 of the new test_schedules tests fail with main's schedule_service.py. Clean merge with main 2182510. | | #330 | Staged roadmap: no LH_Keys MERGE once keys come from the platform (fix) | PASS at e3bc299 | 9.2 | _keys_database returns SQL_Keys (shared) or SQL_Platform when _keys_in_platform, else ''. Then the entity's keys card shows no MERGE and says where keys come from, Create template notebook is refused with a GateError giving the reason, and Surrogate keys names that database. Before this, the card offered a Spark MERGE into LH_Keys that would issue keys the platform never sees. Config reads only, no new writes. An environment still on LH_Keys keeps its MERGE (test covers Test while Dev has moved). Tests run: test_platform + meta/keys tests 90 passed; ui.test 124 passed. Clean merge with main 2182510. | | #327 | Developer profile: privacy conditions met | PASS at 25014d2 | 9.2 | (1) _progress_observe returns before anything when app_settings.value('show_preview') is false, so nothing is recorded and no toast is shown while Profile is hidden (new test). (2) The empty Overview and the first-flame toast both say 'Recording is on: notebooks that pass Validate are kept in a private record on this PC. Turn it off in Profile > Settings.' (3) Main merged, ui.test conflict resolved. Still references only, and still no automatic backfill. Tests run: test_profile, test_validate, test_audit, test_rpc_surface 55 passed; ui.test 125 passed; the r327 probe's secrets and idempotency checks pass, and its two Off-by-default checks fail as expected now that On is the default (Chris's call). Clean merge with main 2182510. Draft for Chris. | | #323 | Update splash: Release management's main merge | PASS holds at e807ba5 | 9.3 | Merge of main d188a53 onto bbd300a. The remerge diff shows only the ui.test.cjs append conflict, resolved by keeping both sides (the splash test and UX-018's schedule-remove test). Tests run on e807ba5 merged with current main: ui.test 124 passed; browser update-splash 4 and rename-splash 3 passed; test_app_settings and update/release tests 54 passed. Clean merge with main. Chris's merge go 12:49Z. | | #315 | Product management docs: one keys database decision (docs only) | PASS at 6fe994a | 9.2 | Five files, all in docs/product: FEAT-MESH-02 and PB-068 record Chris's 'one for all' (2026-10-20), and the roadmap decision log gains the row. JSON and Markdown say the same thing. Nit: 'today each environment has its own SQL_Platform' and 'Staged roadmap moves keys...' read as future work, but #293 (merged) already ships the Keys workspace and Move keys in; only the live move is pending. Checks run: product_data.py check says 'Product data is consistent.' Clean merge with main d188a53. | | #325 | Forge animations: glowing embers behind the wolf (Chris, 12:49Z) | PASS holds at 310807d | 9.3 | CSS only: a soft radial glow (.wolf::before, fx-heat) and three 3px embers (.wolf-embers i, fx-ember-rise), transform and opacity animations inside the aria-hidden .wolf. The wolf is only made when motionOn(), and html[data-motion=off] and reduced-motion CSS hide .wolf with its children, so the embers go with it. They loop only while the track shows and are removed with it. Tests run: ui.test 127 passed; browser forge-animations 5 passed. Clean merge with main. Draft, no merge go. | | #327 | Developer profile: recording On by default (Chris: 'turn it on to start') | CONDITIONAL PASS at 98757e2 | 8.7 | Holds: evidence is still references only (Validate id, code revision, verdict, read/write counts, notebook name). The r327 probe's secrets check still passes. Existing installs don't backfill: profile_backfill runs only from the Settings action and is refused while recording is off, so recording starts from this version. The torn-file notice is now dismissed explicitly. Conditions (privacy, now that it is on by default): (1) recording ignores whether the feature is visible. _progress_observe doesn't check show_preview, and Profile is a Preview feature (registerFeature({preview: true}), account menu gated by previewShown()), so a person or an organization with preview features hidden is recorded with no way to see or turn it off, and still gets 'Achievement earned ... See it in Profile' toasts. Record only while the feature is shown, or show it. (2) Nothing tells a person recording is on. With recording on and no rows, the Overview says only 'Nothing yet. Validate a notebook...'; the first 'Achievement earned' toast doesn't mention it either. Say once, on the Overview and in the first toast, that recording is on and stored only on this PC, with where to turn it off. (3) ui.test.cjs no longer merges with main (append conflict). Tests run: test_profile, test_validate, test_audit, test_rpc_surface 54 passed; ui.test 122 passed. | | #329 | Key tables in the platform repo: condition met | PASS at 12b5ef5 | 9.2 | Before the move, export again takes the union of key tables from every environment through _key_platforms(), which is the same distinct-platform list as main, catalog's first, and the disagree list and toast are back. After the move it reads only the shared database ({"keys": ...}). The per-environment diff reads that environment's keys location. Repro r329_premove_export.py now writes key_tables/devonly.toml with disagree, as main does; the after-move probe still finds no key tables in any environment's own platform. Tests run: probe 2 passed; test_platform_repo, test_git* and keys tests 114 passed; ui.test 123 passed. Clean merge with main. Stays a draft for Chris (deploy behaviour). | | #329 | Key tables from the shared keys database in the platform repo (follow-up to #293 and #295; changes deploy, draft) | CONDITIONAL PASS at 6cf4ae9 | 8.8 | After the move it is right. Deploy plans key tables once against the 'keys' target and never in an environment's own SQL_Platform: a probe deployed and then listed every per-environment platform, and all were empty. Admins on 'keys' go through the same plan: the last-admin stop, removables and confirm-by-plan-id, and each step is the platform's own add_admin or ensure_key_table with the UDF's checks. 'keys' appears only when _keys_config().shared is set, and only Move keys in sets it, so deploy never creates the Keys workspace. Before the move, deploy and the per-environment diff are unchanged (_keys_platform(env) is the env's own platform). Condition: export before the move is not unchanged. On main, export read key tables from every environment (catalog first) and listed any that disagree. The PR reads only Prod's, so a key table that exists only in Dev or Test is silently left out of the repository. Probe repros/r329_premove_export.py: with devonly made in Dev only, main writes key_tables/devonly.toml (with disagree) and the PR doesn't, and nothing says it was skipped. A deploy from that repo then wouldn't make it in Test or Prod. No data is lost, but the repo is presented as complete when it isn't. Fix: before the move, keep the union from every environment (with the disagree list, or at least a note per environment-only table), and add a test. Tests run: test_platform_repo, test_git* and keys tests 112 passed; ui.test 123 passed. Clean merge with main. | | #328 | Keys wording: mesh.js nit folded in | PASS holds at f34f7d7 | 9.3 | Settings > Platform's row and intro now say SQL_Platform holds keys only until they move to the Keys workspace, matching the setup.py descriptions. It is still strings only (mesh.js, 2 lines). Tests run: ui.test 123 passed. Clean merge with main. | | #328 | Keys wording after #293 (setup.py docstring, workspace and SQL_Platform descriptions, platform.md) | PASS at 3328be3 | 9.2 | Wording only: 2 files, 5 lines, all strings or docstring. The new descriptions reach only items created from now on, because save_item sends description only on create and never patches an existing item; create_workspace likewise. No test pinned the old strings. The platform.md link anchor #one-keys-database-for-dev-test-and-prod exists. Nit: Settings > Platform still shows the older wording (mesh.js:428 'Surrogate keys, catalog and run history for every team, in SQL_Platform and LH_Meta.' and mesh.js:440 'one key system for every team (SQL_Platform ...)'), so the screens don't yet say keys move to the Keys workspace. Tests run: platform, setup, central and keys tests 136 passed. Clean merge with main. | | #326 | OneLake write lease: docs, holder host, TTL 60 s / wait 90 s | PASS holds at 247ba2c | 9.2 | Docs now agree (agent.md Limits, notebooks.md write_table row naming the lease file and the 90 s wait, teams.md). LeaseBusy names owner and host. TTL probe: a write is renewed while it runs. Held replaces the lease every ttl/3 (20 s) on its own thread for the whole block. Probe repros/r326b_long_write.py, with TTL 0.6 s and a write lasting 3 s (5x TTL): an intruder trying every 0.2 s never got the lease, and the write committed. With every renewal failing past the TTL, the write ends with LeaseLost (reported, not silent). Metadata runs still pass ttl=seconds (120 s or table_lease_seconds), so only notebook and job writes use 60 s. Residual margins, worth a follow-up: each OneLake renew is up to 3 requests with timeout=60, so one hung renew can outlast a 60 s TTL and let another writer take over before it is marked lost (it is then reported as LeaseLost after the write); a renew timeout of ttl/3 or less would close that. Expiry compares the writer's clock against the reader's, so tolerance for clock skew between PCs drops to about 40 s. Tests run: probe 2 + test_table_leases, test_leases_local, test_agent 39 passed. Clean merge with main. | | #326 | KF-DE-003 OneLake table write lease (fix) | PASS at 4f9688c | 9.1 | Gap confirmed: on main only runtime.py took a lease. Now publish.publish (notebook write_table and job publish) holds Files/_fabric_desktop/leases/<schema>.<table>.json in the table's own lakehouse, and _run_here, replay and the agent take the LH_Meta lease then that one. No deadlock: the only nested order is LH_Meta then table; publish takes only the table lease and older agents only LH_Meta, so no cycle exists, and every wait is bounded (LeaseBusy, never a hang). Probes (repros/r326_lease_probe.py, 6 passed): a failing write and a KeyboardInterrupt mid-write both release the lease; a stale lease is taken over and the write goes ahead; an error from the lease store stops the write with the table unchanged; with an old agent holding the LH_Meta lease the table lease is never taken; an exception inside a run releases both. In Engine.run a LeaseBusy lands in the run's own except, so the run fails and nothing is written. The lease file is the only new write into user lakehouses. Nits, worth fixing in this PR: docs/agent.md:366 still says 'The desktop app and runs in Fabric don't take write leases', which now contradicts line 23; notebooks.md's write_table row doesn't say it can wait up to a minute or that it writes a lease file in the lakehouse's Files (only agent.md names it); teams.md:67 still says two PCs' runs can overwrite each other. Behaviour notes: after a kernel is killed mid-write, the 120 s lease outlives the 60 s notebook wait, so a write in the next two minutes fails 'being written by KratosForge'; every desktop has owner 'KratosForge', so the message doesn't say which PC (the body has host, holder() doesn't show it). Delta maintenance (compact, vacuum) takes no lease; a follow-up. Tests run: full suite 2410 passed, 3 skipped; test_table_leases 5 passed, and all 5 fail with main's leases/publish/meta_service/runtime. Clean merge with main. Live OneLake conditional-request behaviour is still unverified, as the PR says. | | #327 | Developer profile: three nits fixed | PASS holds at 055c7e4 | 9.3 | identity is now in audit _CONTENT. A torn profile.json is set aside, and the fresh profile carries a notice naming the set-aside file, shown as an alert with Turn recording on; turning recording on clears it. Notebook names, display name and role are escaped in the Markdown report, and the preview reads the escapes back. Tests run: probe 5 + test_profile, test_validate, test_audit, test_audit_chain, test_rpc_surface 62 passed; ui.test 122 passed; browser profile 4 passed. Clean merge with main. | | #327 | Developer profile slice, KF-DX-001 (draft, feature, Preview) | PASS at 182308f | 9.2 | All six probes hold, checked by a probe run (repros/r327_profile_probe.py) and the PR's tests. Recording is Off by default; with it Off _progress_observe returns before anything is written, and no profile file exists. A row's id is SHA-256 of type, notebook and code revision, so validating unchanged code again adds nothing and earns nothing. Only a finished clean run with a passing verdict that touches a lakehouse table counts; cancelled and failed runs earn nothing. Evidence holds the Validate id, revision, verdict and read/write counts: a record seeded with code, outputs, a token and a table name left none of them in profile.json. The report has no XP, levels or badges unless asked, and labels each line Verified, Entered by you, Generated summary or Not measured. The validate hook is in its own try/except after the record is kept, so a failing profile never changes the result (the PR's test covers it). profile.json goes through jsonfile write_json/read_json, one folder per account hash; delete removes only that folder. Nits: the identity fields (display name, role, technologies) are written to the audit log in plain, since identity isn't in _CONTENT, which sits oddly with 'nothing leaves this PC'; a torn profile.json is set aside and reads as empty, so recording silently turns Off; notebook names go into the Markdown report unescaped. Tests run: test_profile 19 + probe 5 passed; test_validate, test_audit, test_audit_chain, test_rpc_surface 35 passed; ui.test 122 passed; browser profile 4 passed. Clean merge with main. | | #325 | Forge animations: both nits fixed | PASS holds at 33ac31c | 9.3 | Cancel or Stop during a multi-cell run now announces 'Run stopped' ('Run stopped: cell N failed' on an error); a cancelled cell is neither ok nor error, so cellFx adds nothing and nothing is announced twice. Docs now say the track is the only thing that appears, and list the finished, failed and stopped messages. Tests run: ui.test 127 passed; browser forge-animations 5 passed (new: cancel mid-run against the real kernel). Clean merge with main. | | #325 | Forge animations on notebook runs (draft, feature) | PASS at d1af4c2 | 9.2 | Every probe checked in code and the browser test. Success is never shown early: cellFx runs after the cell's status is ok/error and after dbgAfterRun. Wolf position is done/total, set only after a cell returns ok; the text 'Cell n of N' shows the running cell. No timer leaks: the show timer is cleared on stop and arrive, fx timers only remove their own aria-hidden element, runningAll resets in finally. Off under reduced motion and when the setting is off (motionOn); turning it off mid-run hides any playing effect at once through html[data-motion=off] CSS, set by applyMotion in loadSettings/saveSettings and on a reduced-motion change. No focus() anywhere in motion.js. #announce is separate from #toast; no notebook run path toasts, a single cell announces once, Run all announces only 'Run stopped'/'Run finished' (per-cell announce suppressed). Setting is a user key, policy-lockable, documented in azure-setup.md; no scope change. Nits: cancel or Stop during Run all announces nothing (docs say 'finishes or stops'); the docs' 'never move anything on the page' is loose, since the track appears in the status bar. Tests run: ui.test 127 passed; browser forge-animations 4 passed; test_app_settings 7 passed. Clean merge with main; against #320 it conflicts in ui.test.cjs, styles.css, zensical.toml (append collisions) and service.py (from #320's older base), none in notebook.js. | | #324 | Scheduled notebook runs on this PC skip frozen cells | PASS at 7b76b34 | 9.3 | _run_notebook_here drops cells with meta.frozen, matching Run all, Validate and Replay. The run message says how many it skipped, and 'Cell i of N' counts only the cells that run. Fresh-kernel claim checked and confirmed: both Task Scheduler and Run now (run_pc_schedule_now → Popen(... cli run-schedule ...)) start cli._run_schedule, which builds Service(headless=True) in its own process; its self.kernel = self._new_kernel() (service.py:78) is that process's own kernel, never the app's open one. The dialog intro and notebooks.md now say so. Tests run: test_schedules 15 passed (the new test fails with main's schedule_service.py); ui.test 120 passed. Clean merge with main. | | #323 | Re-check: a new install shows nothing | PASS at bbd300a (draft) | 9.3 | When fd.whatsnew.seen is empty and the splash wasn't asked for, showUpdateSplash marks the build seen and returns; the palette still opens it. A PC whose earlier builds never set the mark (no notes then) skips one splash, silently, which is acceptable. Tests run: ui.test 120 passed; browser update-splash 4 passed (including fresh install, then c4 to c5 showing only c5's change) and rename-splash 3 passed. Clean merge with main. | | #323 | Show the forge splash after each update | PASS at b1915f4 (draft; UI only, localStorage only) | 9.2 | forgeSplash is shared by the rename and update splashes. The start runs showRenameSplash(() => showWhatsNew()) || showUpdateSplash(), so the rename shows once (it now returns false when seen instead of calling then), and the update splash only on later starts. It isn't awaited, so the start goes on behind it. It shares What's new's fd.whatsnew.seen mark, so only one of them shows per build. It returns without showing when there's no commit, the build was already seen, or there are no notes. With the switch off, the plain What's new shows instead. Correction (from the owner, accepted): my claim that a first install never sees 'Updated to build' was wrong. With the rename already seen and an empty fd.whatsnew.seen, b1915f4 showed it (settings.js:276). Notes render through h() text nodes, so they're escaped. The reduced-motion rule now includes .splash-optout. Tests run: ui.test 120 passed; browser update-splash 3 passed and rename-splash 3 passed (real Chromium). Clean merge with main. | | #318 | Re-check: old-address case kept in test_updater | PASS at 1bea22f (needs Chris: workflow and updater URL) | 9.3 | The only change since cc07b03 is one parametrize case pinning that an old-address archive URL still yields its commit. Tests run: test_updater 37 passed. Clean merge with main. | | #322 | HD-037: Stop ends every process below the kernel, including ones in their own session or group | PASS at c8fc178 | 9.2 | _signal_tree SIGSTOPs the kernel, then every descendant found by ppid (/proc, or ps on macOS), rescanning up to 10 rounds until nothing new appears; then SIGKILLs each one and the group. Probes. Fork during the scan: a stopped process can't fork, and each round stops what it finds. PID reuse: a stopped process can't exit and its stopped parent can't reap it, so found pids stay theirs until the kill. The residual window is a pid that exits between being listed and being stopped, which is negligible. Only processes with a ppid chain to the kernel are signalled. The root is signalled only when stop() or _end saw proc.poll() is None under the lock, as before. Not covered (as before): a process that daemonized by double fork before Stop (reparented to init), and children of a kernel that had already crashed. Evidence: test_kernel_process 15 passed in 3 of 3 runs; with main's kernel_proc.py, 2 failed and left exactly 4 sleep(120) processes running (3 session leaders + 1 group member), which I killed; the head's runs left none. Tests run: validate + prove + notebook tests 170 passed. Clean merge with main. | | #320 | Re-check: the change check reads the item Publish would write | PASS at 77007c9 (draft) | 9.1 | _fabric_change now resolves the target by name (_notebook_item, the same displayName match save_notebook uses). If its id isn't the linked one, the result is changed: True, other_item, so Publish and Run refuse without Replace, and Copy Fabric's version copies the item that would be replaced. With no item of that name it returns None (a new item is created), and a list failure stops the publish. The r320 repro now reports changed: True on item-2, and the unguarded publish raises FabricChanged. Tests run: test_notebook_files + notebook_publish + rpc_surface 25 passed; ui.test 123 passed; browser notebook-files 4 passed. Clean merge with main. | | #321 | Re-check: a failed repair is tried once per file state | PASS at 11ee9c4 | 9.3 | _sbs_repair remembers (mtime_ns, size) after a failed repair and skips the copy and swap until the file changes, so polls make one copy and one attempt; the next save still rewrites the file. Tests run: test_json_files + side_by_side + schedules 49 passed, 2 skipped. The r313 repro is unchanged. Clean merge with main. | | #318 | Repo references to the renamed KratosForge repository | PASS at cc07b03 (needs Chris: it touches ci.yml and the updater's download URL) | 9.2 | 46 files. Every changed github.com URL is a one-for-one swap of KratosDataGod/fabric-desktop for KratosDataGod/KratosForge (128 old, 128 new, the same paths). Kept as they must be: asset names (fabric-desktop.exe, fabric-desktop-engine.zip), the fabric-desktop distribution name the updater reads, the Tauri id and productName, install paths, the fabric_desktop package, FABRIC_DESKTOP* vars and 'promoted to Stable'. tauri.conf.json, Cargo.toml and pyproject are untouched. The updater's COMMIT regex doesn't name the repo, so engines installed from old-URL archives still report their commit. Checked from here: stable version.json through the old and new release URLs both return 200 after redirect. github.com pages and github.io aren't reachable from this container, so the docs-site path is unverified: site_url uses lowercase /kratosforge/, and the old docs address isn't forwarded, as kratosforge.md says. Nit: keep one old-URL case in test_updater's direct_url table, so installed copies' parsing stays pinned. Tests run: ui.test 119 passed; test_updater + integrations + sql_compat + git 575 passed. Clean with main. | | #321 | #313 leftover: a failed comparisons repair keeps the readable rows | PASS at 6754839 | 9.2 | set_aside(keep=True) copies the torn file (shutil.copy2) instead of moving it, and the original stays until write_text swaps the good rows in. An OSError on either step is logged and the readable rows are still returned, so the next read retries. The r313 repro still gives [a, b], [a, b], then [a, b, d]. Nit (not blocking): while the repair keeps failing, every read (Monitor's list, a status poll) makes another .corrupt-* copy, and on Windows waits through the replace backoff; one copy per run of failures would do. Tests run: test_json_files + test_side_by_side + test_schedules 48 passed, 2 skipped; the new test fails on main. Clean merge with main. | | #320 | NB-001/NB-021 notebook files: All notebooks, search, open a file, Save a copy, delete and restore, Edit on this PC, Fabric change check | FAIL at 064b051 (8.7; the change check can pass on a different item than Publish writes) | 8.7 | What holds. Every new file is reserved with open(…, 'xb'), so a name race stops instead of overwriting. Delete writes the copy and checks it before unlink. An interruption leaves the notebook in place (at worst also in Recently deleted, or an orphan trash file). Schedules are turned back on if the delete raises. Restore uses xb and leaves renamed restores' schedules off. A non-404 check error stops the publish. The docs are honest that only cells are compared and that first publishes aren't checked. Defect: _fabric_change reads the LINKED item (link['item_id']), but save_notebook writes the item whose displayName is the notebook's name. If the linked item was renamed in Fabric and someone created a new item with the old name, the check reports unchanged and Publish replaces that new item's cells without any warning. Repro quality/repros/r320_renamed_item_test.py: check changed: False on item-1, then item-2's cells become ['a = 10']. Fix: resolve the item Publish will write (by name, as save_notebook does) before checking. If its id isn't the linked one, treat it as changed or unknown and require the Replace confirm (or write by the linked id). Add that test. Tests run: ui.test 123 passed; browser notebook-files 4 passed (real Chromium); notebook, publish and rpc_surface tests 116 passed. The head already contains main 669c169. | | #319 | Re-check after the cleanup fix | PASS at 1c4582c (draft) | 9.1 | finish() now deletes the run folder in every lakehouse a step was bound to, unless keep_outputs. FileStore.delete already treats 404 as fine, so an unused folder costs one call. NaN and infinity parameters are injected as float('nan'), float('inf') and float('-inf'). My r319 repro now passes for both cancel and timeout. 2 of the new tests fail with 78a03f3's pipeline_notebooks.py. Tests run: the r319 repro + test_pipeline_notebooks + pipeline_runs + activity_registry + validate + rpc_surface 232 passed. Clean merge with main. | | #319 | ORCH-004: Notebook steps in local pipeline runs | FAIL at 78a03f3 (8.6; a cancelled step's OneLake sandbox is left behind and the record says it was deleted) | 8.6 | What holds: steps run in Validate's clean kernel with the proof runtime bound, so table reads are pinned and writes are redirected to Files/_fabric_desktop/proofs/pipeline-<run>/pc/. run_plan blockers stop direct writes and Spark, and network or local files need allow_uncontained. Parameter names must be Python identifiers and not keywords, and values are repr'd str/int/float/bool, so the injected cell can't carry code. finish() runs in the run thread's finally. Defect: run() records a step's writes only if kernel.alive(), but cancel (pipeline_run_cancel → notebooks.stop()) and the policy timeout (_cell → kernel.stop()) kill the kernel first. A step that wrote and is then cancelled leaves lake['written'] empty, so finish() skips the delete and the folder stays in the lakehouse. The run record's note still says 'in …, deleted when the run ended'. Repro quality/repros/r319_cancel_leak_test.py: state cancelled, folder pipeline-<id> left behind. The timeout case wasn't reproduced (my probe's policy didn't apply) but takes the same code path. Fix: track every lakehouse a step was bound to and delete its folder in finish() whether or not writes were recorded (a missing folder isn't an error), or read proof_log() before stopping; add a cancel test. Nit: a float parameter of NaN or inf injects x = nan → NameError; emit float('nan'). Tests run: test_pipeline_notebooks, pipeline_runs, activity_registry, validate and rpc_surface 228 passed; ui.test 118 passed. Clean merge with main. | | #295 | Final head after the main merge | PASS holds at eff1189 | 9.2 | eff1189 merges main 669c169 into 6578fbe with no conflict (--remerge-diff is empty). It merges cleanly with main 669c169. With #293 (9724663) merged first, the only conflict is the expected ui.test.cjs append, resolved here by keeping both tests; central/udf.py and server.py auto-merge. On main + #293 + #295: ui.test 121 passed; test_git, git_scopes, governance, keys, notebook_places, platform, platform_notify, platform_repo, rpc_surface and shared_keys 205 passed. Release management must resolve that append when #295 lands after #293. | | #293 | Second main merge | PASS holds at 9724663 | 9.2 | 9724663 merges main 0e19965 into 1848260 with no conflict (--remerge-diff is empty). The PR's own diff against main is line-for-line the one at 1848260. It merges cleanly with current main bab98c2. On that merged tree: ui.test 120 passed; test_keys + test_platform + test_platform_notify + test_rpc_surface + test_shared_keys 86 passed. | | #317 | Re-check: dialog Fabric tab points to Monitor > Schedules for Off | PASS at 440869b | 9.3 | Nit fixed: confirmRemoveSchedule(..., offHere=false) is used only on the dialog's Fabric tab, which adds ' in Monitor > Schedules'. The other two sites keep 'turn it Off', where the control exists. Tests run: ui.test 120 passed; browser schedules-remove-confirm 3 passed. Clean merge with main. | | #317 | UX-018: ask before removing a schedule | PASS at 269ff9c (UI only; adds a confirm in front of the existing deletes) | 9.2 | All three Remove buttons (Monitor > Schedules for this PC and Fabric, and the notebook and environment schedule dialogs, both modes) now await confirmDialog(..., { danger: true }) before the RPC; Cancel returns before any call. The wording is accurate: LocalSchedules.delete unregisters the task and leaves the runs file alone, and Fabric keeps job history. Nit (not blocking): the schedule dialog's Fabric tab shows only an On/Paused pill with no Off control, so 'turn it Off' points at Monitor > Schedules there; say so in that case. Tests run (head is already on main bab98c2): ui.test 120 passed; browser schedules-remove-confirm 3 passed and schedules-set-aside 3 passed (real Chromium). | | #294 | Main merge, plus the engine-only listing | PASS holds at d712ae5 | 9.0 | The merge resolves only service.py's imports and the Service mixin list; both CapacityHistoryMixin and ValidateMixin are kept. capacity_settings_read is listed in NO_UI_CALLER as Preview, engine only. That is acceptable: it matches the tenant settings history precedent, docs/optimize/README.md already says it is engine only and untested on a live tenant, and writes stay behind approve. On the tree merged with main bab98c2: ui.test 119 passed; test_capacity_history + test_rpc_surface 11 passed; capacity, optimize and tenant history tests 84 passed. Clean merge. | | #297 | Unchanged since dd55c72; re-checked against current main | PASS holds at dd55c72 | 9.3 | It still merges cleanly with main bab98c2. On the merged tree: ui.test 120 passed; test_risk + test_rpc_surface 22 passed. | | #316 | Re-check: untracked columns update the current row in place | PASS at 796b970 (draft) | 9.3 | The nit is fixed. Unchanged keys still in the source take the source's untracked values and keep their version and valid_from. Keys that left the source are kept as they were. Current rows split exactly into refreshed, closed and left-source rows, so no row is lost or duplicated. The r316 repro: B now shows phone 999 on version 1; A and C are unchanged, with one current row per key. The template text, the notebook markdown and notebooks.md describe it. Tests run: test_wizard + test_prove + test_notebook_publish 100 passed. Clean merge with main. | | #316 | SCD1 and SCD2 wizard templates; table_exists in Fabric's lakehouse module | PASS at 6b924ce (draft; writes only the dimension the user names, as an overwrite the template states) | 9.2 | SCD2 logic, probed through a real Delta round trip (quality/repros/r316_scd2_edges.py). Unchanged rows stay current and keep their valid_from. A changed tracked column closes the row (valid_to = the new version's valid_from, the same run time) and adds version+1. New keys get version 1. A key that leaves the source stays current; if it comes back changed, it gets version 2. A NaN in a tracked float column doesn't make a new version on every run. One current row per key holds, with Int64 version and Datetime(us, UTC) types after the round trip. Null and duplicate source keys are stopped by the check cell. Late-arriving rows with their own effective dates aren't supported: validity is the run's UTC time, as the docs say, and the proof contract (keys + version, ignoring valid_from and valid_to) matches that. The Fabric shim's table_exists treats only not-found as no, so any other error is raised, never turned into an overwrite. Nit (docs, not blocking): with tracked columns named, a change to an untracked column alone is not written at all; the current row keeps the old value (phone 1 → 999 stays 1). Say so in the template text and in notebooks.md, or update untracked columns in place. Tests run: test_wizard + test_prove + test_notebook_publish 100 passed; the Fabric incremental and SCD2 proof tests fail with main's fabric_run.py; ui.test 118 passed. Clean merge with main. | | #293 | Main merge for the ui.test.cjs conflict | PASS holds at 1848260 | 9.2 | The merge (parents 76c3cce and bd710e0) resolves only the ui.test.cjs append. It merges cleanly with current main 0e19965. On that merged tree: ui.test 119 passed; test_shared_keys 18 passed; test_keys + test_platform + test_platform_notify + test_rpc_surface + test_shared_keys 86 passed. | | #313 | QA-011 slice 2: re-check after the read-path fix | PASS at 3873f5f (fix 446ace5 plus a clean main merge) | 9.2 | _sbs_saved() now writes the readable rows back with jsonfile.write_text right after set_aside, and the warning says how many were kept. The r313 repro now prints [a, b], [a, b], then [a, b, d] after a save, and the original stays in .corrupt-*. The new test (two side_by_side_list calls) fails with 8510ea8's side_by_side_service.py. findings.md wording now matches the code. Residual (not blocking): if the write-back itself fails, the rows are returned once and then the file is missing, but the original is still aside. Tests run: test_json_files + test_side_by_side 33 passed, 2 skipped. Clean merge with main. | | #314 | HD-038 follow-up: file_stem moves to filenames.py; the managed SQL export uses it | PASS at 5aa68a9 (refactor, no behaviour change) | 9.3 | Same function body, moved. sql_exec.export passes name or lakehouse name or '', and file_stem falls back to SQL for empty input as the old inline code did, so output is identical. No other callers import service.file_stem. The new hostile-name test is a regression guard; it passes on main too, as it should. Tests run: test_sql_exec 48 passed; test_sql_compat + test_dataops 225 passed. Clean merge with main. | | #313 | QA-011 slice 2: favorites, workspace marks and saved comparisons written atomically | FAIL at 8510ea8 (8.7; the stated behaviour isn't met) | 8.7 | Favorites and marks through read_json/write_json, and write_text for the JSON-lines file, are correct; 4 new tests fail on main. Defect: _sbs_saved() sets the torn file aside on READ and returns the good rows, but writes nothing back. The common entry points are reads (side_by_side_list, side_by_side_status), so the second read finds no file and returns [], and the next save writes only the new row. Repro quality/repros/r313_sbs_read_aside.py: first read [a, b], second read [], after save [d]. The original survives in .corrupt-*, so nothing is destroyed, but readable comparisons vanish from the app. findings.md ("keeps the lines that still read") and the code comment ("the next save writes back the rows that read") overclaim; the only test reads through a save. Fix: write the good rows back with jsonfile.write_text right after set_aside, plus a test that two side_by_side_list calls both return them. Tests run: test_json_files + test_side_by_side 32 passed, 2 skipped. Clean merge with main. | | #312 | QA-011 follow-up: Monitor > Schedules says when this PC's schedules file was moved aside | PASS at ac8783a (read-only: lists schedules.json.corrupt-* files, writes nothing) | 9.2 | LocalSchedules.set_aside() parses the stamp jsonfile.set_aside writes (%Y%m%dT%H%M%S%fZ, the same format), falls back to mtime, and sorts newest first. all_schedules returns the list as pc_set_aside. The warning's claims hold: a Task Scheduler task for a lost id hits pc_schedules.get → LookupError before log_run, so its runs fail and don't show; the task folder is TASK_FOLDER = "FabricDesktop". Nit (UX, not blocking): the warning stays for as long as any .corrupt-* file exists, even after the schedules are added again, and neither the page nor the guide says that moving or deleting the file clears it. Tests run: test_schedules 14 passed (the 2 new tests fail with main's local_schedules.py and schedule_service.py); ui.test 104 passed; browser schedules-set-aside 3 passed (real Chromium). Clean merge with main. | | #300 #302 #304 #306 #310 | Chained main merges for the merge round (main 2f727c2) | PASS holds at e6f85fb, 91ebb7b, f194a54, 3cdc671, de77dfe | — | Each head is a merge whose first parent is the graded head (b5fbad1, 023e765, b024292, 0cf9b9e, 426b352). Checked with git show --remerge-diff: the resolutions only keep both sides' appended ui.test.cjs tests and the docs/hardening backlog and findings rows. On de77dfe, every row id in main's findings.md and backlog.md is still there, with no extra duplicates. In #310's docs/user-guide.md, the Runs bullet now holds #301's Teams-alert sentence followed by #310's metadata-project sentence. Both are worded as on their passed heads, nothing else in the bullet changed, and it reads in order. Tests run: ui.test.cjs passed 106, 109, 109, 117 and 118 on the five heads in order, with 0 failures; at de77dfe, test_dataops + test_replay + test_validate 64 passed. | | #301 | QA-013: test update after #303 | PASS holds at 5e30fa0 (test only) | 9.2 | The only change is test_schedules.py: the legacy-URL test drops the [webhook] placeholder check. It still checks that alert_error starts with Couldn't post the Teams alert: ConnectionError: and that the secret, the id and webhookb2 are absent from alert_error and the runs file. Tests run: test_schedules 12 passed on the head with main's redact.py and with #303's. After merging into main (cfbc29d), test_schedules + test_redact 65 passed. Clean merge with main. | | #301 | QA-013 re-grade | PASS at 505aa2f (was FAIL 8.4 at dd91ff8) | 9.2 | Blocker fixed. _without_webhook replaces the webhook's full URL, path+query, path and query with [webhook] (longest first) before alert_error is stored or logged, and the settings-read failure path is covered because url starts as None. My repro now prints ... with url: [webhook] ... and SECRET IN alert_error: False. A new test posts to an unreachable legacy webhookb2 URL (a real ConnectionError) and checks both the returned row and the runs file. Workflows URLs are still covered by sig=[removed]. The general fix in redact.secrets stays with QA-016 (Codebase audit). What goes to Teams is unchanged. Tests run: test_schedules 12 passed; clean merge with main; the UI is unchanged since dd91ff8 (103/103 there). | | #301 | QA-013: a failed schedule's Teams alert error is kept on its run | FAIL at dd91ff8 (security: a webhook secret is stored and shown; no conditional for security) | 8.4 | The ordering is right: the alert is tried, then the run is logged with alert_error, and a failed settings read is caught too, so the run is always logged. What goes to Teams is unchanged (the run's label and message, no request detail). Blocker: alert_error is describe(exc), and redact.secrets doesn't remove a legacy Office 365 connector URL (.../webhookb2/<id>@<tenant>/IncomingWebhook/<id>/<id>/V2<secret>; known gap QA-016). The app accepts any https webhook (meta_set_alerts). When the post fails to connect, requests puts that path in the message, so the webhook credential is now written to the runs file and shown in Monitor > Runs and Schedules. Before this PR it went only to the log. Workflows URLs are fine (sig=[removed]). Reproduced: quality/repros/r301_alert_error_secret.py prints SECRET IN alert_error: True. Fix: before storing, remove the webhook from the text (replace urlsplit(url).path and the query with [webhook]), or teach redact.secrets the webhookb2 shape (QA-016), and add a test with a legacy URL and a ConnectionError. Tests run: test_schedules 11 passed; ui.test.cjs 103/103; clean merge with main. | | #300 | HD-044: command bar is a modal dialog; rail aria-current test | PASS at b5fbad1 (UI only) | 9.3 | The bar has aria-modal, Tab is trapped with the shared trapFocus, and Escape closes only the bar (stopPropagation runs before the document-level tray handler). Focus returns to the opener, and reopening keeps the first opener. Ctrl+K does nothing while #dialog-root holds a dialog. Real-browser probe (mine, Playwright): with the tray open and focus on Account, Ctrl+K opens the bar, 6 Tabs and a Shift+Tab stay inside, Escape closes the bar, focus is back on Account and the tray is still open; over a dialog, Ctrl+K opens nothing. Verified: 2 of the 3 new UI tests fail with main's features.js; the aria-current one is a guard. Tests run: ui.test.cjs 105/105; browser keyboard + confirm-dialog 8/8. Clean merge with main (it and #298 both append to ui.test.cjs; whichever lands second merges main). | | #299 | HD-038: SQL CSV exports stay in Downloads; receipts never overwrite | PASS at b5685dd (local files only, no OneLake writes) | 9.3 | export_sql_csv now builds its name with service.file_stem, which keeps only letters, digits, spaces, - and _, so ../../escaped/x becomes escapedx query ....csv inside Downloads. The CSV and the receipt are opened with mode x, and a taken name gets ' (n)', so neither replaces a file. The reservation happens after the query stream opens, so a refused query creates no file. Verified: both new tests fail against main's code and pass on the branch, which I checked by swapping in main's fabric_desktop. Nits: (a) sql_exec.py:415 still repeats the same stem expression rather than calling file_stem; (b) the Validate and replay writers check exists() before writing rather than using x (a narrow race on the user's own folder; both already sanitize their names). Clean merge with main. Tests run: test_bounded_previews, test_wizard and the prove and sql_compat files gave 306 passed. | | #298 | HD-043: UI name-clash test uses V8, duplicate test removed | PASS at ed34a30 (tests and docs only) | 9.4 | topLevelNames appends let <name>; to each script and asks V8 which names are already declared, so it catches indented, destructured and class declarations and ignores nested, commented and quoted ones; its self-test covers these. The script list regex now also matches <script ... src> with attributes first. Probe (mine): an extra page script with an indented function esc and const inlineMd failed the test with 'esc: app.js and zz_probe.js' and 'inlineMd: ...'. The removed Report a problem test was an exact copy; the one at line 262 remains. Docs rows updated. Clean merge with main. Tests run: ui.test.cjs 102/102. | | #295 | Git stage 3 merge confirm | PASS holds at 6578fbe (9.2; draft, needs maintainer review) | 9.2 | Main merge only: git show --cc shows the only hand-resolved file is app/tests/ui.test.cjs, with both appended tests kept; nothing else changed since 0ccd2e4. Clean merge with main bd710e0. Tests run: ui.test.cjs 103/103, test_platform_repo 26 passed. | | #295 | Git stage 3 re-confirm | PASS at 0ccd2e4 (was PASS 9.0 at 2ab8d90; draft, Preview; writes the platform, needs maintainer review) | 9.2 | Deploy now reads the commit itself (git ls-tree + cat-file), so the deployed records are exactly what the 'Deployed from ... commit' note names. Probe step 6 is now False: a local edit hidden by assume-unchanged no longer reaches the plan. The plan id still comes from the same read, so the confirm matches what runs. The ignored-file refusal now covers only files the reader uses: sources/y.toml is still refused, while domains/deep/z.toml and policies/sub/x.toml no longer block (nothing reads them). A domain under a skipped, undeployed parent is skipped with 'is under fab, which is skipped, so it is too.', and it is not in the steps. Removal works deepest first, and a parent stays when a child is kept ('is still used by subdomain kid'). Links in the commit are reported and not read. Earlier fixes hold (probe 1a/1b order, 2 refused, 7 last admin stops). Merge: git merge-tree against main bd710e0 reports a conflict in app/tests/ui.test.cjs; merge main and keep both appended tests. Tests run: test_platform_repo + test_git* 76 passed; ui.test.cjs 99/99. Probe: quality/repros/r295_deploy_edges.py (re-run by me). | | #297 | Batched risk check re-confirm | PASS holds at dd55c72 (was PASS 9.2 at 8da8f15; draft) | 9.3 | The merge of main keeps both sets of appended UI tests, and git merge-tree against main is now clean. Nit (a) is fixed: once the gate trims the run, label becomes the entities that start, so the toast, the Fabric watcher and the tray name only those, and a full Run all still reads 'Run all'. Nit (b) stays by design: each held entity names the parent it actually reads, which is accurate. No engine change since 8da8f15. Tests run: ui.test.cjs 103/103, test_risk 20 passed. | | #297 | Data mesh Run all: one batched risk check, start only what can run | PASS at 8da8f15 (draft; Preview risk check, untested on a live tenant) | 9.2 | Downstream skip verified, including transitive and diamond readers. meta_risk_gate walks run_order (a topological order over Entity.reads()) and adds each entity that reads a blocked or held one to stopped, so the hold carries all the way down; this is the same rule Engine.run_many already uses for failed entities. Probe: in the fixture project I blocked each of the 6 entities in turn (3 levels, gold.fact_sales reads two held parents), and held equalled impact(project, bad) every time, with run holding the rest. The UI starts only gate.run; a full block offers only Close; an RPC error or a failed per-entity check fails open as before (documented). The gate only reads and is in READ_ONLY and METHODS; there are no new scopes, and fewer entities start than before, never more. Nits: (a) the toast and the Fabric run watcher still say 'all N entities' / 'Run all' when only some start, because label is built before the gate; (b) a held entity's reason names only its direct parents, so gold.fact_sales (reads silver.orders, gold.dim_customer) doesn't say the root is bronze.customers. Merge: git merge-tree against main reports a conflict in app/tests/ui.test.cjs; merge main and keep both appended tests. Dialog not seen in a browser (owner says so too). Tests run: test_risk + test_workloads 46 passed; ui.test.cjs 99/99. Probe: quality/repros/r297_gate_transitive.py. | | #293 | Keys database UI re-grade | PASS at 76c3cce (was CONDITIONAL 8.8 at a9cae93; draft, Preview; data-changing, needs maintainer review) | 9.2 | Condition met. The Business keys tab now has a howItWorks("platform.keys") panel that names every write: Create/Finish makes the Keys workspace with SQL_Keys and UDF_Keys (uses capacity); Move keys in copies every key table, keeps Prod's numbers, renumbers Dev and Test, closes the old key tables and switches every environment; Cancel removes the copied tables and is refused once the move is done. Nit (b) fixed: both shared rows no longer print 'Moved .'. Nit (a), a plan id for the approve call, is left as a follow-up (harmless). Tests run: ui.test.cjs 99/99 at 76c3cce. Merge: git merge-tree against main bd710e0 (after #282) reports a conflict in app/tests/ui.test.cjs; the owner must merge main and keep both appended tests before it can land. | | #293 | Keys database UI (Settings > Platform Keys row, shared Business keys list) | CONDITIONAL at a9cae93 (engine unchanged since PASS 9.1 at e73ead8; draft, Preview) | 8.8 | Confirm flow is sound: moveKeysIn calls platform_share_keys({}), which only previews; approve:true is sent only from the dialog's Move keys in button, after the plan table (keys per table, 'New numbers', Prod '0 (kept)') and the renumber warning are on screen. Cancel previews first, then uses a danger confirmDialog showing the tables it will remove. The failed-switch dialog offers Move again (re-previews) or Cancel the move. The env picker is hidden once keys are shared, and the policy-managed state hides the buttons. Condition: no 'How this works' panel covers any of this. Neither the Settings Keys row nor the Platform Keys tab names the writes: Create/Finish makes a Keys workspace with SQL_Keys and UDF_Keys, which uses capacity; Move keys in copies every key table, renumbers Dev and Test keys, closes the old key sources and switches every environment; Cancel removes the copied tables. Add a howItWorks panel to the Keys tab (or the row) that names these. Nits: (a) the approve call re-plans on the server, so a key issued between preview and approve can change the renumber count shown; harmless, but a plan id like #295's would make it exact. (b) The shared row prints 'Moved .' when moved_at is missing. Tests run: ui.test.cjs 99/99; clean merge with main. | | #293 | Keys database re-grade 2 | PASS at e73ead8 (was FAIL 8.1 at 5072226, FAIL 7.8 at 8d279a0; draft, Preview; data-changing, needs maintainer review) | 9.1 | Cancel blocker fixed. The live mark is a setting inside the shared keys database (core.KEYS_LIVE), so every PC sees it, and it is written in the same commit that ends staging (stage_keys(staging=False, live=True)). Once live, core refuses clear_keys and any stage_keys from any caller, including direct UDF calls. _adopt_live_keys reads the mark on join, setup and before any move or cancel. Probe (re-run by me): a second admin's move returns already and switches their PC to shared, and their cancel is refused. A crash after the live mark leaves the database live, cancel is refused, and the PC adopts it. Earlier fixes hold: keys closed during the move, a stopped move keeps them closed, the plan is read-only with 'Confirm to continue.', the old-UDF refusal reopens what it closed, policy-managed platforms refused first. Nit: the cancel preview creates an empty local keys.sqlite when none exists (harmless). Coordination: central/udf.py (Governance) gains keys_state and a live argument; each platform needs Finish or repair once. Separate, not #293's: meta_service.py:340 shows the LH_Keys MERGE for projects in platform-keys mode. Tests run: test_shared_keys plus related platform/central/keys files gave 84 passed; clean merge with main and #295. Probe: quality/repros/r293_move_races.py scenarios 1-7. | | #296 | Conformance port fix: live fixture folded in | PASS holds at 2ec4a36 (9.3) | None. The only change since d0fcd56 is the same bind-then-hand-socket change and started assert in test_integrations_http.py live. The refusal checks and the child-process test are untouched. Tests run: test_integrations_http.py 39 passed. | | #296 | Conformance tests: hold the API port until served; fail if the server never starts | PASS at d0fcd56 | 9.3 | None. Test-only. The fixture binds 127.0.0.1:0 itself and passes the socket to uvicorn (server.run(sockets=[sock])), so the port is held from bind to serve. It waits up to 30 s while the thread lives, then asserts server.started, so a slow start fails at the fixture rather than as a later connection error. Both suspected causes from the #282 check are closed. Tests run: test_integrations_conformance.py 39 passed, 3 runs in a row; clean merge with main. Follow-up (optional): the live fixture in test_integrations_http.py:286 has the same free_port race and can take the same change. The serve(free_port()) refusal checks (388, 390) never bind. The child-process test (399) can't be handed a socket, so leave it or retry on 'address in use'. | | #295 | Git stage 3 re-grade | PASS at 2ab8d90 (was CONDITIONAL 8.4 at 600f0a7; draft) | 9.0 | Both conditions met. (1) Domains are ordered by depth both ways; a third level is skipped in the plan with a reason (main's core.save_domain already allows only one level of subdomains). Probe: zeta and mid deploy, aleaf is skipped; removal runs mid then zeta. (2) Deploy refuses while Git ignores any file in the platform folders and names it (refused for a top-level file, a nested ignored folder, a negated pattern, and domains/deep/). In-use checks run while planning, and the platform ops re-check at run time. The plan is rebuilt and must match the confirmed id. Ticking every admin stops the plan (and core.remove_admin refuses the last admin). A stopped run reports N of M steps applied. Nits: (a) a child whose parent is skipped is still planned, so the run stops safely at that child; skip it with the parent's reason. (b) A tracked file marked --assume-unchanged with local edits is read from disk (contrived; reading from HEAD would close it). Tests run: test_platform_repo, test_git and test_governance 90 passed; ui.test.cjs 99/99; clean merge with main and with #293 e73ead8. Probe: quality/repros/r295_deploy_edges.py (scenarios 1-7). | | #295 | Git stage 3: platform repository compare, export, deploy | CONDITIONAL at 600f0a7 (draft) | 8.4 | Conditions: (1) A three-level domain tree can't be deployed. 'Parents first' only puts top-level domains before nested ones (sort key (has parent, id)), so a grandchild whose id sorts before its parent is created first and refused every time. Reproduced: zeta > mid > aleaf ran in the order zeta, aleaf, mid and failed 'parent domain mid doesn't exist', the same on re-run, leaving only zeta. Removal has the same flaw but fails safely (delete_domain refuses while a subdomain exists). Fix: order by depth in the parent chain both ways, and add a three-level test. (2) 'Committed files only' isn't fully true: deploy refuses staged, unstaged and untracked changes, but then reads from disk, so a git-ignored file under domains/ is deployed and labelled 'Deployed from ... commit X'. Reproduced. Fix: read records from HEAD (git show/ls-tree), or refuse when ignored files exist under the platform folders. Verified fine: compare, export and policies_ready never change Fabric; export skips policies without tables and writes via _replace_in with link checks; unsafe ids are refused; secrets, connections and times stay out of files; admin is enforced by the platform ops (require_admin); every deploy step is audited (deploy and export not READ_ONLY); nothing runs until the exact plan is confirmed (stale plan ids refused); a changed policy becomes a new version; a source_id mismatch stops the deploy; removals need a tick; a refused step stops the deploy and a re-run is idempotent. Coordination: #293 and #295 both add wrappers to Governance's central/udf.py with no collision. Tests run: test_platform_repo, test_git, test_governance 86 passed; ui.test.cjs 99/99; clean merge with main 0b3bc1e and with #293. Probe: quality/repros/r295_deploy_edges.py (re-run by me). | | #282 | Validate notebook re-grade 2 | PASS at 941eb85 (was FAIL 8.2 at ea44ed0; draft) | 9.2 | Both blockers fixed. (1) Undo keeps a fingerprint of the cells right after Apply (cell id, type, source, meta, in order). cleanupUndoable refuses with a toast once the cells differ, and the panel stops offering Undo (validate.js:64,223,358). Reproduced the old path in a browser (apply, type into cell 2, click the stale Undo): the edit survives and the last save_notebook carries it. (2) The ticked 'Remove unused imports' covers only the stdlib (minus side-effect modules such as antigravity, this, readline, site, sitecustomize, faulthandler, tracemalloc) plus numpy, pandas, polars, pyarrow, duckdb, deltalake, requests and scipy. Other packages (janitor, findspark, matplotlib) go in an unticked group with a warning. The docs no longer overclaim and say Undo works until the next edit. del x and string annotations count as uses, and the proof.py open(os.path.join(...),'w') nit is done. Tests run: ui.test.cjs 102/102; cleanup, validate and prove 79 passed; browser validate 3/3; full sidecar 2323 passed, 3 skipped; probe quality/repros/r282_cleanup.py 24 cases all parse. Clean merge with main ba4044a. Separately, test_rest_follows_its_openapi_document did not flake on main (5 alone, 3 under full CPU load, 2 runs of all integrations files: all pass). | | #293 | Keys database re-grade | FAIL at 5072226 (automatic failure: delete wider than asked; was FAIL 7.8 at 8d279a0; draft, Preview) | 8.1 | The three earlier findings are fixed. A Prod key issued mid-move is refused ('Keys are moving to ...') and no Prod number changes. A stopped move leaves sources closed, and a re-run switches cleanly or cancel reopens them. The plan and cancel are read-only until approved. A policy-managed platform is refused before any copy. New blocker: Cancel can delete a keys database already in use. Only the mover's settings say shared, and platform_keys_join never sets it. A second admin who joins can start a move, and stage_keys(True) marks the live shared database as being filled without checking. If that move stops, platform_cancel_share_keys(approve=True) runs clear_keys and drops every key table Dev, Test and Prod use. Reproduced (probe scenario 5): after a successful move with ada=1, aaron=2, a second admin's stopped move followed by cancel cleared ['customer']; the cancel preview says only 'the keys the move copied are removed'. Fix: mark the shared database live at the switch, refuse stage_keys(True) and clear_keys once it's live, and have join (or _keys_config) read that mark so a joined PC uses the shared keys; add a second-admin join + cancel test. Verified: every platform key write goes through core.issue_keys/import_keys (both call _require_open); the old-UDF refusal reopens what it closed; the new methods are audited as writes. Coordination: central/udf.py is Governance-owned (+3 wrappers). Tests run: test_shared_keys plus related platform/central/keys files gave 83 passed; clean merge with main. Probe: quality/repros/r293_move_races.py (scenarios 1-5; re-run by me). | | #294 | FinOps: capacity settings history (fdcap_) | PASS at 3bd52b4 (draft, Preview, engine only) | 9.0 | None blocking. The only Fabric call is the existing list_capacities (GET /v1/capacities, paged), and it never changes a capacity. Writes go only to the fdcap_ tables through central_family(..., approve=...), so the first read is refused with 'Confirm to continue.' until confirmed. capacity_settings_read is audited as a write (not READ_ONLY). No new scope, and docs/permissions.md names this use of Capacity.Read.All. Diff logic (probe): a capacity missing from a read isn't marked changed; when it returns resized and paused the change spans from its last-seen read; ids compared lower-case; same-name different-id capacities stay apart; a repeated read adds nothing. The docs say it is untested on a live tenant. Nits: (1) fdcap_read grows as capacities × reads with no retention; worth a retention note. (2) A field briefly missing from a listed capacity logs a change to null. (3) Paging follows continuationUri through _paged, which uses HD-058's Fabric-host allowlist only once #272 lands (same exposure as list_capacities on main today). Tests run: test_capacity_history plus test_tenant_history gave 18 passed (targeted only). Clean merge with main. Probe: quality/repros/r294_compare_edges.py. | | #293 | Staged roadmap: one keys database for Dev, Test and Prod (engine) | FAIL at 8d279a0 (automatic failure: a Prod key can change though the docs say it never does; draft, Preview) | 7.8 | (1) Prod can issue keys during the move. platform_share_keys exports each source once, renumbers Dev/Test into the shared database, then switches with no lock on key issuing and no final re-check. Reproduced: Prod issued late_prod_customer=3 mid-move; in the shared database 3 is Dev's aaron; after the switch Prod's next load gets 4, so Prod facts carrying 3 point at the wrong customer. Fix: block key issuing on every source for the move (or refuse while runs are active), and before switching re-export each source and refuse if its row count or top key changed. (2) A partial move can't be re-run. If Test fails mid-move, Prod's and Dev's keys stay in the shared database; once Prod issues another key every re-run is refused ('key 2 is already used here by another business key'), and there is no reset. Fix: stage the move and clear the unswitched shared tables on retry after a confirm, or explain the state and offer a reset. (3) No preview or confirm: it writes to Fabric and switches every environment's key source with no approve. Return a dry-run report (tables, rows, how many Dev/Test keys change) and refuse with 'Confirm to continue.' until approved. Minor: under a policy-managed platform the copy runs before _save_platform raises PermissionError, so check that first. Nit: DEFAULT_NAME = "Fabric Desktop Keys" predates the rename. Verified fine: Prod numbers copy exactly and are checked row by row; sources are only read; HD-036 untouched (dedicated Keys workspace); the 3 new methods are audited as writes; no new scopes; Preview note in docs; server.METHODS and service.py merge cleanly with main. Tests run: test_shared_keys plus the related platform/central/keys files gave 77 passed. Probe: quality/repros/r293_move_races.py (re-run by me, both scenarios reproduce). | | #280 | Create tiles re-grade | PASS at 5c84708 (was CONDITIONAL 8.6 at ebaec3f; draft) | 9.2 | Both conditions met. Main is merged and the toast says 'Restart KratosForge'. The window error listener reports only events that carry e.error, so ResizeObserver noise and resource load failures stay quiet, and a browser test covers that. Tests run: ui.test.cjs 98/98; browser create-tiles.test.cjs 4/4 (both tiles open with the current engine, old-engine message, noise ignored, a thrown handler error and a rejected promise both show a toast). Clean merge with main 39f02ab. | | #280 | Create tiles: failures show an error instead of doing nothing (#279) | CONDITIONAL at ebaec3f (draft) | 8.6 | Conditions: (1) Merge main and say KratosForge. The new wizard toast says 'Restart Fabric Desktop by KratosBI', and after #287 that fails ui.test.cjs 'the app is called KratosForge everywhere people read it' (merged tree of #280 + main 39f02ab: 97 pass, 1 fail). The merge has no conflict, so git won't catch it. (2) The new global error listener (app.js:92) also fires for Chromium/WebView2's benign 'ResizeObserver loop completed with undelivered notifications' (e.error is null, only a message), and the app uses ResizeObserver in app.js:761 and meshmap.js:79. Ignore that message (or events with no e.error) so people don't get a 'Something didn't work' toast for noise. The rest is sound: friendlyError handles strings and objects, cancellations stay quiet, attempt()-wrapped calls don't double-report, and the old-engine wizard check stops on a missing groups/choices/multiline field with a clear message. Tests run: ui.test.cjs on the merged tree as above. | | #292 | SQL compatibility browser test: rules version 2026.10.2 | PASS at ce78c27 | 9.4 | None. Test and docs only. #271 bumped RULE_VERSION to 2026.10.2 (sqlcompat/profiles.py:14 on main), and the browser test regex and the docs version line still said 2026.10.1. No other references to 2026.10.1 remain. Tests run: sql-compat.test.cjs gives 9/9 twice on #292 and fails test 1 (8/9) on main 39f02ab. Fixes the browser failure seen on every UI PR. | | #282 | Validate notebook re-grade: Problems + Clean up tabs (NB-017, NB-018) | FAIL at ea44ed0 (automatic failure: overwrite wider than asked; was PASS 9.1 at 5697869; draft) | 8.2 | (1) Clean up's Undo stays offered after the person keeps editing. Clicking it puts back the pre-tidy-up snapshot (validate.js:192,210-219; v.undo is cleared only by Undo itself), which silently discards every later edit, and autosave writes that to the notebook file with no confirmation. Reproduced in a browser against the real engine: after apply, edit, Undo, the edit was gone and the last save_notebook carried the reverted sources. Fix: drop v.undo on any later cell edit (or offer Undo only while the cells still match what Apply produced), plus a browser test for edit-then-Undo. (2) docs/validate-notebook.md says a tidy-up never changes what the code does, but 'Remove unused imports' is ticked by default and removes side-effect imports (import janitor, then df.clean_names() in a later cell). Keep imports that no cell names unless the module is known to be side-effect free, or untick that tidy-up by default and soften the claim. Verified fine: the engine only reads code (notebook_cleanup_plan and apply are in READ_ONLY and return cells); every cleaned cell still parses; frozen and parameters cells, %run/exec/import *, later-cell, getattr and f-string uses are left alone; print removal is off by default; suggestions never apply themselves; Preview tag and How-this-works panel present; same-cell wording fixed. Tests run: ui 101/101; browser validate 2/2; sql-compat 'Warehouse problem is underlined' also fails on main 39f02ab (8/9 on both); full sidecar 2322 passed, 3 skipped; zensical --strict clean; clean merge with main. Probe: quality/repros/r282_cleanup.py. | | #287 | KratosForge rename re-grade | PASS at 51bb473 (was CONDITIONAL 8.4 at 68471e7; draft; workflow change, needs Chris's review) | 9.1 | Conditions met: REGISTRY_VERSION 3 records the real fingerprint; the orders-daily and TPC-H examples are regenerated; ci.yml/promote.yml change only the --title text (tags latest/stable and asset names untouched); issue/discussion templates renamed; Windows program-name row added. Confirmed main 69ae526 has no promoted to Stable phrase yet. Merge-order condition: #241 and #287 merge silently (no conflict), so the result would keep #241's two build titles as 'Fabric Desktop by KratosBI (build ...)' (ci.yml:295, promote.yml:90). Whichever lands second renames those two and keeps the exact promoted to Stable text the prune step matches (ci.yml:318). Tests run: test_activity_registry plus test_side_by_side gave 99 passed, 2 skipped; ui.test.cjs 98/98; clean merge with main 69ae526 and with #241 b047c1e. | | #287 | Rename to KratosForge + one-time launch announcement | CONDITIONAL at 68471e7 (draft) | 8.4 | Conditions: (1) test_activity_registry.py fails 2 tests at the PR head (main passes): test_registry_version_changes_with_entries (the fingerprint recorded for version 3 doesn't match the entries) and test_example_report_in_docs_is_current (the example compatibility JSON in docs/orchestration still shows registry_version 2). Record the real fingerprint and regenerate the example. (2) docs/kratosforge.md:11 says the GitHub release titles are now KratosForge, but the PR doesn't touch .github/ (ci.yml:278 and promote.yml:42 still say Fabric Desktop by KratosBI). Either drop the line or change the titles; if the titles change, #241's build-* and promote titles must keep the exact phrase promoted to Stable that its prune step matches, and Chris reviews it as a workflow change. Nit: the 'What didn't change' table could mention that the Windows program name (productName) stays Fabric Desktop. Verified: Chris asked for it in his own words (rename thread root, 2026-10-19 08:22Z). productName, the Tauri id, updater/asset names, the fabric_desktop package, MCP server name, notebook markers, FabricDesktop_Central, the Platform workspace default, FABRIC_DESKTOP_* env vars and fd* prefixes are unchanged. REGISTRY_VERSION is informational only, and nothing branches on it. Splash: shows once (try/catch storage; fails open to showing again), role=dialog/aria-modal, focus on its button with the Tab trap, Escape closes it, reduced motion respected, local assets only. Tests run: ui.test.cjs 98/98; browser rename-splash/keyboard/confirm 11/11; zensical --strict clean; 18 sidecar files 525 passed, 2 failed (above). Clean merge with main 2ee22f9. | | #286 | Prove: #283 nits (unreachable branch, checksum rounding doc) | PASS at 29e7897 | 9.3 | None. The removed {number, integer} branch in _keyed is unreachable: _columns (verify.py:96-97) already rewrites widened pairs to (number, number). The doc line matches _norm/fingerprint (decimals and widened columns rounded to 10 significant digits; integers exact). No behaviour change: the r283 probe output is byte-identical on main and #286. Tests run: test_prove plus test_side_by_side gave 74 passed, 2 skipped; it merges cleanly with main. | | #285 | ORCH-003: on-disk run record test waits for the final save | PASS at 0893e92 | 9.3 | None. Test-only. saved() polls the run JSON until its state is final (30 s limit, tolerates a partial read) because status reads the live run, which turns final just before the background thread's last save. This fixes the Windows flake seen on #284. Reproduced independently with a 0.5 s sleep before the final _changed() in orchestration/runner.py:257: main's test fails ('running' == 'succeeded'), #285's passes. Sleep removed afterwards; test_pipeline_runs.py gave 104 passed. The restart check that follows now also reads a final record. | | #283 | Prove re-grade: tolerance only between finite numbers | PASS at 533721b (was FAIL 7.5 at 8c69985) | 9.1 | Fixed. An isfinite guard means the abs/rel tolerance applies only between finite values; NaN=NaN, inf=inf and -inf=-inf still match, while 1 vs NaN, 1 vs inf, inf vs -inf, 1e308 vs inf and 0 vs null differ in all three modes (checked by hand). This also fixes main's pre-existing double-vs-double false match in keyed mode. Probe quality/repros/r283_int_double.py now gives the same answer in every mode on every row. Tests run: test_prove plus test_side_by_side gave 74 passed, 2 skipped; it merges cleanly with main. Nits: the {ka, kb} <= {number, integer} branch in _keyed is now unreachable, and the docs could say that above limit_rows integers are compared to 10 significant digits. | | #283 | Prove: an integer column vs decimals compares as numbers | FAIL at 8c69985 (automatic failure: a false "same" verdict) | 7.5 | Keyed mode reports a match when an integer meets NaN, inf or -inf on the double side (verify.py:179-183); whole-row and checksum say differs. This is a regression: main reports integer vs NaN as differs. Double vs double already has the same false match in keyed mode on main, which is a separate pre-existing finding. Fix: apply the abs/rel tolerance only to finite values, otherwise require x = y or both NaN, and add NaN/inf/null tests for all three modes. Large-integer matches stay inside the 1e-9 relative tolerance and carry the note, which is honest. Tests run: full sidecar 2263 passed, 3 skipped. Probe: quality/repros/r283_int_double.py. | | #241 | HD-028 main-merge check (Release management merge b047c1e) | PASS holds at b047c1e (draft; workflow change, maintainer review required) | 9.1 | .github/ is byte-identical between 6dc9269 and b047c1e, so ci.yml and promote.yml are the files graded. The PR's diff against main 324d0d6 is the same 9 files, +142/-26, as at 6dc9269 against its base. The one conflict, docs/hardening/readiness-checklist.md, keeps main's rows and changes only row 6 (rollback) from "Not met" to "Partly met", with the remaining gaps named (engine download not pinned, no drill, local data not reverted). | | #282 | Validate notebook re-grade | PASS at 5697869 (was CONDITIONAL 8.6 at 083ce41; draft) | 9.1 | Condition 1 met: a name read only inside a def/lambda body and set in a later cell is now info ("works as long as nothing calls the function before cell m runs") and the verdict stays checked; a name read at definition time (e.g. a default value) stays an error (both tested); depgraph.analyze gains an additive deferred list. Condition 2 met ("code checks only"): Spark cells stay out of the clean run with containment unchanged; new info finding spark_code_checks_only; the start refusal says "A clean run doesn't run Spark cells yet (cell N uses Spark), so this notebook gets code checks only for now"; LIMITS corrected (tested). Nits: read-only open() no longer flagged; pandas to_csv/parquet/excel/json/pickle/feather with a path flagged; sk- keys found (git/secrets.py). Prove side of the shared proof.py regex checked with 18 cases: open('x'), 'r', 'rb', to_csv(), to_csv(index=False) not flagged; 'w', 'a', 'r+', 'x', mode='w' (also after other kwargs), f-string paths, to_csv(path) flagged. One miss, pre-existing (the old regex missed it too): open(os.path.join(a, b), 'w') isn't flagged because [^,)]* stops at the inner call. Merges cleanly. Run: -k "validate or proof or prove or depgraph or secret or integrations_core" 125 passed. Owner reports full sidecar 2090 passed, 2 skipped (not re-run by me). Nit: catch nested-call paths in the open() pattern (or use the AST, as depgraph does). | | #282 | Validate notebook engine: code checks (NB-017) and a clean run in a fresh kernel (NB-018) | CONDITIONAL at 083ce41 (draft) | 8.6 | Condition 1 (reproduced): false "not ready" errors. defined_later treats a name read inside a function body as read when the function is defined, at error severity, so def f(x): return x+y then y=2; f(1) (same cell or a later one) gives not_ready for valid code. Fix: don't count names read only inside def/lambda bodies as early uses (info at most); add tests. Condition 2: Spark notebooks can't get a clean run, and the message points the wrong way. run_plan keeps proof.check's "uses Spark … can't pin or contain" blocker, so any spark.read/spark.sql cell, read-only ones included, is refused with "Change that cell to write with lakehouse.write_table", while validate.LIMITS says a clean run uses DuckDB's PySpark API. Fix: let Spark cells run where the proof runtime contains their writes, or say plainly that Spark notebooks get code checks only for now and correct LIMITS and the refusal. Boundaries verified: the clean run uses its own _CleanKernel process and the person's kernel keeps its variables (tested); table writes go to Files/_fabric_desktop/proofs/validate-<id>/pc/, lakehouse tables and versions untouched; static blockers stop deltalake writes, notebookutils/mssparkutils fs put/rm/cp/mv (incl. Files/../Tables) and exec of fs calls (r282_run_plan.py, 30 cases); an aliased fs = notebookutils.fs; fs.rm(...) passes the static check but _writable refuses it at run time and the file survives; network, %run/notebook.run and local file writes need allow_uncontained. Cleanup deletes exactly Files/_fabric_desktop/proofs/<id> with a server-made id matched to ^validate-\d{8}-\d{6}-[0-9a-f]{6}$, after success, failure, cancel and a time-limit kill (r282_sandbox_cleanup.py 5/5; a neighbouring proof-… folder kept every time); not yet through HD-053 item_path (#266 not on main). No Fabric job (no fabric_api calls). audit.py READ_ONLY holds only check, list and status; start, cancel and save audited (tested). Integrations change adds code-check findings only. Merges cleanly. Run: test_validate + test_integrations_core 56 passed; probes 5/5; full sidecar 2086 passed, 2 skipped. Nits: a read-only open("x") is reported as a local write and needs a confirm; pandas to_parquet/to_csv to local paths not listed as local writes; sk-… keys not caught by the secret check; if bind_proof raises there is no folder to clean (fine) but it isn't tested. | | #272 | HD-058 nit re-check | PASS holds at b71c71b | 9.2 | urljoin and the character checks now sit inside the try: a fullwidth / host and a backslash host both raise FabricError UntrustedUrl (checked). r272_token_hosts.py: 0 escapes; token only to api.fabric.microsoft.com. Run: -k "fabric_api or followed or paged or wait or retry or http_session" 101 passed. | | #272 | HD-058 re-grade: followed URLs keep the token on Fabric hosts | PASS at cf5ee3e (was FAIL at 0ca4852; fix in 58e1d24; main with #275 merged) | 9.1 | Automatic failure removed: followable_url refuses \ and control characters (<= 0x20, 0x7F) first, then checks the host urllib3 will connect to (parse_url(requests.Request("GET", url).prepare().url)) and returns that prepared URL, so the host checked is the host contacted. r272_token_hosts.py at cf5ee3e: 0 escapes; _paged with a backslash continuation raises UntrustedUrl after 1 request, token only to api.fabric.microsoft.com. My extra cases: %2e, %5c (stay under fabric.microsoft.com), encoded @, ideographic full stop, #, :443@evil.com all refused or kept on a Fabric host; fullwidth / fails closed with a raw ValueError from urljoin (outside the try). Run: -k "fabric_api or followed or paged or wait or retry or http_session" 100 passed. Owner reports full sidecar 2175 passed (not re-run by me). Nit: move urljoin inside the try so odd hosts get the UntrustedUrl message, not a ValueError. | | #273 | QA-033: a retried after-commit meta append that already committed isn't appended again | PASS at 51ec523 (maintainer review: data writes) | 9.1 | _after_commit (engine.py:371-397) records the table version and gives each logical append a unique token (run_id + uuid); before attempts 2 and 3 it calls Store.has_commit (store.py:347-358), which reads the commits after that version (other writers in between covered; whole history if the version is unknown). It skips only when a commit carrying the token exists, so a write that never committed is always retried (no false skip, no data loss); a failing has_commit counts as a failed attempt, never as committed. Covers run_log, dq_results, schema_history, watermarks (append; latest per entity unchanged) and quarantine. Repro /mnt/project-files/quality/repros/r273_retry_dupes.py, main vs #273: commit lands then response lost 2 rows vs 1; fails before commit 1 vs 1; lost after commit with 5 later commits 2 vs 1; always fails 0 rows, noted, on both. No dry-run path writes through _after_commit. Run: targeted 24 passed; -k "meta or engine or watermark or quarantine or store" 113 passed; full sidecar 2108 passed, 3 skipped; merges cleanly. Nits: unknown start version reads the whole history on retry (slow on a long run_log); a timed-out commit landing after the check can still duplicate (rare, not loss). | | #272 | HD-058 (EN-12): followed URLs keep the token on Fabric, OneLake and Power BI hosts | FAIL at 0ca4852; automatic failure 3, score would be 8.6 | 8.6 | Automatic failure 3 (a security control presented as working that isn't), reproduced: a backslash URL still sends the bearer token to another host.* followable_url (fabric_api.py:61-75) checks the host from urlsplit, which reads https://evil.com\.fabric.microsoft.com/next as host evil.com\.fabric.microsoft.com (ends in .fabric.microsoft.com, accepted), while requests/urllib3 send it to evil.com (I re-checked: followable_url returns it; parse_url(Request(...).prepare().url).host is evil.com). End to end with a recording adapter, _paged sends Bearer SECRET to evil.com. Repro /mnt/project-files/quality/repros/r272_token_hosts.py: 31 cases, 1 escape. docs/security.md ("refused before a request is sent", "In place") and EN-12 ("done") overclaim. Fix: check the host requests will actually use (urllib3.util.parse_url(requests.Request("GET", full).prepare().url).host) or refuse \ and control characters before parsing; add the case to test_followed_urls.py. *Verified good:** userinfo, evil-fabric…, fabric.microsoft.com.evil.com, http downgrade, //evil.com, trailing dot, IP literals, javascript:, #/? tricks refused; uppercase normalized; relative URLs resolve against the request; a refused continuationUri raises UntrustedUrl after 1 request (no silent partial list); cross-host redirects already drop Authorization. Other token senders (onelake.py, leases.py, central/client.py, estate_service.py, notebookutils getSecret) build URLs from fixed hosts or the person's code, never from a server reply. Run: targeted 44 passed; -k "fabric_api or followed or paged or wait or retry" 84 passed; full sidecar 2119 passed, 3 skipped; merges cleanly. Nits: a non-default port on an allowed host is accepted; ///evil.com resolves to a path on the API host (harmless). | | #267 | HD-054 re-check after #271 | PASS holds at 809065a (draft; maintainer review: workflow and test sign-in) | 9.3 | Main e65844d (with #271) merged cleanly; 809065a removes the six strict xfails (5 case lines; datename-month carried two), and cases.jsonl has no xfail left. Environment-secret nit done: live-testing.md step 4 makes FABRIC_TSQL_CLIENT_SECRET an environment secret of tsql-contract-live. Merges cleanly with main. Run: test_tsql_contract.py 321 passed, 70 skipped (live); -k "sql or tsql or format or compat" 648 passed, 70 skipped. | | #278 | Side by side code revision nit re-check | PASS holds at c76f81d | 9.3 | One commit since 7a16e57: zip(cells, saved["cell_ids"], strict=True) (side_by_side_service.py:143); nothing else changed; merges cleanly with main. Run: -k "side_by_side or receipt or prove" 61 passed, 2 skipped. | | #281 | Test fix: the paused-agent takeover test waits for etl-01's step before freezing it | PASS at cd6174e (test-only) | 9.3 | Root cause holds, and the product is right under that ordering. Agent.step (agent.py:333-353) submits the job to the pool and then calls publish_status, which rewrites agents/etl-01.json. The old test's job thread marked etl-01 lost and polled etl-02; when the publish landed between those two (slow runner), etl-01 looked live, so etl-02 rightly didn't take over and etl-01 ran it: an agent that is still publishing status is live, and _guarded's taken_over check (agent.py:361-364) only cancels when another agent actually took the request. Reproduced the exact Windows failure ('succeeded' == 'cancelled') on main's test by delaying publish_status 0.3 s and waiting 0.6 s between lost and poll; the same probes pass on #281's test. The new test runs step() then sets an event the job waits on, so lost always follows the publish; assertions unchanged, nothing skipped. Run: the test 5/5 in a row; test_agent_takeover.py 16/16. | | #276 | FINOPS-005 advisor nit re-check | PASS holds at d6b4729 (draft); #260 merge-order condition stands | 9.2 | Since 26faf64: an "either" answer adds a reason that only tables are compared and Files/ outputs aren't (tested); the no-proof reason reads "No proof yet: Prove hasn't run this notebook ..."; placement-advice.md rows cover side-by-side runs. No other code change. Run: -k "advisor or risk" 31 passed. Whichever of #276 and #260 lands second still adds workspaces=scope.notebook. | | #275 | HD-051 nit re-check | PASS holds at 108f92c | 9.3 | Comments and docs only since 92c1cb2: architecture.md names the three clients with their own connections (telemetry, Teams webhook, managed identity token); http_session.py says the 60 s timeout is a backstop and that connections past 16 per host are closed after use, not queued. No code change. | | #275 | HD-051 (AR-3): one pooled HTTP session shared by the Fabric, OneLake, Power BI and admin clients | PASS at 92c1cb2 (b988db7 + #270 cherry-pick) | 9.2 | http_session.session() is built lazily under a lock and rebuilt after a fork; _NoCookies.set_cookie is a no-op; HTTPAdapter(pool 16, max_retries=0); timeout=60 only when the caller gives none; injected sessions still win (FabricClient, TableCatalog, FileStore, OneLakeBackend, central FabricPlatform); three bare requests calls moved onto it (estate_service.py:363, :398; notebookutils_local.py:300). No client sets headers, auth, proxies, verify, mounts or cookies on the shared session; Authorization stays per request. Probe /mnt/project-files/quality/repros/r275_session.py 18/18: Set-Cookie, redirect cookies, jar writes and per-request cookies never persist; Retry(0, read=False) sends a dropped connection once; 48 threads x 20 requests, 960/960 replies carried their own token; a forked child gets a new session. Writes still sent once (leases, onelake upload/DELETE, Power BI add-user). Clean merge with main and #272; on a #272 + #275 merge the host allowlist still refuses https://evil.com, http://api.fabric… and userinfo tricks (36/36). Run: targeted 39 passed; related -k 223 passed; full sidecar 2114 passed, 3 skipped. Nits: telemetry.py:212, dataops_service.py:346 and credentials.py:151 keep their own sessions (docs shouldn't say every client is pooled); calls that had no timeout now stop after 60 s between reads (check no long server-side wait relied on that); past 16 connections per host extras are discarded with a warning, not queued as the comment says. | | #264 | HD-041 re-check: saves of one notebook take turns; a briefly refused replace is retried | PASS holds at 4cd6a4c (draft) | 9.1 | _write_lock keys on os.path.normcase(path.resolve()) (case-insensitive on Windows) and wraps only os.replace, retried up to 6 times only on PermissionError (0.75 s at most), then re-raised; finally removes the tmp file; one lock, never nested. rename/delete don't take it, but every notebook writer is in the ordered lane. Two new tests (retry succeeds; refusal stays) leave no tmp. r264_lanes.py: 2000/2000, newer edits kept, 0 failed saves, 0 corrupt files. Run: -k "notebook or lanes" 140 passed, 2 skipped. Not run: the real Windows PermissionError path (stubbed here; Windows CI and the 6 manual checks confirm). Nit: one lock per notebook path kept for the process's life (small). | | #276 | FINOPS-005 placement advisor: where to run a notebook, with the evidence | PASS at 26faf64 (draft; regraded from 8594065); merge-order condition with #260 | 9.1 | Read-only: placement_advice (risk_service.py:204-216) only reads the notebook, receipts and side-by-side records; no write, no Fabric call, no capacity spent; name goes through check_notebook_name; no new scope. QA-008 wording right (a PC run starts no Fabric job; capacity use, not money saved; OneLake reads/writes still use capacity); capability status="preview", docs page titled Preview. Side-by-side logic (r276_sbs_logic.py, 10 cases; r276_revision_match.py): without #278 records have no code_revision and are context only; with #278 the revisions match, also after an unchanged re-save; newest matching run decides, a proof wins, other code or unrecorded runs are context, a failed side gives unknown. Condition: #276 + #260 merge cleanly but fail test_every_capability_declares_how_it_is_confined (1 failed, 322 passed); whichever lands second adds workspaces=scope.notebook to fabric_desktop_placement_advice (then scope tests 10/10; without it a limited tool is refused, fails closed). Run: test_advisor 12 passed; advisor + side_by_side on a #278 merge 34 passed, 2 skipped; related -k 378 passed; full sidecar 2114 passed, 3 skipped; UI 93/93; docs build clean. Nits: "Either place works" when no tables were written also covers Files/-only notebooks (say Files/ isn't compared); proof reason still says "Never compared" next to a side-by-side answer; docs table rows mention only proofs; old runs against other data still count (dated in the text); _cu_reason would crash on a measurement with no label (unreachable, r276_advisor_edges.py); advisor.py docstring names the wrong caller. | | #257 | FINOPS-005 part 1 main-merge re-check | PASS holds at 7af3096 | 9.1 | Main merge only: the PR's change against main is identical at 179ca77 and 7af3096 (10 files, +343/-32); merges cleanly; CI green at 7af3096. The Windows failure in test_agent_takeover::test_a_paused_agent_that_comes_back_mid_run_stops_before_its_next_table (got 'succeeded', expected 'cancelled') isn't #257's: it touches no agent, mailbox or queue code, and the file passed 16/16 five times locally; an intermittent Windows timing issue in main's takeover code for the Workload owner (root-cause, don't skip). Run: test_calibration + test_measurement 31 passed; -k "cost or calibration or measurement or estate" 56 passed; UI 93/93. | | #277 | Git-native stage 2 re-grade | PASS at 79eb07f (was FAIL at a61ee58; draft until Chris reacts to the mockup) | 9.1 | Automatic failure removed: write_locations and set_kind now go through scopes._replace_in, which writes a mkstemp file beside the target and os.replaces it, so a symlinked locations.toml or marker is replaced itself and its target is never written; the temp file is removed on any failure. My probe: symlink to an outside file, Save locations, victim still "precious", link replaced by a regular file, no temp left; the PR's test covers both files. Nits fixed: a failed or mismatched copy unlinks the target so a retry works; U+007F refused (probe: "The dev workspace id isn't valid."); shadowed duplicate names no longer listed; an existing target gives "A notebook named 'A' is already in ... Nothing was moved." Run at 79eb07f: -k "notebook or git or scope or publish or audit or server" 268 passed, 2 skipped; UI 96/96. Not run: full sidecar suite; live publish. | | #277 | Git-native stage 2: notebooks in notebooks repositories; locations.toml per environment | FAIL at a61ee58 (draft); automatic failure 2, score would be 8.8 | 8.8 | Automatic failure 2 (overwrite wider than asked), reproduced: Save locations can overwrite a file outside the repository. write_locations (git/scopes.py:230) does (Path(root) / LOCATIONS).write_text(...), which follows a symlink; a cloned repository whose locations.toml is a symlink (real symlinks on Linux/macOS, and on Windows with core.symlinks) makes Save locations write the TOML over the link's target, e.g. a file in the person's profile. Probe /mnt/project-files/quality/repros/r277_places_and_locations.py case 7: victim overwritten: True. Fix: write a unique tmp file in the repository and os.replace it onto locations.toml (replaces the link, not its target, and is atomic), or refuse when it is_symlink() or resolves outside root; add a test. The pre-existing set_kind marker write (scopes.py:171) has the same pattern (worth the same fix, not blocking). Verified good: move never loses the original: open(dest, "xb") refuses an existing file or dangling symlink; traversal names refused by check_notebook_name; unopened or non-notebooks repositories refused; bytes identical after a move; disk-full halfway leaves the original (r277_move_partial_failure.py). locations.toml keeps only the six id/name fields; quotes and backslashes escaped, newlines and controls below 32 refused. location_ref used for publish, Fabric run and schedule but not saved (saved_ref, cloud_service.py:160-162), through the same _publish_workspace and write guard. Capacity runs keep their confirm. git_set_locations and move_notebook audited; git_locations and notebook_places READ_ONLY; neither writer in QUICK. Docs in source-control.md (Preview page, in nav). Run: test_notebook_places.py 9 passed; -k "notebook or git or scope or publish or audit or server" 265 passed, 2 skipped; UI 96/96; browser 69/69; merge-tree clean. Not run: full sidecar suite; live publish. Nits: a failed copy leaves a truncated target that blocks a retry (unlink it on any exception); U+007F accepted and makes the file unparsable; shadowed duplicate names listed as rows but every action resolves to the app copy (delete_notebook in METHODS would hit the wrong one); raw FileExistsError text reaches the user. | | #278 | Side by side records the code revision it ran | PASS at 7a16e57 | 9.2 | Additive: side_by_side_start computes receipts.code_revision over the cells with the ids notebooks.save returned (side_by_side_service.py:141-143), the same function Prove's receipts use (prove_service.py:560), and stores it as code_revision on the run row; older rows simply lack it. Computed after the existing write-confirmation check, so no new write or confirm path. Test pins equality with a receipt's revision and that an edited cell changes it. Merges cleanly with main. Run: -k "side_by_side or receipt or prove" 61 passed, 2 skipped. Nit: zip(cells, saved["cell_ids"]) would silently drop cells if the lengths ever differed; strict=True costs nothing. | | #263 | HD-055 main-merge re-check | PASS holds at 3bcd91e | 9.1 | Merges cleanly with main. The resolved files (estate_service.py, leases.py, mailbox.py) only gain as exc, a log line through describe() and the logger import; every handler still catches exactly Exception, so behaviour is unchanged. Run at 3bcd91e: test_silent_except + test_redact 71 passed; -k "estate or lease or mailbox or schedule or server" 142 passed. Owner reports full suite 2121 passed (not re-run by me). | | #274 | HD-056 first slice: move the SQL query page out of app.js into app/ui/query.js | PASS at 865dbc5 | 9.3 | Pure move: the block removed from app.js and the new query.js match under diff -w (plus a 3-line header comment). Load order safe: query.js's top level only declares functions and literal consts; app.js reads renderQuery at load (app.js:2020) and index.html loads query.js before it, after codemirror.js and sqleditor.js, pinned by a new UI test. No top-level name collides with another app/ui/*.js. frontendDist is the whole ../ui folder and #250's script-src 'self' allows it; docs/architecture.md names query.js. git merge-tree clean against main, #271, #250, #242, #252, #257, #269. Run: UI 93/93; browser 69/69 on #274 and 69/69 on main 7d3b82c (the owner's timeouts are their container). Nit: other UI tests still slice app.js by markers; move them with later slices. | | #271 | SQL sprint 1: fix five local SQL bugs the T-SQL contract cases found (HD-054) | PASS at fbd3a97 (f1e9c83 + main merge); merge-order condition with #267 | 9.1 | No blocker; probe /mnt/project-files/quality/repros/r271_sql_fixes.py confirms each fix. DATENAME no longer read as FORMAT (sql_format.py:41-45). LIMIT printed back when there's no TOP (_layout_dialect :57-64), and a "row limit" part (:114, :132) refuses a format that adds or drops LIMIT/TOP/FETCH; TOP alone, OFFSET...FETCH and LIMIT in strings/comments unchanged. SYN-009 now flags STRING/BOOLEAN in CAST, CONVERT/TRY_CONVERT and column definitions (rules.py:520-539), not aliases, column names, strings, comments or Spark targets. date_add/date_sub/add_months/next_day return DATE on DuckDB (sql.py:52-66); trunc 'MM'/'MON'/'YYYY'/'YY' works and returns DATE (sql.py:49); date_trunc and hour arithmetic keep the time. QUALIFY rightly not flagged (confirmed on Microsoft Learn's Fabric DW T-SQL surface area page). Run: SQL editor and compat tests 232 passed; full sidecar 2114 passed, 3 skipped; UI 93/93. Merge-order condition: #271 + #267 merge without conflict but fail 6 strict XPASS cases (cast-as-string check, datename-month format_outcome and format_keeps_findings, limit-in-warehouse format_keeps_findings, dateadd-day and datetrunc-month equivalent); whichever lands second removes those six xfail entries in tests/tsql_contract/cases.jsonl. Nits: DECLARE @s STRING not flagged; trunc(d, 'DD') runs locally where Spark returns NULL (pre-existing); T-SQL format of LIMIT 5 OFFSET 10 gives ... OFFSET 10 ROWS, still flagged by SYN-001. | | #270 | Kernel: a poll or interrupt never starts a kernel process (fixes red main on Windows) | PASS at 4b0c632 | 9.3 | Root cause confirmed as a real product race, not a flaky test: when the limits watcher ends the process, a poll that checked proc.poll() just before it died reached _request, whose _ensure spawned a fresh process that answered "idle". That explains both Windows failures on main fc3bd71: the memory test got idle, and the interrupt test got _limit_note's "Variables from earlier cells are kept" on that idle answer (execution_count 0, seconds 0). Fix: _request(spawn=False) for poll and both interrupts; a dead or missing process raises KernelGone, which poll already turns into _stuck or the ended cell; a cell start still spawns. The new test fails on main's kernel_proc.py with the same 'idle' == 'error' and passes with the fix. Run: test_kernel_process.py 13/13 three runs in a row; full sidecar 2103 passed, 3 skipped. Main 7d3b82c's own Windows run passed (the race is intermittent), so #270's Windows CI is the confirmation. #268 closed. | | #267 | HD-054 re-check | PASS holds at 3cfb8c3 (draft; maintainer review: workflow and test sign-in) | 9.2 | The qualify case now expects accepts and local no_known_problems; confirmed on Microsoft Learn's T-SQL surface area page for Fabric Data Warehouse (updated 2026-09-29: "support the SELECT - QUALIFY syntax"). Live job runs in environment: tsql-contract-live (tsql-contract-live.yml:27); live-testing.md says each run uses capacity and has the maintainer create the environment with required reviewers. Merge adds only main's files. Run: test_tsql_contract.py 315 passed, 70 skipped, 6 xfailed; -k "sql or tsql or format or compat" 630 passed, 70 skipped, 6 xfailed. Nit: make FABRIC_TSQL_CLIENT_SECRET an environment secret, not a repository secret. | | #266 | HD-053 re-check | PASS holds at cfb4fab (maintainer review: data mutation) | 9.2 | New test_notebookutils_rm_cant_climb_out_of_files refuses Files/../.., Files/.. and /lakehouse/default/Files/%2e%2e with 0 mutating requests. Merge with HD-039 keeps item_path in all six FileStore methods; only GETs go through send_with_retry, upload PUT/PATCH and DELETE are sent once. Repros: r266_item_path.py 0 escapes; r266_notebook_rm_escape.py 3/3 refused, 0 requests. Run: test_contract_onelake + test_retry_after 63 passed; -k "onelake or notebookutils or retry or lakehouse or files" 196 passed. | | #263 | HD-055 re-check | PASS holds at cbbd558; needs a main merge (conflicts in estate_service.py, leases.py, mailbox.py) | 9.1 | All four nits fixed: server.py _log_to_stderr adds one INFO handler on fabric_desktop with a formatter that passes the whole record through secrets() (run: DEBUG dropped, SAS sig=, Bearer and URL userinfo in a traceback come out [removed]); describe() guards str(exc); proof_runtime.py:174 catches ImportError only; schedule scan logs one WARNING per scan. Run: test_silent_except + test_redact 71 passed; -k "schedule or proof or server or log or redact" 155 passed. Nits: some INFO lines fire on every call (get_status "Not signed in", MCP _client_name); a bare sig= outside a URL isn't redacted (pre-existing). | | #260 | HD-014 main-merge re-check | PASS holds at 009a352 | 9.2 | Merge only: the PR's change against main 7d3b82c matches 779b19c line for line (16 files, +733/-79); main's #265 kernel test kept. Run: -k "integrations or scope" 312 passed. | | #269 | Wolf Forge emblem as the app logo, favicon and Windows icon | PASS at 77a9014 (draft) | 9.2 | No blocker; images and markup only (no code path, write, scope, CSP or workflow change); merges cleanly with main 7d3b82c. Icons opened with PIL: tauri.conf.json still points at icons/icon.png (512x512 RGBA) and icons/icon.ico (16/24/32/48/64/128/256, as before); app/ui emblem 128x128 and favicon 32x32 with transparent corners. Nothing still references the deleted app/ui/kratosbi-mark.svg; index.html loads only local PNGs; title "Fabric Desktop by KratosBI" unchanged. Emblem ownership is the PR's claim (not verified). Run: UI 94/94 (new test checks header, favicon, removed SVG, ico sizes); browser 69/69; zensical build --strict clean. Not run: Windows taskbar/installer rendering (no GTK); #250 CSP interaction inferred fine (img-src 'self'). Nits: the 16 px frame is muddy (hand-tune it); header alt="KratosBI" next to the visible "by KratosBI" is read twice (use alt=""); repo grows ~500 KB. | | #262 | Optimize central_restrict re-grade | PASS at e2c5816 (was CONDITIONAL 8.3 at 19a0a23; maintainer review: role changes) | 9.1 | Both conditions fixed. 1: a ` DefaultReader now drops every registered family's schema (roles.py:69-70), so a second family can still be restricted (/Tables/hrabsent after restrictingaccess). 2: roles compare by paths and members only (_same, roles.py:38-45) and Fabric's id/eTag are kept when they match, so a rerun gives changed: Falseand 0 PUTs. The PUT sendsIf-Matchwith the list ETag (fabric_api.py:352-371); 412/PreconditionFailed becomes CHANGED_SINCE with no audit row (optimize_service.py:222-226). A mismatchedshown= refuses before any PUT; refusals and previews make 0 PUTs; other roles go into the PUT unchanged; no new scope (OneLake.ReadWrite.All, docs/permissions.md:68). Probe r262b_restrict_fixes.py 4 passed. Run: optimize roles/service/setup + fabric_api 55 passed; full sidecar 2080 passed, 2 skipped; UI 93/93. Must-do for Governance as first caller: always pass shown=withapprove=True(without it the plan is re-read and written as is). Nits: makeshown=required on approve; return the change list from the preview (the "; "-joined string can't be split back); mark central_restrict untested on a live tenant (ETag on list and If-Match on PUT unverified; with no ETag the PUT goes without If-Match); estate_service.py:445-458 still does a whole-list PUT (follow-up). | | #269 | Emblem nit re-check | PASS holds at 62882fc (draft) | 9.3 | Both nits fixed: header emblemalt=""(index.html), and icon.ico's 16 px entry re-rendered (ico still 16/24/32/48/64/128/256, checked with PIL). Only those two files changed since 77a9014. Run: UI 94/94. | | #267 | HD-054: opt-in live SQL compatibility test against a test workspace | PASS at 708eaac (draft; maintainer review: workflow and test sign-in) | 9.1 | Workflow runs only onworkflow_dispatchandschedule, gated if: github.ref == 'refs/heads/main', permissions: contents: read, the secret only on the gated step, actions SHA-pinned; inert until the secret exists. The live test can't reach production: workspace marker required, production-looking names refused, read-only cases only, rollback, service-principal sign-in only. Run: targeted 314 passed, 70 skipped (live cases), 7 xfailed (strict); full sidecar 2374 passed, 72 skipped, 7 xfailed; zensical build --strictclean. Live run not executed here (no tenant). Nits: no GitHub environment with required reviewers; docs don't say the weekly run uses capacity; results are written only at teardown. Six local bugs the xfails pin, for the SQL owner: DATENAME crashes Format SQL (AttributeError in sql_format.py_difference); Format SQL rewrites LIMIT to TOP for T-SQL so SYN-001 is lost (format_sql); the check misses QUALIFY and CAST AS STRING (sqlcompat/rules.py:77, SYN-009); Spark date_addreturns a timestamp locally andtrunc(..., 'MM')fails in DuckDB (sqlglot transpile in sql.py). | | #266 | HD-053: every OneLake file path stays inside its own lakehouse item | PASS at 4ad84c6 (maintainer review: data mutation) | 9.1 | Bug real on main: a..path built a URL outside the item, so a recursive DELETE could reach another lakehouse or the workspace root; notebook code could do it withnotebookutils.fs.rm("Files/../..", True)because_writable(notebookutils_local.py:91-95) only checks theFiles/prefix.item_path(onelake.py:86-97) now normalizes and refuses escapes and is used by all six FileStore methods; probe /mnt/project-files/quality/repros/r266_item_path.py: 0 escapes in 28 cases (incl. encoded and backslash forms). Contract tests drive a realrequests.Sessionthrough a recording adapter (tests/fake_http.py). Run: targeted 93 passed; full sidecar 2127 passed, 2 skipped. Nits: add a notebookutilsFiles/../..test (r266_notebook_rm_escape.py); ids and lease/mailbox keys aren't checked byitem_path. Separate finding for HD-058 (code reading, not run): FabricClient._request(fabric_api.py:79-90) sends the bearer token to any URL taken fromcontinuationUri(:97) orLocation(:104), http included; allowlist the Fabric hosts and https. | | #264 | HD-041 nit re-check | PASS holds at f194da4 | 9.1 | NotebookStore writes through_write_atomicwith a unique.ipynb..tmp, removed on failure; new test runs 8 threads x 20 saves of one notebook. r264_lanes.py at f194da4: step 1 2000/2000, step 2 keeps the newer edits, step 3 now 0 failed saves and 0 corrupt files. Run: -k "notebook or lanes"+ test_server_lanes 138 passed, 2 skipped. | | #248 | Post-merge conflict check (RM merge 18b3b23, main 4c73521) | Resolution correct | n/a | 18b3b23 (f3ff62a + main 476f7b2) keeps #245's_preview(meta_service.py:32) and #248's_env_workspaces/_clashes/shared_workspaces(before=)(:48-60, used at :252). Run on main 4c73521: test_environment_isolation + test_bounded_previews + r248 repro 14 passed;-k "meta or environment or preview"98 passed. | | #253 | HD-015 main-merge re-check | PASS holds at ff119d4 | 9.2 | Merge resolution in sql.py: HD-015'sprepare_sandboxed/execute_sandboxedsit under main's_execute/Stream/head; the sandbox path still locks configuration before executing; service.py conflict kept both sides. Run at ff119d4: full sidecar suite + r253 repro 2069 passed, 2 skipped (12 min 23 s); UI 93/93. | | #264 | HD-041 re-grade: notebook writers stay ordered | PASS at a8822e7 (was FAIL at c242901; draft until 6 manual Windows checks; maintainer review: engine pipe) | 9.0 | Automatic failure removed: new_notebook, save_notebook and rename_notebook are out of QUICK in both watchdog.rs and server.py (31 quick methods left), with a test that no notebook writer is quick. I checked every notebook file writer (notebooks.save/set_extra: save_notebook, publish, prove_start, replay_bundle_open, replay_end, notebook_debug_set, prove_rules_set, meta_key_notebook): none is in QUICK; quick open_notebookonly reads, and saves replace by rename. r264_lanes.py at a8822e7: step 1 2000/2000 replies matched, 0 broken lines; step 2 now keeps 'NEW (typed after Publish)'. Step 3 still shows NotebookStore isn't thread-safe (504 FileNotFoundError, 3 corrupt files) when two threads callsavedirectly, but no two notebook writers can now run at once in the engine, so it is no longer reachable through the pipe. Run: test_server_lanes.py 6/6;rustc --test watchdog.rs5/5. Not run: fullcargo test(no GTK). Disclosed in the PR and accepted: a quick call past its 60 s limit can still end the engine during an ordered write; writes are tmp-then-rename, so the old file survives. Nit: giveNotebookStorea unique tmp name anyway, so a future quick writer can't reintroduce step 3. | | #264 | HD-041 (SH-11): the shell matches engine replies by id; quick calls run in their own lane | FAIL at c242901 (draft); automatic failure 2, score would be 8.4 | 8.4 | **Automatic failure 2 (known data-loss defect), reproduced: a queued publish overwrites newer notebook edits.**save_notebook, new_notebookandrename_notebookare in the quick lane (server.py QUICK);publish_notebookstays ordered and saves the cells captured at click time before uploading (cloud_service.py:157). The UI autosaves 1.5 s after an edit (app.js:2086). With Publish queued behind a long ordered call (meta_run, sign-in, git), a later autosave now runs first, then the publish writes its older cells over it and setsnb.dirty = false(app.js:2146), so closing doesn't save again and the edits are lost. Repro /mnt/project-files/quality/repros/r264_lanes.py step 2: c242901 leaves 'OLD'; base d74daf7 (one lane) keeps 'NEW (typed after Publish)'. Also:NotebookStore.save/set_extra(notebook.py:887-939) share one fixed.ipynb.tmp, so two lanes saving one notebook gave 160 FileNotFoundError failed saves in step 3 (0 corrupt files). Fix: keep notebook writers in the ordered lane, or serialize per notebook (per-name lock + unique tmp) and make an older publish refuse to save over a newer save. Inferred, not tested: a quick call passing QUICK_SECONDS (60 s) now kills the engine while an ordered write is in flight. **Verified good:** ids from AtomicU64::fetch_add; registerbefore write; timeout or failed send callsforget, late replies dropped (replies.rs deliver), main.rs re-checks the id; output close wakes every waiter; engine reset only on the same Arc (ptr_eq); Python writes each reply line under one lock (step 1: 2000/2000 replies over real pipes matched, 0 broken lines); ordered lane is a single FIFO worker; handle()audits both lanes; QUICK identical in Rust and Python with a sync test. Run: replies.rs standalone 7/7;rustc --test watchdog.rs5/5; test_server_lanes.py 5/5; full sidecar 2050 passed, 2 skipped; UI 93/93. Not run: fullcargo test(no GTK). | | #261 | Policy file warning re-grade | PASS at b215b85 (was CONDITIONAL at 46723b3) | 9.1 | Condition met (d34b83c): on Windows_windows_can_changeopens the file for FILE_WRITE_DATA, DELETE, WRITE_DAC, WRITE_OWNER and the folder for FILE_DELETE_CHILD, WRITE_DAC, WRITE_OWNER, one right at a time, sharing everything, never testing create-files (no %ProgramData% false positive); elsewhere it counts owning the file or folder or a writable non-sticky folder. r261 repro re-run asnobody: user-owned folder now user_can_change: True; IT-owned folder with a read-only file False. Windows ctypes path not run here (a Windows-only smoke test runs it in CI). Nits fixed ("Check the policy file:" heading; wording no longer says Windows). Run: -k "policy or settings or readiness"86 passed, 1 skipped (the Windows smoke test). #259 conflict remains. | | #263 | HD-055: CI fails on new silent broad excepts; existing ones log through redact.describe or are opted out with a reason | PASS at 22a7950 | 9.0 | tests/test_silent_except.py flags bareexcept:, Exception, BaseException (name or attribute) or a tuple with one, whose body only passes, continues, breaks or returns a constant, across every module (rglob); opt-out needs # silent-ok: of 10+ characters. An addedexcept Exception: passin a scratch copy failed the test (preview.py:133). No behaviour change: all 56 handlers still catch exactlyException; only as exc, a log call and removed passlines differ. Actual count: 50 log calls (48_log, 2 self.log) and 6 opt-outs, not "49 + 7". Every log goes through describe()(redact.py:76-79); SASsig=, Bearer, URL userinfo and AccountKey redacted (checked). Opt-out reasons real (spark_local.py:357, 499, 514; notebook.py:669; proof_runtime.py:174, 212). QA-013 partly fixed: the test's "silent" is narrower than QA-013's; handlers that only set a default still pass (101 on main, 51 here). Run: test_silent_except + test_redact 69 passed; full sidecar 2062 passed, 2 skipped. Nits: (1) the desktop sidecar configures no logging for fabric_desktop(onlyfabric_desktop.agent, logs.py:52), so the 32 DEBUG lines go nowhere and WARNING reaches sidecar.log only via the last-resort handler; log at INFO/WARNING or add a handler (probe /mnt/project-files/quality/repros/r263_log_reach_and_describe.py); (2) describe()callsstr(exc)unguarded, so an exception whosestrraises now escapes a handler that used to swallow it (shown in the probe): guard it; (3) proof_runtime.py:174 should catch ImportError; (4) schedule_service.py:219-232 logs per workspace and item, hundreds of lines on a throttled tenant. | | #261 | Warn when people can change the organization's policy file (policy.json writable by standard users) | CONDITIONAL at 46723b3 (PR change 186393f + main merge) | 8.6 | **Condition: the check looks at the file, never the folder.**user_can_change(app_settings.py:286-302) only triesos.open(path, O_WRONLY)(a real CreateFile write on Windows, so ACLs count). enterprise-install.md:33 names the case of a folder a person created first: as its owner they have FILE_DELETE_CHILD and WRITE_DAC, so they can delete and replace a SYSTEM-written policy.json while the check says no, and Help and about stays silent in the very case the docs say it catches. Repro (Linux analog; Windows inferred from ACL semantics) /mnt/project-files/quality/repros/r261_replace_via_folder.py: asnobody, root-owned 0644 policy.json in a nobody-owned folder gives user_can_change: False, then the file is replaced with {"allow_fabric_runs": true}; controls behave. Fix: also open the file with DELETE and the folder with WRITE_DAC (CreateFileW, FILE_FLAG_BACKUP_SEMANTICS), or narrow the doc's claim. Don't test by creating a file (Users inherit create-files from %ProgramData%, a false positive). **Verified:** elevated admins excluded and non-elevated admins' filtered token fails the write; missing file gives False; OSError/AttributeError caught; no O_TRUNC; skipped while a last-good copy is in use; warning plain and the policy still applies; security.md row honest ("Partly in place", "stops mistakes, not someone set on getting round it", points to Entra tenant restrictions / Conditional Access); no doc calls policy a boundary. Nits: readiness.py:75-77 shows it under "Part of the policy file was ignored"; "your Windows account" text on Linux/macOS; owner-set read-only attribute gives a false no (inferred). Conflicts with #259 in app_settings.py (one hunk in policy_problems) and test_policy_fail_closed.py. Run: -k "policy or settings or readiness"85 passed; UI 93/93;zensical build --strictclean; full sidecar 2061 passed, 2 skipped, 1 failed: test_kernel_process ignores_the_interrupt (the timing flake #265 fixes; ran under a parallel suite; the file passed 12/12 twice alone). | | #262 | Optimize: a family's tables in their own schema, kept from DefaultReader by central_restrict | CONDITIONAL at 19a0a23 (engine only; not tried on a live tenant) | 8.3 | **Condition 1 (reproduced):** once one family is restricted on a*DefaultReader, a second family with its own schema can never be restricted: the first run expands DefaultReader to every schema but its own (roles.pyothers, from lake.schema_names()), including the other family's /Tables/hr, and the second run then refuses that path as "given on purpose". Repro /mnt/project-files/quality/repros/r262_restrict_edges.py prints "SECOND FAMILY: refused". Fix: leave registered families' schemas (schema.schemas()minus dbo) out ofothers; test two families. **Condition 2 (reproduced with an idfield; real response shape inferred from the API reference):** a rerun isn't a no-op:own != existing(end of restrict_plan) compares make_role's dict with the listed role, which carries anid, so every rerun PUTs all roles again, writes another restrictaudit row and reports changed=True. The service test passes only because its fake returns make_role's exact shape. Fix: compare paths and members; test withid. **Finding (not a condition):** put_data_access_roles(fabric_api.py:345-347) replaces every role with no If-Match; a role added in the portal between the fresh re-read and the PUT is dropped (same pattern as estate_service.py:445-458, pre-existing). Use If-Match with the List ETag if supported (inferred). **Verified:** every refusal (no DefaultReader, multi-rule, path into the family schema, name clash; approve False and True) makes 0 PUTs; without approve nothing changes and it raises "... Confirm to continue."; DefaultReader's members incl.fabricItemMembersReadAll and admin paths kept; other roles untouched; non-schema lakehouse refused before any read; family tables land in their schema viaschema.schema_of(lakehouse.py); schema names validated and unique; no UI caller, not in server.METHODS; no new scope; docs/optimize/README.md says later schemas aren't added to DefaultReader. Nits: the approved call recomputes the plan and doesn't refuse if it differs from what was shown; the confirm text doesn't mention later schemas. Run: optimize/central/access/incident/xray tests 131 passed; repro 3/3; full sidecar 2056 passed, 2 skipped. | | #265 | Test fix: HD-037 kill test sets the limit only once the cell is inside its long call | PASS at 9fbdc59 (test-only) | 9.3 | Root cause holds: kernel_proc.py:140-142 readsself.time_limiton each watch tick and measures from cell start, and 0 means no limit, so a 0.5 s limit set before the cell reachedtime.sleep(600)could interrupt the bytecode first and end the cell normally (correct product behaviour, wrong test). The test now starts with limit 0, waits for the cell's own "in" print, then sets 0.5 s. Run: the test 5 consecutive times 5/5 (about 5 s each); test_kernel_process.py 12/12. Windows CI on the PR is the real confirmation. Nit: if "in" never arrives within 30 s the test carries on and fails later with a less direct message. | | #260 | HD-014 re-check | PASS holds at 779b19c | 9.2 | Nit 1 fixed:bind_proofhashes cells, lakehouse, compute and publish workspace before approval;start_proof refuses a notebook changed during the wait (approval_required) and re-checks the limit via scope.enforce_on. Nit 2 (existence probe) kept on purpose; accepted. Run at 779b19c: -k "integrations or scope"312 passed. | | #258 | HD-022 docs re-check | PASS holds at 2493b29 | 9.1 | Docs only: security.md and release-management README say the hand-over stops an in-progress call or run; readiness row 4 now "checksums required (SH-3, #158)". | | #259 | HD-027 re-grade: pop-ups get a filtered app window | PASS at b4268cf (was CONDITIONAL 8.6 at 0b08ea6; draft until Chris's Windows check; maintainer review) | 9.1 | Condition met:fabric_pop_up(main.rs ~764-800) denies unlisted URLs; an allowed one gets an app-builtWebviewWindowBuilder(about:blank,window_features, opener's WebView2 environment) with the same on_navigationfilter and anon_new_windowthat callsfabric_pop_upagain (nested pop-ups filtered); returnsNewWindowResponse::Create, and Denyif the build fails. Ordering read in wry 0.57.0 webview2/mod.rs:829-846 and tauri-runtime-wry 2.12.1 lib.rs:4854-4870: the webview and its NavigationStarting handler exist beforeSetNewWindow/deferral.Complete(), so the filter is in place before the pop-up URL loads. Pop-ups get no IPC (capability is ["main"]). A test fails if NewWindowResponse::Allowreturns; login.windows.net added with look-alike tests; security.md matches. Run: probe rebuilt from b4268cf'sfabric_nav/dns_name+ its tests 11/11 (/mnt/project-files/quality/repros/r259_nav_probe_b4268cf/); UI 91/91;-k "policy or settings"92 passed. Not run: cfg(windows) pop-up code (Windows CI only). Nit: pop-up title comes from the page. | | #258 | HD-022 re-grade: engine hand-over | PASS at 43cb87d (was 9.0 at f728e99; draft until manual Windows checks and #241; workflow edits need Chris's review) | 9.1 | Nit 3 fixed (1d2212e):update_guard::hand_over(update_guard.rs:271-299) stops the engine, swaps, spawns, waits; a failed swap, spawn or early exit restores the old exe andresume(engine_was_running); a failed stop swaps nothing. shut_downcloses stdin like quit, waits 10 s, then kills; rpc during the hand-over returns a plain "starting its new build, try again" message. Data safety: hand-over runs only from the startupcheckComponents(app.js:2697, caller :2779), so a running call is killed like a crash at launch; Delta commits stay atomic. Restamp still in promote.yml:34 and ci.yml:267. Merge resolutions vs #158 keep both sides; readiness row 4 "missing ones accepted (SH-3)" is stale text from main. Run: update_guard.rs standalone 21/21; r258 repro 4/4; test_updater 37/37; UI 93/93; workflows parse. Not run: fullcargo test(no GTK), so ExeHandover/shut_down uncompiled here; Windows lock behaviour unverified. Nit: hand-over kills a running call rather than waiting (document it). | | #260 | HD-014: every external capability keeps a workspace-limited tool inside its workspaces | PASS at d3f5ef3 (maintainer review: localhost API permissions) | 9.2 | Leak confirmed and fixed: the new test_integrations_workspace_scope.py copied onto origin/main 476f7b2 fails 8/10 (21+ leaks incl. get_notebook, get_proof, get_receipt, get_side_by_side, get_project, execution status/logs, check_run_risk, list_workspaces); passes 10/10 at d3f5ef3. One check point: MCP tools, MCP resources,/capabilities/{id}/invokeand/resources/readall go throughRegistry.invoke(registry.py:348);PermissionAuthorizer.check(permissions.py ~141) runsscope.enforcebeforebind and before the approval prompt. Fails closed: undeclared or UNKNOWN refused (permissions.py:97), resolver None refused, a lakehouse name without workspace id refused (record_of), declarations validated at registration. ARGUMENT capabilities need workspace_idand build OneLake paths from it. Lists filtered byscope.keepbeforepage()(services.py), so totals don't leak; refusals don't name the other workspace. Code capabilities still refused to limited tools (permissions.py:94). Docs match (ai-integration.md, ai-integration-security.md, user-guide.md). Run: new file 10/10;-k integrations303 passed; UI 91/91; full sidecar suite with -x exited 0 (count not captured). Nits: out-of-scope vs missing notebook names distinguishable (repro /mnt/project-files/quality/repros/r260_notebook_existence_probe.py; low impact); start_proof checks the notebook's workspaces before the approval wait but reloads it after, so a lakehouse changed during the wait isn't checked (bind it like run_notebook'sbind_notebook); notebooks with no lakehouse or publish workspace are visible to every limited tool (documented). | | #242 / #249 / #250 | Main merges re-check | Verdicts hold: #242 at fa7c5db, #249 at cd982b1, #250 at 1ec17ad | n/a | Conflicts were ui.test.cjs (#242, #250: keep both) and kernel_proc.py (#249: main's start_new_session+_Treekept alongsideenv=self.env()). Run: UI 94/94 on fa7c5db and on 1ec17ad; #249 test_kernel_process + test_integrations_executions 53 passed. **Merge-order note:** #250 removes notebook.js's srcdocsink, which #242's raw-HTML test lists as allowed; once both are on main the test's "an allowed sink is gone" assertion fails, so whichever lands second must drop that allowlist entry (and they conflict in ui.test.cjs). | | #256 | HD-039 re-check | PASS holds at 3fa7c46 (maintainer review required) | 9.3 | Nit taken:RETRY_AFTER_FLOOR = 0.5(retrying.py), so "0" or a past date waits 0.5 s instead of retrying back to back. Run at 3fa7c46: test_retry_after.py 27/27; r256 repro: every method's send counts unchanged (writes once on 500/503/drop/timeout, 5 only on 429); its 3 "BAD" lines are the old 0 expectation for "0"/past dates, now 0.5 by design. | | #257 | FINOPS-005 part 1 re-grade | PASS at 179ca77 (was FAIL at 8dc8b0e; draft) | 9.1 | Automatic failure removed: the measured-when-matched path is gone (estate_service block,measuredparam on costs.calibrate, fake-id test) and its claims are removed from estate.js, cost-evidence.md and docstrings; cost-evidence.md says imported measured CU isn't used for savings yet because one runner job covers many tables. Nits fixed: a baseline without alogic fingerprint no longer matches ("different (or unrecorded) version"); future-dated baselines ignored (0 <=in calibration.py). New test: tables from one engine run with real id shapes each get their own estimate. Wording scan of app/ui and docs: no "no Fabric capacity" claim (meta.js:821 "No Fabric capacity found for your account" is a lookup result, not a capacity claim) and no "free" savings wording. Run at 179ca77:-k "calibrat or measure or cost or usage or estate"79 passed; UI 91/91; browser optimize 5/5. | | #256 | HD-039: parse and cap Retry-After; retry reads on 5xx and dropped connections; writes sent once | PASS at 1c70422 (maintainer review required) | 9.3 | All new retries go throughsend_with_retry(retrying.py:62-87): a non-GET/HEAD/OPTIONS raises at once on ConnectionError or Timeout (:76-77) andshould_retry (:55-59) repeats a non-read only on 429. Every caller passes "GET" (Graph estate_service.py:398, 402; getSecret notebookutils_local.py:300; TableCatalog onelake.py:66; FileStore list/download/read_bytes onelake.py:105-168; leases.py:207; mailbox.py:105) except FabricClient, which passes the real method (fabric_api.py:76). Sent once: FileStore upload PUT/append/flush (onelake.py:176-184), delete (:191), lease and mailbox conditional writes, central/client.py POSTs, Power BI role POST. No HTTPAdapter or urllib3 Retry in the sidecar. 429 on POST is refused unread; a 202 LRO goes to the poll loop, whose wait is now capped (:97). No POST-read regression (FabricClient retried 5xx only for GET before). QA-006 stays fixed (status_ofreads.status first, :90-96). Repro /mnt/project-files/quality/repros/r256_retry_safety.py: 19 Retry-After edge cases (negative, NaN, inf, 1e400, garbage, past date, year 9999, -0000/-0500 zones, invalid day) all right; POST/PUT/PATCH/DELETE sent exactly once on 500, 503, dropped connection and read timeout, 5 times only on 429. Run: test_retry_after.py 27/27; full sidecar 2058 passed, 2 skipped. Nits: a 429 with a past Retry-After date retries back to back up to 4 times (add a floor). Outside this PR: new finding QA-033 (_after_commitrepeats committed appends on any exception); delta-rs commits use object_store's default retries (not verified). | | #257 | FINOPS-005 part 1: savings on this PC estimated from Fabric runs of the same table | FAIL at 8dc8b0e (draft); automatic failure 3, score would be 8.2 | 8.2 | **Automatic failure 3 (functionality presented as working that isn't), reproduced: "measured CU when an imported Capacity Metrics export matches" never fires.** estate_service.py keysmeasuredbyby_run.job_id, the Fabric job instance id (usage/reconcile.py:158); costs.calibratelooks upr["fabric_job_cu"]["run_id"], which on metadata-table rows is the engine's run id r-YYYYmmdd-HHMMSS-xxxx(meta/engine.py:320, 355). They never match. Repro /mnt/project-files/quality/repros/r257_measured_never_matches.py: both tables print "Median estimated" with real id shapes. The engine run id is also shared by every table in a run, so naive re-keying would give each table the whole job's CU (repro: 6,000 CU-s avoided for one 3,000 CU-s job). test_measured_cu_from_an_imported_export_is_preferred passes only withrun_id="f1", an id the app never produces. The copy claims the measured path (estate.js:493, cost-evidence.md "Measured first", module docstrings, "or importing a Capacity Metrics export, gives later runs here something to compare with"). Fix: split a runner job's measured CU across its tables, or remove the measured-when-matched claims until that exists; test with real id shapes. **Verified good:** same definition = project.fingerprint(e)(engine.py:356), changed definition gives Unknown; 90-day window inclusive (calibration.py:28); median of the 5 newest; 0 runs gives Unknown, never 0; 1 run used with an uncertainty note; PC run time never used (tested 5 s vs 5,000 s); scenario kept apart and never summed; copy says OneLake reads/writes still use capacity and aren't counted; no "no Fabric capacity" or "free"; "savings" only for the estimate; no new RPC or writes; Preview tag kept (optimize.js:262). Nits: baselines withoutlogicpass the definition check (calibration.py:46) though docs say strict; a future-dated baseline counts as within 90 days. Run at 8dc8b0e: full sidecar 2043 passed, 2 skipped; UI 91/91; browser optimize 5/5; calibration/measurement/cost/usage/estate subset 78 passed. | | #259 | HD-027: Fabric view opens only Fabric and Entra sign-in hosts over https; IT adds IdP hosts withfabric_view_sign_in_hosts; SmartScreen back on | CONDITIONAL at 0b08ea6 (draft until Chris's Windows check; maintainer review: auth and shell) | 8.6 | **Condition (from reading wry 0.57.0 source; not tested on Windows): pop-ups are filtered only on their first URL.** on_new_windowreturnsNewWindowResponse::Allowfor a listed host (main.rs:743-750); wry maps Allow toSetHandled(false)(wry src/webview2/mod.rs ~834), so WebView2 opens its own window sharing the view's profile with no NavigationStarting filter (on_navigation is only on the view, :741). A pop-up opened on a sign-in host can then go anywhere with the view's sign-in. docs/security.md:48 claims pop-ups are kept to the listed hosts. Fix: answer listed pop-ups withNewWindowResponse::Createand a webview carrying the sameon_navigation(or open them in the view), or state the gap in security.md and add "a pop-up can't navigate off the list" to the Windows checks. Pre-existing and narrowed by this PR, not a regression. **Verified:** exact host match, https only, no userinfo or port (main.rs:616-650); probe /mnt/project-files/quality/repros/r259_nav_probe/ (PR matcher compiled alone) sends look-alikes, suffix tricks, trailing dot, ports, userinfo, IP/IPv6, IDN/punycode, tab-in-host to the browser and refuses wss:, ms-msdt:, search-ms:, vbscript:, view-source:;@evil.comcorrectly stays (WHATWG host is Fabric's). Policy key validated in shelldns_name(main.rs:67-76) and mirrored in Python (app_settings.py:248-310): rejects*, *.com, bare TLDs, IPs, schemes, ports, paths; unreadable file adds no hosts (fail closed). open_in_browserallows only http/https, no shell. Key documented (azure-setup.md:70, :97, enterprise-install.md, security.md:48). Run: PR's 9 Rust tests + probe standalone 10/10 (main.rs unchanged since); at 0b08ea6 UI 91/91, sidecar-k "policy or settings"92 passed. Not run: fullcargo test(no GTK), so main.rs wiring uncompiled here. Nits: IdP cookies not persisted (FABRIC_HOSTS is Microsoft-only), so federated users may re-sign-in each launch (inferred); seamless SSO / login.windows.net top-level navigations leave the view (inferred; include a federated tenant in the Windows check); shell keeps no last-good policy copy (documented). | | #254 | Repository split stage 1 re-grade | PASS at 1b750f8 (was FAIL at fc3a0be; draft) | 9.0 | Defect fixed:scopes.createchecks_folder(path, must_exist=False), the folder init() uses, and starter files are written with open(..., "x"). r254 repro now refuses /tm..., ~/projand /abs/proj2, and the person's .gitignoreandplatform.tomlare unchanged. Nits fixed:set_kindasks before replacing an unreadable marker;git_init(kind=...)refuses before init when a marker exists. 5 new tests (~, leading space, $VAR, file appearing mid-create, nit cases). Run at 1b750f8: repro;-k "git or audit"91 passed; UI 92/92. Nit: a file appearing mid-create raises after init, leaving a repository with some starter files (no data lost). | | #253 | HD-015 re-check | PASS holds at e43949d | 9.2 | Nit 1 taken: interrupt loop andcon.close()share a per-run lock, andstoppedis set under it, so an interrupt never overlaps the close. Nit 2 kept on purpose (external queries can run beside the SQL page's own); accepted. Run at e43949d: test_integrations_executions + test_sql* + r253 repro 323 passed. | | #258 | HD-022: refuse out-of-date channel releases; keep the previous exe until the new one starts | PASS at f728e99 (stays draft until manual Windows checks; workflow edits need Chris's review) | 9.0 |check_manifest(update_guard.rs:48-98) keeps the newest acceptedpublishedstamp per release tag (update-state.json, :123-144) and refuses an earlier stamp, an unstamped manifest after a stamped one, the same stamp naming another build, a missing exe checksum, and a stamp >24 h ahead of the local clock;update_appinstalls only the build offered by the last accepted check; the engine install uses the same rule. **Rollback:** promote.yml restampspublishedto now on every run (:31-35). Today's promote.yml only promoteslatest. **#241 conflicts** with #258 in ci.yml, promote.yml, readiness-checklist.md and release-management/README.md (test merge). Repro /mnt/project-files/quality/repros/r258_release_stamp.rs: a build-<sha12> version.json promoted with its CI stamp is refused on PCs that saw a newer Stable; restamped it is accepted, so whoever lands second must keep .published = nowin #241's promote jq. Channel switch accepts the other channel's older stamp (per-tag memory). Migration: live stable 2c9d1f2 and latest version.json already carry exe_sha256, and unstamped manifests are accepted until a stamped one is seen. Stamp and checksum are unsigned (integrity, not provenance); docs/security.md says so (signing is HD-021). Exe swap restores on exit before theupdate-startedmarker, 20x250 ms retries for locks, never leaves no exe. Run: update_guard.rs compiled alone, 17/17 + 4/4 repro tests; UI 91/91; test_updater 37/37; workflows parse as YAML. Not run: fullcargo test(no GTK), so main.rs is uncompiled here; Windows rename/lock behaviour unverified. Nits: clock >24 h behind refuses every release (message says so); corrupt update-state.json fails open and accepts one older stamp (document it); old and new instances overlap up to 90 s and could collide on the local API port (inferred). | | #254 | Source control: a repository per kind of definition (item 37, stage 1) | FAIL at fc3a0be (draft); automatic failure 2, score would be 8.3 | 8.3 | **Automatic failure 2 (known data-loss defect, overwrite wider than asked), reproduced: "New repository" overwrites the person's own files.**scopes.create(git/scopes.py) checks for existing files on the rawPath(path), but init()expands~`/$VARS and strips spaces via _folder(), and starter files are written with plain write_text. A folder typed as ~/proj, %USERPROFILE%\... or with a leading space passes the check; repro /mnt/project-files/quality/repros/r254_create_overwrites_via_unexpanded_path.py shows the person's .gitignore and platform.toml replaced by templates with no confirmation (raw path refused, ~/proj and /abs/proj2 "created"). Fix: normalize with _folder(path, must_exist=False) before the check, create starter files with exclusive create (open(..., "x")), test ~/x and a leading space. Otherwise verified: no new commit/push/checkout (only init); git_create/git_set_kind in server.METHODS, not READ_ONLY; writes named in the dialog, toast and banner (marker fabric-desktop.repo.toml only); kind change needs confirm, never offered by the UI; wrong-repository flag behind previewShown(); docs source-control.md "Repository kinds" honest that templates aren't read yet. Nits: set_kind replaces a marker with an unknown kind without asking; git_init(kind=...) initializes before set_kind can refuse; Source control has no How this works panel (pre-existing). Run: UI 92/92; git tests incl. test_git_scopes 45/45; full sidecar 2040 passed, 2 skipped; browser serial 69/69. | | #253 | HD-015: external SQL timeout or cancel interrupts DuckDB; one external query at a time; memory and thread limits locked | PASS at 92664dd (application code: maintainer review) | 9.2 | run_sql (executions.py ~301) registers tables under the attach lock via sql.prepare_sandboxed, then runs behind _sql_slot; a cancel or timeout while waiting raises _stopped without touching the running query; on_cancel repeats the interrupt until stopped; cancel_event re-checked after on_cancel is set (closes the stop/start race); finally closes the connection and frees the slot. memory_mb and threads set before enable_external_access=false and lock_configuration=true. Read-only still enforced, no retries, fresh connection per run. Run: touched tests (executions + test_sql) 312 passed; full sidecar suite at 92664dd 1927 passed, 2 skipped. Probe /mnt/project-files/quality/repros/r253_cancel_race_and_locks.py 11/11: SET/RESET/PRAGMA and unlocking refused after prepare; SET inside user SQL refused at parse; 40 randomly timed cancels never wedged the slot and the next query ran; waiters timed out while an endless query ran, which then stopped in 0.01 s on cancel. Nits: interrupt() can overlap close() in a narrow window (exception caught; DuckDB thread safety inferred, not proven); a timer firing just after return marks a run timed_out (predates this PR); run_threads still divides cores by sql_max_concurrent (conservative). | | #255 | Governance guide re-grade | PASS at d5ae5b3 (was CONDITIONAL at bba3a92) | 9.3 | Condition met: guide added to zensical.toml nav after Governance policies. All five nits taken: Purview DQ and MLV constraints named, steps name catalog.policy/policy_version/policy_assignment/policy_event, example ids marked illustrative, docs/README.md comma, example 3 Mandatory row. Run at d5ae5b3: zensical build --strict no issues; UI 93/93. | | #255 | Governance guide: draft to result, worked examples, what can be enforced (testing item 28) | CONDITIONAL at bba3a92 | 8.9 | Docs only. One condition: docs/governance-guide.md is the only docs/ page missing from the site nav (zensical.toml nav; Governance policies at :49), so site readers can't reach it from the menu. Fix: add { "Governance guide" = "governance-guide.md" } after :49. Checked against code and accurate: "Block (not enforced yet)" (governance.js:7); resolve_policies used only for display and Explain (governance_service.py:110-128); fields, buttons and Where it applies (governance.js:236-252, 295-317); scopes (policy.py SCOPES); tighten-only Mandatory; classification levels (core.py:59); custom-code owner + test (meta/project.py:49, 568); on_fail, promote gate, drift; separate_promoter (meta_service.py:598-605); exceptions.toml (meta/project.py:262). Preview label, product name and capacity wording correct. Nits: "Fabric has no quality rules of its own" overstates (inferred: materialized lake view constraints, Purview Data Quality); the draft-to-result steps don't name what they write (catalog.policy*, policy_event); example rule ids are illustrative and should say so; missing comma in the docs/README.md row; example 3 lacks a Mandatory row. Run: UI 93/93; zensical build --strict no issues. | | #252 | Data mesh drill-down re-grade | PASS at 6fa877b (was CONDITIONAL at 191110d) | 9.1 | Condition met: mfCrumbs wraps the breadcrumb in previewMarked("mesh", ...), so the tag shows at every level; the browser test asserts it at domains, domain and layer. Run at 6fa877b: UI 91/91, mesh-overview 4/4. | | #250 | HD-020 docs re-check | PASS holds at f8972ae (draft until Chris's 7 Windows checks) | 9.1 | docs/security.md drops "no requests at all", notes WebRTC is outside the CSP, and marks the row "Mostly in place". Docs-only change. A committed browser CSP test is promised after #242. | | #249 | HD-012 docs re-check | PASS holds at c6618d9 (Windows CI still to confirm) | 9.0 | docs/permissions.md now says a proxy address carrying a user name and password passes through as it is. Docs-only change. | | #252 | UX: Data mesh drill-down from domains to tables (approved mockup) | CONDITIONAL at 191110d | 8.8 | One condition: the page shows no Preview tag (AGENTS.md: untested Fabric integrations keep Preview labeling). The tab is declared preview "mesh" (app/ui/meta.js:74), but the Overview group has one tab, so the tagged tab row never renders (meta.js:124), the group button is plain "Overview" (meta.js:122-123), and meshflow.js never calls previewMarked(). Fix: previewMarked("mesh", ...) on the button or heading, as meshmap.js:7 does, plus a test assertion. Verified read-only: one call, mesh_map, which is in audit.READ_ONLY (audit.py:45) and reads only list_domains/projects/products; "Open in Design", "Manage in Platform" and "Glossary" only switch pages; How this works says it changes nothing; the local-folder gap is stated in the UI and docs/data-mesh.md. Nit: no test for the Entities fallback when preview is off (meta.js:101). Run at 191110d: UI 91/91, mesh-overview 3/3, browser suite one file at a time 72/72, #242's raw-HTML test 1/1. | | #250 | HD-020: Content Security Policy; notebook HTML output on its own origin | PASS at ec31161 (stays draft until Chris's 7 manual Windows checks; maintainer review) | 9.1 | Main-window CSP blocks inline script, eval and remote loads; frame-src allows only the nbout frame. Notebook HTML runs in sandbox="allow-scripts" without same-origin, content by postMessage (notebook.js:902). The nbout handler (main.rs ~980) serves a constant page, 403s any webview but "main", sends default-src 'none' + nosniff. CodeMirror styles get the nonce via EditorView.cspNonce. Run: UI 88/88, browser 66/66 (serial). Chromium probe ($S/repro/r250_csp_probe.cjs): CodeMirror styled with no violations; hostile output's fetch, ws, sendBeacon, prefetch, remote image and self-navigation all refused (0 hits); without the app CSP navigation leaked, so frame-src is load-bearing. Not run: cargo test (no GTK here), so the new Rust test is unverified until CI. Nits: docs/security.md "no requests at all" doesn't cover WebRTC (inferred); no committed test runs the CSP in a browser; CDN-loaded Plotly now blank (documented). | | #248 | HD-036 re-grade | PASS at f3ff62a (was CONDITIONAL at c169677) | 9.1 | Condition met: _write_environments now refuses only clashes the save adds, via shared_workspaces(envs, before=...); _store still refuses any env in a clash, with a message pointing to Environments and promote. r248 repro now prints "FIX PROD: saved, CLEAR DEV: saved". Run: repro + test_environment_isolation 8/8; -k "meta or environment or deploy or promote" 83 passed. | | #249 | HD-012 re-check | PASS holds at 5be0c61 (Windows CI still to confirm) | 9.0 | Adds HTTP(S)PROXY, ALL_PROXY, NO_PROXY and four CA-bundle variables to EXTERNAL_ENV_ALLOW, listed in docs/permissions.md. Nit: a proxy URL with userinfo (user:pass@host) reaches tool code unstripped; the code comment says so but permissions.md doesn't. Strip userinfo or say it in the doc. Run: test_kernel_process + test_integrations_executions 52 passed. | | #251 | HD-026 re-check | PASS holds at d7d3d92 (final once its Rust tests run in CI) | 9.0 | NO_ENGINE now fits the only build that can see it (no published engine to download): "Install a published build ... or set FABRIC_DESKTOP_PYTHON". Message-only change in main.rs. | | #251 | HD-026: release builds never run a bare python from PATH (SH-10) | PASS at 1f8a93a on code review; final once its Rust tests have run in CI (merge #244 first, or re-run after it). Security and distribution change, maintainer review required | 9.0 | No conditions. choose_python (main.rs, after engine_python) returns a bare name only when dev_fallback, which python() sets from cfg!(debug_assertions), so a release build can't reach "python"; a non-absolute FABRIC_DESKTOP_PYTHON is refused ("isn't a full path"); no engine and no override gives NO_ENGINE. updater() now returns Result and its callers pass the error on. A shipped build's first run is safe: with the engine missing, the check is skipped without Python and install_engine needs none. The user's own env var is an acceptable trust boundary. The browser harness starts Python itself (harness.cjs:23), so #242's FABRIC_DESKTOP_PYTHON=python is unaffected. CONTRIBUTING.md and security.md updated. Not executed by me: the 5 new #[test]s (no GTK here), and CI on main has no cargo test until #244. Nit: NO_ENGINE only shows on a local release build with no commit, where "Restart the app to download it again" (and app.js:2645's Python hint) don't fit | | #249 | HD-012: Python an external AI tool runs starts with an allowlisted environment (EN-2) | PASS at 80d1339 on code review; final once sidecar (windows-latest) passes (still running when reviewed). Security-boundary change, maintainer review required | 9.0 | No conditions. A real allowlist: external_environment (kernel_proc.py:61-71) copies only PATH, PATHEXT, SYSTEMROOT, WINDIR, COMSPEC, TEMP, TMP, TMPDIR, USERPROFILE, HOME, LANG, LANGUAGE, LC_ALL and LC_* (case-insensitive), then sets PYTHONPATH to the engine's own directory; PYTHONSTARTUP, a parent PYTHONPATH, proxy variables with credentials, FABRIC_DESKTOP, AZURE_ and APPDATA don't pass, and a test asserts the exact set. The only external-tool kernel, ExecutionManager._new_kernel (integrations/executions.py:153-170), passes it, and ProcessKernel applies it on every start and restart (kernel_proc.py:123). The person's own kernels keep dict(os.environ, ...) (tested). Docs say it isn't a sandbox and the token cache file is still readable. The end-to-end test runs real tool code. Nit: with HTTPS_PROXY and CA-bundle variables dropped, external-tool OneLake reads fail where those are set only through environment variables; a troubleshooting line or passing proxy variables without userinfo would close it. Tests run: test_integrations_executions, test_kernel_process and the other test_integrations* files 306/306 (Linux) | | #248 | HD-036: one workspace per environment; job files go through the write guard (EP-8, EP-9) | CONDITIONAL at c169677 | 8.6 | One condition: a project whose three environments already share one workspace can't be fixed in the app. _write_environments (meta_service.py:237) re-checks every environment on each save, so fixing Prod is refused because Dev and Test still clash, and clearing Dev is refused because Test and Prod still clash; only a hand edit of environments.toml gets out, and no message says so. Repro /mnt/project-files/quality/repros/r248_three_envs_one_workspace.py. Refuse only saves that add a clash (compare with the file as it is), or have the message name the hand edit, and test the three-way case. Otherwise sound: shared_workspaces (meta_service.py:38) counts each environment's own workspace and its designations, while keys_workspace_id and the landing zone (meta_service.py:188) stay shareable, matching the standing decisions; _store refuses a hand-edited clash before any Fabric call (meta_service.py:169, tested); run_job checks the guard before run_local (publish.py:83); _job_guard (meta_service.py:121) refuses Test's and Prod's workspaces and managed tables; the CLI's run goes through Service.run_job (cli.py:136); a refused save leaves the file byte-identical (tested). Tests run: test_environment_isolation plus test_meta 41/41; 13 other files that call these 194/194; repro 1/1 | | #244 | HD-011: the Windows shell job runs the Rust tests before signing (SH-6) | PASS at 1b85501 (workflow change, maintainer review required) | 9.3 | No conditions. cargo test --release --locked runs right after cargo build --release --locked and before "Sign the exe" and the exe upload (ci.yml:184-216); a failing test stops the job, so release (needs: shell) never publishes. The test step's env holds only FABRIC_RELEASE_COMMIT and vars.FABRIC_CLIENT_ID (ci.yml:194-196); signing secrets go only to the later main-only signing step's with: inputs, so test code never sees them. No new actions. Observed in CI: shell (windows-latest) passed at 1b85501 with "running 13 tests … 13 passed; 0 failed", matching the 13 #[test]s (main.rs 8, watchdog.rs 5); the test build reused the release build (3.67 s). Not run locally: this container lacks the GTK/WebKitGTK dev packages. Nit: the two env lines are copied from the build step; a job-level env would stop them drifting | | #247 | Governance QA-005: shortcut rules and who-can-read fail closed; list_sources no longer migrates on read | PASS at 299ac0a | 9.2 | No conditions. Closes QA-005 once merged. Rules: shortcut_preflight returns blocked with unchecked: true when the catalog call fails (shortcut_service.py:258); _sc_guard raises on it (:271-276), so creating a shortcut and approving a request both stop (estate_service.py:252), and the dialog disables its button and says the rules couldn't be checked (shortcuts.js:580-588). With no platform set up, the local catalog still answers (probe: no blocks). Readers: access.read_roles treats only OneLake-security-off codes as "no roles" (access.py:108-128); any other failure marks partial with the reason in access_who_can_read (estate_service.py:461-469) and _sc_readers (shortcut_service.py:162-190), shown as "Not complete". No DDL on read: list_sources computes the schema 5 fields with _with_source_ids (central/core.py:828); writes stay in setup (:200), _put_source (:880) and adopt_sources (:917), so Finish or repair still applies schema 5. READ_ONLY unchanged and correct. Nits: SECURITY_OFF_CODES unverified on a live tenant (an unlisted code shows "Not complete", the safe side); access_lakehouse (estate_service.py:434-438) still words any role-read error as "isn't on, or you can't manage it". Tests run: test_fail_closed, test_platform and the shortcut/access/estate files 69/69; UI 92/92 | | #246 | Enterprise readiness item 30: tenant settings history in the central lakehouse (fdten_) | PASS at 0f8b223 | 9.1 | No conditions. Asks first: tenant_settings_read calls central_family(th.FAMILY, approve) before any write (tenant_history_service.py:26); without approve it raises "Confirm to continue." (tested). tenant_settings_history is in audit.READ_ONLY (audit.py:67) and the read call is not (tested). It reads fdcap_change/fdcap_read only when lake.has finds them and never writes them; every write goes through setup.write(..., family=th.FAMILY). fdten_ passes PREFIX_RULE. The policy gate holds on reads too (optimize_service.py:147). Only reads tenant settings (GET /v1/admin/tenantsettings, fabric_api.py:319, Tenant.Read.All, a scope already used for the domain import); docs/permissions.md lists the new use. Labeled Preview. Columns match settings-history-shape.md; reason goes through redact.secrets and is cut to 500 characters. Trial merge with main 9e6b15e clean. Nits: timestamps stored as strings while the shape doc says timestamp (agree with FinOps before a view unions fdcap_); record ids include the read time, so two PCs reading one change at once each record it; snapshot and change are two writes; a failed reason is str(exc). Tests run on the trial merge: test_tenant_history 9/9; with optimize, audit and incident desk 75/75 | | #245 | HD-033: entity previews, quick SQL and CSV export read only what they need | PASS at aeab1c6 (CONDITIONAL at 20bc35c) | 9.1 | Fixed at aeab1c6: Store.count (meta/store.py:177) uses the log's stats only when every add action has num_records, otherwise counts from the files, so post-write counts get it too; test_the_total_counts_files_written_without_statistics is built on the repro. Re-run: test_bounded_previews plus the repro 6/6. Original condition: a preview's total now comes from Store.count() (meta/store.py:176), i.e. DeltaTable.count(), which sums each file's num_records and skips files whose add action has no stats, so a table with stat-less files (CONVERT TO DELTA, some external writers) shows fewer rows than it has; main was exact. Repro /mnt/project-files/quality/repros/r245_count_without_stats.py: count 10, actual 15. Fall back to an exact count from the scan when any add action lacks num_records, and test it. Verified: _preview (meta_service.py:32) collects lf.head(limit) only and never calls Store.read; sql.head keeps the first rows plus at most one 50,000-row batch and counts the rest; export_sql_csv writes batch by batch; Stream closes the DuckDB connection. Tests run: test_bounded_previews plus sql*, meta* and notebook files 334/334 | | #240 | Redaction removes a bare token= value and any *-token / *_token field | PASS at 97c46a1 | 9.2 | No conditions. Python (redact.py) and the Report a problem copy (settings.js:110) get the same pattern, and the shared redact-cases.json covers bare token=, sas_token, X-Auth-Token and the no-false-positive "3 tokens left". Probed: max_tokens=500, continuationToken=abc and tokenizer=bpe stay; id_token/refresh_token still removed. Nit: prose like "Token: Your sign-in expired" loses its next word (harmless over-redaction). Tests run: every redact test file 284/284, UI 87/87 | | #236 | Security evidence pack: one page for a security review (docs) | PASS at 7c68ba2 (CONDITIONAL at e06cd3a) | 9.1 | Fixed at 7c68ba2: the absolute sentence is gone; data flows now list the OneLake table API (reads), the person's Git remotes, Key Vault and the other notebookutils token audiences, and notebook code's own calls; enterprise-install.md "Network access" gets the same hosts. Original condition: the Data flows table ends "Nothing else leaves the PC. The hosts above are the ones named in the source code", which is false. Missing: Git remotes (the user's own repositories on Azure DevOps, GitHub, GitLab or Bitbucket; source is pushed there, git/remote.py:85-106), Azure Key Vault (notebookutils.credentials.getSecret, <name>.vault.azure.net, notebookutils_local.py:282-297), Kusto/Eventhouse tokens (notebookutils_local.py:283) and the OneLake table API (onelake.table.fabric.microsoft.com, onelake.py:14). A reviewer and a proxy allow-list rely on this table: add the rows or drop the absolute sentence. security.md updates match the merged fixes (#138, #154, #157, #158). Docs only; no tests apply | | #235 | Readiness pages match main: gates 7 to 9 met, EN-1 fixed (docs) | PASS at 452dc82 | 9.0 | No conditions. Gate changes match merged PRs: 7 (#155), 8 (#165, plus #234's sign-in exception), EN-1 (#156), SH-4 part of gate 5 (#158). Note: gate 9 "Met" relies on redaction catching every secret, and a bare token= was missed until #240; merge #240 first or cite it. Gate 2/6 will change again with #242, #244 and #241. Docs only; no tests apply | | #243 | HD-034: storage tokens have at least 30 minutes left before OneLake reads and writes | PASS at 57c6f59 (CONDITIONAL at 18d8498) | 9.1 | Fixed at 57c6f59: _short_lived is set only when the forced refresh returns a different token that is still short; the same token back leaves it off, and the test covers it. test_local 20/20 re-run. Original condition: _short_lived is set for the rest of the session whenever the forced refresh comes back with under 30 minutes, including when the refresh returns the same token. That is the Windows sign-in (WAM) case the code comment itself names, and WAM is the default since #42, so on shipped builds one non-refresh turns HD-034 off until the app restarts. Set the flag only when the refresh returned a different token that is still short-lived, and add that case (fake returns the same access_token) to the test. Otherwise sound: Fabric tokens are untouched (tested); a failed forced refresh keeps the cached token; the docs say the WAM and OneLake behavior are untested. Flake claim checked: test_agent_takeover doesn't touch auth, and its file passed 16/16 five times in a row here. Tests run: test_local 20/20 | | #242 | HD-052: browser tests in CI (ui-browser job) and a ban on new raw HTML sinks in app/ui | PASS at 671d673 (workflow change, maintainer review required) | 9.2 | No conditions. Ran locally: UI 88/88; all browser tests serially as the job runs them 66/66, none skipped. Job pins Playwright 1.56.1, installs with --ignore-scripts, and fails if Playwright can't load instead of skipping; actions pinned by SHA like the rest of ci.yml. The four reviewed exceptions hold: the Markdown placeholder is fixed text; Markdown cells go through esc() (escapes &<>"') before fixed tags are added (app.js:2474); the mesh map's only data goes through esc(); notebook HTML output is an iframe with sandbox="allow-scripts" only. h() sets attributes with setAttribute and handlers with addEventListener, so it can't inject markup. Nit: URL sinks (an href or src built from data) aren't covered; worth a line in the test's comment. HD-020 will touch the srcdoc line; whichever lands second updates the allowed list | | #241 | HD-028: every Preview build kept as its own build-<sha> release; promote takes a named build (rollback) and re-checks checksums (HD-023) | PASS at 6dc9269 (draft; workflow change, maintainer review required) | 9.0 | No conditions. Checked: build input reaches the script only through env and is normalized then matched against ^build-[0-9a-f]{12}$ or ^[0-9a-f]{7,40}$ (tested: injection text, short tag and 41 hex are refused); a commit is resolved through the API and must equal the release's own version.json commit; exe and engine SHA-256 must match that version.json before Stable changes; promote and the release job share the release-assets concurrency group, so retention can't delete a build mid-promote; retention only selects ^build-[0-9a-f]{12}$ tags without "promoted to Stable" in the title and never the current build (jq filter tested on sample data); per-build releases are prereleases with --latest=false, and the app updates only from latest/stable (main.rs:97) by commit equality, so promoting an older build does roll Stable back. Both workflows parse as YAML. Not executed: the release job only runs on a push to main, so its first real run is the next merge; Release management should watch it. Nits: "It never changes" means CI never changes it (anyone with write access still can, and promote edits the title); protection by title is lost if someone retitles a release; on a full re-run that rebuilds, latest and build-<sha> can hold different binaries of one commit (warned), and an empty-build promote would then retitle the other binary | | #239 | HD-037: Stop, Restart, limits and a failed start end the kernel's whole process tree | PASS at 78a5c54 | 9.0 | sidecar (windows-latest) passed at 78a5c54 (check run completed 17:33Z), so the Job Object path ran on Windows; every other job green except Codex (quota). POSIX crash nit declined by the owner, accepted: once a crashed kernel's group has no members left, its id can be reused, so a later killpg could hit an unrelated group. The Windows Job Object path is only exercised by windows-latest CI, which was still queued when reviewed; no verdict until it has run. Linux verified: test_stop_ends_the_processes_a_cell_started_too and the kernel suites 12/12. Code: POSIX start_new_session + killpg(SIGKILL); Windows job with KILL_ON_JOB_CLOSE, typed ctypes handles, falls back to killing the kernel only if the job can't be made; every former proc.kill() (stop, limits, failed start) now ends the tree. Nit: on Linux/macOS a kernel that crashes leaves the processes its cells started running, because release() ("processes a crashed kernel left behind") only acts on Windows; killpg on the old group would cover it | | #238 | HD-040: Spark writer refuses a column type change without overwriteSchema | PASS at 81ecfd0 (CONDITIONAL at a50c239) | 9.1 | Fixed at 81ecfd0: the type check runs on every write to an existing table except an overwrite with overwriteSchema, so mergeSchema adds columns but never changes a type; the r238 repro now errors with the table unchanged; docs say so. Re-run: every Spark-related test file 587/587, repro 4/4. Original condition: .option("mergeSchema", "true") still casts silently, because _write runs _check_types only when schema_mode is None. Repro /mnt/project-files/quality/repros/r238_mergeschema_cast.py: appending 1.7 to an int id with mergeSchema writes id = 1 (same on main, so not introduced, but the fix is incomplete and the new docs line implies mergeSchema is safe). Delta in Fabric refuses that merge (incompatible types), and mergeSchema should only add columns. Run the type check on the merge path too and add the case to the test. Checked and fine: overwriteSchema replaces the schema; bigint values over int range error ("Can't cast value"); decimal(10,4) into decimal(10,2) is refused; timestamp into date is refused; a narrower int into a bigint column writes. Tests run: every Spark-related test file 587/587, writer 20/20 | | #237 | Governance "How this works" panels: Workspaces, OneLake catalog, Data products | PASS at 41ee13e (CONDITIONAL at 8809401) | 9.1 | Fixed at 41ee13e: both panels now name the local notebook Open in notebook makes (item-preview.js:112, app.js:1294); the Workspaces list panel no longer claims New lakehouse, which lives on a workspace's own page (renderWorkspace, app.js:954), and says so. UI 90/90 re-run. Original condition, the house rule that panels name every write: the catalog panel says Open in notebook opens the table "without changing it", but it calls newNotebook(r) → rpc("new_notebook"), which creates a notebook on this PC (the Workspaces panel does name the same action as a write). Say so in the catalog panel and assert it. Verified: New lakehouse → create_lakehouse after askText; stars and pins → set_favorite/set_workspace_mark, files on this PC (service.py:350, :375); Link → mesh_save_link writes metadata/links/<alias>.toml and calls the catalog's register_link (central/service.py:540); Request access → platform_request; anchors resolve to user-guide headings. Tests run: UI 90/90, browser home-reuse 5/5, keyboard 4/4, platform-overview 5/5 | | #234 | A broken policy.json with no saved copy still lets people sign in | PASS at 9705fdf (CONDITIONAL at b753cb9) | 9.1 | Both conditions fixed at 9705fdf: the Help and about message now says sign-in still works for any tenant, asserted in test_a_broken_file_still_lets_people_sign_in; docs/permissions.md:125 says allowed_tenants isn't enforced until the file is fixed; D-E9 updated. No other stale "no sign-in" wording found. Re-run 28/28. Original conditions: (1) The message in Settings > Help and about still says "no sign-in" (app_settings.py:181), and (2) docs/permissions.md:125 still says a broken file "stops every sign-in". Both now state a security boundary that no longer exists, so IT would believe other tenants' accounts are kept out when they aren't. Fix both and assert the message in a test. The change itself is what Chris chose on the policy card ("Closed, allow sign-in", 2026-10-18): only allowed_tenants is exempt (_restricted, app_settings.py:219), every other restriction still fails closed, a last-good copy still applies in full, and a wrongly typed allowed_tenants still lets no account in. Tests run: policy, settings and auth 28/28 | | #233 | Incidents stage 1b: every incident change copied to the central lakehouse (fdinc_) | PASS at 41b3b82, carried to 0316b9d (docs say nothing starts a copy until stage 2; ruff clean; dt.UTC fine on requires-python >=3.11; 140/140 re-run) | 9.1 | None. Setting up the tables goes through central_family(FAMILY, approve): without approve it returns needs_confirm and writes nothing (tested); read-only access returns refused; allow_optimize_lakehouse off returns off. Copies are insert-only (setup.write → insert_new) with content-derived record ids, so a re-copy from another PC adds nothing; the live incidents.json and its conditional writes are untouched. incidents_history is read-only and in READ_ONLY; the sync is not. Writes stay in this family's tables. Known limits: nothing calls the sync yet (screens are stage 2), so the doc line "copied when the app copies them" should say so; redact.secrets misses a bare token=… (pre-existing in the shared redactor; JWTs, bearer, access_token=, password= are removed), and the PR's own test uses that input without asserting it; ruff reports 7 new auto-fixable style findings (not run in CI). Tests run: incident, optimize, audit 130/130 | | #232 | Monitor > Workloads and Agents get "How this works" panels | PASS at 713f554, carried to b931322 (main 1745bc9 merged; the stray .claude/worktrees/... gitlink from b32e775 is removed, no gitlink in the head tree; every non-ui.test.cjs change is identical to 713f554's; UI 90/90, monitor-how 3/3 re-run) | 9.2 | None. UI only, no engine change. Every claim checked against code: results in workloads.sqlite (workload_service.py:44); Stale after an hour (RUNS_STALE_AFTER=3600, :28); "Not observed" is model.HEALTH_LABELS["unknown"]; the scan covers pinned, environment and notebook-publish workspaces only (_schedule_workspaces(False, …), schedule_service.py:162), not the whole tenant; the list writes nothing. Agents panel says "changes: Nothing" and keeps the not-run-against-a-live-tenant note. UI tests 87/87, monitor-how browser 3/3 | | #231 | X-ray Optimize asks first, with the risk check (QA-032) | PASS at 8044a7c, carried to 762da0b (main merged; ui.test.cjs conflict keeps both tests, checked with remerge-diff; X-ray panel and user guide now say all three writing buttons ask first; risk-check.md names the unrecorded go-ahead. Re-run: UI 88/88, browser optimize 5/5, risk 6/6, confirm-dialog 4/4, engine 33/33) | 9.2 | None. Closes QA-032 once merged. The confirm names the table, Fabric, capacity, V-Order and the vacuum history kept; Blocked disables Optimize; xray_optimize_check is read-only and in READ_ONLY; allow_fabric_runs is still enforced in the engine (run_item_job). Known limit, documented: going ahead past a warning isn't recorded | | #230 | "How this works" on Estate X-ray and Workspaces > Fabric portal | PASS at dec8cf3 | 9.2 | None. Both panels match the code: Optimize starts at once, Vacuum previews then confirms, Adopt confirms and writes only local entity files; the portal sign-in is DPAPI-encrypted in fabric-view-signin.bin. The no-confirm Optimize it describes is already on main: QA-032 | | #229 | Ready to work gets its "How this works" panel | PASS at 726e909 | 9.3 | None. The panel's write claim matches readiness.write_test: one file at Files/_fabric_desktop_check/write-test.txt, read back, folder deleted in finally, a workspace whose name matches prod/prd/production refused, only from the dialog's confirm button; the 7-day memory is WRITE_PASS_DAYS keyed to user and tenant and cleared on sign-out | | #202 | UX-009: one list of source systems in the platform (schema 5) | PASS at 08d2dd2, carried to 1aecf1c | 9.1 | None. In Fabric the schema-5 change reaches the platform only through Finish or repair, which the admin starts from its dialog; Move sources asks first, and adopt_sources reports clashing codes and ids instead of changing them. Note: list_sources calls ensure_source_ids, so a read runs ALTER and UPDATE when the columns are missing (a local platform file, or a UDF already repaired); idempotent, but reads shouldn't write | | #228 | Central lakehouse: table families (FabricDesktop_Central) | CONDITIONAL PASS at 50fce68, then PASS (9.2) at a267a70 | 8.8 | central_family() calls setup.initialize(..., approve=True) for whoever calls it, and that first upgrades Optimize's own tables when they aren't READY. optimize_connect changes the schema only with initialize (the person confirmed) (optimize_service.py:93). Take approval from the caller, or refuse when not READY. Note: every family's default_config goes to fdopt_config as default:<key>, so two families with the same key collide silently (insert-only skips the second); prefix the key with the family. Isolation itself holds: prefixes end in _ and contain no _, so none is a prefix of another | | #227 | Release chain of #219 #222 #203 #201 #223 #224 #225 #226 | PASS at 9a9bc9c | n/a | None. Every graded head is an ancestor; the conflict resolutions (git show --remerge-diff) are the ui.test.cjs union, both READ_ONLY lines and both mixins | | #226 | Red delete confirms everywhere (finishes UX-018) | PASS at d5ca981 | 9.3 | None. The confirms still without danger only forget, stop applying or undo; none deletes data | | #225 | Platform Overview and the "How this works" panel | CONDITIONAL PASS at 1d43af0, then PASS (9.2) at 99b0e1e | 8.9 | Overview's panel says "What it changes: Nothing", but the same tab has Approve, Decline and Withdraw on requests, and approving a shortcut request creates the shortcut in OneLake (shortcut_service.py:385). The panel's own rule in ui-guidelines.md says it must name such writes. Reword before merging | | #224 | Home reuses its page for five minutes (#192) | CONDITIONAL PASS at 483a815, then PASS (9.2) at ae65f9a | 8.9 | homeKey() leaves out the metadata project, so after creating or opening a project in Data mesh, Home keeps showing the old project's environments, or Get started, for up to five minutes. Add state.meta.project?.path to the key | | #223 | Engine messages name screens that exist (#193) | PASS at f315cd3 | 9.3 | None. Text only, with a test that checks every Data mesh and Platform path the engine names | | #201 | Incidents stage 1: numbers, priorities, SLAs, reported incidents (engine only) | PASS at f877d8c | 9.2 | None. Writes stay conditional; incident_report and incident_set_priority are left out of READ_ONLY; older agents pass evaluated as a set without reported, so they never auto-resolve a reported incident. Note: an open incident acknowledged late shows missed but isn't counted in the board's at_risk or breached counts | | #222 | Cost exports: the export reaching the later day wins; risk-check Data mesh sentence | PASS at cd78378 | 9.3 | None. Its regression test fails on main (232 vs 288 CU h) and passes here. My #153 note on TOLERANCE_S was wrong: covered() uses it (reconcile.py:70) | | #203 | Prove templates gallery, 3 to 12 templates | CONDITIONAL PASS at 3c27809, then PASS (9.2) at e4e6022 | 8.9 | Load a folder writes the folder name raw into a Python string (wizard.py, the assert paths line): Files/a"b produces a notebook cell that does not parse, and a crafted name puts its own code in the notebook. Use {folder!r} as the other inserts do. Note: the quality template's range check raises on a text value (cast(pl.Float64) is strict) instead of rejecting the row | | #218 | Run Fabric pipelines on this PC (ORCH-003, draft) | PASS at fdcd5cf, carried to b339a74 (9.3, both notes fixed) and 030c16d (main merge; conflicts with #227 on the Service mixin line only), then ad91854 (test compares ForEach appends ignoring order, docs say parallel order varies, as in Data Factory; test_pipeline_runs 104/104 three times) | 9.1 | None. Notes, fixed in b339a74: expression functions have no size cap, so @range(0, 500000000) holds gigabytes in the shared engine before it fails (evaluate.py:471; cap near Fabric's 100,000 ForEach items); finish() waits 5 s and failed once on a cold first run here (test_pipeline_runs.py:485), worth 30 s for Windows CI | | #185 | FinOps: risk check in the run dialogs (FINOPS-004 part 2) | CONDITIONAL PASS, then PASS (9.0) at e0ca2c8 | 8.5 | The risk panel and dialogs carry no Preview tag (risk isn't in PREVIEW_FEATURES) although risk-check.md calls it Preview and it reads capacity from Fabric. Tag it before merging | | #146 | Workload operations: queue, shared schedules, takeover, Run as, Monitor tabs (folded stack, with #208) | PASS | 9.0 | None. Takeover and shared schedules are off by default, Preview, and decided by If-Match / If-None-Match writes | | #216 | Runs > Env says why a Fabric job has no environment | PASS | 9.1 | None | | #200 | Optimize page in the rail; Fabric portal becomes a Workspaces tab | CONDITIONAL PASS, then PASS (9.1) at e891403 | 8.9 | "What running on this PC saved" (user-guide.md:275) and "never shown as saved unless measured" (optimize.js:99) describe the avoided figure, which is a Scenario (costs.py:76). Reword before merging (QA-008) | | #196 | Settings note when sign-in isn't Microsoft's own client | PASS | 9.2 | None | | #215 | Keep webhook signatures out of freshness and agent alert errors (QA-031) | PASS | 9.2 | None. Closes QA-031 | | #214 | Optimize uses the shared Windows Delta log retry (follow-up to #210) | PASS | 9.2 | None. Its own copy is removed; three wrapped calls now retry at two levels, still bounded | | #213 | Keep punctuation after a scrubbed OneLake address (follow-up to #142) | PASS | 9.2 | None | | #212 | Danger confirm for metadata deletes and quarantine discard (UX-018) | PASS | 9.1 | None. UX-018 stays open for the other call sites | | #205 | Platform notices to Teams (engine) | CONDITIONAL PASS, then PASS (9.0) at 521bfef | 8.4 | The error text from an unreachable Teams held the webhook's sig= secret, which was returned and stored in the outbox. Fixed with notify.failure, which redacts it, for incident notices too. Still open on main (QA-031): dataops_service.py:312 (freshness alerts) and agent.py:286 (agent log) |

Need a hand?

Find a fix in troubleshooting, or share a reproducible issue with the community.

Get support ↗Improve this guide on GitHub ↗
Development documentation snapshot: cbf1c74e441de6cb982e7b463591fc6f1a3d2c6b · View source on GitHub ↗

Search documentation

Start typing to search all 115 guides.

Search runs in your browser esc to close