Repository navigation
Conversation
kube
added this pull request to stack #10118
October 20, 2026 16:08
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
kube
force-pushed
the
cf/archinaut-retire-generator
branch
from
October 20, 2026 16:28
f27980e to
21f7767
Compare
kube
force-pushed
the
cf/archinaut-dev-session
branch
from
October 20, 2026 16:28
19351f4 to
cb40330
Compare
| paths, | ||
| files, | ||
| }).documents(); | ||
| await writeFile(cachePath, JSON.stringify(documents)); |
…TypeScript program
kube
removed this pull request from stack #10118
October 20, 2026 22:05
Contributor
Author
|
Superseded by #10131, which carries the whole stack as one commit. |
This branch was successfully deployed
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.
Important
Dev tooling and docs, nothing user-facing.
Summary
Before this PR, every archinaut build ran scip-typescript over each covered package and
devreran the whole pipeline on every change, so a saved file in Zed came back on the site after tens of seconds and a content edit cost as much as a source edit.Symbol facts for TypeScript now come from one TypeScript program over every covered package, walked once per build and cached as JSON.
devruns through a session that keeps each package's scan and facts in memory: a content edit rebuilds the model alone, a Python edit re-indexes that package, and a TypeScript edit goes to a language service built in the background after the first serve, which re-walks only the edited file and the files referencing what it defines. Only bundle files that differ are written and copied into the site tree.archinaut check, cold cachearchinaut check, warm cachedev, source editdev, content editdev, role edit oncore, 60 diagramsLinks
Changes
Symbol facts
src/pipeline/typescript-facts.tsDev session
devbuilds throughsrc/dev/session.ts, which keeps per-package scan results and facts between rebuildsrunPipelineandassembleModel, and the build intobuildArchitectureandwriteBuildd2process per coreCleanup
scan.tsimports from../modelonceTest coverage
@local/archinautunit suite.archinaut check, a full site build and a scripted dev session with source and content edits, by hand:How to test
yarn workspace @local/petrinaut-arch-docs lint:arch-docsyarn workspace @local/petrinaut-arch-docs devlibs/@hashintel/petrinaut-core/src/handle/types.tslibs/@local/petrinaut-arch-docs/content