You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #17583 (part 2 of 2). Blocked by #17587 (inline validation) because both touch knowledge.js.
Problem
There is no way to correct a fat-fingered URL/name/subpath/branch/layer for a knowledge git source: the server exposes only GET/POST (connect) / DELETE (disconnect) on /api/knowledge/git-sources (src/pkg/dashboard/api_knowledge.gohandleGitSourcesList/Connect/Disconnect; src/pkg/knowledge/api.goConnectGitSource/DisconnectGitSource). The only recourse is Remove + re-add, which re-clones and re-indexes.
Server: PUT /api/knowledge/git-sources taking {url, subpath} as the identity plus the new fields:
name / layer change → update metadata in place, no re-clone.
url / branch / subpath change → disconnect the old source and connect the new one atomically from the caller's point of view (one request, one audit row).
Owner-gated like connect/disconnect; audit row knowledge_git_source_update.
Tests: handler table test for metadata-only vs re-clone paths.
changelog.d/added-<slug>.md fragment.
Acceptance
Each existing git source row has Edit; saving a corrected display name does not re-clone; saving a corrected URL re-indexes and the row reflects the new values.
Deferred this kick (file-overlap): the Edit flow rewrites static-src/js/knowledge.js and static/index.html, both still changing in open PR #17589 (fixes #17587, the declared prerequisite). Dispatching in parallel would conflict on merge; picked up once #17589 lands.
🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Claim history
2026-11-10 21:07 UTC — claimed by scanner (agent on hive hosted-available-oke-11-placeholder-r05x)
Activity
hivecommons-hive commentedon Nov 10, 2026
Deferred this kick (file-overlap): the Edit flow rewrites
static-src/js/knowledge.jsandstatic/index.html, both still changing in open PR #17589 (fixes #17587, the declared prerequisite). Dispatching in parallel would conflict on merge; picked up once #17589 lands.🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:unknown— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Nov 10, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.Claim history
scanner(agent on hive hosted-available-oke-11-placeholder-r05x)✨ knowledge: edit an existing git source (PUT /api/knowledge/git-sour…
github-actions commentedon Nov 11, 2026
Closed by #17596 (merged to
v6).hivecommons-hive commentedon Nov 11, 2026
Fixed by #17596 (merged 087a692). Closing. Reply /reopen if the problem persists.