Skip to content

Add portable knowledge onboarding and autonomous feature discovery - #323

Merged
tzhouam merged 2 commits into
mainfrom
feat/kb-universal-feature-discovery-20261006
Oct 6, 2026
Merged

tzhouam merged 2 commits into
mainfrom
feat/kb-universal-feature-discovery-20261006

Conversation

@tzhouam

@tzhouam tzhouam commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

Portable initialization can now register a reviewed Git source and discover features without a packaged repository adapter. Documentation establishes the baseline; committed production code, tests and entry/contract units extend it. Independent model review and bounded residual scans preserve unknowns, existing IDs and frozen catalog denominators. Evidence bundles carry verified source spans into foundation and depth extraction.

Add a single canonical knowledge store with hash-bound, read-only mirrors and explicit foundation/final publication receipts. Final publication replays source and native approvals, verifies the reviewed production inventory and coverage policy, checks retrieval, and stages the snapshot before replacing canonical files. Unaccepted catalogs and changed previews cannot proceed. Incremental updates prepare a new pinned batch and keep old approvals historical.

SDK, MCP, Direct and Strict share resumable knowledge context sessions with a 24k-to-64k cumulative budget, actual injected-content records, and pinned, host-authorized cross-repository access. Existing adapters and the legacy two-page/6,000-character SDK interface retain their behavior. GLM-5.3 extraction and independent Codex review share a host-wide concurrency cap of 13; full native traces stay outside Git.

Validation includes real SHA-1/SHA-256 Git sources, no-origin and multi-language libraries, long-file entries, nested tests, interrupted/failed discovery, exact native-fixture replay, partial/final gates, mirror isolation, cross-repository authorization, cache tampering, real thread/process dispatch limits, and retrieval truncation. Both hosted CI runs pass at 57ca043105112d1e887696402b7c6d11252d3f13, including the complete repository tests, CLI, doctor JSON, clean wheel, documentation, all 97 SPEC pages and knowledge linters. The 16 real Git initialization tests also pass locally.

This change makes no new claim about feature-discovery recall, upstream test execution, actual subscription charges, or GLM PR-review accuracy. The initialization workflow and operating commands are documented in doc/architecture/portable-kb.md.

@tzhouam
tzhouam marked this pull request as ready for review October 6, 2026 07:10
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@tzhouam
tzhouam merged commit 4cdc5ac into main Oct 6, 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