Skip to content

writing/ pages are inferred as concept #176

@realriplab

Description

@realriplab

What happened?
Pages under writing/ were imported as concept.

What did you expect?
Pages under writing/ should be imported as writing, since docs/GBRAIN_RECOMMENDED_SCHEMA.md includes a writing/ directory.

Steps to reproduce

  1. Create a markdown file under brain/writing/ without explicit type in frontmatter.
  2. Run gbrain sync --repo <brain> --full --no-pull.
  3. Check the imported page type or run gbrain list --type writing.

Environment

  • gbrain version: 0.10.2
  • OS: macOS
  • Bun version: bun --version
  • Database: self-hosted Postgres

gbrain doctor --json output

(paste output here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions