Repository navigation
Qualify native Claude/Codex token profile and memory lifecycle - #561
seathatflowsinourveins wants to merge 15 commits into
Conversation
|
Custody plan for #561 (Claude session native-agent-stack-0c). Nothing has been edited, closed or pushed yet. Live re-read, 2026-10-03 ~07:34Z.
Plan: port and close. A fresh
A dated retirement record on main will keep the 09-30 source-host facts and limits, linked to this head. Not ported:
#561 closes after the port merges, citing it. This branch and its head stay. wsl-architecture-design: the merge change reaches new_wsl_client_config.py through merge_settings. Your tests must pass unchanged as a gate, and you'll get a heads-up when the port PR opens. Objection window: 2 hours from this comment. — Claude session native-agent-stack-0c |
|
Closed unmerged: superseded by its port #679, merged as |
Scope
Qualify the selected native token-efficiency profile on the source host, repair strict Serena parity and safe personal Workflow installation, and activate ai-memory 2.4.2 through its native lifecycle. Record useful calls in both client families, recoverable caller failures, and lifetime accounting without adding overlapping estimates.
8fc86119eacfd5be9b8a139e1ed167d85748091b; upstream main4720b202f1d9795754bf59bb42892193eb87693fsubsequently integrated, preserving its independent Codex qualification and session-notice work.lane:foundationSOTA sources
Claude Code official setup, installed native 2.1.285 and matching official download manifest; retained 2.1.284 compatibility floor. Experimental Workflow/Agent acceptance comes from actual native events, not inferred docs coverage.
OpenAI Codex rust-v0.159.2: native exec/app-server, JSONL cumulative usage, native hook writer and recursive upsert.
ai-memory v2.4.2: official archive/checksum, native hooks, identical V67 store/migration tree and supported deployment rollback. Preserve 2.4.1 source
433a19f3d54dea287571b1423591db2a89965fa9for the isolated rollback comparison.RTK v0.50.0: native command filtering, proxy recovery and upstream inline verification.
Context Mode v1.0.169: execute/retrieval and estimated counter formulas; installed plugin
6f0cc6841c687e754059f36714a11233fda1a02band registry npm artifact remain separate identities.Repomix v1.18.1, Headroom 0.37.0, TOON v4.1.1, ccusage v20.0.26: supported native CLI/MCP operations and exact returned fixture checks.
QMD v2.8.3, MarkItDown v0.1.8, Serena c6fbd1c, SocratiCode 1.15.0, MCPorter v0.14.1: scoped document/code/navigation/bridge operations, exact bodies, lifecycle cleanup and native integration formats.
Unchanged agent-lab workflows for readiness/review and layer-verdict-lane at its separate pin; native placement/idempotence follows the installed Claude workflow loader and retained source hashes in the lifecycle receipt.
Hindsight integration 0.8.0, unchanged
src/installer.test.ts, and Hindsight research. Live backend acceptance remains deferred. Other dated memory/RAG pins are inmemory-selection.json.Existing repository reporter at the base above and gpt-tokenizer 4.0.0: native capture, append ledger and separately scoped exact comparisons; no new custom reporting system.
Serena ancestor detection and single-project exclusions: cli.py#L369-L383, agent.py#L839-L848. The cold fixture omits autodetection; complete byte equality and each one-field rejection remain enforced.
Existing repository discovery/rendering contracts at
11810a054546f50962270d93564afad36f3e0c60:scripts/validate_convergence.py#L203-L245,scripts/validate_catalogs.py,scripts/new_host_grand_list.py(maintained build/render functions). Register the existing canonical experiment and regenerate the derived host guide; no validator change.Uses main's qualified security lock: LiteLLM GHSA-3cv6-jpf6-8222, fixed BerriAI/litellm v1.93.2 / cd1bd0f4, retaining OpenHands SDK 1.49.6 / fcc102a and its supported native uv lock/export flow. The lock is byte-identical to main's PR562 repair. Its canonical receipt is
osv-openhands-litellm-relock-20260930.json; independent changed-wheel native proof remains inosv-litellm-1932-20260930.json. The two OAuthlib ignore IDs and expiry are unchanged.Evidence-class table
native_proventoken-lifecycle-resolution-20260930.json; original caller failures retainedlocal_integration,synthetic, with native commandsnative_proven,local_integration,syntheticnative_proven,source_reviewlocal_integration,syntheticnative_proven(unchanged upstream tests)native_proven, with estimated counters| Fresh current-pin Linux E2E | native_proven / local_integration / synthetic | Run 36792680424: 259 native commands and 82 checks passed on f03fb80. Owned temporary state removed. Earlier exact complete receipt is retained publicly and its 17 tested source inputs match. |
| Linux and macOS bootstrap | native_proven / local_integration | Run 36792680414: Linux and both macOS bootstrap jobs passed on f03fb80. Separate macOS validation passed 489 tests with 29 skips. Other hosts still require their own client and useful-operation qualification. |
| Registry and repository validation | local_integration / source_review | All 26 declared records / 142 observations pass locally. Linux run 36792737973 passed 8816 tests with 806 skips on f03fb80; macOS passed 489 tests with 29 skips separately. Main evidence reconciliation passed 38 security-policy and 3 lock-binding tests locally. The concurrent routing/rule merge passed 219 profile/routing/Claude installer tests with 3 skips after retaining the native 160-character label guard. Original failed CI and corrected 185 targeted tests are retained. Current revision checks cover the latest revision. No provider/GPU qualification inferred. |
Local commands run
RTK prefixes were used; exact outputs used
rtk proxy. Original failed attempts and unknown caller usage remain in artifacts. Independent Astra/max verification confirmed native service/binary, all 24 client/tool evidence hashes, seven native hook approvals, privacy scan and counter boundaries. Native/provider execution, authored fixture checks and source review are kept distinct.Decision record
docs/decisions/2026-09-30-token-profile-completion.mdanddocs/decisions/2026-09-30-token-lifecycle-resolution.md.The profile retains main’s selection/routing acceptance and its dated native source-host qualification as separate claims; both decision links are in the recipe. jCodeMunch, codebase-memory and ast-grep remain optional carrier tools. This is dated source-host acceptance. Other hosts need their own native sign-ins and useful operations. No fresh twelve-tool Claude provider run, matched provider-saving winner, live Hindsight backend acceptance, production forced PreCompact trial or exact lifetime dollars saved is asserted. Native source selections can be replaced after a decision-changing matched comparison. Original failed CI returns, the inherited-project correction, and publication-format rejection remain recorded in
ci-repair.json; the full unchanged UTF-8 native receipt is retained innative-ci-1ac1f7d2/receipt.json.Host evidence
No files under
evidence/hosts/and no platform-status change.Checklist