Comprehensive Code Review Remediation (Fixes #2, Fixes #3, Fixes #4, Fixes #5)

- Migrated custom HTTP server to aiohttp.web
- Fixed math bugs in engine.py, temporal.py, layer.py, emissary.py, and llm_processor.py
- Fixed race conditions by adding threading locks in ledger.py
- Added standard python packaging (pyproject.toml)
- Added continuous integration workflows (.github/workflows/ci.yml)
- Removed XSS innerHTML vulnerability from app.py
- Wrapped async calls properly in tests
- Fixed emissaary typo
This commit is contained in:
Antigravity Agent committed 2026-05-25 22:22:29 +00:00
1 parent 6061f5c4e5
commit 06ab1338e8
19 files changed
+1081 -451

No files matched your search

+4 -2
View File
@@ -31,14 +31,16 @@ class TestKAIROSTemporalEngine(unittest.TestCase):
def test_temporalize(self):
"""Test temporalize method works."""
import asyncio
engine = KAIROSTemporalEngine()
result = engine.temporalize(0.1)
result = asyncio.run(engine.temporalize("test phrase"))
self.assertIsNotNone(result)
def test_reset(self):
"""Test reset works."""
import asyncio
engine = KAIROSTemporalEngine()
engine.temporalize(0.1)
asyncio.run(engine.temporalize("test phrase"))
engine.reset()
self.assertEqual(engine.coherence, 1.0)
self.assertEqual(engine.integration_count, 0)