Skip to content
Rimfe Docs
GuidesWhat's newPricingSign in
Start free
On this page: On this page

Hold public docs until a release, get weekly and monthly reports, export signed evidence, set how long data is kept and send flag rollouts to Rimfe.

Rimfe records what changed, why, what the docs said at the time and when a change reached users. The History tab on each repository and the workspace settings for reports, retention and the audit log are built on that record.

Repository History tab with open findings and recent changes

Hold public docs until a release

By default every docs patch opens when the pull request merges. If your public docs should only describe what users can already use, open History, then Release policy, and choose what public docs follow:

  • Every merge: nothing is held.
  • Git tags, GitHub releases or Deployments: a public patch is held until a tag, release or deployment contains the merged change. For deployments, name the production environment.

Internal docs always update on merge. A held patch is listed under Held public patches with the reason. Publish now opens it without waiting. Patches that fail the leak check are only released by a person.

Rimfe needs the Deployments read-only permission and the Release, Create and Deployment status events on the GitHub App. See GitHub App permissions.

Reports

Open Settings, then Reports and alerts, and find Reports. Turn on the weekly report (Mondays at 08:00) or the monthly report (the 1st at 08:00) in the time zone you choose, then pick Slack, email or both. Quiet hours are respected: a report waits until they end.

Reports and alerts settings

A report lists:

  • Changes grouped by confirmed feature, each with the reason given in the pull request.
  • Docs kept in sync, with median and p90 time to docs per audience.
  • Docs still wrong, ranked by how many days they have been stale.
  • Changes no docs page mentions: new or changed public code (a function, an option, an endpoint) that no page names.
  • Changes with no recorded reason.
  • Public patches waiting on a release.

Every line comes from a record and links to it. No model writes the report. Preview this week shows the current report without sending it.

Docs as of a date

On History, pick a date under Docs as of a date to list the pages and sections that were live that day. Each page links to GitHub at the commit that wrote it. Rimfe stores page structure, not page text.

Export and verify evidence

Each change on History has JSON and PDF links. The period export covers every change merged between two dates. An export holds the chain from the reason, to the pull request, review, findings, patches, decisions, release and docs merge, each with time, actor and link. A model-written summary, when there is one, is labelled Generated summary.

The PDF footer and the JSON file carry a SHA-256 of the canonical JSON of the chain and an HMAC-SHA256 signature of that hash made with a Rimfe server key. Rimfe keeps only the hash, not the export.

To check an export, hash the chain object of the JSON file (keys sorted at every depth, no whitespace) and send the hash and signature:

Terminal
curl -s https://app.rimfe.com/api/history/verify \
  -H "Content-Type: application/json" \
  -d '{"hash":"<sha256>","signature":"<signature>"}'

genuine: true means Rimfe signed the hash and recorded the export.

Retention

Open Settings, then Data, and find Retention (owners only). Set how many days Rimfe keeps run text, findings and history. Each plan has a range, shown beside the field. Hobby keeps 30, 90 and 90 days. Startup and Business allow 7 to 30, 30 to 365 and 90 to 730 days. Enterprise allows up to seven years of history. Older data is deleted every day, with a deletion receipt for each repository. Current docs state and open findings are never deleted.

Audit log

Settings, then Audit log, lists who changed what and when, including who can reach each hosted docs site and who deleted one. Filter by action and export the list as CSV. Owners and admins can open it.

Workspace audit log

Feature flags

When a change sits behind a feature flag, its public docs wait until the flag is released, so the docs never announce a feature most users cannot see. Internal docs update on merge as usual. Rimfe finds the flags a change reads three ways:

  • Calls in the pull request's added lines, in any language: LaunchDarkly, Unleash, PostHog, GrowthBook, Statsig, Flagsmith, Split, OpenFeature, Optimizely, ConfigCat, DevCycle, Django waffle, Flipper and the like.
  • Flag reads in the changed JavaScript and TypeScript files, including keys held in constants and useFlags().key.
  • Flags that already gate the changed code elsewhere in the repository, from the code graph.

Your own flag functions and env var flags count when you declare them in .rimfe.json. See Product declarations.

The repository's History tab lists the flags under Feature flags, with each flag's production rollout and the patches it holds. Under Release policy you set:

  • Rollout threshold: the percentage a flag must reach. 100 by default.
  • Flag with no rollout reported: hold public docs (the default) or publish them.
  • Flags to ignore: kill switches and ops flags that never hold docs, such as kill-* or ops.*.
  • Production environment: rollouts in other environments never release public docs.

Without a rollout webhook, use Mark released on a flag once it is on for everyone. Mark not released holds new docs for it again. A held patch can also be published by hand from Held public patches. Changelog entries Rimfe drafts leave out pull requests whose flags are not released.

Send flag rollouts

Send this JSON from your flag provider's webhook or automation to the URL under Settings, Integrations, Flag rollouts, each time a flag's rollout changes:

Rollout settings
{
  "repository": "acme/app",
  "flagKey": "new-billing",
  "percentage": 100,
  "environment": "production",
  "targeting": "everyone"
}

environment and targeting are optional. Leave out environment only when the rollout is for production. Set targeting to segments when the flag is on only for chosen users, teams or accounts, such as staff or beta testers: Rimfe counts that as 0% public, whatever the percentage inside those segments. The latest rollout is the flag's state, so turning a flag back down holds new docs for it again, and the audit log records the roll-back.

Sign the request. The workspace owner creates a secret on the same page. Send two headers:

  • X-Rimfe-Timestamp: the current time in Unix seconds. Requests more than five minutes off are rejected.
  • X-Rimfe-Signature: sha256= followed by the hex HMAC-SHA256 of <timestamp>.<body> with the secret.

Rimfe answers 200 when the rollout is recorded, 401 for a bad signature or old timestamp, 404 for an unknown repository, 400 for a body that does not match, 413 for a body over 16 KB and 429 when you send too many requests.

Last updated