# npm registry replication CouchDB _changes feed results last_seq pending docs

Status: search-observed
Product: npm replication
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/npm-registry-replication-couchdb-changes-feed-results-last-seq-pending-docs
Machine JSON: https://gitdocs.org/api/fixes/npm-registry-replication-couchdb-changes-feed-results-last-seq-pending-docs.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

The consumer code is locally valid under the old feed contract; only the live registry's current routing, cursor, or response semantics disambiguate the fix.

## Fix

```
Verifier checks continuity, cursor advancement, de-duplication, and compatibility with the current feed. Check no gaps or duplicates across a hidden multi-page change stream.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- npm registry replication CouchDB _changes feed results last_seq pending docs
- site:github.com npm registry replication couchdb _changes include_docs
- CouchDB changes feed response results last_seq pending
- https://docs.couchdb.org/en/stable/api/database/changes.html

## Sources

- Changes to npm replication feeds APIs: https://github.blog/changelog/2025-04-22-reminder-for-changes-to-npm-replication-feeds-apis/
- Official reference opened by Codex: https://docs.couchdb.org/en/stable/api/database/changes.html
