Skip to content

[docs] Read the physical-space pages from every library layer - #289

Merged
mcraveiro merged 1 commit into
mainfrom
feature/layered-readers
Dec 5, 2026
Merged

mcraveiro merged 1 commit into
mainfrom
feature/layered-readers

Conversation

@mcraveiro

Copy link
Copy Markdown
Member

The first of the three MASD readers takes the layered library the codegen
already resolves. physical_inventory gains library, the same
@compass,<project> option: it reads each layer's templates/ pages and
lets a later page replace an earlier one of the same title. Only the
checkout's own directory pages are written back, and an environment
digest over every file of a library outside the checkout reruns the codec
when one changes.

The filesystem half, files_below and read_disk_file, moves to
compass.platform so compass.docs and compass.codegen share it. The
codegen is unchanged and its 193 tests pass, as do the docs suite and a new
test where a library page is read and the checkout's page replaces it.

tangle_check and check_inventory still read one directory and follow.

Part of the MASD move, task "Move the MASD pages and templates to compass".

🤖 Generated with Claude Code

physical_inventory read one checkout directory. It now takes the codegen
library option, @Compass under the project's directories, and reads each
layer's templates/ pages, a later page replacing an earlier one of the
same title. Only the checkout's own pages are written back, and a digest
of every file outside the checkout reruns the codec when a page changes.

files_below and read_disk_file move to compass.platform so the docs and
codegen readers share them.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@mcraveiro
mcraveiro merged commit d0d07df into main Dec 5, 2026
5 checks passed
@mcraveiro
mcraveiro deleted the feature/layered-readers branch December 5, 2026 18:33

This branch was previously deployed

1 inactive deployment
CI — 4753a5ee Deployed Dec 5, 2026 by mcraveiro via linux-clang-release-ninja #585
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