{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "scanner-0aefeb7515377d45", "name": "\"active\" state uses light bg in a dark theme \u2014 frontend/components/AppShell.tsx:116", "shortDescription": {"text": "\"active\" state uses light bg in a dark theme \u2014 frontend/components/AppShell.tsx:116"}, "fullDescription": {"text": "A ternary like `active ? 'bg-white' : '...'` (or bg-gray-100/200) on a dark theme produces jarring white pills. Use a dark-emphasized active state instead \u2014 border + ring or slightly brighter dark bg. Example: `active ? 'bg-gray-800 border-gray-500 ring-1 ring-blue-500/30' : '\u2026'`.\n\nWhy: P-E in CHECKLIST.md \u2014 light bg in a dark theme is a class of regression.\nRule id: fq.active-light-bg"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9e71091bdeba593f", "name": "`truncate` class without `title=` for hover reveal \u2014 frontend/components/work-orders/WorkOrderCalendar.tsx:242", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 frontend/components/work-orders/WorkOrderCalendar.tsx:242"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-ac039592f3baecf3", "name": "`truncate` class without `title=` for hover reveal \u2014 docs/design/dashboard-shell.tsx:164", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 docs/design/dashboard-shell.tsx:164"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-1f66ad88286ca30a", "name": "Dockerfile runs as root: backend/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: backend/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-0cf17c5709fbc3c3", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.13-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.13-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "27 tests / 159 src (ratio 0.17)."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 87 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 56 placeholder/mock markers across 15 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2c5f98b152cddb6d", "name": "Agent authority lacks a verifier contract: .claude/launch.json", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/launch.json"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-5ec7a0b1e2945998", "name": "Commented-code block (5 lines) in backend/app/api/v1/endpoints/work_orders.py:237", "shortDescription": {"text": "Commented-code block (5 lines) in backend/app/api/v1/endpoints/work_orders.py:237"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-f48d76cc13363a3f", "name": "Commented-code block (6 lines) in backend/app/schemas/work_order.py:144", "shortDescription": {"text": "Commented-code block (6 lines) in backend/app/schemas/work_order.py:144"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-141ec4a47db1af71", "name": "Commented-code block (7 lines) in backend/app/models/work_order.py:256", "shortDescription": {"text": "Commented-code block (7 lines) in backend/app/models/work_order.py:256"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-3b84c601d1768b16", "name": "Commented-code block (5 lines) in backend/app/services/pipeline.py:56", "shortDescription": {"text": "Commented-code block (5 lines) in backend/app/services/pipeline.py:56"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-168d3b8951e9503b", "name": "Commented-code block (7 lines) in backend/app/services/sync/work_orders.py:75", "shortDescription": {"text": "Commented-code block (7 lines) in backend/app/services/sync/work_orders.py:75"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-fce6ef8a893af36a", "name": "Commented-code block (5 lines) in frontend/proxy.ts:56", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/proxy.ts:56"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-2536813744ba83ee", "name": "Commented-code block (6 lines) in frontend/app/(app)/work-orders/[id]/page.tsx:54", "shortDescription": {"text": "Commented-code block (6 lines) in frontend/app/(app)/work-orders/[id]/page.tsx:54"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-e7d7b7b104e44528", "name": "Commented-code block (5 lines) in frontend/components/dashboard/PipelineStageTile.tsx:10", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/components/dashboard/PipelineStageTile.tsx:10"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-85c218b43eb7556d", "name": "Commented-code block (5 lines) in frontend/components/work-orders/SyncWorkOrdersButton.tsx:46", "shortDescription": {"text": "Commented-code block (5 lines) in frontend/components/work-orders/SyncWorkOrdersButton.tsx:46"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-a6d3a30dbff5a6c2", "name": "Commented-code block (6 lines) in frontend/components/marketing/data.ts:32", "shortDescription": {"text": "Commented-code block (6 lines) in frontend/components/marketing/data.ts:32"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-b103915e22f81a86", "name": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/lib/api/public.ts:16", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/lib/api/public.ts:16"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1ed24e046955f934", "name": "Commented-code block (6 lines) in frontend/lib/api/types.ts:51", "shortDescription": {"text": "Commented-code block (6 lines) in frontend/lib/api/types.ts:51"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-14609a7b70c0f858", "name": "Commented-code block (10 lines) in docs/design/dashboard-shell.tsx:9", "shortDescription": {"text": "Commented-code block (10 lines) in docs/design/dashboard-shell.tsx:9"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-3482f7e5dd70cd1a", "name": "6 env vars used in code but missing from .env.example", "shortDescription": {"text": "6 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `BACKFILL_DATABASE_URL`, `NEXT_PUBLIC_API_URL`, `NEXT_PUBLIC_SC_WEB_URL`, `NEXT_PUBLIC_SUPABASE_ANON_KEY`, `NEXT_PUBLIC_SUPABASE_URL`, `NODE_ENV`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nbackend/app/api/v1/endpoints/work_orders.py:get_work_order_sync_status, backend/app/api/v1/endpoints/work_orders.py:get_work_order\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-07ad3036e11d0127", "name": "FastAPI POST `trigger_work_order_sync` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:398", "shortDescription": {"text": "FastAPI POST `trigger_work_order_sync` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:398"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-d28c9679e89055b2", "name": "FastAPI POST `submit_work_order_invoice` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:515", "shortDescription": {"text": "FastAPI POST `submit_work_order_invoice` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:515"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-224c6781e46161dc", "name": "FastAPI PATCH `update_work_order` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:553", "shortDescription": {"text": "FastAPI PATCH `update_work_order` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:553"}, "fullDescription": {"text": "`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-88c24b96601fc1c5", "name": "FastAPI POST `sync_vendors_endpoint` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:144", "shortDescription": {"text": "FastAPI POST `sync_vendors_endpoint` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:144"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-f58ab414375448a4", "name": "FastAPI POST `create_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:244", "shortDescription": {"text": "FastAPI POST `create_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:244"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-03c1b1f9ce570d29", "name": "FastAPI PATCH `update_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:276", "shortDescription": {"text": "FastAPI PATCH `update_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:276"}, "fullDescription": {"text": "`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-350eb6bef381d0d6", "name": "FastAPI DELETE `delete_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:300", "shortDescription": {"text": "FastAPI DELETE `delete_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:300"}, "fullDescription": {"text": "`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-c19ec931595d7fd5", "name": "FastAPI POST `create_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:69", "shortDescription": {"text": "FastAPI POST `create_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:69"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-adddbba114316201", "name": "FastAPI PATCH `update_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:102", "shortDescription": {"text": "FastAPI PATCH `update_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:102"}, "fullDescription": {"text": "`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-0a77f5462d8f9cef", "name": "FastAPI POST `receive_sc_webhook` without auth dependency \u2014 backend/app/api/v1/endpoints/webhooks.py:54", "shortDescription": {"text": "FastAPI POST `receive_sc_webhook` without auth dependency \u2014 backend/app/api/v1/endpoints/webhooks.py:54"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/24994"}, "properties": {"repository": "cjroberts2013/brenk-operating-platform", "repoUrl": "https://github.com/cjroberts2013/brenk-operating-platform", "branch": "main"}, "results": [{"ruleId": "scanner-0aefeb7515377d45", "level": "note", "message": {"text": "\"active\" state uses light bg in a dark theme \u2014 frontend/components/AppShell.tsx:116"}, "properties": {"repobilityId": "8df6a0ba3682421b", "scanner": "scanner-primary", "fingerprint": "0aefeb7515377d45", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.active-light-bg"]}}, {"ruleId": "scanner-9e71091bdeba593f", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 frontend/components/work-orders/WorkOrderCalendar.tsx:242"}, "properties": {"repobilityId": "0938c71ff13f44b2", "scanner": "scanner-primary", "fingerprint": "9e71091bdeba593f", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-ac039592f3baecf3", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 docs/design/dashboard-shell.tsx:164"}, "properties": {"repobilityId": "7ac4915e1873280a", "scanner": "scanner-primary", "fingerprint": "ac039592f3baecf3", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-1f66ad88286ca30a", "level": "warning", "message": {"text": "Dockerfile runs as root: backend/Dockerfile"}, "properties": {"repobilityId": "7afd2b0e8a8c9eeb", "scanner": "scanner-primary", "fingerprint": "1f66ad88286ca30a", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-0cf17c5709fbc3c3", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.13-slim"}, "properties": {"repobilityId": "0a1c92b44ade824a", "scanner": "scanner-primary", "fingerprint": "0cf17c5709fbc3c3", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/Dockerfile"}, "region": {"startLine": 5}}}]}, {"ruleId": "scanner-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "5e1bd32b8ae792fb", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "5d23ad1dbce6d9c5", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "37f19e3e56c6abba", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "9e1f743084813d05", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2c5f98b152cddb6d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/launch.json"}, "properties": {"repobilityId": "0de48c0f4ab303d8", "scanner": "scanner-primary", "fingerprint": "2c5f98b152cddb6d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/launch.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5ec7a0b1e2945998", "level": "none", "message": {"text": "Commented-code block (5 lines) in backend/app/api/v1/endpoints/work_orders.py:237"}, "properties": {"repobilityId": "6b17e5c97715c222", "scanner": "scanner-primary", "fingerprint": "5ec7a0b1e2945998", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f48d76cc13363a3f", "level": "none", "message": {"text": "Commented-code block (6 lines) in backend/app/schemas/work_order.py:144"}, "properties": {"repobilityId": "e09f5fd4ff1c0b91", "scanner": "scanner-primary", "fingerprint": "f48d76cc13363a3f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-141ec4a47db1af71", "level": "none", "message": {"text": "Commented-code block (7 lines) in backend/app/models/work_order.py:256"}, "properties": {"repobilityId": "858955d3283c029d", "scanner": "scanner-primary", "fingerprint": "141ec4a47db1af71", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3b84c601d1768b16", "level": "none", "message": {"text": "Commented-code block (5 lines) in backend/app/services/pipeline.py:56"}, "properties": {"repobilityId": "a135bf6a018ffaed", "scanner": "scanner-primary", "fingerprint": "3b84c601d1768b16", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-168d3b8951e9503b", "level": "none", "message": {"text": "Commented-code block (7 lines) in backend/app/services/sync/work_orders.py:75"}, "properties": {"repobilityId": "622f6f785d04a61e", "scanner": "scanner-primary", "fingerprint": "168d3b8951e9503b", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-fce6ef8a893af36a", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/proxy.ts:56"}, "properties": {"repobilityId": "13515bb236d95c8e", "scanner": "scanner-primary", "fingerprint": "fce6ef8a893af36a", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-2536813744ba83ee", "level": "none", "message": {"text": "Commented-code block (6 lines) in frontend/app/(app)/work-orders/[id]/page.tsx:54"}, "properties": {"repobilityId": "add97ce1dd66c9a8", "scanner": "scanner-primary", "fingerprint": "2536813744ba83ee", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e7d7b7b104e44528", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/components/dashboard/PipelineStageTile.tsx:10"}, "properties": {"repobilityId": "6db181d2a0370a7d", "scanner": "scanner-primary", "fingerprint": "e7d7b7b104e44528", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-85c218b43eb7556d", "level": "none", "message": {"text": "Commented-code block (5 lines) in frontend/components/work-orders/SyncWorkOrdersButton.tsx:46"}, "properties": {"repobilityId": "912e904f28062d79", "scanner": "scanner-primary", "fingerprint": "85c218b43eb7556d", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a6d3a30dbff5a6c2", "level": "none", "message": {"text": "Commented-code block (6 lines) in frontend/components/marketing/data.ts:32"}, "properties": {"repobilityId": "a3cee03566bb474d", "scanner": "scanner-primary", "fingerprint": "a6d3a30dbff5a6c2", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b103915e22f81a86", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 frontend/lib/api/public.ts:16"}, "properties": {"repobilityId": "ad700554a91ad285", "scanner": "scanner-primary", "fingerprint": "b103915e22f81a86", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-1ed24e046955f934", "level": "none", "message": {"text": "Commented-code block (6 lines) in frontend/lib/api/types.ts:51"}, "properties": {"repobilityId": "aecdba8b80e0819d", "scanner": "scanner-primary", "fingerprint": "1ed24e046955f934", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-14609a7b70c0f858", "level": "none", "message": {"text": "Commented-code block (10 lines) in docs/design/dashboard-shell.tsx:9"}, "properties": {"repobilityId": "f2275eb8ec170848", "scanner": "scanner-primary", "fingerprint": "14609a7b70c0f858", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-3482f7e5dd70cd1a", "level": "note", "message": {"text": "6 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "1da70f25aa46f6e9", "scanner": "scanner-primary", "fingerprint": "3482f7e5dd70cd1a", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "a918d4aefb3e0450", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "206bdf993689a2dd", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-07ad3036e11d0127", "level": "error", "message": {"text": "FastAPI POST `trigger_work_order_sync` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:398"}, "properties": {"repobilityId": "3f9a0dcc29fa38c5", "scanner": "scanner-primary", "fingerprint": "07ad3036e11d0127", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/work_orders.py"}, "region": {"startLine": 398}}}]}, {"ruleId": "scanner-d28c9679e89055b2", "level": "error", "message": {"text": "FastAPI POST `submit_work_order_invoice` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:515"}, "properties": {"repobilityId": "347de46c54d358ca", "scanner": "scanner-primary", "fingerprint": "d28c9679e89055b2", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/work_orders.py"}, "region": {"startLine": 515}}}]}, {"ruleId": "scanner-224c6781e46161dc", "level": "error", "message": {"text": "FastAPI PATCH `update_work_order` without auth dependency \u2014 backend/app/api/v1/endpoints/work_orders.py:553"}, "properties": {"repobilityId": "7299b803a251205e", "scanner": "scanner-primary", "fingerprint": "224c6781e46161dc", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/work_orders.py"}, "region": {"startLine": 553}}}]}, {"ruleId": "scanner-88c24b96601fc1c5", "level": "error", "message": {"text": "FastAPI POST `sync_vendors_endpoint` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:144"}, "properties": {"repobilityId": "f3e04e7a49de0c97", "scanner": "scanner-primary", "fingerprint": "88c24b96601fc1c5", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/vendors.py"}, "region": {"startLine": 144}}}]}, {"ruleId": "scanner-f58ab414375448a4", "level": "error", "message": {"text": "FastAPI POST `create_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:244"}, "properties": {"repobilityId": "c7889244a80282dd", "scanner": "scanner-primary", "fingerprint": "f58ab414375448a4", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/vendors.py"}, "region": {"startLine": 244}}}]}, {"ruleId": "scanner-03c1b1f9ce570d29", "level": "error", "message": {"text": "FastAPI PATCH `update_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:276"}, "properties": {"repobilityId": "fb505da51c8476f1", "scanner": "scanner-primary", "fingerprint": "03c1b1f9ce570d29", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/vendors.py"}, "region": {"startLine": 276}}}]}, {"ruleId": "scanner-350eb6bef381d0d6", "level": "error", "message": {"text": "FastAPI DELETE `delete_vendor` without auth dependency \u2014 backend/app/api/v1/endpoints/vendors.py:300"}, "properties": {"repobilityId": "8d5b9799c9ecd396", "scanner": "scanner-primary", "fingerprint": "350eb6bef381d0d6", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/vendors.py"}, "region": {"startLine": 300}}}]}, {"ruleId": "scanner-c19ec931595d7fd5", "level": "error", "message": {"text": "FastAPI POST `create_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:69"}, "properties": {"repobilityId": "5a28efadb9783a4f", "scanner": "scanner-primary", "fingerprint": "c19ec931595d7fd5", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/trades.py"}, "region": {"startLine": 69}}}]}, {"ruleId": "scanner-adddbba114316201", "level": "error", "message": {"text": "FastAPI PATCH `update_trade` without auth dependency \u2014 backend/app/api/v1/endpoints/trades.py:102"}, "properties": {"repobilityId": "e6c7cef3f5c84673", "scanner": "scanner-primary", "fingerprint": "adddbba114316201", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/trades.py"}, "region": {"startLine": 102}}}]}, {"ruleId": "scanner-0a77f5462d8f9cef", "level": "error", "message": {"text": "FastAPI POST `receive_sc_webhook` without auth dependency \u2014 backend/app/api/v1/endpoints/webhooks.py:54"}, "properties": {"repobilityId": "d121ea661a870a4e", "scanner": "scanner-primary", "fingerprint": "0a77f5462d8f9cef", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "backend/app/api/v1/endpoints/webhooks.py"}, "region": {"startLine": 54}}}]}]}]}