diff --git a/README.md b/README.md index e86881b..6b08bf4 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,21 @@ The core loop: 5. **GenLayer** scores each dimension on-chain: 5 validators × 5 exec_prompts = 25 independent evaluations under `strict_eq` consensus. 6. **Company** reads only the top-scored PRs (reject threshold filters noise automatically), picks **one** winner, escrow releases the payment. +## Quick Start + +1. **Prerequisites** + - [Node 24+](https://nodejs.org/) + - [pnpm 10+](https://pnpm.io/installation) + - [Solana CLI](https://docs.solana.com/cli/install) + +2. **Install and run** + ```bash + pnpm install + cp frontend/.env.example frontend/.env.local + pnpm dev + ``` + Run `pnpm dev` from the `/frontend` directory. + ## Why hybrid (Opus + GenLayer) GenLayer has a practical ~256-token output ceiling per `exec_prompt`. Asking it to read a full 10K-token PR and emit a verdict is not feasible. So: diff --git a/packages/diff-filter/src/patterns.ts b/packages/diff-filter/src/patterns.ts index bbc23b7..19daf5b 100644 --- a/packages/diff-filter/src/patterns.ts +++ b/packages/diff-filter/src/patterns.ts @@ -67,6 +67,7 @@ export const GENERATED_DIR_PREFIXES = [ "build/", "out/", "target/", + ".anchor/", ".next/", ".nuxt/", ".svelte-kit/", diff --git a/packages/diff-filter/tests/classify.test.ts b/packages/diff-filter/tests/classify.test.ts index 34ce8b7..b3e2e18 100644 --- a/packages/diff-filter/tests/classify.test.ts +++ b/packages/diff-filter/tests/classify.test.ts @@ -49,6 +49,7 @@ describe("classifyPath — generated dirs", () => { "app/.next/static/chunks/webpack.js", "coverage/lcov-report/index.html", "__pycache__/module.cpython-311.pyc", + "contracts/solana/.anchor/test-ledger/genesis.bin", ])("marks %s as generated_dir", (path) => { const r = classifyPath(path); expect(r.ignore).toBe(true);