Title: test(forge-ai): AI quality eval harness, opt-in GitHub Action input, privacy docs, and v0.4.0 prep · Issue #94 · elcode-id/elcode-forge · GitHub
Open Graph Title: test(forge-ai): AI quality eval harness, opt-in GitHub Action input, privacy docs, and v0.4.0 prep · Issue #94 · elcode-id/elcode-forge
X Title: test(forge-ai): AI quality eval harness, opt-in GitHub Action input, privacy docs, and v0.4.0 prep · Issue #94 · elcode-id/elcode-forge
Description: 1. Context & Objective Deliver the deterministic & opt-in live AI quality evaluation harness (fixtures/ai-eval/), add opt-in ai-review input to integrations/github-action/action.yml, author docs/AI_AND_PRIVACY.md (covering local-only vs ...
Open Graph Description: 1. Context & Objective Deliver the deterministic & opt-in live AI quality evaluation harness (fixtures/ai-eval/), add opt-in ai-review input to integrations/github-action/action.yml, author docs/AI...
X Description: 1. Context & Objective Deliver the deterministic & opt-in live AI quality evaluation harness (fixtures/ai-eval/), add opt-in ai-review input to integrations/github-action/action.yml, author...
Opengraph URL: https://github.com/elcode-id/elcode-forge/issues/94
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test(forge-ai): AI quality eval harness, opt-in GitHub Action input, privacy docs, and v0.4.0 prep","articleBody":"## 1. Context & Objective\nDeliver the deterministic & opt-in live AI quality evaluation harness (`fixtures/ai-eval/`), add opt-in `ai-review` input to `integrations/github-action/action.yml`, author `docs/AI_AND_PRIVACY.md` (covering local-only vs cloud AI modes, `--dry-run`, Ollama setup, and prompt-injection defense), and prepare `README.md` and `docs/ARCHITECTURE_STATE.md` for `v0.4.0` (PRD §36, §39, §79).\n\n- **Parent Epic:** #84\n- **GitFlow Branch:** `test/forge-094-ai-eval-and-docs`\n- **Execution Wave:** `wave-13`\n- **DAG Dependencies:** Depends on #92, #93\n- **Estimated Size:** ~320 LOC (`\u003c 400 LOC`)\n\n## 2. Target Files\n- `fixtures/ai-eval/questions.json` *(NEW: benchmark architecture & review questions + expected grounding facts)*\n- `crates/forge-cli/tests/ai_eval.rs` *(NEW: deterministic retrieval recall & grounding guard evaluation + optional `EFORGE_AI_EVAL_LIVE=1` runner)*\n- `integrations/github-action/action.yml` *(MODIFY: add optional `ai-review: 'false'` input)*\n- `integrations/github-action/README.md` *(MODIFY: document opt-in `ai-review` usage)*\n- `docs/AI_AND_PRIVACY.md` *(NEW: comprehensive privacy, security, local Ollama/LM Studio, and cost control guide)*\n- `eforge.config.yaml` *(MODIFY: add commented `ai:` reference configuration)*\n- `README.md` *(MODIFY: document Phase 4 AI capabilities)*\n- `docs/ARCHITECTURE_STATE.md` *(MODIFY: record Phase 4 completion)*\n\n## 3. Public Contract & Evaluation Gate (PRD §79)\n- **Deterministic CI Eval (`ai_eval.rs`):**\n - Verifies 100% retrieval recall of expected module IDs, cycle paths, and finding IDs inside `ContextPack` across `fixtures/next-app`, `fixtures/ts-circular`, and `fixtures/secret-leak`.\n - Verifies end-to-end `explain --ai` and `ai-review` grounding guard invariants using `MockProvider`.\n - Verifies that `eforge scan` and `eforge report` outputs remain 100% byte-for-byte identical whether `ai.enabled` is `false` or `true`.\n- **Opt-In Live Eval:** When `EFORGE_AI_EVAL_LIVE=1` is set in the environment, executes the benchmark questions against the configured live provider and scores fact coverage.\n\n## 4. Security & Privacy Invariants\n- GitHub Action `ai-review` input defaults to `'false'` so CI workflows never transmit repository context to an LLM unless explicitly opted in by the repository owner.\n\n## 5. Definition of Done & Verification (Tier 2 + Tier 0)\n- All `ai_eval` tests pass offline in CI.\n- **Selective Verification Gate (Tier 2):**\n 1. `cargo fmt --package forge-cli -- --check`\n 2. `cargo clippy --package forge-cli --all-targets -- -D warnings`\n 3. `cargo test --package forge-cli`\n 4. Smoke run: `cargo run --bin eforge -- doctor --format json`","author":{"url":"https://github.com/luksluki","@type":"Person","name":"luksluki"},"datePublished":"2026-10-19T14:22:36Z","url":"https://github.com/elcode-id/elcode-forge/issues/94"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:27e41606-3a5e-a1cf-934d-1aa795c2b6f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7E8:39624A:17A36C:202976:6B05981E |
| html-safe-nonce | b046b9eb7b366eaabd4cc0e9cd2956d392a23cec6720c75d8273b1e78081113b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0U4OjM5NjI0QToxN0EzNkM6MjAyOTc2OjZCMDU5ODFFIiwidmlzaXRvcl9pZCI6IjUyODk1NDQ2NDk2Njc4NzY4OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7f91f1bbf80b5a220c2011865a38e04e676c90221455d46a54458e00856c144d |
| hovercard-subject-tag | issue:5925668424 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/elcode-id/elcode-forge/94/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a5d61c39273bd612798d5e81dd303ad94a2eec274b24b4d4bc5c0c1e0f172c29/elcode-id/elcode-forge/issues/94 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a5d61c39273bd612798d5e81dd303ad94a2eec274b24b4d4bc5c0c1e0f172c29/elcode-id/elcode-forge/issues/94 |
| og:image:alt | 1. Context & Objective Deliver the deterministic & opt-in live AI quality evaluation harness (fixtures/ai-eval/), add opt-in ai-review input to integrations/github-action/action.yml, author docs/AI... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | luksluki |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3b72fd2385d76a50ce0fe937d50bb4a81434432c4fd47866074a26f6cd03623f |
| turbo-cache-control | no-preview |
| go-import | github.com/elcode-id/elcode-forge git https://github.com/elcode-id/elcode-forge.git |
| octolytics-dimension-user_id | 337957755 |
| octolytics-dimension-user_login | elcode-id |
| octolytics-dimension-repository_id | 1423983661 |
| octolytics-dimension-repository_nwo | elcode-id/elcode-forge |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1423983661 |
| octolytics-dimension-repository_network_root_nwo | elcode-id/elcode-forge |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58e2bd32336f3dcee343ec627a4d09c7c444e214 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width