~bigbes/sr-ht-dolt · parade

main · last commit 5 hours ago · ti41arbu

← Back to the parade

sr-ht-dolt-0qf.1 Extract the beads projection into a root beads/ package Past Stand

status: closed P1 task
bd reopen sr-ht-dolt-0qf.1
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-08-12T20:11:37Z
Started2026-08-12T20:15:38Z
Updated2026-08-13T06:05:35Z
Closed2026-08-13T06:05:35Z
Description
web/beads.go holds the one reading of the beads schema (fingerprint, lane bucketing, ready rule, status categories, dependency walk, event humanizer, filter model, row helpers) where a second consumer cannot reach it. Move it to a root beads/ package depending on browse/ and the stdlib only; web/beads.go and web/milestones.go keep their View implementations. Prerequisite of the MCP beads tools, of the cross-database ready page and of cross-database links.
Design
docs/DESIGN.mcp.md §8. Pure move plus export renames — web/beads_test.go and web/milestones_test.go move with it. A behaviour change smuggled into this commit makes the refactor unreviewable.
Acceptance criteria
go test ./... green with the suites relocated; no behaviour diff in the rendered board (same fixtures, same output); beads/ imports neither net/http nor core.

Depends on

  • sr-ht-dolt-0qf — MCP surface: a read-only agent door to hosted databases parent-child closed

Depended on by

Unblocks — everything waiting on this, transitively

  • sr-ht-dolt-44n.5 — /ready: the cross-database ready page blocks closed
  • sr-ht-dolt-44n.6 — Cross-database issue links in rendered text blocks closed
  • sr-ht-dolt-0qf.7 — mcpsrv: ready_work across every visible beads database blocks closed
  • sr-ht-dolt-0qf.5 — mcpsrv: beads tools over the shared projection blocks closed
  • sr-ht-dolt-0qf.6 — Wire /mcp into the daemon, config and README blocks closed

No comments.

Close reason

Landed in f9c82b0 (pure move: 77 PASS lines preserved, the sorted set of test names byte-identical to the baseline) plus 7d799ed, which dropped the Bead/Beads prefix from the moved types before any consumer existed.
  • Eugene Blikh added under epic sr-ht-dolt-0qf · 2026-08-12T23:11:37Z
  • Eugene Blikh created the issue · 2026-08-12T23:11:37Z
  • Eugene Blikh sr-ht-dolt-0qf.5 now depends on this · 2026-08-12T23:12:56Z
  • Eugene Blikh sr-ht-dolt-44n.5 now depends on this · 2026-08-12T23:13:00Z
  • Eugene Blikh changed status to in_progress · 2026-08-12T23:15:38Z
  • Eugene Blikh closed the issue · 2026-08-13T09:05:34Z
    Landed in f9c82b0 (pure move: 77 PASS lines preserved, the sorted set of test names byte-identical to the baseline) plus 7d799ed, which dropped the Bead/Beads prefix from the moved types before any consumer existed.
