Repository navigation
Repair master after #1625: remove console-ui hooks, CI lane and docs citations - #1629
Conversation
#1625 deleted console-ui/ but left the pre-commit/pre-push hooks, the Console UI Lint & Build CI lane, ui-* Make targets, the console Dependabot entry and docs citations pointing at it. The pre-push hook failed any push including the deletion, and docs-check failed on master (93 problems in CI).
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Threat model review — advisoryReviewed head Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: not needed by escalation policy; openai/gpt-6.1-sol: not needed by escalation policy No actionable findings in the reviewed text. This is not a security approval. Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging. Scan completed. Coverage: 0/0 source units; cross-file integration complete. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned. Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 0 reused batch(es), 0 provider cache-hit tokens. Saved findings and earlier report · Historical findings are not confirmed resolved. Bedrock: 0 request(s), 0 uncached + 0 cache-read + 0 cache-write input / 0 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately. |
…on dev Master removed the console-ui leftovers in #1631. This branch had a cherry-pick of the open PR #1629 for the same cleanup; that cherry-pick is reverted in the parent commit, so the next master merge into dev does not conflict on the same files. One conflict: the "Last updated" stamp of docs/reference/ssd-kv-cache.md, resolved to master's 2026-10-27. The cluster beta's gitlink pins (libs/mlx ea318ee0, libs/mlx-swift 31ffa0d5, libs/mlx-swift-lm b6650465) stay; master did not change them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1631 ("CI: finish removing console-ui") landed the same cleanup this branch made, and #1632 released its changelog entry under v0.10.4, so every conflict takes master's side: - 17 files (AGENTS.md, CONTRIBUTING.md, README.md, docs/*, the CI routing and docs-impact scripts and their tests): master's version. This branch's leftover docs-impact rule and tests named protocol fixtures that #1631 deleted, and its console pointer section linked to a page #1631 deleted. - docs/architecture/components/console-ui.md: deleted, as on master. - changelog.d/console-ui-removal-cleanup.md: removed. CHANGELOG.md v0.10.4 already has "Console tooling removed with the console source", and this fragment described the pointer page that no longer exists. After this merge the branch has no changes against master. make changelog-check and scripts/test-ci-component-paths.py, test-docs-impact-check.py and test-darkbloom-route.py pass.
The merge adds #1566, #1591, #1602, #1605, #1606, #1607, #1612, #1621, #1622, #1623, #1625, #1629, #1630, #1631, #1632 (provider 0.10.4), #1633, #1644, #1652 and #1653 to this branch. Conflicts and resolutions: - CoordinatorClient+Connection.swift: #1606 moves the transport setup out of connectAndRun into the static function connectionParameters(for:), and puts the connectAndRun header below it. This branch adds the session parameter to the same header. The merge keeps the layout of master. The moved header has the signature of this branch: connectAndRun(_ session: CoordinatorSessionRecorder). Git merged the other changes without a conflict: the bounded handshake of master (CoordinatorConnectionHandshake.start) and the session recorder of this branch (markOpened after register, the session parameter of sessionLoop and receiveLoop, and the close-code read). - docs/provider/cli-reference.md: the runtime constants table. The merge keeps the three reconnect rows and the ping/pong row of this branch. It adds the handshake deadline row of master after the ping/pong row, where master has it. - docs/provider/troubleshooting.md: only the "Last updated" stamp had a conflict (2026-10-26 on this branch, 2026-10-27 on master). The merge keeps one stamp, 2026-10-27. Git merged the rows: the backoff citation of this branch and the new rows of master. Each decision has one owner after the merge: - CoordinatorReconnectPolicy chooses the wait before the next connection attempt, after each end of a session or of an attempt. - CoordinatorConnectionHandshake (#1606) cancels a handshake that does not complete in 30 s. runLoop catches the timeout error. That attempt did not send register, so the policy gives the next backoff range, as on master. - UnauthorizedConnectionRecovery (#1607, #1633) decides when to start a re-registration of a connection that the coordinator refuses. Its retry backoff counts re-registrations, not connection attempts, and an authorized verdict sets that count to zero. The re-registration closes the session. Then the policy chooses the wait, as for each other end. Checks: against master, the merge has only the changes of this branch, in its 15 files. The troubleshooting stamp is the one exception: it has the date of master. Against this branch, the merge has only the changes of master, in 651 files. The one exception is the connectAndRun header, which has the session parameter. The gitlinks do not change: libs/mlx 31f550af, libs/mlx-swift 4926d3d9, libs/mlx-swift-lm aee6ebb6. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Summary
#1625 deleted
console-ui/(the console now lives in darkbloom-platform'sconsole-ui/), but left hooks, CI and docs pointing at the deleted folder. Onmasternow:.githooks/pre-pushonly runscd console-ui && npx eslint/npm run buildwhen the pushed range touchesconsole-ui/. Any branch carrying the deletion fails withcd: console-ui: No such file or directory/ "Next.js build failed".make docs-checkfails: CI's Docs Lint reports 93 problems, all "cites missing pathconsole-ui/...".Console UI Lint & BuildCI lane fails (console-ui/package-lock.jsonnot found). Since.githooks/**routes to that lane, removing the hooks requires removing the lane too.The hooks are removed rather than kept as no-ops: they had no other checks.
core.hooksPath=.githooksstill works and simply finds no hooks. The twocoordinator/tests/protocol/testdata/*_wire.jsonfixtures stay. They no longer route to a CI lane, and their docs-impact rule is unchanged. The one remaining telemetry-schema row now links to the pinned platform file. Docs keep no localconsole-ui/path citations.Evidence
masteraa2887f1d): CI run 40558106719 had Docs Lint failing withdocs-check: 93 problem(s)and Console UI Lint & Build failing. Locally it reports 96 problems: the 93 plus 3libs/mlx-swift-lm/...links that only fail without the submodule. CI initializes it, so they are not real.After:
make docs-checkgives200 file(s) OKwithlibs/mlx-swift-lminitialized as CI does. Without the submodule, only the 3 submodule links remain.make changelog-check:15 valid fragment(s).make docs-impact-check BASE=origin/master: coverage OK.scripts/test-ci-component-paths.py(17),test-darkbloom-route.py(21),test-docs-impact-check.py(7),test-provider-ci-workflow.py,test-docs-stamp.py,test-docs-check-historical-links.py,test-changelog.py: all OK.core.hooksPath=.githooks(hooks on, no--no-verify).Merge Danger
Door: two-way
Everything removed here ran against a directory that no longer exists. Reverting restores it.
Blast Radius: CI-routing
Touching
Makefile/ci-component-paths.pyselects every lane for this PR, so the provider macOS lanes run. IfConsole UI Lint & Buildis configured as a required check anywhere (infra/threat-review/merge-rules.jsonstill lists it, along with other already-retired lanes), that config needs updating. Dependabot no longer has an npm entry; the console's npm updates belong in darkbloom-platform.Need help on this PR? Tag
@codesmith-botwith what you need.