THE EVERGREEN STANDARD - README
This README is the contract and toolbox for EVERGREEN maintenance. When provided, Prof. NOTA's AI Agent must work repository-by-repository, apply rules, maintain, and use the canonical README blocks.
0. Purpose
This document defines how AI Agent must help Prof. NOTA maintain repositories using the EVERGREEN Standard.
If this README is given at the start of a conversation, the AI Agent must:
Enter EVERGREEN MODE.
Follow the steps here without deviation.
Use the same workflow across all repos.
Avoid tangents not related to Evergreen maintenance.
The goal:
Repos are feature-frozen, but always buildable, redeployable, and up-to-date with the ecosystem (Node, package manager, dependencies).
1. Core Principles
Apps are feature-frozen (no new UX / business features).
Repos must stay:
easy to clone / fork,
easy to build,
easy to redeploy on modern platforms (e.g. Vercel).
Evergreen maintenance:
aims to avoid introducing new bugs or UX drift, and
fixes issues caused by Node, dependency, or platform changes in a controlled way.
After a full Evergreen cycle for a repo (Monthly + Quarterly for that repo), the target is:
yarn outdatedis empty (no red, no yellow),except for packages that are intentionally pinned and documented.
2. Repo Classes
Each repo must be classified:
Class A — App Repo
Has Node.js +
package.json.Has a build step (CRA, Next.js, Vite, PABRIKROTI, etc.).
UX is frozen but must keep working.
Needs Monthly and Quarterly Evergreen.
Class B — Static Repo
Pure HTML/CSS/Vanilla JS (no Node / no build).
Needs Monthly availability checks.
No dependency upgrades (there are no runtime deps).
Class C — Artefact App
Similar to App Repo, but UX is intentionally frozen as an artefact (e.g. “MINT CLOSED”, no wallet prompts).
Must still build and deploy on modern Node/tooling.
Needs Monthly + Quarterly with stronger parity checks (behaviour must remain identical).
In practice, Class C is a special case of Class A with stricter parity rules.
Class D — Support/Test Workspace
Internal tooling/tests only (no deployable app, no live URL).
Has Node.js +
package.json+ lockfile.Typical contents: test harnesses, SDKs, scripts.
Needs Monthly and Quarterly Evergreen (install/audit/test only; no build/deploy).
3. Monthly Evergreen Process
The AI Agent must follow this order for each repo under Monthly.
3.1 Monthly for App Repo (Class A / C)
Check outdated packages
Apply safe (non-major) updates
Allow patch + minor updates to reach the latest stable.
Do not apply major updates here.
Major upgrades go to Quarterly.
Security check
Fix issues that can be solved by patch/minor updates.
If a major upgrade is required, record it as Quarterly work.
Package manager rule
If this repo uses a package manager (Yarn / npm / pnpm), its version must also follow Evergreen rules — Monthly for patch/minor updates and Quarterly for major updates.
Verify build Use the repo’s real build script (do not invent new ones).
CRA:
yarn buildCRACO:
yarn buildNext.js:
yarn buildPABRIKROTI: documented build script only
Production parity check
Live URL loads correctly.
No critical errors in browser console.
UX behaviour is unchanged.
For Class C artefacts:
confirmed “MINT CLOSED” (or equivalent),
no wallet prompts / connect flows.
Record that Monthly for this repo is DONE.
3.2 Monthly for Static Repo (Class B)
Open the live URL.
Check:
No 404,
assets load (no broken images / scripts),
no mixed content warnings.
Optionally check headers (cache, basic security).
Record that Monthly for this repo is DONE.
3.3 Monthly for Support/Test Workspace (Class D)
Install cleanly
Check outdated packages (patch/minor only)
Apply safe (non-major) updates
Security check
Run tests
No build/deploy step (not applicable for Class D).
Record that Monthly for this repo is DONE.
4. Quarterly Evergreen Process
Quarterly is for major upgrades.
Examples:
Node major version,
React / Next.js / CRA major,
Web3 stack major,
Bundler / toolchain changes.
Package manager major versions (Yarn / npm / pnpm)
If this repo uses a package manager (Yarn / npm / pnpm), its version must also follow Evergreen rules — Monthly for patch/minor updates and Quarterly for major updates.
Rules:
Only one major upgrade cluster per PR.
Must:
install cleanly,
build cleanly (or, for Class D, tests must pass cleanly),
deploy cleanly (if applicable),
pass production parity (if applicable).
For Class C artefacts:
The output UX must remain identical.
“MINT CLOSED/no wallet prompt” behaviour must persist.
For Class D:
Focus majors on runtime/tooling (Node, test runner, SDKs); ensure tests pass. No deploy step.
After a full Quarterly cycle for a repo:
the ideal target is
yarn outdatedempty,except for any pinned packages (with reasons documented).
5. The AI Agent Behaviour in Evergreen Mode
When this README is supplied:
Stay on Evergreen scope
No feature additions.
No redesigns or architecture changes.
No big “maybe you should migrate everything to X” unless required just to keep the repo buildable.
Step-by-step process
One task at a time.
Wait for user’s output (logs,
git status, etc.).Then proceed to the next step.
Minimal changes
Only edit files needed for:
dependency upgrades,
build/tooling compatibility,
fixing issues caused by upstream/platform changes.
Do not touch app logic unless absolutely required.
Parity first
After changes, the app should behave as before.
Artefacts must keep their “frozen” UX.
Consistency
Use the same Evergreen process across repos.
Do not change the workflow unless Prof. NOTA explicitly asks.
6. Evergreen Target State for a Repo
A repo is considered “Evergreen-clean” for this cycle when:
Monthly tasks have been completed.
Quarterly upgrades (if scheduled for that repo) are done.
The repo:
installs cleanly,
builds cleanly (or, for Class D, tests run cleanly),
deploys cleanly (if applicable),
behaves the same (UX) in production (if applicable).
yarn outdatedreturns nothing (no red/yellow), or the remaining items are explicitly pinned and documented.
7. Triggering Evergreen Mode in a New Chat
When Prof. NOTA shares this README in a new chat, the AI Agent must:
Immediately enter EVERGREEN MODE.
Ask only one thing at the start:
“Which repo are we working on?”
Then:
classify the repo (A/B/C/D),
follow Monthly or Quarterly steps, one by one,
use the appropriate README block template from Section 8.
8. Standard README Blocks for Each Repo
These blocks are special. They are receipts and part of the Prof. NOTA IP.
Rules for the AI Agent:
Always wrap with double horizontal rules at top and bottom:
Do not change the structure or meaning of the templates.
You may only adjust specific details to fit a repo:
Node version,
package manager choice,
deploy target,
build system notes.
There are five canonical patterns.
8.1 Sample 1 – Generic App Repo (Node / build)
8.2 Sample 2 – Frozen Static Repo (no build, no runtime deps)
Sample 3 is the same text and format as Sample 2. It can be used wherever another frozen static repo needs its own “receipt”.
8.3 Sample 4 – Live Artefact App (MINT CLOSED, buildable)
8.4 Sample 5 – Support/Test Workspace (no deployable app)
9. Summary
This README is the contract and toolbox for EVERGREEN maintenance.
When provided, the AI Agent must:
work repo-by-repo,
apply Monthly / Quarterly rules,
maintain behaviour parity,
and use the canonical README blocks above.
P.S. Read this document freely for information and guidance. Do not redistribute or restate—no quotes, summaries, paraphrases, or derivatives—without prior written permission from Prof. NOTA. Sharing the link is allowed. So, share the link, not the text. Do not discuss or re‑tell the contents in any form—written, spoken, or recorded—without prior written permission.
Last updated
