Skip to content

Tech-debt tracker — non-blocking follow-ups #89

Open

Description

@SSFSKIM

Moved from board ticket 11 on the retired board service.


standing tracker (migrated from gh#26); items land here instead of getting lost, worked when batched

Migrated 2026-08-24 from GitHub issue #26 (first-consumer migration — the dp board now lives on the Arkho board API; the gh issue is closed with a pointer here).

The parent for non-blocking follow-ups on the doperpowers plugin itself (same shape as the consumer-repo tech-debt sink: review findings and known costs that don't block a merge land here instead of getting lost).

Open items

  • sminos/skills/sminos/scripts/sminos.py derive_line (sminos 1.70.0, PR sminos derive forks on Haiku, never on the session's own model #680) — the derive fork runs on the deriving process's inference route, not the member's recorded one (its record's inference). Before 1.70.0 only stopped or bridgeless members took the headless fork; now every derive does. Where the gateway comes from ~/.claude/settings.json's env (the owner's Macs) every claude process takes the same route, so nothing changes there; a member on a separate --settings route would have its transcript read over the caller's. A fix would launch the fork on the member's route, or refuse when the two differ. Found in review of PR sminos derive forks on Haiku, never on the session's own model #680.
  • sminos.py DERIVE_MODEL = "haiku" (sminos 1.70.0, PR sminos derive forks on Haiku, never on the session's own model #680) — the alias follows the provider's mapping; where it maps to a 200k-context Haiku, a session past that answers Prompt is too long, is stamped failed and retried hourly (a rejected request costs nothing) until it compacts. Both Macs map it to claude-haiku-5-5[1m] (1M). A fix would check the resolved model's window, or bound the resumed input. Found in review of PR sminos derive forks on Haiku, never on the session's own model #680.
  • to-human/hooks/mods/edits.tsx — a run of file changes does not redraw when a non-edit row lands between two edit rows after they drew (rows drawn out of transcript order: fullscreen windowing, a resumed history) in the full-transcript view, where the view's own reorder invalidations are gated by isFolding(): the first summary keeps both files and the second row stays blank until any redraw. Cosmetic and self-healing; a fix would have the view invalidate on an insertion or reorder among drawn rows whatever the fold state. Found in review of the edit-summary fold (to-human 0.6.0).

Closed items

Conventions

  • One child issue per item once it's actionable; a checklist line is enough while it's just a known cost.
  • This issue carries the tech-debt label so review tooling that looks for the standing tech-debt sink finds it.

Activity

  1. added
    status:deferred
    priority:P3
    on Aug 30, 2026
  2. SSFSKIM commented on Sep 21, 2026

    @SSFSKIM
    OwnerAuthor

    to-human mod: a call that drew standalone and was grouped afterwards would leave its run with no opener (deferred from PR #178's review)

    hooks/mods/to-human.tsx, the ToolGroup hook: a call's row that first drew as a standalone ToolUse is in view.order under its own id; if the engine then folds it into a group, the group's row is ordered after that dead entry, runStart(group) names the dead call, and neither the collapsed group (start !== id) nor its expanded rows (opens: false) draws [ working record ]. The run stays reachable through the band's [ full transcript ].

    Not fixed because the transition is not observed in the engine: the collapsed ToolGroup site wrapped a single in-progress Read from its first draw in every live run (2.1.278), and the parallel-call grouped_tool_use pass groups within one message id. The reviewer reproduced the state in a hook harness, not the engine.

    Fix when it becomes reachable: in the ToolGroup hook, for each call whose id is in rowOf, remove it from order/rowOf, move an unfolded flag it carried onto the group's id, and $.ui.invalidate('ui.render').

  3. SSFSKIM commented on Oct 14, 2026

    @SSFSKIM
    OwnerAuthor

    From the AskUserQuestion-with-async work (PR #191, spec docs/doperpowers/specs/2026-10-13-ask-async-design.md), deferred as non-blocking:

    • Rewind leaves stale async asks in view. Rewinding inside a running session leaves the abandoned branch's open asks drawn until the session is resumed. No hook sees a rewind event, so a fix needs an engine event or some cheap signal.
    • hooks/mods/ask.tsx is ~1200 lines. Its pure helpers could move to a sibling .ts file. Deferred because the spec's Interfaces place them in ask.tsx.
    • Resume search output is capped at 4 MiB. For a transcript over 4 MiB, the filtered output of the resume search is capped at 4 MiB and the cap is only logged. Past it, the search fails visibly, so no partial state is rebuilt.
  4. SSFSKIM commented on Oct 14, 2026

    @SSFSKIM
    OwnerAuthor

    From the ask-async work (#191), cosmetic: a fresh session's deferred_tools_delta lists mcp__doperpowers__AskUserQuestion alongside the withdrawn built-in, even though the tool is inline. The tool registers late in session start, after the built-in's tool.describe, and its own describe hook flips it to inline only at the first request (debug log: isDeferred true -> false). The model still calls it directly, without ToolSearch (checked 2026-10-14), but it reads the name twice.

  5. SSFSKIM commented on Oct 17, 2026

    @SSFSKIM
    OwnerAuthor
    • to-human file links skip indented code blocks only partly (from the review of to-human: local file links open in VS Code at their line (7.163.0) #209): fileLinks reuses the mark parser's code regions, which cover fences and backtick spans but not four-space/tab-indented code blocks, so a [x](/abs/path) inside an indented code sample gets the file glyph and a file:// target. Rare in reports; a fix must not mistake indented list continuations for code. hooks/mods/to-human.tsx fileLinks.
  6. SSFSKIM commented on Oct 21, 2026

    @SSFSKIM
    OwnerAuthor
    • to-human: a turn's closing line can stay visible after an error row is recognized late (from the review of to-human 0.5.3: an API error stays in the report mid-turn and after a resume #331). An API error row is known from its append. If it draws before that append, it first counts as a one-row working run. Suppose the person unfolds that run in the milliseconds before the append arrives, and a newest-first redraw then asks TurnDuration before the row. The cached closing line (Baked for Ns) then stays drawn. When the row's kind changes from record to marked, see does not invalidate, because it compares only the neighbours' run shapes. Live, the append resolves before the row's render (2.1.306, fake-API probe), so the window is narrow. The fix: invalidate when a row's own kind moves into or out of a run while a run is unfolded, or have TurnDuration read view.errors directly.

    Sminos-Session: full-transcript-message-rendering#ecf2a808 (doperpowers on macbook)

  7. SSFSKIM commented on Nov 1, 2026

    @SSFSKIM
    OwnerAuthor

    manager-roadmap (PR #454): when the manager's state file is read, items and briefs entries that are not objects are dropped without a word (normalize filters them, and the next write loses them), and a non-list items/briefs raises a TypeError. roadmaps now refuses both, naming the problem. Bring items/briefs to the same strict read when the state file is next touched. Low risk: only apply writes the file, and it validates first.

  8. SSFSKIM commented on Nov 6, 2026

    @SSFSKIM
    OwnerAuthor
    • The board runs the sminos CLI from the doperpowers copy, so a sminos CLI release reaches the board only with the next doperpowers bump (from the review of version-bump: a plugin change without a version above its base's fails CI #462). skills/issue-tracker/scripts/_sminos_cli.sh resolves sminos/skills/sminos/scripts/sminos beside the board scripts first, which in the installed plugin is doperpowers's own snapshot of the repo. The version-bump check (bump-version.sh --since) gives a sminos path to sminos alone, so a change there passes with only a sminos bump while the board keeps the older CLI. Left as is: the board scripts and the CLI they call then come from one commit, the board's only live call is the one-time sminos migrate at a registry cutover, and the dispatchers and sweep that call it more are dormant. Charging every sminos CLI change a doperpowers bump would cost most sminos PRs a second bump for nearly no live use. If board dispatch returns, either prefer the installed sminos plugin's CLI when the scripts run from the plugin cache, or list sminos/skills/sminos/scripts/* as a path doperpowers also ships.

    Sminos-Session: to-human-style-rollout#d40bc9ee (doperpowers on macbook)

  9. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    The board service's copy of this tracker (board ticket 11) moved here on 2026-11-19, when the service was retired. It was newer than this issue's body, which is a stale read-only mirror: the mirror banner no longer applies, and this issue is now the tracker.

    Open items on the service copy as of 2026-11-19:

    web (clipper and fetch)

    • web/clipper/src/images.ts (~52–60, 80–84): image notation inside a code span that crosses a line break, or whose closing backtick follows a backslash, is taken for a real image, then downloaded and rewritten. Defuddle's output rarely has either shape; the fix needs a code-span tokenizer that works across lines. Found in the branch review of PR web: mcp__web__fetch — pages as files, answers that cite their lines #370 (web plugin 0.1.0), weighed against the design and left.
    • web/hooks/mods/reply.ts (~219–221): R1 rewrites every match of an image's destination on its line, so an inline-code literal on the same line that names the same assets/NN file is rewritten too. Needs a same-line, same-destination collision; the saved file is unchanged, only the reply differs. Found in the branch review of PR web: mcp__web__fetch — pages as files, answers that cite their lines #370.
    • web/clipper/src/extract.ts (~90–92): the noscript twin match is too loose. An adjacent wrapper holding exactly one lazy image is taken as a <noscript> chart's twin even when it also holds other content (a nav with links), and the chart is then dropped. Needs adjacency plus the same image URL; the fix is to require a wrapper that holds only the image. Found in the branch review of PR web: mcp__web__fetch — pages as files, answers that cite their lines #370.
    • web/clipper/src/render.ts (~187–190): a 2xx main-frame response with no Content-Type counts as the served document, so if a 403 denial page's script navigates to a headerless binary (which Chromium downloads instead of showing), the denial is published and cached as the page (a readable "Access denied" page, 24 h). The case has to be built on purpose; requiring an explicit type broke real headerless HTML (package.elm-lang.org), so it was left. Found in the branch review of PR web: mcp__web__fetch — pages as files, answers that cite their lines #370.
    • Make untrusted-content labelling consistent across web fetch replies and the files they point to.
    • A date in a plain inline element near the top can still be cut out of its sentence (left by board skills: retire the two worktree skills; move triaging-feedback out of skills/ #131, PR web: markdown stubs give way to the HTML page; dates that are data survive extraction (board #129, #131) #376). Defuddle 0.19.6's content-pattern pass removes a short dated span (or time) above the content start as "standalone date metadata". walkUpToWrapper stops at the element itself when its parent holds more text, so the date is cut out of the sentence around it: <p>Package metadata as of <span>February 11, 2026</span>.</p> near the top of a page comes out as "Package metadata as of.". The clipper's pre-pass (web/clipper/src/extract.ts, keepDatesAsData) moves the text out only for <time>, the only shape seen in the 50-document corpus. A fix would treat a span whose whole text is a date, inside a line, the same way.
    • Two harness tests in web/evals/tests/test_harness.py (RunClaude: test_the_limit_interrupts_so_the_result_line_is_written, test_a_process_deaf_to_the_interrupt_is_killed) give a Python child a 1 s limit and expect it to have printed and installed its SIGINT handler by then. At a load average of 100–200 each failed once in bash web/tests/run.sh with empty output, and both passed when rerun alone. Fix: wait for the child's first line before starting the limit's clock, or give the limit more room. (Found by the work on board skills: fold execspec into brainstorming/references/living-spec.md #130.)
    • SVGs are drawn one after another in one browser, so an SVG that never finishes decoding holds the page's later drawings until the 20 s step budget runs out; those then keep their .svg with "time budget" as the reason. A per-SVG decode timeout would isolate it. Rare; no instance seen on real pages. (From board feat(brainstorming): exploring the purpose — the grill's sibling that defines what the initiative should even be #134, PR feat(web): draw SVG images as PNGs so Read can show them #379.)
    • web/clipper/src/clip.ts cpuMs() reads process.threadCpuUsage ?? process.cpuUsage. Node defines threadCpuUsage on SunOS but throws ERR_OPERATION_FAILED there, so an uncached HTML fetch would throw from the extraction timing instead of saving the article. Fix: catch a sampling failure and fall back to the process counter, or skip full.md with its note. Not reachable on macOS or Linux, the only platforms the plugin runs on. (From board living-spec: self-contained — the binding PLANS.md sections quoted verbatim, the vendored file archived #139's third review.)
    • Bound image-link parsing work on malformed input; add a worst-case regression.
    • The cache check's remaining edges (board sde: task executor and task reviewer become declared agents #137, found by the fix wave after its first review):
      1. A copy rendered past a bot wall (a 403 to plain requests) whose check render fails or comes back thin ends in the 403 as R4 naming the copy, remembered 5 minutes, where the thin-page rule would give the copy with why. web/clipper/src/clip.ts, the res.status >= 400 && !walled block. Fix: when the copy was walled and the check's render failed, return unchecked(previous, note).
      2. unchecked() and the failure-memory path can hand out a copy over 7 days old that has no check record; the next prune may delete it soon after. Fix: record the hand-out time too (or skip copies past the prune age).
      3. A prune that reads .checked.json just before a check writes it, and deletes after the check's stat, takes the copy that check hands out. The window is the prune's gap between reading the record and deleting.

    sminos

    devcloud

    This issue's body also lists one item the service copy no longer carries (to-human/hooks/mods/edits.tsx, a run of file changes that does not redraw); check whether it still holds before replacing the body with the list above.

    From board ticket 11 on the retired board service.

  10. SSFSKIM commented on Nov 21, 2026

    @SSFSKIM
    OwnerAuthor

    Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)

  11. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    sminos derive (from the session-search spec review, 2026-11-23): two derives of one member can finish out of order (the compaction hook's detached derive and the daemon's, or a btw timeout falling back to a headless fork), and the later-finishing, older answer is recorded last and wins, for the in-charge line as for the new summary. Shipped with: it predates the summary, the window is one derive, and the next derive corrects it.

    Sminos-Session: scaling-swarms#03d39d16 (doperpowers on macbook)

  12. SSFSKIM commented on Nov 27, 2026

    @SSFSKIM
    OwnerAuthor

    to-human (to-human/hooks/mods/to-human.tsx, leaveGroup / dropRow): if a user manually unfolds a terminal working-record run during the brief pre-MCP-connect startup window on --resume and the run's first row is an errored MESSAGE_TOOL call in a group of one that then becomes standalone, dropping the unmounted group row clears that run's unfolded entry (requires one click to reopen). Rare sub-100ms startup race; not worth speculative state-transfer heuristics between unmounted groups and future replacement rows.

  13. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    Follow-ups left by the agent-facing-text audit of 2026-11-27 (PRs #641, #645, #646). None blocks; each was outside a rewrite's scope or needs the owner's call.

    • skills/organizing-sprints/SKILL.md still requires its Decision Log as a fixed step; no incident was found behind it, and it was left because the sprint spec template depends on it.
    • skills/decomposing/SKILL.md: the paragraph hinting at grain repeats what the owner's global CLAUDE.md says about scoping.
    • agents/critique.md: the blind-spot passage was not touched (hand-written by the owner).
    • codex/agents/*.toml pin gpt-5.6-sol; whether that is still the intended model was not checked.
    • sminos passes the engine's AskUserQuestion description through unchanged, and that description prescribes usage.
    • docs/testing.md describes test layout that no longer matches the tree.
    • docs/doperpowers/TECH-DEBT.md (around lines 727 and 746) and some specs call sminos/skills/sminos/scripts/CLAUDE.md "the doctrine"; since Lean agent-facing text: sminos, devcloud, to-human, the board and execution skills #645 it is a 1,158-word map that points at docstrings.
    • archive/execplan/SKILL.md still describes living-spec.md as an adapter over PLANS.md (retired text, kept as it was).
    • A trap in writing a digest brief is recorded only in commit 3a8d7fcda's message.
    • A code comment about "the sminos bridge: the backstop that turns a misplaced bridge off cannot see devcloud's guard where sminos is seated by managed settings (Claude Code 2.1.328 and later) #579 copy whose hash does not match" does not say which copy or why it matters.
    • output-styles/to-human.md: the mannered-prose paragraph and the bottleneck sentence could be shorter; left because they are the owner's wording.
    • web's fetch tool keeps its "use it when" lines: an eval tuned them, so removing them needs a control-versus-variant run.
    • The control-versus-variant trigger harness used for these PRs is not in the repository (~/.local/share/harness-audit/trigger-test/run.py on the owner's MacBook); the root CLAUDE.md now asks for such runs.

    Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)

  14. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    Deferred from the review of tests/trigger-compare/run.py (2026-11-28): the harness does not sandbox the claude child and its hooks (only a scratch project, a tool deny list and PATH shims; the child keeps the caller's home, credentials and network). A real sandbox (only scratch writable, egress limited to the model endpoint, a staged Claude profile) is out of proportion for a comparison tool run by hand; the known concrete side effect (the web plugin's session-start hook pruning the real page cache) is fixed separately.

    Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)

  15. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    Deferred from the review of the Task Board B5 eval (tests/output-styles/task_board.py, pull request #660, 2026-11-28). Neither can make a recorded rate wrong silently, and both are rare.

    • pull_heredocs looks for <<WORD without quote context, so a quoted title that holds a literal <<EOF gets a marker inside its argument and the real command raises: the run is kept as an error and its cell is incomplete.
    • In BoardEnv.run_line, a non-board command's exit is a guess that a board write behind || refuses to act on; the mark does not travel out of a bash -c '...' script, so a guard after one is still guessed.
  16. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor

    Also deferred from the Task Board B5 eval's re-review (pull request #660):

    • --report keys a cell on the words directory's name, so two different wordings kept in directories of one name would pool. A wording's version is a new directory by convention (words-v1, words-v2); a digest of the texts in the key would enforce it.
    • ran_check (whether a session checked a result) takes a command behind any guard but a literal true/false as having run.
  17. SSFSKIM commented on Nov 28, 2026

    @SSFSKIM
    OwnerAuthor
    • Task Board published set (sminos/types/tasks/examples/state.json): the one send: due outcome has since five minutes after its outcome's at, though the door sets both in the same replace. Pre-existing since G1, cosmetic in an illustrative example; changing it moves the set's digest for no reader's gain. Found by the low-rung review of the set's version 2.

    Sminos-Session: event-manager#a66cd55b (doperpowers on macbook)

  18. added
    undecided
    need-input
    and removed
    status:deferred
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    need-inputpriority:P3undecided

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions