Skip to content

fix(list): exclude archived pages from filter_pages listings - #730

Closed
kurosawareiji7007-hub wants to merge 1 commit into
vouchdev:testfrom
kurosawareiji7007-hub:fix/list-pages-exclude-archived
Closed

fix(list): exclude archived pages from filter_pages listings#730
kurosawareiji7007-hub wants to merge 1 commit into
vouchdev:testfrom
kurosawareiji7007-hub:fix/list-pages-exclude-archived

Conversation

@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor

Summary

  • filter_pages (shared by MCP kb.list_pages, JSONL, and vouch pages) had no PageStatus.ARCHIVED gate, so archived pages stayed in the agent live listing.
  • Default is live-set only; include_archived=True opts back in for callers that need the full set.

Fixes #728

Test plan

  • uv run pytest tests/test_page_filters.py -q
  • CI green

kb.list_pages / vouch pages shared filter_pages with no ARCHIVED gate, so
retired pages stayed in the agent live set (and MCP/CLI omit status).
Default to live-set only; include_archived=True opts back in.

Fixes vouchdev#728
@github-actions github-actions Bot added docs documentation, specs, examples, and repo guidance tests tests and fixtures size: XS less than 50 changed non-doc lines labels Jul 31, 2026
@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor Author

Maintainer note: this is a correctness bugfix. If it looks right, a bug label would help Gittensor scoring (vouch bug multiplier). Happy to address any review feedback quickly.

@kurosawareiji7007-hub

Copy link
Copy Markdown
Contributor Author

Closing to stay at the Gittensor open-PR threshold (max 3 on vouch). Fix remains on branch fix/list-pages-exclude-archived — happy to reopen after another PR merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation, specs, examples, and repo guidance size: XS less than 50 changed non-doc lines tests tests and fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(list): kb.list_pages / vouch pages include archived pages

1 participant