~bigbes/sr-ht-dolt · parade

main · last commit 5 hours ago · ti41arbu

← Back to the parade

sr-ht-dolt-44n.6 Cross-database issue links in rendered text Past Stand

status: closed P3 task
bd reopen sr-ht-dolt-44n.6
Created byEugene Blikh
Ownerbigbes@gmail.com
Created2026-08-12T20:11:51Z
Started2026-08-13T06:27:39Z
Updated2026-08-13T07:07:07Z
Closed2026-08-13T07:07:07Z
Description
A global-tracker issue naming artifacts-nex.2 is pointing at a row in another database, and the reader has to find it by hand. Recognise <prefix>-<suffix> in descriptions, design, acceptance criteria, notes, comments and event summaries, and link those whose prefix belongs to a database the caller may browse — prefixes come from each tracker config.issue_prefix, indexed on the same head-hash/TTL basis as /ready.
Design
docs/DESIGN.views.md ch.5. Escape first, then wrap the matches, and only then mark the result template.HTML: marking stored text as HTML and running a regexp over it is how a stored payload becomes a rendered one. A prefix in a database the caller cannot see is not linked and its existence is not revealed.
Acceptance criteria
An id in a visible database links, one in an invisible database renders as plain text, <script> in a description stays escaped, an unknown prefix is left alone.

Depends on

  • sr-ht-dolt-44n — Beads views, round two: stream, memory, freshness, cross-database parent-child closed
  • sr-ht-dolt-44n.5 — /ready: the cross-database ready page blocks closed

Depended on by

Nothing depends on this issue.

Prerequisite chain — everything this waits on, transitively

  • sr-ht-dolt-44n — Beads views, round two: stream, memory, freshness, cross-database parent-child closed
  • sr-ht-dolt-44n.5 — /ready: the cross-database ready page blocks closed
  • sr-ht-dolt-m63 — db: enumerate the databases a caller may list across owners blocks closed
  • sr-ht-dolt-0qf.1 — Extract the beads projection into a root beads/ package blocks closed
  • sr-ht-dolt-0qf — MCP surface: a read-only agent door to hosted databases parent-child closed

No comments.

Close reason

Landed in dc91829: PrefixesAcross + PrefixIndex.Scan, escape-then-wrap rendering, the index bounded by the same projectionCache the ready page uses (ReadyCache was refactored onto it, so the numbers exist once). A database the caller may not browse is never opened and its ids render as plain text indistinguishable from an unknown prefix. An ambiguous prefix links to neither — a guess rendered as a fact is worse than plain text.
  • Eugene Blikh created the issue · 2026-08-12T23:11:50Z
  • Eugene Blikh added under epic sr-ht-dolt-44n · 2026-08-12T23:11:51Z
  • Eugene Blikh added dependency on sr-ht-dolt-44n.5 · 2026-08-12T23:13:00Z
  • Eugene Blikh changed status to in_progress · 2026-08-13T09:27:38Z
  • Eugene Blikh closed the issue · 2026-08-13T10:07:06Z
    Landed in dc91829: PrefixesAcross + PrefixIndex.Scan, escape-then-wrap rendering, the index bounded by the same projectionCache the ready page uses (ReadyCache was refactored onto it, so the numbers exist once). A database the caller may not browse is never opened and its ids render as plain text indistinguishable from an unknown prefix. An ambiguous prefix links to neither — a guess rendered as a fact is worse than plain text.
