mirror of
https://github.com/dtzp555-max/ocp.git
synced 2026-07-27 07:55:07 +00:00
3dc023e5966b1edba35be22d14f8a54845ad105c
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c998370b8a |
chore(release): v3.25.0 — Claude Opus 5, cache-key resolution, counter pairing (#201)
* chore(release): v3.25.0 — Claude Opus 5, cache-key resolution, counter pairing
package.json 3.24.0 -> 3.25.0. MINOR because the `opus` alias now resolves to a
different model: every request that names `opus` (and OpenClaw's opus entry)
silently moves from Opus 4.8 to Opus 5. Same $5/$25 per MTok, so no cost change,
but it is a user-visible default change and not a patch.
Consolidates six PRs. Three were already on main without CHANGELOG entries
(#187, #188, #191, merged after the v3.24.0 tag) and are covered here:
#192 Claude Opus 5 + `opus` alias repoint
#194 cache keys hash the resolved model; structured path gets its epoch
#193 active-request counter paired to the process lifecycle
#191 OCP_LOCAL_TOOLS wrapper no longer hard-codes a tool list
#187 TUI --safe-mode so the host CLAUDE.md cannot leak
#188 TUI accepts `shift+tab to cycle` as input-ready
release_kit walk (CLAUDE.md Iron Rule 5.5), every item checked rather than
assumed:
- version_source package.json -> bumped
- changelog CHANGELOG.md -> v3.25.0 section added
- Available Models table -> already 7 rows (landed in #192)
- models.json source_of_truth -> already updated (#192)
- Environment Variables table -> no new env var this cycle
- API Endpoints table -> no new endpoint
- new CLI subcommand / hook / file -> none
- bootstrap_quirk_policy -> see below
Bootstrap quirk documented, per policy. #194 changes the cache key shape, so
alias-addressed rows orphan once and are reaped by the TTL cleanup within one
window — the same shape as the v3.13.0 v1->v2 hash upgrade already recorded in
README. Added to BOTH places the precedent lives: the Response Cache section in
README, and a dedicated entry in docs/troubleshooting.md alongside the existing
"OpenClaw shows old models after ocp update" one-time-quirk entry. Only affects
instances running with CLAUDE_CACHE_TTL > 0; it is off by default.
Verified: release.yml's awk extractor matches the `## v3.25.0 — 2026-07-27`
heading and pulls 22 lines (a mismatched heading would ship an empty release
body). Suite 457 passed, 0 failed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017gbqUZ8HfBZpjjbzQ85oH8
* fix(release): correct four inaccuracies the reviewer found in the release notes
This PR's entire job is that the text is accurate, so these are not nits.
1. README + troubleshooting overstated the cache-key scope. "Rows keyed on a
literal model id are unaffected" is FALSE for structured-output rows: #194
also added `configEpoch` to the structured key, and keys.mjs:362 folds it
into the digest, so EVERY structured row rekeys regardless of how it was
addressed. Now states both scopes separately — normal cache: only
alias-addressed rows; structured cache: all rows, plus why (the epoch was
never in that key, so a CLAUDE_SYSTEM_PROMPT change did not invalidate
structured answers either).
2. The bootstrap quirk was documented in README § Response Cache and in
docs/troubleshooting.md, but NOT in the "Bootstrap quirks (one-time
migrations)" bullet list at README:540 — which is the location the
release_kit YAML actually names, and where both existing precedents live.
Added there. My "every item checked, not assumed" claim was wrong on the one
item that had a dedicated home.
3. #188's root cause was invented. I wrote "plan/auto mode renders a different
idle footer than manual mode", which contradicts the landed code comment
(lib/tui/session.mjs:184-189) and the test fixture: the two footers are
across claude VERSIONS — the classic `? for shortcuts` vs `shift+tab to
cycle` on newer 2.1.x — and the fixture is bypass-permissions mode, neither
plan nor auto. Replaced with the contributor's own documented cause, plus
the observable symptom (tui_pane_not_ready on every boot, every pre-boot
failing with the warm pool on). Substituting my guess for an external
contributor's evidenced diagnosis would have sent the next debugger looking
for "plan mode".
4. "Suite: 449 → 457" used a mid-cycle baseline. Measured at the v3.24.0 tag:
447. 449 is the count AFTER #187/#188 already landed — and this release
claims those as part of the cycle. Corrected to 447 → 457 with the per-PR
breakdown (#188 +1, #187 +1, #191 +0, #194 +4, #192 +3, #193 +1 = +10).
Also taken from the same review:
- the Added bullet now cites #192 (every Fixed entry had a PR number; Added
did not)
- split out a `### Changed` section for the `opus` repoint, matching how
v3.23.0 recorded #168's `sonnet` repoint — a behavior change should not sit
under Added
- CHANGELOG quoted `MODEL_MAP[model] || model`, the form review REJECTED;
the landed code is the Object.hasOwn guard (a bare lookup returns a truthy
object for "__proto__" and never reaches the `||` fallback)
Re-verified after the edits: release.yml's awk extractor yields 27 lines /
6277 bytes with all four sections; all six PR references present. Suite 457
passed, 0 failed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017gbqUZ8HfBZpjjbzQ85oH8
* fix(release): qualify the normal-cache scope for OCP_LOCAL_TOOLS instances
Round-2 review. One finding accepted, one REJECTED with first-hand evidence.
ACCEPTED [MED] — my round-1 fix corrected the structured-cache scope but got
the normal-cache scope wrong in a new way. "Rows keyed on a literal model id
keep matching" is true for #194 in isolation, false for this RELEASE: #191
(
|
||
|
|
b038d3ceac |
docs: restructure README (1205 → 497 lines) — ops-manual content moves to docs/ (#172)
Maintainer-approved P2 restructure. Principle: what a new user needs in the first
10 minutes stays in README; the operations manual moves to docs/. Content MOVED,
not rewritten — an independent verifier swept all 20 original sections, 60+
distinctive facts, and all table rows against the new corpus: zero content loss.
New files (verbatim moves + two mandated dedup merges):
- docs/lan-mode.md (396) — LAN setup, key management, quotas, anonymous access,
deployment/security model + honest limits, client connect
- docs/tui-mode.md (196) — full TUI section + the four giant env-cell essays as
prose subsections; opens with the single-user SECURITY
warning + the PAUSED billing-split status banner
- docs/troubleshooting.md (136) — full troubleshooting; canonical 401/credential-
isolation explanation (union of the 4 prior copies)
- docs/upgrading.md (79) — upgrade paths, snapshots, rollback, auto-sync
README keeps: pitch (byte-identical), new TOC, 62-line Quickstart, How It Works
verbatim (incl. #171 billing-status note + workload fit), the three release_kit-
pinned tables (Available Models / API Endpoints / all 37 Environment Variables
rows — 4 giant TUI cells now one-line pointers), All Commands, slim Troubleshooting
(bootstrap quirks retained per release_kit bootstrap_quirk_policy), summary stubs
linking each moved doc, Repository Layout (+4 doc rows), Governance, Support.
Dedup (canonical copies): sdk-cli vs subscription-pool table → docs/tui-mode.md;
credential-isolated-home / permanent-401 → docs/troubleshooting.md#tui-401.
Link retargets: docs/runbooks/615-canary.md, docs/runbooks/tui-flip-rollback.md,
setup.mjs (one banner string; node --check clean). 126 links across the touched
files verified resolving; repo-wide grep shows no reference to a removed anchor.
npm test: 332 passed / 0 failed.
Co-authored-by: dtzp555 <dtzp555@gmail.com>
Co-authored-by: Claude <claude-opus-4-8> <noreply@anthropic.com>
|