Repository navigation
Restyle web UI to opencla.watch palette, update README and roadmap - #12
Merged
Merged
Conversation
- Switch from cla.watch tokens (dark black + teal) to opencla.watch tokens (deep navy + electric blue) - Replace JetBrains Mono with IBM Plex Mono, add Bricolage Grotesque for headings - Update waterfall bar colors: agent=green, LLM=blue, tool=amber - Add Web UI section to README with feature list - Add ocw serve to quickstart commands - Update roadmap: mark completed items, add new items - Bump @openclawwatch/sdk to 0.1.3 (npm rejected duplicate 0.1.0) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2 of 4 tasks
anilmurty
added a commit
that referenced
this pull request
Jun 19, 2026
…#10,#13) Smoke-test playbook (tests/manual-new-release-tests.md): - #3 (and #8/#9/#11/#12/#14/#16 — same root cause): code blocks are now command-only; the inline "# comments" and "# [ ]" checklists that the markdown copy button was pulling into copied commands moved to prose / "- [ ]" lists around each block. Added a note explaining the convention. - #10: corrected the Section 4 trim expectation — with [capture] prompts=false (default), trim checks the capture prereq first and prints the capture hint, NOT the tokenjam[bloat] install hint (only reachable once capture is on). - #13: export file is "claude-code-<date>.jsonc", not ".json". Doc-only; no code changes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
anilmurty
pushed a commit
that referenced
this pull request
Jul 2, 2026
…e reads #4's recurring-inclusion detection only covered file Reads (group by `file_path`, frequency-count across sessions, suggest `@file`/CLAUDE.md). Repeated prompts, repeated searches, and large repeated tool outputs also re-paste across turns/sessions and burn the same quota, but went undetected. Generalize the detector into one `(inclusion_type, tool_name, signature)` aggregation carrying a distinct-session set + occurrence count, then flag four kinds, each with a type-appropriate structural fix: * file reads (Read/View/Cat `file_path`) -> `@file` / CLAUDE.md; * searches (Grep/Glob/Search query/pattern) -> pin / capture the result; * prompts (identical `gen_ai.prompt.content` re-sent) -> save as a slash-command / CLAUDE.md note; * large tool outputs (identical `gen_ai.tool.output` >= 2K chars re-pasted) -> reference the artifact instead of re-running. Each kind is independently capture-gated by its `[capture]` toggle (tool_inputs / prompts / tool_outputs), so default-off behavior is unchanged and a flag-off kind contributes nothing. File reads / searches gate on distinct sessions (a single session re-reading a file isn't structural); prompts / outputs re-paste across turns within a session too, so they gate on raw occurrence count. Framing stays quota-native (#4). Tool outputs are only captured on the live ingest path, not the on-disk transcript — the nudge note says so. `RecurringInclusion` now carries `inclusion_type`; the CLI renders a per-kind tag and the JSON payload round-trips it. Extends the synthetic fixture to exercise recurring Grep, prompts, and large outputs, asserting each is detected with frequency + the structural fix, plus a size-gate test and a per-flag gating test. Co-Authored-By: Claude <[email protected]>
anilmurty
added a commit
that referenced
this pull request
Aug 13, 2026
The label guard never raises — every outcome is a silent no-op — so the log line is the only diagnosis an operator gets. That makes two different outcomes sharing one line a real defect, not a cosmetic one, and #608 asked specifically for those lines to be distinguishable. Measured against the handler as it stood before the follow-up commit: a realistic 403 logged "no-op: issue #12 is already closed", byte-identical to a genuinely closed issue. GitHub returns a JSON body on an error, so the payload IS a dict, the `isinstance` check passed, no `state` key was found on the error body, and it fell through to the closed-issue branch. 401, 429 and 500 all did the same. "Our token lost its permissions and this guard has stopped working" was indistinguishable from "nothing to do here". The follow-up commit fixed that for error bodies that parse as JSON. This closes the rest of the same hole. Checking the payload's SHAPE before the STATUS is the underlying mistake, and it still misfired in two cases: an error whose body is not valid JSON leaves `_api_request` returning `(status, None)` — GitHub serves HTML from its secondary-rate-limit and abuse walls, as can any proxy in front of the API — which was reported as "not found", pointing an operator at a deleted issue when the request was actually rejected; and a 200 carrying a non-object payload was folded into that same "not found" line despite being neither an error nor a missing issue. Status is now inspected first, and the unreadable-payload case gets its own wording. The ordering bug was present in both handlers and was noticed in only one, so the checks move into one `_unusable_issue_reason` helper that both call rather than staying duplicated where they can drift apart again. Every existing log string is preserved verbatim; only the previously-conflated cases change. The no-raise contract is untouched — the helper formats strings and nothing more. Tests run each precondition case against BOTH handlers, and are pinned as able to fail for the reason they were written: against the pre-fix handler 12 fail, against the follow-up handler the 4 covering the residual gap fail. The closed-issue line is asserted in both directions, so tightening the error branches cannot quietly swallow the ordinary no-op they had been imitating. 61 passed, up from 45. Co-authored-by: syf2211 <[email protected]> Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.
Summary
UI Styling (opencla.watch palette)
#070d1a+ electric blue#3d8eff)Bug Fixes
ocw serveand sends spans via HTTP (OcwHttpExporter) instead of opening DuckDB directlyopenai/prefix from model names so pricing lookup findsgpt-4o-mininotopenai/gpt-4o-minicurrentColorinheriting accent blueREADME & Roadmap
ocw serveto quickstart commands@openclawwatch/sdkto 0.1.3Test plan
ruff check ocw/cleanocw serve &then agent script — spans arrive via HTTP (no lock error)ocw costshowsgpt-4o-mininotopenai/gpt-4o-miniafter LiteLLM agent run🤖 Generated with Claude Code