Repository navigation
Move agentic package guidance into package references and tsc build info into node_modules/.cache - #4393
Merged
Jason Morse (JasonVMo) merged 3 commits intoOct 23, 2026
Conversation
…nfig cache locations
Route review and contract work to the components package contracts and source-adapter index, link native-core architecture notes and validation scripts from the native skill, note the runtime package's validation entry in the desktop-testing maintenance skill, and drop the duplicate tsc cache changeset. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Bundle size reportTree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.
The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail. |
Anandraj (mganandraj)
approved these changes
Oct 23, 2026
Jason Morse (JasonVMo)
enabled auto-merge (squash)
October 23, 2026 22:29
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.
Platforms Impacted
No runtime behavior changes. This PR changes agent guidance, package documentation, published package contents, and TypeScript build-cache locations.
Description of changes
Fixes #4388. Every
packages/agentic/*package andframework-baseis now in the guided package registry.TypeScript build-info cache location
tsBuildInfoFilenow points to<workspace>/node_modules/.cache/<config>.tsbuildinfoinstead of<workspace>/.cache/. Yarn never packsnode_modules, and Git ignores it, so incremental build state can't be published or committed.scripts/src/tasks/constrain.tsenforces this location for each workspacetsconfig.json, plus any composite or incrementaltsconfig.*.jsonortargets/tsconfig*.json. Every affected tsconfig was updated withyarn constraints --fix.check-package-contentsno longer requires files that a package excludes on purpose with a negatedfilespattern. It still flags packed.cachecontents.Package-owned agent guidance
references/agents/repository/package-guidance.md). Each package has a conciseAGENTS.mdrouter, a userREADME.md, and an indexedreferences/folder that ships with the package.references/agents/components/agentic/intopackages/agentic/components/references/. The nestedsrc/**/AGENTS.mdfiles become references such assource-boundaries,higher-order-components, andprimitives. Framework-base'ssrc/accessibility/AGENTS.mdand itssrc/*/README.mdutility docs move intopackages/framework-base/references/.design/PLAN.md,components/WIN32-FOCUS-PLAN.md,SPEC-MIGRATION.md). Open work now lives in each package'sreferences/remaining-work.md. New rule R-PKGDOC-009 is enforced bycheck-agent-instructions, which rejects plan files outside a guided package'sreferences/.filesallowlist.AGENTS.md,references/agents/(index, classification, focus, native, TypeScript, and evals), and the shim READMEs now link to the new locations.Root skills
.github/skillsagainst the new layout. They link to package entry points and indexed references.review-componentsends contract and provenance reviews to the components package's contracts reference and source-adapter index.agentic-component-contract-authoringno longer duplicates the contract schema rules (R-PKGDOC-006). It points toreferences/contracts.md.implement-native-componentlinks native-core's layout and Swift-interop architecture notes and names native-core'scodegen:windows --checkandtest:apple-integrationscripts.maintain-desktop-testingnow covers the runtime package, which keeps its validation inAGENTS.mdbecause it has no contributing reference.Changesets
build-info-node-modules.mdcovers every package touched by the tsconfig cache move.components-native-core-guidance.mdanddesign-framework-base-guidance.mdcover the guidance andfileschanges.Verification
All runs were on macOS.
yarn check-agent-instructionsyarn clean-lage-cachethenyarn lage buildci(cold cache)check-agent-instructions, andcheck:spec-contractsyarn oxfmt .github/skillsyarn lage test-linksyarn change:checkNot run: native app builds and desktop story lanes. No native source changed.
tsbuildinfowritten to<workspace>/.cache, which could be packed. Agentic recipes inreferences/agents/components/agentic/and nestedsrc/**/AGENTS.md. Package plans at package rootstsbuildinfowritten to<workspace>/node_modules/.cache. Package guidance in<package>/AGENTS.mdand<package>/references/. Open work inreferences/remaining-work.md. Root skills act as routersPull request checklist
This PR has considered (when applicable):