{"_id":"@raintree-technology/trellis","_rev":"5-c89568969adfc6b6c5518dbe26d28108","name":"@raintree-technology/trellis","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"@raintree-technology/trellis","version":"0.1.0","keywords":["biome","configuration","gritql","lint","policy"],"author":{"name":"Raintree Technology"},"license":"MIT","_id":"@raintree-technology/trellis@0.1.0","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/trellis#readme","bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"dist":{"shasum":"f005f7dbb9d347d079a7dc5d61bc2ab7565c6b4f","tarball":"https://registry.npmjs.org/@raintree-technology/trellis/-/trellis-0.1.0.tgz","fileCount":8,"integrity":"sha512-SjunBARQWyikzxLv+gnzrOjNiQRyeNeWSIEW+FCjkVjPqexhJ65tiWf0ufreSFofSZfD+foJ7ThX68rd36y7oQ==","signatures":[{"sig":"MEUCIQD1xs8cR8EKr2eRODJd6N/yAtt67G9nJJbm3NQ6oSYq2AIgbd6H4oJROSwTykhCd41SmxzC8FTzjBeFjmTMoNBLM0Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@raintree-technology%2ftrellis@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8823},"exports":{"./biome":"./config/trellis.json","./package.json":"./package.json"},"gitHead":"3d91f65b0bccdbf55c9205f86a5e5b37486f1bdc","scripts":{"check":"biome check .","check:write":"biome check . --write","package:check":"npm pack --dry-run","check:fixtures":"bun test tests/rt006.test.ts","prepublishOnly":"bun run check && bun run check:fixtures && bun run package:check"},"_npmUser":{"name":"raintree-technology","email":"admin@raintree.technology"},"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"_npmVersion":"11.16.0","description":"Executable code policy for Raintree Technology projects","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"@biomejs/biome":"2.5.6"},"peerDependencies":{"@biomejs/biome":"2.5.6"},"_npmOperationalInternal":{"tmp":"tmp/trellis_0.1.0_1785524183287_0.8822693812464493","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@raintree-technology/trellis","version":"0.2.0","keywords":["biome","configuration","gritql","lint","policy"],"author":{"name":"Raintree Technology"},"license":"MIT","_id":"@raintree-technology/trellis@0.2.0","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/trellis#readme","bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"bin":{"trellis":"bin/trellis.mjs"},"dist":{"shasum":"c1593ac4aba3121994c2be3dd559e7b367daac2f","tarball":"https://registry.npmjs.org/@raintree-technology/trellis/-/trellis-0.2.0.tgz","fileCount":9,"integrity":"sha512-f/1SA2LxYDW3Z9pBq3HML0tPgIwyBO0vC5gDL9blKI1ThJvDsfYwlrRE/9/0g9YQBQibPFduOSS+NYIKzeGzmQ==","signatures":[{"sig":"MEYCIQCY3NhpDTy2qqfj1Aojor7a2o4VQ5zO+WDd5M4skWwT2wIhAIpQi+LWr44PQ6oxgLe+dmpRC4qFpVHKrfXQH15JUmLB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@raintree-technology%2ftrellis@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18979},"exports":{"./biome":"./config/trellis.json","./package.json":"./package.json"},"gitHead":"0737c4d61766ff45e6c2ef9c7b69063a07362907","scripts":{"check":"biome check .","check:write":"biome check . --write","package:check":"npm pack --dry-run","check:fixtures":"bun test tests","prepublishOnly":"bun run check && bun run check:fixtures && bun run package:check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ebfe1d12-0f31-417c-9939-c0e3342526a6"}},"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"_npmVersion":"11.16.0","description":"Anti-slop Biome policy for Raintree Technology projects","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"@biomejs/biome":"2.5.6"},"peerDependencies":{"@biomejs/biome":"2.5.6"},"_npmOperationalInternal":{"tmp":"tmp/trellis_0.2.0_1785692726613_0.07275668077061925","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@raintree-technology/trellis","version":"0.3.0","keywords":["biome","configuration","gritql","lint","policy"],"author":{"name":"Raintree Technology"},"license":"MIT","_id":"@raintree-technology/trellis@0.3.0","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/trellis#readme","bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"bin":{"trellis":"bin/trellis.mjs"},"dist":{"shasum":"ab8b9663988ab8d346b97b517f624ea83bac3cac","tarball":"https://registry.npmjs.org/@raintree-technology/trellis/-/trellis-0.3.0.tgz","fileCount":10,"integrity":"sha512-EtIbAR4Kah9t3SQt0vzDn1hm0r7n2tEbqwS+MdMqdsIDT2yk2LrVekxBZxDmehNuuctHL8qIELSu0edPRdyLZQ==","signatures":[{"sig":"MEUCIQD5UYXs3K4RlV/EOULmCeRU8KkWYUiKbcl3Ul4xMzqiLwIgTkfsgZaayYbJe0NusORqxIdftdZvphMMfqQo8VVv9oE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@raintree-technology%2ftrellis@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21496},"exports":{"./biome":"./config/trellis.json","./package.json":"./package.json"},"gitHead":"d2b0f37abce4319c329f363b4cdb541d83d18db9","scripts":{"check":"biome check .","trellis":"bun bin/trellis.mjs","check:write":"biome check . --write","package:check":"npm pack --dry-run","check:fixtures":"bun test tests","prepublishOnly":"bun run check && bun run check:fixtures && bun run package:check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ebfe1d12-0f31-417c-9939-c0e3342526a6"}},"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"_npmVersion":"11.16.0","description":"Anti-slop Biome policy for Raintree Technology projects","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"@biomejs/biome":"2.5.6"},"peerDependencies":{"@biomejs/biome":"2.5.6"},"_npmOperationalInternal":{"tmp":"tmp/trellis_0.3.0_1785731450687_0.684859842470851","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@raintree-technology/trellis","version":"0.3.1","keywords":["biome","configuration","gritql","lint","policy"],"author":{"name":"Raintree Technology"},"license":"MIT","_id":"@raintree-technology/trellis@0.3.1","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"homepage":"https://github.com/raintree-technology/trellis#readme","bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"bin":{"trellis":"bin/trellis.mjs"},"dist":{"shasum":"a9cefc6c8317591e42bf73290cdffcc26059fb2e","tarball":"https://registry.npmjs.org/@raintree-technology/trellis/-/trellis-0.3.1.tgz","fileCount":10,"integrity":"sha512-zYxwhcJ5OTt4GhQsAVitKLJB8sl/eoCfhgL9GX57zwqHQ+Fgsl6sCqPZ/3+p32FUoTIJMFCQdKJgzeER7dD3KQ==","signatures":[{"sig":"MEUCIQDeiUJLWGlH96q3Fj/dbgze2Ewrv1sEbNkcEwidOSbybwIgcecx8s8tb5HlY0mLb3v9nH3lKBK7qUneBapYb45U0Ns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@raintree-technology%2ftrellis@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21905},"engines":{"node":"24.x"},"exports":{"./biome":"./config/trellis.json","./package.json":"./package.json"},"gitHead":"fef84a32dff8694c6e6aa726eb7aef42b70997ab","scripts":{"check":"biome check .","trellis":"bun bin/trellis.mjs","check:write":"biome check . --write","package:check":"npm pack --dry-run","check:fixtures":"bun test tests","prepublishOnly":"bun run check && bun run check:fixtures && bun run package:check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ebfe1d12-0f31-417c-9939-c0e3342526a6"}},"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"_npmVersion":"11.19.0","description":"Anti-slop Biome policy for Raintree Technology projects","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"@biomejs/biome":"2.5.6"},"peerDependencies":{"@biomejs/biome":"2.5.6"},"_npmOperationalInternal":{"tmp":"tmp/trellis_0.3.1_1788554310461_0.7496526206352094","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"_id":"@raintree-technology/trellis@0.3.2","bin":{"trellis":"bin/trellis.mjs"},"bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"dist":{"shasum":"44a4af764c9cda38fddb6d30bb23dad9fbbd6bab","tarball":"https://registry.npmjs.org/@raintree-technology/trellis/-/trellis-0.3.2.tgz","fileCount":10,"integrity":"sha512-iWTa1Y/qy1zEEkpLw5fZigYB5k83mVsavdl8CT+sF0NJtDlzkxQbgabHGRICWWqDoGG/7/eo4anTN0nLDnOxvg==","signatures":[{"sig":"MEUCIQDm/eTkDtGf9ko4Cooklaxy6MRZegghs6hM4FAgYlA78wIgV1XwPjsokfBrtXWZnVgIZVYHSCNs6hxuEp3Ws71gMO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDo2KJ7AVw2XoOuYFBjkS+uwHN3tTIAEELFnnKuXfCcZAIhAMLOGHFLRmOyP2aJPQGTA/TQ1bZ2bLCxlmnrZDz5/hSN"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@raintree-technology%2ftrellis@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21909},"name":"@raintree-technology/trellis","author":{"name":"Raintree Technology"},"engines":{"node":"24.x"},"exports":{"./biome":"./config/trellis.json","./package.json":"./package.json"},"gitHead":"8830e61af67abd19c638ae4814b4d0b4000356c5","license":"MIT","scripts":{"check":"biome check .","trellis":"bun bin/trellis.mjs","check:write":"biome check . --write","package:check":"npm pack --dry-run","check:fixtures":"bun test tests","prepublishOnly":"bun run check && bun run check:fixtures && bun run package:check"},"version":"0.3.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:ebfe1d12-0f31-417c-9939-c0e3342526a6"}},"homepage":"https://github.com/raintree-technology/trellis#readme","keywords":["biome","configuration","gritql","lint","policy"],"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"_npmVersion":"11.19.0","description":"Anti-slop Biome policy for Raintree Technology projects","directories":{},"maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"packageManager":"bun@1.3.11","devDependencies":{"@biomejs/biome":"2.5.14"},"peerDependencies":{"@biomejs/biome":"2.5.14"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trellis_0.3.2_1790237097430_0.2182614519622621"}}},"time":{"created":"2026-07-31T18:56:23.109Z","modified":"2026-09-24T08:04:57.838Z","0.1.0":"2026-07-31T18:56:23.405Z","0.2.0":"2026-08-02T17:45:26.759Z","0.3.0":"2026-08-03T04:30:50.807Z","0.3.1":"2026-09-04T20:38:30.609Z","0.3.2":"2026-09-24T08:04:57.510Z"},"bugs":{"url":"https://github.com/raintree-technology/trellis/issues"},"author":{"name":"Raintree Technology"},"license":"MIT","homepage":"https://github.com/raintree-technology/trellis#readme","keywords":["biome","configuration","gritql","lint","policy"],"repository":{"url":"git+https://github.com/raintree-technology/trellis.git","type":"git"},"description":"Anti-slop Biome policy for Raintree Technology projects","maintainers":[{"name":"raintree-technology","email":"admin@raintree.technology"}],"readme":"# Trellis\n\n<!-- project-record: trellis -->\n\n**Active open-source package · MIT License**\n\nTrellis gives JavaScript and TypeScript teams one strict Biome policy for repeatable\ncorrectness, security, and maintainability checks. It also turns active findings into\ndeterministic JSON todos that coding agents can implement and reviewers can diff.\n\n## Install Trellis\n\nInstall exact package and peer-dependency versions at the consumer repository root:\n\n```bash\nbun add --dev --exact @raintree-technology/trellis@0.3.2 @biomejs/biome@2.5.14\n```\n\nCreate `biome.json`:\n\n```json\n{\n  \"$schema\": \"./node_modules/@biomejs/biome/configuration_schema.json\",\n  \"extends\": [\"@raintree-technology/trellis/biome\"]\n}\n```\n\nThe repository’s existing `biome check` command now enforces the shared policy. No\nTrellis wrapper is required.\n\n## See the policy handoff\n\nGiven a risky shortcut:\n\n```ts\nprocess.env.NODE_TLS_REJECT_UNAUTHORIZED = \"0\";\n```\n\nBiome reports the blocking rule with its reason and replacement direction:\n\n```text\nreadme-proof.ts:1:1 plugin\n\n  × RT006: TLS certificate verification must remain enabled.\n    Fix the trust store or certificate chain instead.\n\n  > 1 │ process.env.NODE_TLS_REJECT_UNAUTHORIZED = \"0\";\n      │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n```\n\nThis capture is checked against the pinned Biome version and the RT006 fixture in the\ntest suite. Trellis can also produce an agent-readable todo:\n\n```bash\nbun run trellis todo --output trellis-todo.json\n```\n\n```json\n{\n  \"id\": \"trellis-<stable-fingerprint>\",\n  \"status\": \"open\",\n  \"severity\": \"error\",\n  \"rule\": \"RT006\",\n  \"message\": \"Do not disable TLS certificate verification.\",\n  \"replacement\": \"Use a trusted CA or a scoped test transport.\"\n}\n```\n\nThe JSON report is a handoff artifact, not a second policy engine. Report generation\nsucceeds when error-level todos exist; the repository’s Biome check remains the gate.\n\n## Why use Trellis\n\n- **Share objective policy.** Keep repeatable rules consistent across repositories.\n- **Keep exceptions local.** Product architecture, framework rules, and justified\n  suppressions stay with the repository that owns them.\n- **Give agents stable work.** Todo IDs derive from the file, category, message, and\n  same-message occurrence, so unrelated line movement does not rewrite the list.\n- **Prefer clear replacements.** Shared rules belong here only when they identify an\n  objective problem with an actionable alternative.\n\n## Current policy\n\n| Policy | Implementation | Gate |\n| --- | --- | --- |\n| Common correctness mistakes | Biome recommended rules | Biome defaults |\n| Type-system escape | `noExplicitAny` | Error |\n| Parameter reassignment | `noParameterAssign` | Error |\n| Dynamic execution | `noGlobalEval` and `noImpliedEval` | Error and audit warning |\n| Disabled TLS verification | Trellis GritQL plugins | Error |\n| Complexity above 25 | Biome cognitive complexity | Warning |\n| Functions over 150 nonblank lines | Trellis policy | Warning |\n| Files over 500 nonblank lines | Trellis policy | Warning |\n| More than five parameters | Trellis policy | Warning |\n| Non-null assertions | `noNonNullAssertion` | Warning |\n\nWarnings identify structural debt that needs human judgment. Trellis does not ban\nconsole output, nested ternaries, comments, UI patterns, or other context-dependent\nchoices. The rule rationale lives in [`docs/rules/`](docs/rules/).\n\n## Compatibility and boundaries\n\nTrellis covers `.js`, `.jsx`, `.mjs`, `.cjs`, `.ts`, `.tsx`, `.mts`, and `.cts`.\nConsumers own generated-file exclusions, source scope, framework rules, import\nboundaries, and architecture checks.\n\nPlugin paths require a physical root `node_modules` directory. Yarn Plug’n’Play\nwithout one is not supported. In a monorepo, install both packages at the root and let\nnested Biome configurations extend `//`.\n\nUse narrow suppressions with a reason when a reviewed exception is necessary:\n\n```ts\n// biome-ignore lint/nursery/noImpliedEval: Required by the reviewed sandbox protocol.\nconst evaluator = new Function(source);\n```\n\nCodex users can install the remediation workflow from the public Raintree\nmarketplace:\n\n```bash\ncodex plugin marketplace add raintree-technology/plugins\ncodex plugin add trellis@raintree\n```\n\n## Raintree open-source system\n\nTrellis owns shared JavaScript and TypeScript code policy. It can be used independently.\n[Raintree Standards](https://github.com/raintree-technology/raintree.standards) defines\ngoverned requirements, [DocPull](https://github.com/raintree-technology/docpull)\nacquires evidence, [HIG Doctor](https://github.com/raintree-technology/hig-doctor)\naudits interfaces, and [PolicyStrata](https://github.com/raintree-technology/policystrata)\ntests cross-layer policy behavior. See the\n[Raintree open-source portfolio](https://raintree.technology/portfolio#open-source).\n\n## Project policies\n\n[npm package](https://www.npmjs.com/package/@raintree-technology/trellis) ·\n[Contributing](CONTRIBUTING.md) · [Code of Conduct](CODE_OF_CONDUCT.md) ·\n[Security](SECURITY.md) · [Changelog](CHANGELOG.md) ·\n[Source repository](https://github.com/raintree-technology/trellis) · [MIT License](LICENSE)\n","readmeFilename":"README.md"}