beads/internal/tracker
Julian Knutsen ff6eeedbf6
feat(update): enforce close policy when a status update crosses into done (#5206)
A generic status update crossing from a non-done into a done-category status now enforces close
policy — the open-children refusal and the live-direct-blocker refusal — instead of bypassing it.
bd update --force gains a second meaning: it overrides close policy as well as the assignee-transfer fence.

Enforcement lives at the two storage-layer update funnels rather than at call sites, so every status-capable
path is covered by construction. The override travels as a reserved update-map key each funnel pops before
field validation, so a caller that fails to plumb it is refused loudly by name rather than silently losing
the override.

Breaking for scripts relying on bd update -s closed to bypass the checks bd close applies. bd batch gains
'force=true'; an unforced refusal rolls back the batch. Tracker sync-pull always forces. bd batch close is
unchanged.
2026-07-31 18:23:06 -07:00
..
engine.go feat(update): enforce close policy when a status update crosses into done (#5206) 2026-07-31 18:23:06 -07:00
engine_close_policy_test.go feat(update): enforce close policy when a status update crosses into done (#5206) 2026-07-31 18:23:06 -07:00
engine_external_ref_history_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
engine_history_gate_cgo_test.go fix(tracker): gate externalRefChangedAfter on capability, not DB() presence (#4549) (#4734) 2026-07-12 14:12:54 -07:00
engine_pull_failure_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
engine_ratelimit_test.go test: split tracker pure-go helpers (#4183) 2026-05-26 16:31:17 -07:00
engine_selective_test.go feat: add IssueIDs filter to SyncOptions for selective sync (#2957) 2026-04-05 22:24:47 -07:00
engine_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
errors.go github: classify rate-limit 403s and stop the push loop when one hits (#3624) 2026-05-02 14:24:57 -07:00
multiproject.go feat: multi-project/team support for Linear, Jira, and ADO 2026-03-28 13:40:39 -07:00
multiproject_test.go feat: multi-project/team support for Linear, Jira, and ADO 2026-03-28 13:40:39 -07:00
registry.go feat: add plugin-based issue tracker framework (GH#1150) 2026-02-14 14:09:40 -08:00
registry_test.go feat: add plugin-based issue tracker framework (GH#1150) 2026-02-14 14:09:40 -08:00
test_helpers_pure_test.go feat(storage): one guarded issue-lifecycle surface for the CLI and linked consumers (#5191) 2026-07-31 11:26:38 -07:00
testmain_test.go feat(storage): refuse test DBs on production dolt servers (AD-01) (#3632) 2026-07-24 01:28:51 -07:00
tracker.go feat: reimplement Notion sync on REST data sources (fix-merge PR #2759) 2026-03-27 19:20:40 -07:00
types.go feat(gitlab): sync issue dependency links on push (#4294) 2026-07-08 08:00:41 -07:00