Repository navigation
🌱 chore: top up v6 from v5 (2026-11-15) - #18275
Conversation
…em on Go targets (#18194) * 🔒 sec-check: ship govulncheck and gosec in the agent image and run them on Go targets The sec-check policy told the agent to scan with trivy, semgrep or grype "as available", but the agent image installs none of them and no Go scanner either, so the scan step always degraded to the Dependabot API plus a manual read of the tree. Build govulncheck v1.1.4 and gosec v2.29.0 in a dedicated cross-compiled stage (GOVULNCHECK_VERSION, GOSEC_VERSION build args, matching the pins in .github/workflows/go-security-analysis.yml) and copy only the static binaries into the runtime stage, through the same metacopy rewrite as the other cross-stage binaries. Rewrite the scan step in both sec-check policies (and their src/policies mirrors): run govulncheck ./... and gosec -quiet -concurrency 4 -exclude-generated -fmt json ./... on Go targets, treat reachable govulncheck vulnerabilities and gosec HIGH/HIGH issues as findings, keep lower gosec results advisory, never install or download scanners, and mark trivy/semgrep/grype as not shipped. The gate check and three-of-a-class rules are unchanged. Fixes #18192 Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🔒 sec-check: install govulncheck and gosec one go install each go install refuses two pkg@version arguments from different modules in one invocation ("all arguments must refer to packages in the same module at the same version"), which failed every image build on the PR. Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com>
…ip (#18191) * 🔒 sessions: per-session uid isolation, bound terminal attach, ownership Run each session's tmux server and CLI as its own reserved-range uid with a private sandbox, copy minimal read-only vendor logins instead of symlinks, gate ttyd attach with a per-session token and a session-bound handoff code, make sessions private by default with an explicit shared flag, reject flag-shaped resume ids, upload as the session uid and remove session files on close/prune. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🔒 sessions: fix test seams for per-uid runtime and wire the attach-token suite Tests stub the sandbox owner unconditionally, the fake su-exec resolves tmux through the child PATH, the proxy test reuses the mux NewServer already registered, the unused test helper is dropped, and the new ttyd attach-token shell test is named in the deploy workflows. Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.257.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.257.0
…, not the App (#18202) * ✨ reference repos: write as the hive owner's connected GitHub account, not the App (#18197) The write-tier credential for project.reference_repos was an installation of the hive's GitHub App on the target org. The operator does not want the App on any remote repo (#18196), so the credential is now the hive owner's own GitHub user token, consented once on the spoke dashboard through a device flow with the spoke's OAuth client asking for public_repo, kept separate from the scope-free login flow. - pkg/github/owner_identity.go: OwnerIdentityStore (0600 file under /data/secrets, HIVE_GITHUB_OWNER_TOKEN_FILE override), Status/Credential/ Token views, Verify with a 10-minute TTL that marks a revoked token. - pkg/github/reference_repo_token.go: App mint removed with no fallback; token source is write_token_file (hand-written) else the owner token; derived resolution needs no network. - pkg/config: CredentialLogin on ReferenceRepo; Unresolved state removed. - cmd/hive: deps become {owner, ownerToken, refreshOwner, whoAmI}; every write entry reports credential_state/credential_login; connect and disconnect re-resolve the proxy policies. - pkg/dashboard: owner-only GET/DELETE /api/github-owner-identity and POST .../start, .../poll; the request-issue read-only notice now names connecting the account as the cure. Fixes #18197 Signed-off-by: Andy Anderson <andy@clubanderson.com> * 📖 api-reference: document /api/github-owner-identity and resync citations (#18197) Signed-off-by: Andy Anderson <andy@clubanderson.com> * 📖 openapi: document /api/github-owner-identity routes (#18197) Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com>
The hive owner's account cannot push to a repository it does not own, so a
PR against a write-tier reference repo goes through the owner's fork:
- crux/proxy/reference_repos.go: allow POST /repos/{o}/{r}/forks on a
prs-tier entry; referenceRepoFor reads {login}/{name} as the owner's fork
of that entry (Fork set on the returned copy only, never when the slug is
an authorized or reference repo) and allows git pushes to it with the
default-branch guard applied to the fork; every other write on the fork is
refused with a reason naming the PR flow; forking needs ISSUES_AND_PRS.
- pkg/scheduler/kickmessage.go: the REFERENCE REPOS block names the login
the writes appear under and the exact fork / push / gh pr create commands.
Fixes #18198
Signed-off-by: Andy Anderson <andy@clubanderson.com>
…es/PRs to the agent (#18199) (#18207) A write-tier reference repo has no webhooks and is not enumerated, so feedback on the items the hive opened there never reached the agent. - pkg/remoteitems: file-backed tracker + poller. Lists open items in each write-tier reference repo with creator=<owner login>, keeps the ones whose body carries a hive marker, fetches new comments/review comments/reviews on tracked items, drops the owner's own and bots', and delivers to the agent the marker names as a resume kick or, without a live session, as a handoff section on its next kick. Prunes closed items. No backlog scan, no queue, no stage engine on the remote. - pkg/github: HiveMarkerAgent (trailer or 🐝 footer, with the agent name) and RemoteItemsFetcher reading under the owner token. - cmd/hive: the pass runs after every reference-repo pass; marker names map to configured agents by name or display name. - pkg/scheduler: 🌐 REMOTE ITEM FOLLOW-UP kick section after the PR handoff. Fixes #18199 Signed-off-by: Andy Anderson <andy@clubanderson.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.257.1 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.257.1
…nd the two-lane docs (#18208) * ✨ dashboard: remote-repo identity panel, per-entry credential login, two-lane docs (#18200) - Settings → Reference repos: identity panel (connected login, Connect via device flow, Disconnect, reconnect prompt), credential chip on every write entry naming the login; repos card chip reads the owner account, not an App installation; /api/status carries credential_login. - Docs: 'Writing to repos you do not manage (the two lanes)' section, credential paragraph and derived-flow step rewritten for the owner identity, write-surface and env-vars updates, API reference fields. Fixes #18200 Signed-off-by: Andy Anderson <andy@clubanderson.com> * 📖 api-reference: resync citations after the status payload field (#18200) Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
…gin only) (#18210) The Sessions section renders /terminal?arg=hive-sess-<id> in a same-origin iframe, but both proxies sent frame-ancestors 'none' and X-Frame-Options DENY on that document. The browser fetched ttyd's page and then refused to display it: blank pane, no /token, no websocket, nothing logged on the server. Agent terminals never hit this because they open in their own tab. User-session terminal documents now get frame-ancestors 'self' and X-Frame-Options SAMEORIGIN, in the Go securityHeaders middleware and the node proxy alike. Every other route, agent terminals included, keeps the deny policy. Authorisation of the session terminal is unchanged. Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
* [scanner] fix: carry Signed-off-by through squash merges Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: clubanderson <407614+clubanderson@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * 🐛 fix: re-pin TRUSTED_SCRIPTS_TREE after src/scripts change Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> * 🐛 fix: serve PR commits in base-preparation test server The squash sign-off path now lists PR commits before merging; the test server 404'd on /pulls/N/commits, failing the successor-bypass case. Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> * [scanner] fix: update sweep test fixtures for squash sign-off Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --------- Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Co-authored-by: clubanderson <407614+clubanderson@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.258.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.258.0
…#18212) @plaud-ai/mcp 0.3.14 wraps every tool reply in a prose preamble and an <untrusted-user-data-...> envelope whose closing tag follows the JSON. json.Unmarshal rejects the trailing tag, so every sync on a connected hive failed with "list_files returned non-JSON output: {" and no notes ever arrived (seen live on a hosted hive). decodePlaudFiles, plaudAccountName, renderPlaudNote, renderPlaudTranscript and plaudPresignedURL now read the first JSON value in the reply and ignore what follows; notes and transcripts still pass plain text through untouched. The Plaud card's server sign-in help now states the exact command to copy a laptop token to the clipboard without displaying it. Signed-off-by: Andy Anderson <andy@clubanderson.com>
* ✨ sessions: open in a persistent per-hive spek workspace A session is a person driving a CLI the way they would on a laptop: inside a checkout of the project that has been `spektacular init <agent>`-ed, so the CLI finds .spektacular/ and the spek skills. Until now a session's cwd was its own empty work dir. - One persistent clone per repository under <HIVE_SESSIONS_SANDBOX_DIR>/workspace/<org>/<repo> (HIVE_SESSIONS_WORKSPACE_DIR overrides), repo = dashboard.sessions.workspace_repo (HIVE_SESSIONS_WORKSPACE_REPO), default project.org/primary_repo. - Cloned once by the hive with a one-shot `git -c credential.helper` file (removed afterwards) so no token reaches the clone's config or remote; the remote stays the plain https URL and sessions never hold a hive credential. - Root hands the tree to a sessions-only group (HIVE_SESSIONS_GID, default 20000) as root:<gid> 2770 / g+rw; every session now runs as uid:<that gid> (su-exec gives a numeric uid exactly one group), which is what lets sessions share the checkout. The gid is refused when it is the hive's own group, the reader group or inside the session uid range; sandboxes stay hive-launch group-only. - `spektacular init <vendor>` runs once per vendor per workspace as the session uid for the vendors spek supports; missing binary or failed init is logged, never fatal. Clone and init are serialised; git fetch is never automatic. - Session cwd = workspace (safe.directory via GIT_CONFIG_* env), HOME, uploads and TMPDIR unchanged. Record and API carry workspace_repo and workspace; a resume reopens the same workspace. Dashboard shows it in the new-session dialog, tab tooltip and pane header. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🌱 sessions: fix test fake name clash and env command call site Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🌱 sessions: record spek init marker errors; test second-session init identity Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.259.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.259.0
Design-only proposal: every hive gets a unique inbound email address built from a per-hive inbox uid; mail sent there lands as an Inbox item and is triaged like Plaud recordings. Recommends a hub-owned inbound domain fed by a provider webhook and relayed to the spoke over the existing signed webhook-relay channel, with a heartbeat pull for push-reported spokes, and records the fail-closed guard set, data model, routing defaults, config and API names, a phased plan and open questions. No feature code. Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
…b landing (#18218) Replace the NVIDIA and CNCF stand-ins on the Isolation rows of integrations.md with the OpenShell and Agent Substrate project logos, add a "Secrets and keys" section for the built-in keystore and the opt-in OpenBao Transit provider (both in progress under #18214), and add an "Isolation and secrets" hv-infra-logo-row to the hub landing page with OpenShell, Agent Substrate, OpenBao, Podman and Kubernetes. Sources and licenses are recorded in src/docs/assets/logos/SOURCES.md; the now unused nvidia.svg is removed. A hub test checks every landing-page integration logo is embedded and pins the new row. Hive-Run: #18217 Hive-Plan: #18214 child C Hive-Spec: keystore#C-logos Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Danathar <Danathar@users.noreply.github.com> Co-authored-by: clubanderson <407614+clubanderson@users.noreply.github.com>
…#18222) * ✨ keystore: encrypt spoke secrets at rest behind a provider interface (#18215) Adds crux/keystore (stdlib only; pkg/keystore re-exports it): a Provider interface, a versioned hive-enc:v1 envelope that serves as a file body and a YAML scalar, an AES-256-GCM EnvKeyProvider keyed by HKDF from HIVE_SECRETS_KEY / HIVE_SECRETS_KEY_FILE with the hub-provisioned HIVE_HEARTBEAT_KEY as the default material, previous-generation keys for rotation, and secret-file helpers that seal on write and re-seal legacy or stale files on read. Every /data/secrets writer and reader (LiteLLM, Bob, per-gateway and backup keys, the owner identity, the NPS relay identity), the Copilot durable token and the github.token value in the persisted runtime config now go through it. No key material: one WARN and today's plaintext behaviour. A selected provider that cannot be built refuses boot. Part of #18214. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🐛 keystore: keep missing-dir writes an error, route dashboard writes through pkg/keystore only, re-anchor citations WriteFile no longer creates the parent directory (callers own their dir mode; TestWriteDurableToken_Error pins the old contract), the dashboard reads and writes the Copilot durable token through pkg/keystore instead of crux/agent/copilottoken (import ratchet), pkg/keystore is allowlisted with justification, and the copilot_auth.go citations are re-anchored. Signed-off-by: Andy Anderson <andy@clubanderson.com> --------- Signed-off-by: Andy Anderson <andy@clubanderson.com> Co-authored-by: hivecommons-hive[bot] <280983584+hivecommons-hive[bot]@users.noreply.github.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.260.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.260.0
…pin Plaud MCP to 0.3.14 (#18221) * ✨ Knowledge connectors: live sync progress on the Integrations card; pin Plaud MCP to 0.3.14 While a connector synced the dashboard showed nothing until the sync ended (a first Plaud sync of 200 recordings is two or three MCP calls each). Every connector Status now carries a live `progress` block (phase idle/listing/ fetching/writing/done/failed, items_done/items_total, current item title, started_at/finished_at, last_error, bytes/facts written) that the Syncer updates per emitted page through a reporter carried in the Sync context, and the Plaud connector updates after list_files (total) and per recording (current title, skipped count). No new goroutines or MCP calls; updates run under the syncer lock. The `syncing` pill derives from running OR an active phase, and the Settings status rows gain `running` + `progress`. Dashboard: the Integrations card draws a <progress> bar (determinate when the total is known), "fetching 12 of 200 · <title>", elapsed time and the failure inline; it polls /api/config/knowledge/connectors/status every 2.5 s only while a sync runs (dashboardSetInterval, patching the live row parts so a half-typed form survives) and the Knowledge header shows a compact "syncing: <name> 12/200" indicator. Styled with existing tokens only. The Plaud default MCP command is pinned to `npx -y @plaud-ai/mcp@0.3.14` (plaudMCPVersion, bump steps in its comment, mirrored in cli-pins.md); user-set scope.command values are untouched. Tests: syncer progress transitions, JSON shape, reporter helpers, Plaud progress reporting, status-row JSON/pill, and a node UI test for the progress rendering states. Docs and API reference updated. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🌱 Knowledge sync progress: teach the node harnesses the new row helpers knowledge_connector_not_loaded.test.js extracts kbConnectorRow and kbLoadIntegrationsModal by source with a fixed dependency list, and nav_count_delta.test.js stubs every dependency of fetchKnowledgeStats. Lift the live-progress helpers (kbConnectorStatusOf, kbConnectorMetaHtml, kcProgress*) and their constants from the shipped source into the first, stub kbSyncProgressArm/kbSyncProgressTick in both, and move the loader's post-load poll arming behind kbSyncProgressArm so it is one seam. Signed-off-by: Andy Anderson <andy@clubanderson.com>
…18220) * 🐛 Sessions: theme the embedded terminal and add the Settings toggle The Sessions pane framed ttyd's stock black document inside a themed card. The proxied user-session document now carries a theme script that resolves the dashboard's --terminal-bg / --terminal-fg / --accent tokens from the parent document at runtime, paints ttyd's body and xterm.js from them, and re-applies on light/dark or preset changes; the pane iframe takes the same token while loading. Agent terminals (top-level tabs) are untouched. Settings -> Dashboard gains a real switch for dashboard.sessions.enabled plus the max_sessions / max_per_user / idle_ttl_hours limits, saved as one nested block through PUT /api/config/dashboard, and reports when HIVE_SESSIONS_ENABLED overrides the switch. The three limits leave the settings-parity allowlist. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🐛 Sessions: let the theme-script literal guard skip its own rgb() comment Signed-off-by: Andy Anderson <andy@clubanderson.com>
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.261.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.261.0
Automated release commit. Compiles changelog.d/ fragments and moves the CHANGELOG.md Unreleased section into a dated v5.262.0 entry. See src/docs/releases.md. Signed-off-by: hive-release-bot <actions@github.com>
release: v5.262.0
keystore.Active() lazily builds its provider once per process from the ambient env, and HIVE_HEARTBEAT_KEY alone enables sealing. npsRelayServer t.Setenv's that key, so the first test to touch a secret file fixed sealing on or off for the whole dashboard test binary. Tests that read secret files raw (TestNPSRelayRegistrationRefused, TestWriteLiteLLMKeyFile_CreatesDirAndFile, TestStoreBackupKeyTightensPreexistingLooseMode) then failed depending on -shuffle order. Pin plaintext in TestMain, next to the other host seams. Fixes #18227 Hive-Run: #18227 Hive-Plan: fix-v5-test-failure Hive-Spec: tests#ci-failure Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Danathar <Danathar@users.noreply.github.com>
Signed-off-by: Andy Anderson <andy@clubanderson.com>
Add a discord knowledge connector (bot token named in auth.env) that turns recordings posted to a channel (audio uploads or recording-bot links such as Craig's) and the server's scheduled events with their channel chat into meeting facts and Inbox items, beside Plaud, Zoom and Teams. Chat and event descriptions are wrapped in an untrusted-data envelope before they reach the fact, the Inbox and spek; items without a transcript keep the shared pending state and audio uploads play through the Inbox audio endpoint. The Integrations card shares the Connect / Check / Sync controls and offers the bot invite link when the bot cannot read the server or a channel. Signed-off-by: Andy Anderson <andy@clubanderson.com>
b80cb84
ℹ️ Sentinel notice — informational; author is trusted (owner), merge is not blockedHive flagged this PR (author @clubanderson, head
Hive did not add the |
Signed-off-by: Andy Anderson <andy@clubanderson.com>
|
Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor. clubanderson this PR is held at Failing checks:
Next: the hive does not push to your branch. Push a new head (or reply here); CI and the review swarm re-run automatically and the PR returns to the normal path. |
|
The 🐝 Hive Agent: — hive: agent=scanner backend=claude model=claude-sonnet-5-5 claude=2.1.325 |
…ing; repoint email-inbox citation to the v6 config split Signed-off-by: Andy Anderson <andy@clubanderson.com>
* ✨ Inception (spek): turn on interactive sessions by default dashboard.sessions.enabled now defaults to on (unset means on; an explicit false is kept by making the field a *bool). HIVE_SESSIONS_ENABLED still overrides it, so operators can turn it off with false. The Sessions section is labelled Inception (spek) in the sidebar, heading, help, FAQ, Settings and docs; internal ids, routes and the config key are unchanged. Signed-off-by: Andy Anderson <andy@clubanderson.com> * 🔥 Inception (spek): remove the old Inception wizard UI The dashboard's step-by-step Inception wizard section (panel, Q&A, scaffold preview, brainstorm activity feed, sidebar item and help entry) is removed; Inception (spek) sessions replace it. The sessions flag now only decides whether that section shows. inception-section aliases to sessions-section so old links and saved layouts land there. Campaigns and Jam stay as the Campaigns tab; the /api/inception/* and /api/campaigns backends are untouched. Signed-off-by: Andy Anderson <andy@clubanderson.com>
Signed-off-by: Andy Anderson <andy@clubanderson.com>
…ct (#18281) native-queue-policy went red on #17512, #18273, #18275 and #18278 and the scanner filed it as one shared-CI incident (#18280). The gate was right every time: #17512 is a draft carrying do-not-merge/work-in-progress, #18273 and #18275 have probot DCO action_required, and #18278 has changelog-fragment-guard failure. The defect was the surface. A red provider was thrown as a bare `Error('DCO: action_required')` and printed as "Unhandled error" with a stack trace, which reads like a broken workflow. evidenceForHead and assertProwDCO now throw a ProviderVerdict naming the provider, its conclusion, the head, and that this is a per-PR verdict and not a shared CI incident. The evidence-wait step reports it with a job summary and core.setFailed instead of rethrowing. The conclusion stays failure: this is a required check. Hive-Run: #18280 Hive-Plan: shared-ci incident triage Hive-Spec: native-queue-policy#provider-verdict Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Danathar <Danathar@users.noreply.github.com>
|
The hive's GitHub App lacks |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Needs a decision, not a merge: Clear the cause and the hive re-evaluates on its next pass; the stage moves to |
Mutation testingHead ⏱️ The 900s mutation budget ran out, so 8 package(s) were not fully mutated and the results below do not cover them:
❌ gremlins did not produce a report for 2 package(s), so no verdict can be derived from this run (see the job log):
17 mutant(s) in changed files are not reached by any test (NOT COVERED). A maintainer may apply the
ℹ️ 1 mutant(s) on added lines were SKIPPED because gremlins v0.6.0 only honours the first
Verdict: |
Merges
origin/v5intov6. The first merge commit took v5 at 5656f1f (#18267) onto v6 at 170947c (#18269), 66 commits. A second signed merge commit brings v5 up to cd76cf1 (#18268), adding #18271 and #18268, so after this landsorigin/v5is an ancestor ofv6. Carried by hand because.github/workflows/v6-topup.ymlhas failed on every run since 2026-11-15 04:09Z: the conflicts are outside its two known-structural patterns (discord/ deletion,src/pkg/config/config.gosplit).Notable v5 PRs included
Conflicted files and how each was resolved
Policy (same as #18193): v5 is the development line, v6-only features are kept, and where both sides added to the same list or table the union is kept.
.github/scripts/integration-governance.cjsTRUSTED_SCRIPTS_TREE= v6'ssrc/scriptstreesrc/scriptstree70a83fac5c80258d8af0ddcdf6137d2e4de446cb(=git rev-parse HEAD:src/scripts)CHANGELOG.mdchangelog.d/fragments keptsrc/Dockerfilehive-admin-mcpgovulncheck/gosec(newgo-sec-toolsstage, #18192)go-sec-toolsstage, its COPYs and thegosec -versioncheck come in unchanged; golang digest is the same as the builder stagesrc/pkg/config/config.gogithub.tokenon persist, open on loadopenPersistedSecrets()call after YAML parse inload.go, sealing +githubTokenAAD+openPersistedSecretsinsave.go(redactedForPersist), with thecrux/keystoreandcontextimportssrc/cmd/hive/boot.gostartID/startRecordfieldsuserSessions *cruxruntime.UserSessionsfieldsrc/pkg/dashboard/audit.goconfig_admin_mcp_writes,config_code_scanning,config_decisions_delegate,ioscan_classifier_daily_quota_exhaustedsession_startedsrc/pkg/dashboard/import_count_test.gopkg/keystore(#18214)src/pkg/github/automerge/automerge_merge_credit_test.gosrc/pkg/dashboard/static-src/js/knowledge.jskbSyncProgressTick()after statssrc/pkg/dashboard/nav_count_delta.test.jsviewerIsOwnerstubkbSyncProgressTickstubsrc/pkg/dashboard/static-src/js/config-tabs.jsrenderGovDashboardSessionssrc/pkg/dashboard/static-src/js/config-state.js(v6 #18269 merge)src/docs/settings.md(v6 #18269 merge)dashboard/openapi.jsonsrc/docs/design/README.mdsrc/docs/api-reference.md/api/github-owner-identityrows to the inline auth table and mirrored v5's knowledge connector text edits into the inline rowssrc/docs/api-reference/{auth,configuration,dashboard-misc,health-status-events,knowledge,snapshots-and-style}.mdconfiguration.mdv6 moved a 29-row blockgithub-owner-identityrows, connectorsprogresstext, reference-reposcredential_logintext ported onto v6's copy; the duplicate moved block was dropped), thensrc/scripts/check-api-reference-citations.sh --fixre-synced 43 drifted citations (0 unresolved; rerun on the final tree: 0 drifted)src/pkg/dashboard/static/index.htmlstatic-src/manifest.txt(same method reproduces v6's committed file byte for byte)Semantic checks
discord/files came in.src/crux/agent/usersession*.go,src/pkg/dashboard/api_sessions*.go,static-src/js/sessions.js,src/deploy/ttyd-tmux.sh,bin/ttyd-tmux.sh,src/pkg/inbox/. The entrypoint HUP trap merged cleanly.gofmt -lis clean on the hand-edited Go files.node --checkpasses on the hand-merged JS.Second merge: v5 at cd76cf1 (#18271 Discord meetings, #18268 Inception (spek) default-on and wizard removal)
static-src/js/inception.js/api/inception/*backends, including v6's/api/inception/facts, are unchangedstatic-src/html/nous-inception-knowledge-contributors.htmlinception-sectionmarkupsearch-sectionkeptstatic-src/js/{layout,refresh,sections}.js,webstatic/static_index_test.go,dashboard_section_reorder_9062_test.goruns-section/search-sectioninception-sectiondroppedinception-section, which aliases tosessions-section. The v6 card-mapinception-sectionentry is removed. The restored-section count is 25 -> 24 (v5's 22 plus runs and search)src/hive.yaml.examplekick_failure_thresholdlinesrc/docs/inception.mdproposed=truefacts, approve run admission, revise in place)dashboard/openapi.jsonstatic/index.htmlv6-only tests that asserted the wizard sidebar entry now assert the v5 replacement:
inception_spektacular_label_test.gochecks thesessions-section"Inception (spek)" sidebar link, andwebstatic/experiment_lab_sidebar_12076_test.gocheckssessions-section-> "Inception (spek)". Nothing else insrc/pkg/dashboard,src/testordashboard/references the 34 removed wizard functions. The one exception isdashboard/build-snapshot.mjs, which guards it withtypeofthe same way v5 does. Thedashboard.sessions.enabledmove to*boollands indashboard_sessions.go, which is byte-identical to v5. No v6 split-config file reads that field.Follow-up fixes on this branch
src/docs/api-reference.md: the mirrored knowledge-connector rows linkknowledge-connectors.md, not../(the page sits insrc/docs).automerge_closing_link_test.go(v6-only): off-default-base PRs now see one commit listing, from 🐛 fix: carry Signed-off-by through squash merges #18204's squash sign-off rebuild. The closing-keyword scan still reads none.src/docs/design/email-inbox.md: the citation points atsrc/pkg/config/dashboard_config.go:43, v6's split location ofAuthorizedUsers.Notes for reviewers
action_requiredon a forward merge; the merge commit is signed off.🤖 Generated with Claude Code