---
id: change/bcquality/179
type: change
title: "#179 Add bounded knowledge retrieval"
summary: Adds bounded, lossless knowledge retrieval for BCQuality review skills. Catalog pages are capped at 16,000 UTF-8 bytes and return every applicable row with no ranking. Article and sample bodies are fetched exactly in chunks of up to eight paths. Each review leaf gets private GUID-scoped scratch and report paths, and its return is validated deterministically before rollup.
tier: official
language: en
tags:
  - feature
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:05:35.391Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 51597068b1bc2ac6dda10d3bb1103b0d7da4f4bd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/179
    title: "microsoft/BCQuality#179: Add bounded knowledge retrieval"
    date: "2026-09-11"
    commit: 51597068b1bc2ac6dda10d3bb1103b0d7da4f4bd
    t: null
    quote: Add lossless deterministic catalog paging capped at 16,000 serialized UTF-8 bytes, including the output newline.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 179
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/179
kind: pr
base_branch: main
major: null
merged_at: "2026-09-11T10:35:32Z"
author: JesperSchulz
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 26
  additions: 1892
  deletions: 56
  al: 19
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/skills/review/al-appsource-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-breaking-changes-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-code-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-data-modeling-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-error-handling-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-events-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-interfaces-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-performance-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-privacy-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-query-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-security-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-style-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-telemetry-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-testing-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-ui-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-upgrade-review.md
    status: modified
    reason: not-in-snapshot
  - path: microsoft/skills/review/al-web-services-review.md
    status: modified
    reason: not-in-snapshot
  - path: skills/do.md
    status: modified
    reason: not-in-snapshot
  - path: skills/read.md
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
quote: Add lossless deterministic catalog paging capped at 16,000 serialized UTF-8 bytes, including the output newline.
joined_against:
  major: null
  commit: null
---

# #179 Add bounded knowledge retrieval

> Adds bounded, lossless knowledge retrieval for BCQuality review skills. Catalog pages are capped at 16,000 UTF-8 bytes and return every applicable row with no ranking. Article and sample bodies are fetched exactly in chunks of up to eight paths. Each review leaf gets private GUID-scoped scratch and report paths, and its return is validated deterministically before rollup.

[Pull request](https://github.com/microsoft/BCQuality/pull/179) · merged into `main` on 2026-09-11 by JesperSchulz · 26 files (+1892 -56), 19 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Lossless catalog paging capped at 16,000 serialized UTF-8 bytes, with no ranking, top-k filtering or query-based omission
- Exact article and sample bodies returned in chunks of up to eight paths with byte count, SHA-256, strict UTF-8 and path-safety checks
- Continuations are tied to the prepared index and request state; the v2 catalog format makes applicability explicit
- Each review leaf gets GUID-scoped scratch and report paths, and its Task return is validated deterministically before rollup
- The bounded Source workflow now applies to all 16 Microsoft review skills; their Relevance, Worklist, Action and Output rules are unchanged
- Behaviour changes for users or extensions.

## AL objects touched

- `microsoft/skills/review/al-appsource-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-breaking-changes-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-code-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-data-modeling-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-error-handling-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-events-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-interfaces-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-performance-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-privacy-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-query-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-security-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-style-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-telemetry-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-testing-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-ui-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-upgrade-review.md`: modified, not in the BC? snapshot
- `microsoft/skills/review/al-web-services-review.md`: modified, not in the BC? snapshot
- `skills/do.md`: modified, not in the BC? snapshot
- `skills/read.md`: modified, not in the BC? snapshot

## Context

- Systems: development
- From the description: "Add lossless deterministic catalog paging capped at 16,000 serialized UTF-8 bytes, including the output newline."

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
