Skip to content
Merged
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 docs/self-evolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Historical verification snapshot: `51be33361422e55e1f2f00c33a0e0f8c56132a91`
(the post-#54 `main` revision, captured before this #55 documentation-only
update). Snapshot date: 2026-09-04.

Current repository test count at this snapshot: **194 unittest cases**.
Current repository test count at this snapshot: **195 unittest cases**.

## Verified surface

Expand Down
1 change: 0 additions & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,6 @@ async def pwa_manifest():
"display": "standalone",
"background_color": "#0d1117",
"theme_color": "#00f0ff",
"icons": [{"src": "/static/icon.png", "sizes": "192x192", "type": "image/png"}]
}


Expand Down
11 changes: 11 additions & 0 deletions tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ def test_missing_provider_fails_honestly_across_rest_stream_and_mcp(self):
)
self.assertEqual(messages, [], session_id)

def test_pwa_manifest_declares_only_served_icons(self):
client = TestClient(server.app)
response = client.get("/manifest.json")
self.assertEqual(response.status_code, 200, response.text)
manifest = response.json()
for icon in manifest.get("icons", []):
icon_response = client.get(icon["src"])
self.assertEqual(icon_response.status_code, 200, icon["src"])
self.assertTrue(icon_response.headers["content-type"].startswith(icon["type"]))
self.assertNotIn("/static/icon.png", json.dumps(manifest))

def test_ollama_initialization_never_prompts_for_a_key(self):
original_config = server._agent._provider_config
original_provider = server._agent.llm_provider
Expand Down
Loading