{"id":50720471,"url":"https://github.com/whystrohm/sample-foundrkit","last_synced_at":"2026-06-09T23:30:38.264Z","repository":{"id":358970565,"uuid":"1243666714","full_name":"whystrohm/sample-foundrkit","owner":"whystrohm","description":"Sample Foundrkit for Linear. The public reference implementation of the format. Real rules, real linter, real CI.","archived":false,"fork":false,"pushed_at":"2026-05-19T22:34:35.000Z","size":202,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-19T23:49:40.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whystrohm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-19T14:50:01.000Z","updated_at":"2026-05-19T22:31:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/whystrohm/sample-foundrkit","commit_stats":null,"previous_names":["whystrohm/sample-codex"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/whystrohm/sample-foundrkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whystrohm%2Fsample-foundrkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whystrohm%2Fsample-foundrkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whystrohm%2Fsample-foundrkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whystrohm%2Fsample-foundrkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whystrohm","download_url":"https://codeload.github.com/whystrohm/sample-foundrkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whystrohm%2Fsample-foundrkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34130641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-09T23:30:36.225Z","updated_at":"2026-06-09T23:30:38.256Z","avatar_url":"https://github.com/whystrohm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Foundrkit for Linear\n\nA working public Foundrkit for [linear.app](https://linear.app/), built as a reference implementation for the format. Real rules, real linter, real CI. The Action on this repo blocks any PR that violates the Foundrkit.\n\nThe bad-PR demonstration lives at [`PR #1`](https://github.com/whystrohm/sample-foundrkit/pull/1), an intentionally-slop draft that fails CI. Click through to see the workflow log catch the violations in plain text.\n\n\u003e If you want a Foundrkit like this generated for your own brand, the engine that produces it lives at [whystrohm.com](https://whystrohm.com).\n\n---\n\n## What is a Foundrkit?\n\nA Foundrkit is the language constants of a brand, captured as code instead of a PDF. Four files plus an example library, all rendered into formats a machine reads on every output.\n\nThe problem the format solves: every founder-led brand has a style guide. Almost none of them get used. The guide is a PDF in Notion. The contractor opens ChatGPT and writes whatever ChatGPT writes. The output ships. The brand sounds like every other AI-written SaaS company.\n\nThe Foundrkit flips that. The same rules live as `brand.config.ts` (the voice constants), `foundrkit.rules.json` (the structural rules), `forbidden.json` (the blocklist), and `CLAUDE.md` (the operating instructions for any AI writing assistant pointed at the repo). A CI job runs the rules against every PR. Nothing on-brand slips through and nothing off-brand merges.\n\nA real engagement to build one of these for a brand takes about 30 days. This repo is the artifact a buyer gets at the end. Same shape, populated with their language instead of Linear's.\n\n## What's in this repo\n\n```\nsample-foundrkit/\n├─ README.md                    ← you're here\n├─ brand.config.ts              ← voice constants: paragraph, 7 axes,\n│                                  register, approved patterns\n├─ foundrkit.rules.json         ← 6 structural rules (block + warn)\n├─ forbidden.json               ← blocklist: 50+ words and phrases,\n│                                  categorized\n├─ CLAUDE.md                    ← operating instructions for Claude Code\n│                                  / any AI writing assistant\n├─ foundrkit-lint.mjs           ← the linter the CI Action runs.\n│                                  Zero dependencies, runs on Node 20+\n├─ CODEOWNERS                   ← every PR routes to @whystrohm\n├─ examples/\n│  ├─ good-post.md              ← Linear-flavored draft that PASSES\n│  └─ bad-post.md               ← deliberately slop draft that FAILS\n└─ .github/workflows/\n   └─ foundrkit-lint.yml        ← runs the linter on every PR\n```\n\nEverything is human-readable. Click any file in the GitHub UI.\n\n## How does the firewall use it?\n\nThe Action in [`.github/workflows/foundrkit-lint.yml`](.github/workflows/foundrkit-lint.yml) runs on every pull request. It checks out the branch, finds changed markdown files, and runs:\n\n```\nnode foundrkit-lint.mjs \u003cchanged-files\u003e\n```\n\nThe linter reads `foundrkit.rules.json` and `forbidden.json` and applies them to each file. Output looks like this in the CI log:\n\n```\nexamples/bad-post.md\n  ✗ no-em-dashes               em-dash on line 3 col 47\n  ✗ no-forbidden-words         \"game-changing\" (globally_banned_words) on line 1 col 14\n  ✗ no-forbidden-words         \"thrilled\" (enthusiasm_verbs) on line 3 col 4\n  ...\n  ⚠ max-sentence-length        38% of sentences over 25 words (limit 30%)\n\n1 file checked, 7 block violations, 1 warning. FAILED.\n```\n\nBlock rules (no em-dashes, no forbidden words) fail CI with exit code 1. Warn rules surface in the log but the build passes. The two block categories are non-negotiable. They're the patterns that mark text as AI slop.\n\n## See it work\n\nThere's a permanent open pull request on this repo that demonstrates the firewall catching a slop draft:\n\n**[`PR #1`: Firewall demo, slop draft fails the Foundrkit](https://github.com/whystrohm/sample-foundrkit/pull/1)**\n\nThe PR adds `examples/bad-post.md` with deliberate violations. The Action runs and fails. The PR is not mergeable. It stays open forever as the demonstration.\n\n![foundrkit-lint Action failed on PR #1, 40 violations, status Failure](./firewall-demo-failed-action.png)\n\nWhat the CI log shows (excerpted):\n\n```\nexamples/bad-post.md\n  ✗ no-em-dashes                 em-dash on line 1 col 27\n  ✗ no-em-dashes                 em-dash on line 3 col 69\n  ✗ no-em-dashes                 em-dash on line 5 col 131\n  ✗ no-em-dashes                 em-dash on line 20 col 171\n  ✗ no-forbidden-words           \"game-changing\" (globally_banned_words) on line 1 col 31\n  ✗ no-forbidden-words           \"transformative\" (globally_banned_words) on line 3 col 73\n  ✗ no-forbidden-words           \"cutting-edge\" (globally_banned_words) on line 3 col 89\n  ✗ no-forbidden-words           \"Artificial intelligence is fundamentally reshaping\" (ai_era_clutter) on line 5 col 1\n  ✗ no-forbidden-words           \"purpose-built system\" (abstract_noun_clusters) on line 5 col 135\n  ✗ no-forbidden-words           \"shared, structured environment\" (abstract_noun_clusters) on line 5 col 201\n  ✗ no-forbidden-words           \"revolutionary\" (globally_banned_words) on line 7 col 28\n  ✗ no-forbidden-words           \"innovative\" (globally_banned_words) on line 9 col 20\n  ✗ no-forbidden-words           \"robust\" (globally_banned_words) on line 9 col 32\n  ✗ no-forbidden-words           \"seamless\" (globally_banned_words) on line 9 col 44\n  ✗ no-forbidden-words           \"harness the power of\" (ai_era_clutter) on line 9 col 89\n  ✗ no-forbidden-words           \"holistic\" (globally_banned_words) on line 9 col 158\n  ✗ no-forbidden-words           \"ecosystem\" (globally_banned_words) on line 9 col 243\n  ✗ no-forbidden-words           \"leverage\" (globally_banned_words) on line 13 col 3\n  ✗ no-forbidden-words           \"relentless focus\" (abstract_noun_clusters) on line 15 col 34\n  ✗ no-forbidden-words           \"fast execution\" (abstract_noun_clusters) on line 15 col 55\n  ...\n  ⚠ max-sentence-length          33% of sentences over 25 words (limit 30%)\n\n1 file checked, 40 block violations, 1 warning. FAILED.\n```\n\n40 block violations across 5 forbidden-word categories. The build exits 1. The PR is unmergeable until the violations are fixed.\n\nThe merged `main` branch has [`examples/good-post.md`](./examples/good-post.md), a Linear-flavored post on the same topic (Linear Agent GA) that passes the same firewall.\n\nOpen both posts side-by-side. The difference between the brand sounding like itself and the brand sounding like every other SaaS company is in the structural choices the Foundrkit enforces, not in the topic.\n\n## Run the linter locally\n\n```bash\ngit clone https://github.com/whystrohm/sample-foundrkit.git\ncd sample-foundrkit\nnode foundrkit-lint.mjs examples/good-post.md   # exit 0\nnode foundrkit-lint.mjs examples/bad-post.md    # exit 1\n```\n\nNode 20+ required. No `npm install` step. The linter has zero runtime dependencies.\n\n## Want one for your brand?\n\nThe engine that generated this Foundrkit for Linear runs at [whystrohm.com](https://whystrohm.com). Paste your own URL on the homepage and you'll see what a Foundrkit preview looks like for your brand. The build engagement that produces a real Foundrkit repo (this shape, populated with your language) is the next step.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhystrohm%2Fsample-foundrkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhystrohm%2Fsample-foundrkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhystrohm%2Fsample-foundrkit/lists"}