Repository navigation
feat(sdk): read-only TypeScript lifecycle status client (#86, 3/3) - #93
Merged
Merged
Conversation
Add sdk/typescript/qsearch-lifecycle (@nano/qsearch-lifecycle, private, ESM, zero runtime deps, typescript 5.8.3 dev-only) implementing the frozen nano.qsearch.lifecycle-wire.v1 status surface (Nano #86, PR2): - StatusClient: status() is exactly one signed GET (zero when refused before I/O); all capabilities injected (transport, signer, clock, nonce, timer); one deadline bounds signing + exchange; no retry/poll/cancel/refresh/replace; supports()/requireCapability() refuse every operation but status. - Strict RFC 8259 parser (duplicate keys, unsafe numbers, depth 64, null-prototype objects) and a hand-written closed-envelope validator equal to job-state.v1.schema.json incl. I1-I8; Python _call check order kept so Python-detected failures report field null. - LifecycleClientError with constant message and no URL/key/header/nonce/ body/cause. - Optional adapters: ./webcrypto (HMAC-SHA256 signer, random nonce) and ./fetch (explicit fetch, manual redirects, streaming cap at max+1, abort). - Tests (node:test on dist/): client, parser, validator with a differential schema oracle, fetch, webcrypto, wire/schema drift, example, and a golden runner that fails (never skips) until Python fixtures are merged. - README, offline example, pack:check out-of-checkout install proof, HILLCLIMB.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Second independent review, candidate 3 of 3: - A signer result with a spoofed Uint8Array tag threw inside a promise callback: unhandled rejection plus a misleading retryable TRANSPORT_UNAVAILABLE. The MAC (and the webcrypto key) are now copied via internal typed-array slots and every signer-result fault maps to CLIENT_CONFIGURATION(signer). Reproduced by a failing test first. - TypeScript node10 consumers could not resolve the package (TS2307); add main/types/typesVersions and ship the MIT LICENSE inside the package. - README: cleartext warning for http base URLs; number edge cases. Refs #86 Co-Authored-By: Claude Opus 5.5 <[email protected]>
AetherAI3
changed the base branch from
claude/nano86-python-duplicate-keys
to
main
November 8, 2026 02:17
This was referenced Nov 8, 2026
Merged
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
Adds
@nano/qsearch-lifecycle, a zero-dependency TypeScript client that reads Nano job state through the v1 wire contract. Onestatus()call makes exactly one authenticated GET and returns a validated state. It never makes a second request, polls, cancels or touches budgets. PR 3 of 3 for #86; based on PR 2. Closes #86.Key Changes
UNSUPPORTED_CAPABILITY.Verification
node --testagainst the Python goldens from PR 1/2 (Node 24.18, TypeScript 5.8.3).HILLCLIMB.md).Risk / Follow-ups
privateand nothing is published.🤖 Generated with Claude Code