Skip to content

Support writing page type inference#177

Closed
realriplab wants to merge 1 commit intogarrytan:masterfrom
realriplab:codex/support-writing-page-type
Closed

Support writing page type inference#177
realriplab wants to merge 1 commit intogarrytan:masterfrom
realriplab:codex/support-writing-page-type

Conversation

@realriplab
Copy link
Copy Markdown

What changed

  • add writing to PageType
  • infer /writing/ paths as writing
  • add a regression test for writing/post.md

Why

docs/GBRAIN_RECOMMENDED_SCHEMA.md documents a writing/ directory, but runtime type inference defaulted those pages to concept.

Closes #176.

Validation

  • bun test test/markdown.test.ts
  • bun test test/import-file.test.ts
  • bun test test/slug-validation.test.ts

@realriplab realriplab marked this pull request as ready for review April 17, 2026 15:25
@realriplab realriplab force-pushed the codex/support-writing-page-type branch from 51333af to 9d08dd3 Compare April 19, 2026 07:21
@garrytan
Copy link
Copy Markdown
Owner

Closing — Two-line type inference change with no body or test plan.

Thanks for taking the time to send a PR. If you'd like to rework this against current master with a clearer rationale and test plan, feel free to open a new PR.

@garrytan garrytan closed this May 10, 2026
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.

writing/ pages are inferred as concept

2 participants