Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

ronsse/trellis-ai

https://github.com/ronsse/trellis-ai · scanned 2026-06-15 23:55 UTC (2 months, 3 weeks ago)

340 raw signals (78 security + 262 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 251 actionable findings from 2 signal sources. 234 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 52.9/100 with 100.0% coverage. It contains 8892 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 262 findings — concentrated in quality (166), api (46), software (23). Risk profile is high: 1 critical, 16 high, 9 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 143 of 251 actionable findings. 485 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Security checks quality Practices conf 0.82 27 occurrences Foundry mined mock as real or placeholder: ronsse/trellis-ai
Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real Query id: mock_as_real_or_placeholder Query type: motif_query Intent: Hard negatives for fake completeness and missing real data paths. Motif: mock_as_real_or_placeholder Training usage: hard_negative Graph gol…
27 occurrences
repo-level (27 hits)
critical Security checks security auth conf 0.78 17 occurrences Foundry mined security auth guardrail gaps: ronsse/trellis-ai
Graph query export: Security/auth changes without enough guardrails Query id: security_auth_guardrail_gaps Query type: motif_query Intent: Assumption-check security/auth examples requiring stronger tests or CI. Motif: security_auth_without_guardrails Training usage: assumption_check Graph gold labe…
17 occurrences
repo-level (17 hits)
critical System graph security Secrets conf 1.00 Possible secret in eval/arcadedb_spike.py
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
eval/arcadedb_spike.py:56
high Security checks quality Practices conf 0.84 16 occurrences Foundry mined bad chains: ronsse/trellis-ai
Comment chain pattern product: bad_chains Repo: ronsse/trellis-ai Thread: ronsse/trellis-ai#98 Outcome: not_resolved_or_not_observed Thread label: thread_has_human_issue_without_fix_context Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artifacts, source_graph_h…
16 occurrences
repo-level (16 hits)
high Security checks quality Quality conf 0.76 8 occurrences Foundry mined schema ui api mismatch: ronsse/trellis-ai
Graph query export: Schema, UI, and API mismatch Query id: schema_ui_api_mismatch Query type: motif_query Intent: Assumption-check examples for data-path consistency across layers. Motif: schema_ui_api_mismatch Training usage: assumption_check Graph gold label: supported_by_verification_signal Repo…
8 occurrences
repo-level (8 hits)
high Security checks quality Testing conf 0.78 30 occurrences Foundry mined test ci gap after feedback: ronsse/trellis-ai
Graph query export: Feedback exposes missing tests or CI Query id: test_ci_gap_after_feedback Query type: motif_query Intent: Hard negatives for feedback/fix chains without adequate guardrails. Motif: test_ci_gap_after_feedback Training usage: hard_negative Graph gold label: supported_by_verificati…
30 occurrences
repo-level (30 hits)
high System graph security auth conf 1.00 FastAPI POST `apply_noise_tags` without auth dependency — src/trellis_api/routes/admin.py:106
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/admin.py:106 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `assemble_pack` without auth dependency — src/trellis_api/routes/retrieve.py:37
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/retrieve.py:37 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_document` without auth dependency — src/trellis_api/routes/curate.py:114
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:114 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_entity` without auth dependency — src/trellis_api/routes/curate.py:89
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:89 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_link` without auth dependency — src/trellis_api/routes/curate.py:65
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:65 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `execute_batch` without auth dependency — src/trellis_api/routes/mutations.py:25
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/mutations.py:25 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `generate_advisories` without auth dependency — src/trellis_api/routes/admin.py:194
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/admin.py:194 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `ingest_bulk` without auth dependency — src/trellis_api/routes/ingest.py:190
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/ingest.py:190 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `ingest_evidence` without auth dependency — src/trellis_api/routes/ingest.py:69
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/ingest.py:69 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `ingest_trace` without auth dependency — src/trellis_api/routes/ingest.py:37
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/ingest.py:37 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `pack_feedback` without auth dependency — src/trellis_api/routes/curate.py:149
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:149 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `promote` without auth dependency — src/trellis_api/routes/curate.py:48
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:48 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `record_feedback` without auth dependency — src/trellis_api/routes/curate.py:132
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/curate.py:132 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_vectors` without auth dependency — src/trellis_api/routes/admin.py:241
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/admin.py:241 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `submit_drafts` without auth dependency — src/trellis_api/routes/extract.py:48
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/extract.py:48 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upsert_vectors` without auth dependency — src/trellis_api/routes/ingest.py:93
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/trellis_api/routes/ingest.py:93 securityAuth fastapi unauth mutation
medium Security checks quality Practices conf 0.62 56 occurrences Foundry mined assumption checks: ronsse/trellis-ai
Comment chain pattern product: assumption_checks Repo: ronsse/trellis-ai Thread: ronsse/trellis-ai#43 Outcome: ambiguous_needs_more_evidence Thread label: thread_needs_classification Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artifacts, source_graph_has_veri…
56 occurrences
repo-level (56 hits)
medium Security checks quality maintenance conf 0.70 48 occurrences Foundry mined blueprint gap alignment: ronsse/trellis-ai
Graph query export: Human feedback aligned with blueprint or architecture gaps Query id: blueprint_gap_alignment Query type: motif_query Intent: Curriculum-gap examples connecting issue threads to helicopter-view gaps. Motif: blueprint_gap_alignment Training usage: curriculum_gap Graph gold label: …
48 occurrences
repo-level (48 hits)
medium Security checks quality Practices conf 0.70 21 occurrences Foundry mined unresolved feedback: ronsse/trellis-ai
Graph query export: Human feedback without linked fix evidence Query id: unresolved_feedback Query type: motif_query Intent: Negative/unresolved examples that should not be hallucinated into fixes. Motif: unlinked_feedback_needs_evidence Training usage: negative_or_unresolved Graph gold label: assu…
21 occurrences
repo-level (21 hits)
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/settings.json
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.
.claude/settings.json VerificationClaude instruction
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
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.
Mock dataCritical flowGenerated repo pattern
medium System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
anthropics/claude-code-action@v1 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/claude.yml:35 CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/claude.yml CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/trellis_api/static/index.html:1405
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/trellis_api/static/index.html:1405 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/claude_postedit_lint.py:50
`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 24 placeholder/mock markers across 11 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph network Security conf 1.00 Privileged port 14 in use
Port 14 is privileged (<1024). Make sure the service runs with the right caps or front it with a non-privileged port via a load balancer.
docs/api/v1.yaml Ports
low System graph quality Integrity conf 1.00 23 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `MOONSHOT_BASE_URL`, `MOONSHOT_CHAT_MODEL`, `MOONSHOT_EMBEDDING_MODEL`, `OPENAI_EMBEDDING_MODEL`, `TRELLIS_API_HOST`, `TRELLIS_API_PORT`, `TRELLIS_ARCADEDB_DATABASE`, `TRELLIS_ARCADEDB_HTTP_URL` + 15 more. Add them (with a placeholder/comment) to .…
config drift
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 315 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 2 occurrences Docker base image is tag-pinned but not digest-pinned: python:3.12-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
lines 13, 35
Dockerfile:13, 35 (2 hits)
containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
actions/checkout@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/claude.yml:29 CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 11 places
Functions with the same first-5-line body hash: examples/custom_extractor.py:extract, src/trellis_workers/extract/query_pattern_observer.py:extract, src/trellis_workers/extract/openlineage.py:extract, src/trellis_workers/extract/dbt_manifest.py:extract This is *the* AI-coder failure mode (4× more …
duplicatesduplication
low System graph quality Integrity conf 1.00 13 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: eval/_smoke/github_loader_smoke.py:main, eval/_smoke/dbt_loader_smoke.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: eval/scenarios/_telemetry.py:embed_query, eval/scenarios/program_convergence_real_llm/scenario.py:embed_query, eval/scenarios/agent_loop_convergence_real_llm/scenario.py:embed_query This is *the* AI-coder failure mode (4× more duplication in vibe-cod…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: examples/custom_classifier.py:classify, src/trellis/classify/protocol.py:classify, src/trellis/classify/classifiers/llm.py:classify, src/trellis/classify/classifiers/llm.py:classify_async This is *the* AI-coder failure mode (4× more duplication in vi…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 7 places
Functions with the same first-5-line body hash: eval/scenarios/program_convergence_real_llm/scenario.py:run, eval/scenarios/github_corpus_convergence/scenario.py:run, eval/scenarios/agent_loop_convergence_real_llm/scenario.py:run, eval/scenarios/agent_loop_convergence_degraded/scenario.py:run This…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 8 places
Functions with the same first-5-line body hash: eval/scenarios/_strategies.py:search, src/trellis/stores/base/document.py:search, src/trellis/stores/postgres/document.py:search, src/trellis/stores/sqlite/document.py:search This is *the* AI-coder failure mode (4× more duplication in vibe-coded repo…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_migrate_to_v2` in src/trellis/stores/sqlite/graph.py:68
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `deploy_staging_v2` in tests/unit/extract/test_trace.py:86
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `list_objects_v2` in src/trellis/stores/s3/blob.py:139
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `list_objects_v2` in tests/unit/stores/contracts/test_s3_blob_contract.py:17
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in eval/corpora/dbt_loader.py:216
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in eval/scenarios/_strategies.py:67
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/classify/refresh.py:134
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/retrieve/effectiveness.py:814
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/retrieve/pack_builder.py:664
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/retrieve/rerankers/mmr.py:149
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/retrieve/rerankers/rrf.py:102
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/trellis/stores/advisory_store.py:110
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/unit/mutate/test_property_invariants.py:199
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/unit/retrieve/test_pack_builder.py:227
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/unit/stores/contracts/trace_store_contract.py:137
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/unit/stores/test_advisory_store.py:123
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `obs_old` in tests/unit/retrieve/test_observation_strategy.py:251
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `orders_v1` in tests/unit/stores/test_temporal_graph.py:322
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `props_v1` in eval/arcadedb_spike.py:249
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_since_filter_excludes_old` in tests/unit/cli/test_extract_traces.py:121
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: authenticate_optional
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/trellis_api/auth.py:205
low System graph software Dead code conf 1.00 3 occurrences Possibly dead Python function: embed_query
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
3 files, 3 locations
eval/scenarios/_telemetry.py:68
eval/scenarios/agent_loop_convergence_real_llm/scenario.py:417
eval/scenarios/program_convergence_real_llm/scenario.py:346
low System graph software Dead code conf 1.00 Possibly dead Python function: hook
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/program_convergence_real_llm/scenario.py:386
low System graph software Dead code conf 1.00 Possibly dead Python function: test_cli_list_proposals_surfaces_the_proposal_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/proposal_generation.py:354
low System graph software Dead code conf 1.00 Possibly dead Python function: test_cli_show_proposal_returns_markdown_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/proposal_generation.py:371
low System graph software Dead code conf 1.00 Possibly dead Python function: test_confidence_threshold_filters_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/observation_retrieval.py:329
low System graph software Dead code conf 1.00 3 occurrences Possibly dead Python function: test_cross_backend_equivalence
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
3 files, 3 locations
eval/scenarios/meta_trace_round_trip.py:318
eval/scenarios/observation_retrieval.py:341
eval/scenarios/proposal_generation.py:398
low System graph software Dead code conf 1.00 Possibly dead Python function: test_default_filter_excludes_meta_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/meta_trace_round_trip.py:265
low System graph software Dead code conf 1.00 Possibly dead Python function: test_first_run_emits_exactly_one_proposal_drafted_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/proposal_generation.py:271
low System graph software Dead code conf 1.00 Possibly dead Python function: test_first_run_returns_one_proposal_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/proposal_generation.py:253
low System graph software Dead code conf 1.00 Possibly dead Python function: test_freshness_orders_pack_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/observation_retrieval.py:317
low System graph software Dead code conf 1.00 Possibly dead Python function: test_meta_activity_present_in_graph_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/meta_trace_round_trip.py:248
low System graph software Dead code conf 1.00 Possibly dead Python function: test_observations_surface_in_pack_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/observation_retrieval.py:299
low System graph software Dead code conf 1.00 Possibly dead Python function: test_opt_in_includes_meta_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/meta_trace_round_trip.py:282
low System graph software Dead code conf 1.00 Possibly dead Python function: test_pack_assembled_event_records_meta_filtered_count_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/meta_trace_round_trip.py:292
low System graph software Dead code conf 1.00 Possibly dead Python function: test_recommendation_changes_under_threshold_swap
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/parameter_registry_passthrough.py:201
low System graph software Dead code conf 1.00 Possibly dead Python function: test_recommendation_is_stable_under_repeated_run
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/parameter_registry_passthrough.py:245
low System graph software Dead code conf 1.00 Possibly dead Python function: test_rerun_emits_zero_new_drafted_sqlite
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/scenarios/proposal_generation.py:280
low System graph software Dead code conf 1.00 Possibly dead Python function: visit_ExceptHandler
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/audit_silent_fallbacks.py:155
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /api/v1/policies/{policy_id}
`src/trellis_api/routes/policies.py` declares `DELETE /api/v1/policies/{policy_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /
`src/trellis_api/app.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/advisories
`src/trellis_api/routes/admin.py` declares `GET /api/v1/advisories` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/code-proposals
`src/trellis_api/routes/admin.py` declares `GET /api/v1/code-proposals` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/effectiveness
`src/trellis_api/routes/admin.py` declares `GET /api/v1/effectiveness` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/health
`src/trellis_api/routes/admin.py` declares `GET /api/v1/health` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/learning/candidates
`src/trellis_api/routes/admin.py` declares `GET /api/v1/learning/candidates` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/measurements
`src/trellis_api/routes/observations.py` declares `GET /api/v1/measurements` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/metrics/timeseries
`src/trellis_api/routes/admin.py` declares `GET /api/v1/metrics/timeseries` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/observations
`src/trellis_api/routes/observations.py` declares `GET /api/v1/observations` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/policies
`src/trellis_api/routes/policies.py` declares `GET /api/v1/policies` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/policies/{policy_id}
`src/trellis_api/routes/policies.py` declares `GET /api/v1/policies/{policy_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/proposals
`src/trellis_api/routes/admin.py` declares `GET /api/v1/proposals` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/proposals/{proposal_id}/preview
`src/trellis_api/routes/admin.py` declares `GET /api/v1/proposals/{proposal_id}/preview` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/schema-evolution/candidates
`src/trellis_api/routes/admin.py` declares `GET /api/v1/schema-evolution/candidates` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/v1/stats
`src/trellis_api/routes/admin.py` declares `GET /api/v1/stats` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api/version
`src/trellis_api/routes/version.py` declares `GET /api/version` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /entities/{entity_id:path}
`src/trellis_api/routes/retrieve.py` declares `GET /entities/{entity_id:path}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /graph/search
`src/trellis_api/routes/retrieve.py` declares `GET /graph/search` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /precedents
`src/trellis_api/routes/retrieve.py` declares `GET /precedents` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /search
`src/trellis_api/routes/retrieve.py` declares `GET /search` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /traces
`src/trellis_api/routes/retrieve.py` declares `GET /traces` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /traces/{trace_id}
`src/trellis_api/routes/retrieve.py` declares `GET /traces/{trace_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/advisories/generate
`src/trellis_api/routes/admin.py` declares `POST /api/v1/advisories/generate` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/commands/batch
`src/trellis_api/routes/mutations.py` declares `POST /api/v1/commands/batch` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/documents
`src/trellis_api/routes/curate.py` declares `POST /api/v1/documents` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/effectiveness/apply-noise-tags
`src/trellis_api/routes/admin.py` declares `POST /api/v1/effectiveness/apply-noise-tags` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/entities
`src/trellis_api/routes/curate.py` declares `POST /api/v1/entities` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/evidence
`src/trellis_api/routes/ingest.py` declares `POST /api/v1/evidence` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/extract/drafts
`src/trellis_api/routes/extract.py` declares `POST /api/v1/extract/drafts` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/feedback
`src/trellis_api/routes/curate.py` declares `POST /api/v1/feedback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/ingest/bulk
`src/trellis_api/routes/ingest.py` declares `POST /api/v1/ingest/bulk` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/learning/promotions
`src/trellis_api/routes/admin.py` declares `POST /api/v1/learning/promotions` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/links
`src/trellis_api/routes/curate.py` declares `POST /api/v1/links` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/measurements
`src/trellis_api/routes/observations.py` declares `POST /api/v1/measurements` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/observations
`src/trellis_api/routes/observations.py` declares `POST /api/v1/observations` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/packs/{pack_id}/feedback
`src/trellis_api/routes/curate.py` declares `POST /api/v1/packs/{pack_id}/feedback` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consume…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/policies
`src/trellis_api/routes/policies.py` declares `POST /api/v1/policies` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/precedents
`src/trellis_api/routes/curate.py` declares `POST /api/v1/precedents` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/proposals/{proposal_id}/promote
`src/trellis_api/routes/admin.py` declares `POST /api/v1/proposals/{proposal_id}/promote` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/proposals/{proposal_id}/reject
`src/trellis_api/routes/admin.py` declares `POST /api/v1/proposals/{proposal_id}/reject` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/schema-evolution/{candidate_id}/draft-adr
`src/trellis_api/routes/admin.py` declares `POST /api/v1/schema-evolution/{candidate_id}/draft-adr` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documen…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/traces
`src/trellis_api/routes/ingest.py` declares `POST /api/v1/traces` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/vectors
`src/trellis_api/routes/ingest.py` declares `POST /api/v1/vectors` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /api/v1/vectors/reset
`src/trellis_api/routes/admin.py` declares `POST /api/v1/vectors/reset` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /packs
`src/trellis_api/routes/retrieve.py` declares `POST /packs` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: eval/scenarios/program_convergence/scenario.py (1380 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/mcp/server.py (1846 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/retrieve/pack_builder.py (1398 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/stores/bolt_opencypher/graph.py (1493 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/stores/postgres/graph.py (1498 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/stores/registry.py (2115 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis/stores/sqlite/graph.py (1542 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis_cli/admin.py (2190 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis_cli/analyze.py (1759 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/trellis_cli/demo.py (1432 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/unit/retrieve/test_effectiveness.py (1480 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/unit/retrieve/test_pack_builder.py (1665 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/3268e804-8d92-476d-b0e1-d5348861a80d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/3268e804-8d92-476d-b0e1-d5348861a80d/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.