Skip to content

Restore knowledge intake capacity with owner topic pages - #133

Merged
tzhouam merged 1 commit into
mainfrom
fix/knowledge-intake-capacity
Sep 7, 2026
Merged

tzhouam merged 1 commit into
mainfrom
fix/knowledge-intake-capacity

Conversation

@tzhouam

@tzhouam tzhouam commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Automatic knowledge intake exhausted validation repairs because the MiniCPM entry page had only 101 bytes free and the diffusion entry page was also close to 32 KiB. Move eight existing rules unchanged into owner-local Code2Wav runtime and diffusion platform-kernel pages, and link them from the entry pages and indexes. This restores room for new proposals without dropping rules or relaxing validation.

Validation: both knowledge validators pass; release audit passes in enforce mode against the recorded baseline; moved rule bodies and citations are preserved verbatim.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-07T03:43:46.200947Z 0876ad3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tzhouam
tzhouam merged commit 607a409 into main Sep 7, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0876ad3341

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

只有 `DIFF-数字字母` 是可审计规则 ID。模型专有常量和已验证偏差留在对应
[模型 owner](../../models/_index.md);本页只承载多个 diffusion 模型共用的不变量。

相关专题:[Diffusion 平台 kernel 与设备合同](rules-platform-kernels.md)(`DIFF-1t`, `DIFF-1u`, `DIFF-1v`, `DIFF-1w`)。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep split rules visible to automated intake

When later PR evidence overlaps any of the eight moved rules, automated intake cannot union it with the existing conclusion: KnowledgeCurator.catalog() enumerates only files named rules.md, while duplicate detection checks only the selected target page, so neither new rules-*.md file is selectable or searched. This can append synonymous or duplicate rules back into the parent pages, defeating the stated capacity fix; either retain these definitions in rules.md or extend the curator's catalog and owner-wide deduplication contract to split rule pages.

AGENTS.md reference: AGENTS.md:L12-L17

Useful? React with 👍 / 👎.


只有 `MCPMO-数字字母` 是可审计规则 ID。

相关专题:[MiniCPM-o 4.5 Code2Wav 运行时合同](rules-code2wav-runtime.md)(`MCPMO-1f`, `MCPMO-1g`, `MCPMO-1h`, `MCPMO-1i`)。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Put split-rule routes inside the Direct quick maps

For Direct reviews of Code2Wav NPUGraph, Dynamo, windowing, or encoder-less Flow changes, this link is never delivered to the reviewer: _direct_quick_map() starts at the following ## Direct heading and stops at the next level-two heading, so the pre-heading link and all moved rule bodies are excluded while the embedded map still reports ok. The diffusion split has the same defect for DIFF-1t–DIFF-1w; add the topic links and matching signals within each Direct section so these contracts remain reachable without violating the full-page reading budget.

AGENTS.md reference: knowledge/AGENTS.md:L16-L16

Useful? React with 👍 / 👎.

tzhouam added a commit that referenced this pull request Sep 8, 2026
Automatic knowledge batches could only append to each owner's rules.md
entry page, and several of those pages sit within a few hundred bytes
of the tree validator's 32 KiB split gate. Every rule routed there
failed validation after apply, rolled the whole batch back, and needed
a human to split the page by hand (#133, #134).

The catalog now lists every owner rule page: the rules.md entry page and
the owner's type: rule rules-<topic>.md topic pages the tree already
uses. catalog_entries() carries each page's remaining bytes and
non-empty lines, mirrored from check_knowledge_tree.py, the prompt shows
that room, and validate_proposals rejects a proposal that would not fit
("page full") before anything is written, consuming room across one
batch so two rules aimed at one page cannot both pass. Knowledge API
1.0.0 -> 1.1.0, backward compatible.

The knowledge contract sentence that named rules.md as the only PR
learning target now names the owner's rule pages; SPEC/sdk.md and
SPEC/contract.md record the new surface and version.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Js5CsiwSYjcAYvqti1Lp1Y
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