Repository navigation
Conversation
|
Sorry @unbraind, your pull request is larger than the review limit of 150,000 diff characters |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
Orchestrator note: the pipeline's private-data scan matched one added line, |
Keep explicit HTTP investigations as durable, secret-free context on native pm tasks: declared requests, timestamped observations, bounded response contracts, missing evidence and token-budgeted difference packets. CLI commands use host TOON/JSON; observations, compare, differencePacket and missingEvidence are exported for in-process consumers.
Requests bind environment-name credential references to destination and byte/header/time boundaries. Mutations require separate attributed review and uncertain outcomes are never automatically retried. Guarded recovery fingerprints every native comment without prefix/author exemptions, preserves the caller revision and reserves recording capacity before effects. Legacy weak-fingerprint guarded plans stay readable and require a new explicit operation before sending.
The shared HTTP/HTTPS transport now settles exactly once across ordinary completion, errors, aborts, premature closes and protocol handoffs. A 101 arriving through either the upgrade event or ordinary response callback terminates conservatively and closes its socket. Bun's structured UnrequestedUpgrade refusal is normalized by code without reading its raw message. Unsupported protocol headers and payloads never enter observations. Available timing phases survive uncertainty; cancellation leaves no partial observation and the send lease is released.
Regression evidence includes 28 real wire/method upgrade variants, informational and incomplete responses, ordinary streaming controls, cancellation, verified HTTPS, reviewed mutation replay, socket/lease cleanup, both native renderers without git and packed npm/npx/bun/bunx consumers. Reverting capture to the prior head fails the deadline assertion; removing request/socket destruction fails the socket-release assertion. Both restored function-only proofs pass. Existing tests and thresholds are preserved.
Validation at e80d0e8: fresh-home npm release:check 12/12 and Bun release:check 12/12; each passes 139/139 tests, 2/2 packed npm/npx/bun/bunx journeys and 100% statements/branches/functions/lines across all 20 source/tooling files (1413 statements/lines, 109 functions, 914 branches). ESLint clean, duplication 0%, all 94 declarations documented, production audit 0 vulnerabilities, package allowlist 47 files, generated changelog and archive-publish path/attestation contracts pass. Tracker-linked lifecycle tests pass 5/5; focused packed consumers pass 2/2; new behavioral revert proofs pass 2/2. Strict tracker health passes 10/10, inherited histories remain append-only and own claims are released. Items remain unclosed for orchestrator verification.
Historical ten-request proof: 10 observations, 10 calls (2 public unauthenticated, 8 local fixtures), 103388 raw body bytes / 25847 estimated tokens versus 817 packet tokens, 90 header redactions and 65151 ms including SDK setup/recording. No credentials were sent; scratch data was deleted.
Known SDK boundaries remain explicit: #1576 lacks item-level expected-revision preconditions and #1620 leaves ordinary native writers outside transaction exclusion, so a read-to-send window remains. #1399 blocks backend-owned conditional remote writes; remote sends/writes refuse before effects. Read APIs accept injected remote clients. Releases remain disabled pending maintainer approval.
Tracker: epic, safety and transport, concurrency and admission, SDK follow-up. Companion pm-cli-website-7u0d is referenced in the epic; its tracker was read only.
Final handoff commit 4c96b31 changes only the safety tracker item and append-only history. Implementation and packaged files remain identical to the source certified at e80d0e8. Identity, generated changelog and strict tracker health pass again. Exact-head CI remains pending; neutral, skipped or unavailable external reviews supply no approval.