Decision 0003
The journal as a shared resource the Method7 site consumes
In plain English
We write the journal here, but readers see it on method7.co.uk. Rather than copying files between the two by hand, the Method7 site fetches the latest published journal automatically each time it is built.
Context
The Method7 site is an Astro static site. Pull requests run checks in GitHub
Actions, and merges to master deploy over FTP. It already consumes one shared
package, @method7/discoverable, straight from GitHub, pinned to an exact
commit. That works without credentials because that repository is public.
Roofus is private (decision 0002). The Method7 CI deliberately holds no credentials in its pull-request checks, so that nothing a pull request runs can reach anything sensitive.
Options
- Method7 reads the private repo with a token. One repo, but adds a credential to the Method7 build and breaks its no-credentials rule.
- Copy journal files into the Method7 site by hand. No credentials, but the two drift apart and it relies on someone remembering.
- Publish a public mirror. When journal changes merge in Roofus, a GitHub
Action copies the published entries (not drafts) to a public repository,
method7/roofus-journal. The Method7 site consumes it exactly as it consumesdiscoverable: pinned to a commit, no credentials. - Make Roofus public. Simplest of all, but reverses decision 0002.
Decision
Option 3. It reuses a pattern the Method7 site already trusts, keeps its CI credential-free, and makes the publish step an explicit gate: drafts never leave the private repo.
The journal package exposes markdown entries plus an Astro content-collection
schema, so the Method7 site can add a journal collection next to guides.
Consequences
- Roofus needs one token, stored as a secret in its own Actions, allowed to push to the mirror and nothing else.
- Updating the journal on method7.co.uk means bumping the pinned commit in the Method7 site, through a normal pull request. Slower than automatic, but nothing appears on the live site without a review.
- Accepted by Simon on 12 November 2026. Build task: issue #4.
Thinking about agents in your own business?
Tell me which jobs eat your week. I'll tell you plainly whether AI agents would help, and what building it would involve.