Stored rows — what this pane was built from, as read
issues 1 row
id sr-ht-dolt-44n.6
content_hash aad9c553cb6022751a8410ca2f3b0f3a9d6aa286508eb7d565cff42b301b5194
title Cross-database issue links in rendered text
description A global-tracker issue naming artifacts-nex.2 is pointing at a row in another database, and the reader has to find it by hand. Recognise <prefix>-<suffix> in descriptions, design, acceptance criteria, notes, comments and event summaries, and link those whose prefix belongs to a database the caller may browse — prefixes come from each tracker config.issue_prefix, indexed on the same head-hash/TTL basis as /ready.
design docs/DESIGN.views.md ch.5. Escape first, then wrap the matches, and only then mark the result template.HTML: marking stored text as HTML and running a regexp over it is how a stored payload becomes a rendered one. A prefix in a database the caller cannot see is not linked and its existence is not revealed.
acceptance_criteria An id in a visible database links, one in an invisible database renders as plain text, <script> in a description stays escaped, an unknown prefix is left alone.
notes
status closed
priority 3
issue_type task
assignee NULL
estimated_minutes NULL
created_at 2026-08-12T20:11:51Z
created_by Eugene Blikh
owner bigbes@gmail.com
updated_at 2026-08-13T07:07:07Z
closed_at 2026-08-13T07:07:07Z
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 dc91829: PrefixesAcross + PrefixIndex.Scan, escape-then-wrap rendering, the index bounded by the same projectionCache the ready page uses (ReadyCache was refactored onto it, so the numbers exist once). A database the caller may not browse is never opened and its ids render as plain text indistinguishable from an unknown prefix. An ambiguous prefix links to neither — a guess rendered as a fact is worse than plain text.
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-13T06:27:39Z
is_blocked 0
dependencies 2 rows
id 4aecad61-cae6-5d51-9cda-514dc08fc94d
issue_id sr-ht-dolt-44n.6
type parent-child
created_at 2026-08-12T23:11:51Z
created_by Eugene Blikh
metadata �{}
thread_id
depends_on_issue_id sr-ht-dolt-44n
depends_on_wisp_id NULL
depends_on_external NULL
id ac7765bb-5acd-5651-92e5-92f44e780723
issue_id sr-ht-dolt-44n.6
type blocks
created_at 2026-08-12T23:13:00Z
created_by Eugene Blikh
metadata �{}
thread_id
depends_on_issue_id sr-ht-dolt-44n.5
depends_on_wisp_id NULL
depends_on_external NULL
events 3 rows
id 019ff79a-4738-7478-ad2b-627dc54b5191
issue_id sr-ht-dolt-44n.6
event_type created
actor Eugene Blikh
old_value
new_value
comment NULL
created_at 2026-08-12T23:11:50Z
id 019ff9ce-0d9d-763d-97ba-bbd519700187
issue_id sr-ht-dolt-44n.6
event_type status_changed
actor Eugene Blikh
old_value {"id":"sr-ht-dolt-44n.6","title":"Cross-database issue links in rendered text","description":"A global-tracker issue naming artifacts-nex.2 is pointing at a row in another database, and the reader has to find it by hand. Recognise \u003cprefix\u003e-\u003csuffix\u003e in descriptions, design, acceptance criteria, notes, comments and event summaries, and link those whose prefix belongs to a database the caller may browse — prefixes come from each tracker config.issue_prefix, indexed on the same head-hash/TTL basis as /ready.","design":"docs/DESIGN.views.md ch.5. Escape first, then wrap the matches, and only then mark the result template.HTML: marking stored text as HTML and running a regexp over it is how a stored payload becomes a rendered one. A prefix in a database the caller cannot see is not linked and its existence is not revealed.","acceptance_criteria":"An id in a visible database links, one in an invisible database renders as plain text, \u003cscript\u003e in a description stays escaped, an unknown prefix is left alone.","status":"open","priority":3,"issue_type":"task","owner":"bigbes@gmail.com","created_at":"2026-08-12T20:11:51Z","created_by":"Eugene Blikh","updated_at":"2026-08-12T20:11:51Z"}
new_value {"status":"in_progress"}
comment NULL
created_at 2026-08-13T09:27:38Z
id 019ff9f2-313a-7111-960d-ea5d976fdd11
issue_id sr-ht-dolt-44n.6
event_type closed
actor Eugene Blikh
old_value
new_value Landed in dc91829: PrefixesAcross + PrefixIndex.Scan, escape-then-wrap rendering, the index bounded by the same projectionCache the ready page uses (ReadyCache was refactored onto it, so the numbers exist once). A database the caller may not browse is never opened and its ids render as plain text indistinguishable from an unknown prefix. An ambiguous prefix links to neither — a guess rendered as a fact is worse than plain text.
comment NULL
created_at 2026-08-13T10:07:06Z