Repository navigation
perf(skill): load target guidance through a concise entry point - #9352
Merged
kaoru0822-kitauji merged 7 commits intoNov 12, 2026
Merged
kaoru0822-kitauji merged 7 commits into
kaoru0822-kitauji merged 7 commits into
Conversation
Contributor
[Medium impact] The reviewed changes appear safe to merge. SummaryThis PR shortens the skill entry point and moves detailed instructions into focused guides.
Reviews (6) · Last reviewed commit: "docs(skill): explain CLI summary export ..." · Reviewed by Greptile |
3 tasks
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #9350; review against
codex/context-skill-entry. Completes progressive disclosure for #8084. Lane A only: no MCP catalog, default, schema or handler changes.The original baseline loaded 552 lines before the target was known (562 at pinned current main). The entry is now 123 lines, preserving target selection, authority, connection stopping rules, Evidence identity/uncertainty, summary selection and cleanup. Its routing table directs each target to its owning guide. All seven original reference paths and external links remain available.
Capture instructions move to
recorded-captures.md; provider, recovery and Evidence details move to their existing owners. Long guides have contents lists. Unique format facts are consolidated rather than duplicated. Stale capture-decoder settings and optional static IL2CPP linking guidance now agree with their current contracts. The generator pins package commands at the shared file boundary, including references; managed packaging adds the new page and advances skill metadata to 62.Qualification also fixed three documentation boundaries: recovery links to its actual CLI section; explicit native anchors preserve the original title and a renderer-independent Managed PE/CLI destination; CLI summary exports are documented as
{summary, evidence_bundle}, with the parent ID undersummary.normalized_result. The managed anchor sits inside its owning section so rendered navigation and guidance retrieval agree.Context estimates: pinned main
72d5e72e6→ current stack, tokenx 1.3.0. Each row sums the authored entry and all named complete guides:Method:
git showfor baseline bytes; current authored bytes; sumestimateTokenCountper file without truncation. These are estimates, not model token counts. Unchanged MCP definitions, arguments/replies, reading wrappers, reasoning, retries and additional references are excluded. Agents may read fewer sections or more guides; no whole-task efficiency claim follows.At
4672d261e, the bounded nine-path counter took 38.73 ms wall / 49.40 ms CPU / 67.61 MiB peak RSS on its first pass and 17.35 ms / 17.54 ms CPU / 69.19 MiB cumulative peak warm. It had no children, so process/family peaks coincide; OS caches were not flushed. These profile the counter, not analysis. Native, JavaScript and combined-guide estimates above were recounted after their final documentation corrections.Executed validation, macOS arm64, Node 24.22.1 / npm 11.16.0:
08f9275da: 35/35 focused tests across generated packaging, installed skill bytes/idempotence/backups/links and guidance retrieval;check:fast,docs:check(9 README cases), formatting and diff checks passed. Added first-result retrieval for the summary export receipt.9ade202db: 7 fresh processes, covering real JavaScript summary/export, exact page/item recipes after deleting the owned source fixture, repeated identical views, filtered bundle discovery, missing-reference rejection and tamper rejection. Canonical Evidence, summary/view and bundle validation passed; the selected asset retained its independently computed SHA-256; process-owner cleanup passed. Initial private-harness assumptions about progress output, delivery wrapping and module role were corrected; no repository oracle changed.bed464b7b: 69/69 tests in nine files, including setup/uninstall acceptance, cleanup/publication retry, profile provenance and public guidance CLI malformed-input/cursor cases. Final anchor placement then passed the nine affected rendering/retrieval cases and docs checks again.bed464b7b: all 12 files match, six public guidance queries find the expected first section, repeated reads are identical, fallback version pinning holds. Locked dependencies were reused through a symlink; this does not qualify a clean dependency install. Skills CLI 1.7.2 also installed all 12 authored files from a tracked source snapshot.Real-agent qualification: isolated fresh Codex 0.167.0 clients, installed-file guidance, read-only static targets. Documentation MCP tools were disabled where needed to isolate file guidance. No model override; resolved model identity unavailable.
capability_unavailablediagnostic exactly matches the independently captured CLI error; reset succeededThe HAR check at
08f9275daalso authenticated the complete public CLI parent and both MCP summary/view replies, including text/structured equality, source SHA-256 and parent links. The owned fixture remained unchanged; only the entry and capture guide were read through shell, with no recorded-URL fetch operation. Six negative controls rejected false attribution, schema completeness, digest/citation/status changes and tampered Evidence. Private assessors initially assumed a literalunknownstring, the wrong summary shape and fixed group order; saved replies were reassessed against the canonical union and order-independent exact fixture facts. No model rerun or repository test-oracle change. Reset and command-owner cleanup succeeded; no product issue or additional source change was justified.These are single runs/configurations, with warm filesystems. The firmware baseline omitted reset; the candidate closed and reset. They are not equivalent completed workflows, so their usage establishes no efficiency advantage. Agent CPU/family memory were unmeasured. Sequential command-owner cleanup passed. An earlier concurrent firmware pilot failed cleanup verification and is excluded; its named PIDs were later absent. The original producer-only summary assessor and Android assessor expecting the wrong error tag remain unchanged; saved replies were separately authenticated against canonical contracts/CLI facts, including negative controls.
Real deep providers, vendor firmware and live captures remain unverified. The optional Python skill validator requires unavailable PyYAML; repository metadata/link checks pass. Deferred schemas, protocol/profile lifecycle matrices and combined #9351/#9353 verification remain Lane B's scope. No execution, installation or mutation capability is added; no merge is authorized.
Latest integration:
7fa9f3699cincludes updated #9350/main8358cfcab3, preserves desktop-build routing and Go guidance, and advances managed metadata to63. Build and typecheck/lint passed;28 focused setup/routing tests,8 packaging/link tests and9 documentation tests passed.npm pack --dry-run --jsonran prepack/prepare and includes all13 managed files. Current-main estimates with tokenx1.3.0: entry10206→2680 tokens (73.74%), entry+JavaScript14037→6705 (52.23%), plus Evidence16904→10883 (35.62%). These exclude schemas/replies/discovery/reasoning; they establish no completed-task speed or CPU/memory improvement. A merge hook briefly reformatted three upstream tests; exact upstream contents were restored, and the final16-file diff stays within skill/routing/packaging scope.Author readiness
Human owner: @kaoru0822-kitauji