Skip to content

fix(update): let the scope decision revise unchanged pages of a pending update (0.7.90) - #90

Merged
qiansc merged 2 commits into
mainfrom
fix/pending-scope-revisions
Oct 28, 2026
Merged

qiansc merged 2 commits into
mainfrom
fix/pending-scope-revisions

Conversation

@qiansc

@qiansc qiansc commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Summary

With context update --pending, only pages whose cited text changed are candidates, and the decision rejected every other path as "Not candidates". When a new export or a shared change affected an existing page whose citations were unchanged, such as an overview, the agent could not submit that revision, and new_topics does not accept existing pages.

  • The update request now lists the other existing pages that cite the source as scope_pages. They need no decision; the scope decision can include one with an instruction. Paths outside the candidates and scope_pages are still rejected.
  • The source-update procedure and the knowledge-updates guide each gain one sentence on scope_pages.
  • The version moves to 0.7.90, with a CHANGELOG entry.

Tests

  • New regression test in projectPendingSourceUpdate.test.ts: a moved citation plus a new export, then the scope decision revises architecture/overview.md (revisions-prepared), and the baseline holds until the revision is delivered.
  • The pending-update tests (5) and the repo-content integration tests (18, including the non-candidate rejection message) pass locally; typecheck and lint are clean. The full suite runs in CI.

🤖 Generated with Claude Code

qiansc and others added 2 commits October 28, 2026 07:31
…ng update

context update --pending lists only pages whose cited text changed as
candidates, and the decision rejected every other path. An addition or a
shared change could therefore not be applied to an existing page whose
citations were unchanged. The request now lists those pages as
scope_pages: they need no decision, but the scope decision can include
one with an instruction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qiansc
qiansc merged commit 33073fd into main Oct 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant