Skip to content

Simple guide · Overview

Page status: HistoricalHistory group: Updates

Mandatory NutsNews Docs Policy

This update documents the REQUIRED policy that every NutsNews change MUST update this documentation repository.

Visual overview

Primary diagram

System map

This update documents the REQUIRED policy that every NutsNews change MUST update this documentation repository.

Render the repository-owned system map when you need it.

Diagram is not rendered yet.

View as text
Mandatory NutsNews Docs Policy

This update documents the REQUIRED policy that every NutsNews change MUST update this documentation repository.

flowchart TB
  accTitle: Mandatory NutsNews Docs Policy
  accDescr {
    This update documents the REQUIRED policy that every NutsNews change MUST update this documentation repository.
  }
  A["Mandatory NutsNews Docs Policy"] --> B["updates/README_MANDATORY_NUTSNEWS_DOCS_POLICY.md"]
  B --> C["Auto-generated placeholder diagram"]

Mandatory NutsNews Docs Policy

Fullscreen diagram view.

This update documents the REQUIRED policy that every NutsNews change MUST update this documentation repository.

Every time NutsNews changes, the docs MUST change too, so future helpers know what happened and why.

All NutsNews work now requires a matching documentation update in ramideltoro/nutsnews-docs. This affects code, configuration, tests, scripts, UI, APIs, database behavior, infrastructure, Cloudflare, admin tools, caching, security, performance, bug fixes, and process-only instruction changes. Codex MUST inspect this docs repository, place the update in the best existing location, and create a clearly named update note when no better page exists.

The app repository AGENTS.md now makes this docs repository a REQUIRED part of the Definition of Done for every NutsNews task. The policy removes the former “no docs needed” exception and requires docs updates to include what changed, why it changed, who is affected, behavior differences, setup or operational steps, environment variables, permissions, migrations, limits, risks, mitigations, rollback notes, related PRs/issues when available, and three summary levels. Changes that affect workflows, request flow, data flow, caching, Cloudflare, metrics, auth, background jobs, APIs, database behavior, deployment, or infrastructure require Mermaid diagrams in the docs update and PR description.

  • The web app repository instructions now require a ramideltoro/nutsnews-docs update for ANY NutsNews work.
  • There is no “no docs needed” exception.
  • Every PR and every docs update MUST include Simple Summary, Intermediate Summary, and Expert Summary sections.
  • Workflow, data-flow, cache, Cloudflare, metrics, auth, background-job, API, database, deployment, and infrastructure changes MUST include a Mermaid diagram.
  • When app and docs PRs are both required, they MUST link to each other when permissions allow.

NutsNews work spans the web app, Worker, iOS, Cloudflare, Vercel, Supabase, automation, and operations. Requiring a docs update for every change keeps operational knowledge in one canonical location and prevents future work from skipping release notes, setup steps, risks, or rollback details.

  • Codex runs that modify NutsNews repositories.
  • Maintainers reviewing NutsNews app, Worker, iOS, and docs PRs.
  • Operators who rely on this repository for setup, deployment, rollback, monitoring, and incident context.
  • Future contributors who need to understand why a change was made.

Before this policy, some changes could finish with an explicit no-docs-needed rationale. After this policy, every NutsNews task MUST update this repository. If no existing page is appropriate, the task MUST add a clearly named update note under the existing docs style.

Every NutsNews docs update MUST include:

  • What changed.
  • Why it changed.
  • Who is affected.
  • How behavior is different.
  • Any setup, environment variables, permissions, migrations, limits, or operational steps.
  • Risks, mitigations, and rollback notes when applicable.
  • Links to related PRs or issues when available.
  • Simple Summary, Intermediate Summary, and Expert Summary.
  • A Mermaid diagram when the change affects workflows, request flow, data flow, caching, Cloudflare, metrics, auth, background jobs, APIs, database behavior, deployment, or infrastructure.
flowchart TD
A[NutsNews task starts] --> B[Read applicable AGENTS.md files]
B --> C[Run git status and preserve user changes]
C --> D[Make scoped app, worker, iOS, or process change]
D --> E[Inspect ramideltoro/nutsnews-docs structure]
E --> F{Best existing docs page?}
F -->|Yes| G[Update the relevant docs page]
F -->|No| H[Create a clearly named update note]
G --> I[Add three summary levels and required operational details]
H --> I
I --> J{Workflow or data path affected?}
J -->|Yes| K[Add Mermaid diagram]
J -->|No| L[Explain why diagram adds no value in PR]
K --> M[Run relevant validation]
L --> M
M --> N[Create or update app PR and docs PR]
N --> O[Link PRs and report compliance]

Setup, Permissions, Migrations, And Limits

Section titled “Setup, Permissions, Migrations, And Limits”
  • Setup: no runtime setup is required for the product.
  • Environment variables: none.
  • Permissions: Codex needs repository access to ramideltoro/nutsnews-docs when working on NutsNews changes.
  • Migrations: none.
  • Limits: documentation-only changes do not change Vercel, Cloudflare, Supabase, or Worker quotas.
  • Operational steps: reviewers MUST confirm the related docs PR exists and contains the required summaries, operational details, and Mermaid diagram when applicable.
RiskMitigation
Small changes create low-value docs churnUse the most appropriate existing page or a concise update note that explains what changed and why.
App PRs merge without docs contextRequire a linked docs PR before declaring the task done.
Documentation lands in the wrong repoKeep product, operations, deployment, cache, automation, and environment documentation in ramideltoro/nutsnews-docs.
Mermaid diagrams become decorative instead of usefulInclude diagrams only for affected workflows or data paths; otherwise explain why the diagram adds no value in the PR description.

Revert the app repository AGENTS.md change that makes docs updates mandatory and revert this documentation note. If PR descriptions were updated only to link this policy, edit those descriptions to remove the obsolete requirement.