feat(config): origin-first forge resolution and host-keyed credentials (ADR 0025) #41
No reviewers
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea!41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/41/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements ADR 0025 (docs/adr/0025-origin-first-forge-resolution.md, now Accepted) — epic #30, tasks T1–T11.
Behavior changes:
madtea.url(previously the global value silently won and operations could query the wrong forge). Installs whose API host differs from the git host set the per-repomadtea.urloverride once.auth loginis origin-aware, prompt-minimal, and forge-wide: inside a repo the forge comes from origin (no URL prompt), the username comes fromGET /user, there is no storage-scope prompt, and--globalon login is a deprecated no-op (logout--globalunchanged).madtea.url; mixed without a global fails closed withambiguous forge: found <h1>, <h2> — pass dir= or set madtea.url; an explicitdir=always outranks the session default.dir=-taking operations (finish, push exit-128 diagnostics) resolve the TARGET repo's forge via the newGetConfigForDir/GetConfigForURLentry points;IsConfiguredis origin-aware.Refs #38, #39, #40 (follow-ups filed during review).
Closes #30
Closes #31
Closes #32
Closes #33
Closes #34
Closes #35
Closes #36
Closes #37