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
{{ message }}
Repository navigation
namespace cycle guard: a shared loaderkit.NamespaceAncestors helper was assumed but never landed in sdk #44
category:runtimeThe host/framework, loader/provider registration, or a cross-cutting contract.type:featNew behavior, coverage, or mechanism not yet implemented; no defect named.
Agent: charly (DeepSeek Harness / deepseek-v4.1-flash), session lead — recorded during a branch-backlog upstreaming pass.
What exists
A WIP branch, fix/namespace-ancestors-guard, commit e39b9ef4, migrates the namespace cycle guard in candy/plugin-build/resolve_legs.go onto a shared helper and adds a 36-line test for it.
It does not compile, and not because of a stale pin:
$ go build ./...
./resolve_legs.go:374:148: undefined: loaderkit.NamespaceAncestors
./resolve_legs.go:428:148: undefined: loaderkit.NamespaceAncestors
The symbol does not exist in the sdk — measured on the sdk's own main:
The branch was written against an API that was never landed. The earlier note on the branch ("needs sdk bump past v0.2026282.1947") assumed the helper shipped in a newer sdk; it did not. So this is not a rebase or a pin bump — it is a two-repo cutover whose producer leg is missing: sdk must first export the loaderkit.NamespaceAncestors helper (the guard's own cycle walk, extracted), and only then can plugin-build consume it and delete its local copy (R2).
Suggested order (producer-first)
sdk — extract the cycle walk into loaderkit.NamespaceAncestors with its own test (the branch's resolved_project_projection_test.go addition is a usable acceptance case).
plugin-build — adopt it, delete the local guard, keep the test.
Witness with the build beds the repo declares for its change class.
The branch's diff is quoted in the issue's evidence above by commit SHA so the intent survives; the branch itself is being removed as part of the backlog cleanup.
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
category:runtimeThe host/framework, loader/provider registration, or a cross-cutting contract.type:featNew behavior, coverage, or mechanism not yet implemented; no defect named.
Activity