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.

daydreamlive/DEMON

https://github.com/daydreamlive/DEMON · scanned 2026-06-17 01:54 UTC (1 month, 1 week ago)

269 raw signals (0 security + 269 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -26.9 (diff) · 256 actionable findings from 1 signal source. 13 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 49.8/100 with 66.7% coverage. It contains 3461 nodes across 1 cross-layer flows, written primarily in mixed languages. Engine surfaced 269 findings — concentrated in quality (235), software (24), frontend (7). Risk profile is high: 0 critical, 1 high, 13 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 73 of 256 actionable findings. 269 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.

high System graph security Secrets conf 1.00 Runtime dotenv file present in repo: demos/realtime_motion_graph_web/web/.env.development
`demos/realtime_motion_graph_web/web/.env.development` looks like a runtime dotenv file. No high-confidence secret value was matched, but runtime dotenv files often drift into live credentials. Move real values to a secret manager and keep only `.env.example` style templates in source control.
demos/realtime_motion_graph_web/web/.env.development ConfigEnv fileRuntime env
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — demos/realtime_motion_graph_web/web/engine/audio/loadFixture.ts:113
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — demos/realtime_motion_graph_web/web/engine/video/listVideos.ts:5
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .mcp.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.
.mcp.json VerificationMcp config
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: AGENTS.md
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.
AGENTS.md VerificationAgents md
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: packages/demon-client/AGENTS.md
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.
packages/demon-client/AGENTS.md VerificationAgents md
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
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.
Repo hardeningGenerated repo pattern
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 security security conf 1.00 Insecure pattern 'cors_wildcard' in demos/realtime_motion_graph_web/server.py:88
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
demos/realtime_motion_graph_web/server.py:88 Cors wildcard
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — acestep/setup.py:286
`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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/benchmarks/bench_vae_decode_profiles.py:231
`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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/experiments/realtime_input/opt_level_sweep.py:97
`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 security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 12 placeholder/mock markers across 9 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Integrity conf 1.00 16 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ACESTEP_BRIDGE_TRACE`, `ACESTEP_MODELS_DIR`, `ACESTEP_ROOT`, `DEMON_CONTROL_HOST`, `DEMON_CONTROL_PORT`, `DEMON_HOST`, `DEMON_IDLE_PAUSE_S`, `DEMON_LAT_TRACE` + 8 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't br…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 788 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 quality Tests conf 1.00 Low test-to-source ratio
60 tests / 317 src (ratio 0.19).
low System graph quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 12 places
Functions with the same first-5-line body hash: examples/covers/x0_target_from_reference.py:save_audio, examples/covers/prompt_blend.py:save_audio, examples/covers/cover_semantic_blend.py:save_audio, examples/covers/ode_noise_injection.py:save_audio This is *the* AI-coder failure mode (4× more dup…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 15 places
Functions with the same first-5-line body hash: examples/session_demo.py:load_audio, examples/realtime_cover.py:load_audio, examples/session_test_all.py:load_audio, examples/covers/x0_target_from_reference.py:load_audio This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos —…
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: scripts/experiments/realtime_input/batched_encoder_probe.py:main, scripts/experiments/realtime_input/build_windowed_encoder.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Con…
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: acestep/track_assets.py:save_track_metadata, acestep/track_assets.py:write_track_wav, acestep/track_assets.py:read_stem_wavs This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidat…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: examples/text_to_music.py:save_audio, examples/session_demo.py:save_audio, examples/realtime_cover.py:save_audio, examples/text_to_music_trt.py:save_audio This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.h…
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: acestep/nodes/cond_nodes.py:get_definition, acestep/nodes/cond_nodes.py:get_definition, acestep/nodes/cond_nodes.py:get_definition, acestep/nodes/cond_nodes.py:get_definition This is *the* AI-coder failure mode (4× more duplication in vibe-coded repo…
2 occurrences
repo-level (2 hits)
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: acestep/streaming/stems.py:forward, acestep/streaming/stems.py:forward, acestep/streaming/stems.py:forward, acestep/streaming/stems.py:forward This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hy…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `allow_legacy` in acestep/fixtures.py:82
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 `dd_music_midi_map_v1` in demos/realtime_motion_graph_web/web/engine/midi/types.ts:87
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 `device_memory_size_v2` in scripts/benchmarks/bench_vae_decode_profiles.py:16
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 `sOld` in demos/realtime_motion_graph_web/web/public/audio-worklet.js:327
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 `sOld` in packages/demon-client/assets/audio-worklet.js:327
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_sdk_worklet_matches_served_copy` in tests/unit/test_client_sdk.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 `x_old` in scripts/deploy/smoketest_demo.py:55
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: cf_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:355
low System graph software Dead code conf 1.00 Possibly dead Python function: check_batch_size_limit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/gpu_config.py:333
low System graph software Dead code conf 1.00 Possibly dead Python function: check_duration_limit
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/gpu_config.py:303
low System graph software Dead code conf 1.00 Possibly dead Python function: cs_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:347
low System graph software Dead code conf 1.00 Possibly dead Python function: do_GET
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/control_http.py:76
low System graph software Dead code conf 1.00 Possibly dead Python function: do_POST
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/control_http.py:95
low System graph software Dead code conf 1.00 Possibly dead Python function: encode_worker
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:462
low System graph software Dead code conf 1.00 Possibly dead Python function: encode_worker2
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:518
low System graph software Dead code conf 1.00 Possibly dead Python function: ensure_lm_model
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/model_downloader.py:495
low System graph software Dead code conf 1.00 Possibly dead Python function: inject_control
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/ws_adapter.py:1222
low System graph software Dead code conf 1.00 Possibly dead Python function: list_available_models
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/model_downloader.py:276
low System graph software Dead code conf 1.00 Possibly dead Python function: log_message
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/control_http.py:58
low System graph software Dead code conf 1.00 Possibly dead Python function: melband_roformer_model_path
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/paths.py:150
low System graph software Dead code conf 1.00 Possibly dead Python function: node_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:244
low System graph software Dead code conf 1.00 Possibly dead Python function: paced_worker
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:560
low System graph software Dead code conf 1.00 Possibly dead Python function: pair_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:364
low System graph software Dead code conf 1.00 Possibly dead Python function: resident_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:262
low System graph software Dead code conf 1.00 Possibly dead Python function: save_sidecar
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/sidecars.py:229
low System graph software Dead code conf 1.00 Possibly dead Python function: sem_call
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/experiments/realtime_input/encode_probe.py:317
low System graph software Dead code conf 1.00 Possibly dead Python function: send_command
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/headless_client.py:735
low System graph software Dead code conf 1.00 Possibly dead Python function: send_raw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/protocol.py:76
low System graph software Dead code conf 1.00 Possibly dead Python function: snapshot_session
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
demos/realtime_motion_graph_web/ws_adapter.py:1225
low System graph software Dead code conf 1.00 Possibly dead Python function: steering_vector_dir
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
acestep/paths.py:189
low System graph software Dead code conf 1.00 Possibly dead Python function: workload
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/benchmarks/bench_fused_euler.py:356
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — demos/realtime_motion_graph_web/web/hooks/useMidi.ts:342
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — demos/realtime_motion_graph_web/web/hooks/useStartSession.ts:246
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — demos/realtime_motion_graph_web/web/store/usePerformanceStore.ts:648
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — demos/realtime_motion_graph_web/web/tests/e2e/replay.spec.ts:219
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — demos/realtime_motion_graph_web/web/tests/replay/replay.test.ts:418
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — packages/demon-client/audio/AudioPlayer.ts:782
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — packages/demon-client/protocol.ts:889
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph quality Complexity conf 1.00 Very large file: acestep/engine/stream.py (1787 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/engine/trt/build.py (1579 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/engine/trt/export.py (1334 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/engine/trt/fp8_onnx.py (1326 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/models/modeling_acestep_v15_base.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: acestep/models/modeling_acestep_v15_turbo.py (2374 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/models/modeling_acestep_v15_xl_turbo.py (2386 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: acestep/streaming/session.py (2407 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: demos/realtime_motion_graph_web/web/engine/render/GraphRenderer.ts (1492 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: demos/realtime_motion_graph_web/ws_adapter.py (1612 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/0f51ce44-e370-4856-9ef9-82cbb9343574/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/0f51ce44-e370-4856-9ef9-82cbb9343574/

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.