Stored rows — what this pane was built from, as read
issues 1 row
id sr-ht-dolt-0qf.1
content_hash 573249e114393372c5f26a2572baf8fa924e214e471ed31e1d75e9c8245b53d6
title Extract the beads projection into a root beads/ package
description web/beads.go holds the one reading of the beads schema (fingerprint, lane bucketing, ready rule, status categories, dependency walk, event humanizer, filter model, row helpers) where a second consumer cannot reach it. Move it to a root beads/ package depending on browse/ and the stdlib only; web/beads.go and web/milestones.go keep their View implementations. Prerequisite of the MCP beads tools, of the cross-database ready page and of cross-database links.
design docs/DESIGN.mcp.md §8. Pure move plus export renames — web/beads_test.go and web/milestones_test.go move with it. A behaviour change smuggled into this commit makes the refactor unreviewable.
acceptance_criteria go test ./... green with the suites relocated; no behaviour diff in the rendered board (same fixtures, same output); beads/ imports neither net/http nor core.
notes
status closed
priority 1
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-08-12T20:11:37Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-08-13T06:05:35Z
closed_at 2026-08-13T06:05:35Z
closed_by_session
external_ref NULL
spec_id
compaction_level 0
compacted_at NULL
compacted_at_commit NULL
original_size NULL
sender
ephemeral 0
wisp_type
pinned 0
is_template 0
mol_type
work_type
source_system
metadata �{}
source_repo
close_reason Landed in f9c82b0 (pure move: 77 PASS lines preserved, the sorted set of test names byte-identical to the baseline) plus 7d799ed, which dropped the Bead/Beads prefix from the moved types before any consumer existed.
event_kind
actor
target
payload
await_type
await_id
timeout_ns 0
waiters
hook_bead
role_bead
agent_state
last_activity NULL
role_type
rig
due_at NULL
defer_until NULL
no_history 0
started_at 2026-08-12T20:15:38Z
is_blocked 0
dependencies 3 rows
id 09146b3e-e820-5e43-ae15-4f26449dedf8
issue_id sr-ht-dolt-0qf.1
type parent-child
created_at 2026-08-12T23:11:37Z
created_by Eugene Blikh
metadata �{}
thread_id
depends_on_issue_id sr-ht-dolt-0qf
depends_on_wisp_id NULL
depends_on_external NULL
id dd4cb536-6dd5-569b-9286-13c53e668dad
issue_id sr-ht-dolt-44n.5
type blocks
created_at 2026-08-12T23:13:00Z
created_by Eugene Blikh
metadata �{}
thread_id
depends_on_issue_id sr-ht-dolt-0qf.1
depends_on_wisp_id NULL
depends_on_external NULL
id f815c27c-9e81-55cf-a753-7e29bce1d87f
issue_id sr-ht-dolt-0qf.5
type blocks
created_at 2026-08-12T23:12:56Z
created_by Eugene Blikh
metadata �{}
thread_id
depends_on_issue_id sr-ht-dolt-0qf.1
depends_on_wisp_id NULL
depends_on_external NULL
events 3 rows
id 019ff79a-1117-7acd-8cc4-d0e4ac1f177a
issue_id sr-ht-dolt-0qf.1
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-08-12T23:11:37Z
id 019ff79d-be4b-77a5-a065-7db5ca4a0fd5
issue_id sr-ht-dolt-0qf.1
event_type status_changed
actor Eugene Blikh
old_value {"id":"sr-ht-dolt-0qf.1","title":"Extract the beads projection into a root beads/ package","description":"web/beads.go holds the one reading of the beads schema (fingerprint, lane bucketing, ready rule, status categories, dependency walk, event humanizer, filter model, row helpers) where a second consumer cannot reach it. Move it to a root beads/ package depending on browse/ and the stdlib only; web/beads.go and web/milestones.go keep their View implementations. Prerequisite of the MCP beads tools, of the cross-database ready page and of cross-database links.","design":"docs/DESIGN.mcp.md §8. Pure move plus export renames — web/beads_test.go and web/milestones_test.go move with it. A behaviour change smuggled into this commit makes the refactor unreviewable.","acceptance_criteria":"go test ./... green with the suites relocated; no behaviour diff in the rendered board (same fixtures, same output); beads/ imports neither net/http nor core.","status":"open","priority":1,"issue_type":"task","owner":"bigbes@gmail.com","created_at":"2026-08-12T20:11:37Z","created_by":"Eugene Blikh","updated_at":"2026-08-12T20:11:37Z"}
new_value {"status":"in_progress"}
comment NULL
created_at 2026-08-12T23:15:38Z
id 019ff9b9-db48-7177-8e79-0d9f26641aca
issue_id sr-ht-dolt-0qf.1
event_type closed
actor Eugene Blikh
old_value
new_value Landed in f9c82b0 (pure move: 77 PASS lines preserved, the sorted set of test names byte-identical to the baseline) plus 7d799ed, which dropped the Bead/Beads prefix from the moved types before any consumer existed.
comment NULL
created_at 2026-08-13T09:05:34Z