Skip to content

fix(memory): show a welcome page instead of 404 on a new wiki - #84

Merged
arthware-dev merged 1 commit into
mainfrom
fix/wiki-first-run-placeholder
Sep 11, 2026
Merged

arthware-dev merged 1 commit into
mainfrom
fix/wiki-first-run-placeholder

Conversation

@arthware-dev

Copy link
Copy Markdown
Contributor

Opening the family wiki right after install returned 404, and stayed that way until the first nightly sweep. The install output points you there, so a new famstack handed you a broken link.

The seeded home page was deleted on every start: cleanup treated any page containing the generated splice marker as a leftover projection artifact, but that marker only brackets a region and the welcome page deliberately reserves an empty one. Cleanup now keys off generated: true frontmatter, the whole-page declaration the generator writes on every page it publishes.

The reserved region also explained how to fill it in inside an HTML comment, where it rendered as nothing. It now says so on the page.

Note for review: two existing purge tests asserted a page without generated: true gets deleted, so their fixtures changed. The fixtures did not match what _publish actually writes.

Opening the family wiki right after install returned 404. The install
output tells you to go there, so the first thing a new famstack did was
hand you a broken link, and it stayed broken until the next night.

The seeded home page was being deleted on every start. Cleanup treated
any page containing the generated splice marker as a leftover projection
artifact, but that marker only brackets a region, and the welcome page
deliberately reserves an empty one for the wiki to fill in. Cleanup now
keys off `generated: true` frontmatter, which is what marks a whole page
as generated and what the generator writes on every page it publishes.

The reserved region also explained how to fill it in inside an HTML
comment, where nobody could read it. It now says so on the page, with the
command to run if you would rather not wait for the nightly refresh.
@arthware-dev
arthware-dev merged commit 94ee0f5 into main Sep 11, 2026
1 check passed
@arthware-dev
arthware-dev deleted the fix/wiki-first-run-placeholder branch September 22, 2026 20:13
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