anomalyco / anomalyco/opencode
[FEATURE]: Avoid over-strict rejection for vault resource tasks (Bengali hardware notes)
@kitlangton is already working on this.
Since Sep 10, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
Opencode rejected a valid vault task as "not a software engineering task" (see screenshot: For opencode help, run /help). The same task succeeded after a "continue", so the filter is over-strict. Triggered via OmniRoute combo auto/cheap:free (Build · Free Fast Best · 20s) — footer also showed Model 'auto/cheap:free' is not a valid combo.
Original request
Fetch 9 product pages from kzbangladesh.com and create a detailed comparison note in 7.Resources/11.Hardware (which is good / why / best value / best / budget). Note content requested in Bengali.
Links:
- https://kzbangladesh.com/product/kz-m2-type-c-ofc-silver-plated-cable-built-in-omnidirectional-microphone/
- https://kzbangladesh.com/product/kz-m2-dual-mic-type-c-eq-tuning-switch-silver-plated-upgrade-cable/
- https://kzbangladesh.com/product/kz-m2-dual-mic-silver-plated-integrated-professional-upgrade-cable/
- https://kzbangladesh.com/product/cca-c1-silver-plated-usb-type-c-cable-with-dac-chip-mic/
- https://kzbangladesh.com/product/cca-a2-type-c-built-in-dac-multiple-sound-modes-cable-with-light/
- https://kzbangladesh.com/product/cca-silver-plated-156-cores-cable-with-mic/
- https://kzbangladesh.com/product/kz-784-cores-gold-silver-and-copper-mixed-upgrade-cable/
- https://kzbangladesh.com/product/kz-784-cores-silver-blue-hybrid-upgrade-cable/
- https://kzbangladesh.com/product/kz-ofc-flat-upgrade-cable-2-pin-type-b-c-0-75mm-with-mic/
Target: C:\Users\dev-pc\My Drive\obsidian\redVault\7.Resources\11.Hardware
What happened
- Webfetched all 9 URLs, then hard-refused: "These appear to be product pages for audio cables, not a software engineering task..."
- User asked to continue (simple note-taking).
- Same task then succeeded — created
3.KZ-CCA-Upgrade-Cable-Comparison-9-Cables.md.
Why this is in-scope
- Vault already has
1.Monitor-Buying-Guide.mdand2.Audio - TWS vs Neckband...— hardware notes are expected. - The action is
webfetch + write + websearchinside workspace — a core opencode capability. - Engineers do need hardware/audio info (focus gear, mics, Web Audio/DAC work).
Suggestion
- Don't hard-reject file operations based on topic. Treat workspace writes as in-scope.
- Show a warning + "Continue anyway" instead of a hard refusal.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.