Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/localcode/agent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@

# ── Prompt templates + project-instructions loader ────────────────────────
# Moved to agent/prompts.py during the T0.1-b split. Re-exported here so
# external callers (dev/eval/prompt_variants.py, tests/promptfoo, app.py,
# external callers (app.py,
# tests/test_context_pipeline_e2e.py) that do
# `from localcode.agent import SYSTEM_PROMPT`
# keep working unchanged. See agent/prompts.py for the commented
Expand Down
2 changes: 1 addition & 1 deletion src/localcode/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Palette:
# `textual-ansi` theme set in tui/app.py — see the explanation
# in tui/styles/app.tcss. These hex strings are kept only for
# the rare consumer that imports `C.background` / `C.surface`
# for a non-TUI render (logs / docs / promptfoo screenshots).
# for a non-TUI render (logs / docs screenshots).
# If any user-visible UI is reading these for an actual
# rendered background, that's a bug — route through ANSI instead.
background: str = "#1e1e1e" # legacy, non-rendering
Expand Down
3 changes: 3 additions & 0 deletions tests/test_architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ def test_agent_submodules_declare_all():
# allowlist with a reason than silently let printfs leak into the
# agent loop.
PRINT_ALLOWLIST = {
"launch.py", # UI launcher: prints to the terminal BEFORE the UI runtime starts (no event bus yet)
"ports.py", # UI launcher: prints to the terminal BEFORE the UI runtime starts (no event bus yet)
"server_cmd.py", # UI launcher: prints to the terminal BEFORE the UI runtime starts (no event bus yet)
# CLI entry point: `python -m localcode.errors` emits the
# error-code docs table. Not reachable from the agent loop.
"errors.py",
Expand Down
Loading