Repository navigation
docs: OpenCode template fix, How it works diagram and explainer video - #84
Merged
Merged
Conversation
OpenCode 1.19.0 drops a 'disabled' key inside a provider entry without a warning, so the Ollama provider stayed on. Checked against a local OpenAI-compatible mock endpoint; @ai-sdk/openai-compatible works unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017LmqBGdTpNrQBMr44osvmo
A management-level diagram (sensors, fault detection, filter, the accuracy and honesty checks, gate B1) goes in the README and, by include, on the project page. The page embeds a captioned explainer rendered from one benchmark run (outage_control and outage_visual); every figure in it is read from that run's records, none is typed. No new numbers in the README. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017LmqBGdTpNrQBMr44osvmo
scripts/metrics.py --write after tests/test_opencode_example.py added three tests (1319 to 1322); the lint job's metrics --check failed on the stale count. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017LmqBGdTpNrQBMr44osvmo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Context
An audit of the OpenCode/FreeLLMAPI setup, and a request for management-ready project material.
Change
opencode.example.json: a"disabled": truekey inside a provider entry is not part of OpenCode's schema and is dropped silently, so Ollama stayed on. Replaced withdisabled_providers. Checked against OpenCode 1.19.0 with a local OpenAI-compatible mock:@ai-sdk/openai-compatibleworks unchanged. Newtests/test_opencode_example.py; a note in CONTRIBUTING.docs/assets/video/) rendered from one benchmark run (outage_control,outage_visual). No published number moves; the README gains no numbers.How tested
pytest tests/test_opencode_example.pyfails on the old template, passes on the new one.navkit run --only outage_control outage_visualreproduced the README table exactly (3.760 m / 2.322 m, NEES 4.1 / 286.2, coverage 100.0% / 20.5%); the video reads its figures from that record.test_check_links,test_doc_tables,test_quoted_metrics,test_hero) 54 passed;scripts/check_links.py0 broken;scripts/scan_secrets.pyclean;mkdocs build --strictclean; ruff clean.Risks
The full suite did not finish in the sandbox (stopped at 15 minutes); CI runs it. The video adds about 1.3 MB to the repository.
Checklist
scripts/check_doc_tables.py(viatest_doc_tables) still passes# noqa, no new mypy error-code suppression, no skipped or weakened test🤖 Generated with Claude Code
https://claude.ai/code/session_017LmqBGdTpNrQBMr44osvmo
Generated by Claude Code