GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: remove dead code for todoread tool by rekram1-node · Pull Request #19128 · anomalyco/opencode

Conversation

@rekram1-node

@rekram1-node rekram1-node commented Mar 25, 2026

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rekram1-node
chore: remove dead code for todoread tool
0e22af4
@rekram1-node
rekram1-node requested a review from adamdotdevin as a code owner March 25, 2026 15:30
@rekram1-node
rekram1-node removed the request for review from adamdotdevin March 25, 2026 15:30
@rekram1-node
rekram1-node enabled auto-merge (squash) March 25, 2026 15:30
@github-actions github-actions Bot added the Vouched label Mar 25, 2026
@rekram1-node
rekram1-node merged commit 77fc88c into dev Mar 25, 2026
15 of 16 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the cleanup-todo-code branch March 25, 2026 16:21
Andres77872 pushed a commit to Andres77872/opencode that referenced this pull request Mar 26, 2026
@rekram1-node @Andres77872
chore: remove dead code for todoread tool (anomalyco#19128)
ba06586
@pecigonzalo pecigonzalo mentioned this pull request Mar 26, 2026
fix: re-enable TodoReadTool with shared rendering logic #12594
Closed
@achin90 achin90 mentioned this pull request Apr 10, 2026
DispatchTUI prtest achin90/Dispatch#3
Closed
@coleleavitt coleleavitt mentioned this pull request Apr 21, 2026
fix/memory 20695 coleleavitt/opencode#5
Merged
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
@rekram1-node
chore: remove dead code for todoread tool (anomalyco#19128)
f898ee1
@k98kurz

k98kurz commented May 16, 2026

Copy link
Copy Markdown

This change is braindead stupid.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@k98kurz

k98kurz commented May 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Seriously @rekram1-node did you have a lobotomy? Is that why you are lobotomizing OpenCode? What is even the point of having todowrite without todoread? You may as well rip out todowrite and make it totally useless while you're at it instead of just fixing obvious mistakes. OpenCode is now completely useless for anything that runs past compaction.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fadedlamp42

fadedlamp42 commented May 25, 2026

Copy link
Copy Markdown

For anyone who cares, I spun up a low-effort fork to restore it: https://github.com/fadedlamp42/fadedcode

Just run bun install, ./build.sh I added, then write an opencode script somewhere in your PATH like this (replacing "clone path" and possibly darwin):

#!/bin/bash
OPENCODE_DISABLE_CHANNEL_DB=true <clone path>/fadedcode/packages/opencode/dist/opencode-darwin-arm64/bin/opencode $@

...and it's a drop-in replacement.

k98kurz reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node

rekram1-node commented May 25, 2026

Copy link
Copy Markdown
Member Author

@k98kurz despite your needlessly rude comments I will answer politely:

  • todoread tool was ALREADY unused
  • todoread tool has been killed from other major harnesses while todowrite has not (examples are Claude Code and Factory's droid for instance)

This isn't some crazy approach this is common, there is no reason to double all the stuff the todo tool largely is for the user in opencode rather than the model, we can do further improvements to make it good for long running tasks like some other tools have done but this isn't some crazy unique approach this is very standard and doesnt degrade things as far as I have experienced.

k98kurz reacted with thumbs down emoji
All reactions
  • 👎 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@k98kurz

k98kurz commented May 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

@rekram1-node I used the term "lobotomizing" because that has been my experience with OpenCode recently: this has led to a substantial degradation in performance for anything that runs past compaction. If an agent has 10 things to do and gets stuck debugging item 5, then hits compaction, then continues, it's a coin toss whether it magically remembers the other 5 items or just spits out the celebratory self-congratulations on solving half the task because it can't remember the other half. When it had the todoread tool, it regularly used it to pick up the remaining items. Hence, this change has lobotomized OpenCode.

Edit: I don't know what "further improvements" you had in mind, but it doesn't seem like any of them exist in OpenCode yet, so removing the one thing that helped with long running tasks before making the other improvements is at the very least an exercise in poor judgment and project management.

Edit 2: Just because all the other lemmings are jumping off a cliff doesn't mean you should follow suit.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@k98kurz

k98kurz commented May 29, 2026

Copy link
Copy Markdown

For anyone who cares, I spun up a low-effort fork to restore it: https://github.com/fadedlamp42/fadedcode

Just run bun install, ./build.sh I added, then write an opencode script somewhere in your PATH like this (replacing "clone path" and possibly darwin):

#!/bin/bash
OPENCODE_DISABLE_CHANNEL_DB=true <clone path>/fadedcode/packages/opencode/dist/opencode-darwin-arm64/bin/opencode $@

...and it's a drop-in replacement.

Thanks. Looks like it works.

For anyone else who wants to use this fork on Linux, I added this to my ~/.bashrc file:

alias oc="OPENCODE_DISABLE_CHANNEL_DB=true <clone path>/fadedcode/packages/opencode/dist/opencode-linux-x64/bin/opencode $@"
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
@rekram1-node
chore: remove dead code for todoread tool (anomalyco#19128)
d510ead
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
@rekram1-node
chore: remove dead code for todoread tool (anomalyco#19128)
4caeb08
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@rekram1-node
chore: remove dead code for todoread tool (#19128)
de9b34f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Vouched

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@rekram1-node @k98kurz @fadedlamp42
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.