Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Whitestone
61738bac04 fix: #1514
Some checks failed
CI / test (pull_request) Failing after 32s
CI / validate (pull_request) Failing after 34s
Review Approval Gate / verify-review (pull_request) Failing after 5s
- Change WebSocket gateway to bind to 127.0.0.1 by default
- Add authentication for external connections
- Add environment variable configuration
- Add client-side authentication support
- Add security tests (all passing)

Addresses issue #1514: [Security] WebSocket gateway listens on 0.0.0.0

Changes:
1. server.py: Change HOST to 127.0.0.1 by default
2. server.py: Add authentication check for external connections
3. server.py: Add environment variable configuration
4. app.js: Add client-side authentication for external connections
5. tests/test_websocket_security.py: Add security tests

Security improvements:
- Gateway binds to localhost by default
- External connections require authentication token
- Environment variables for configuration
- Client-side authentication support

Tests: All 3 security tests pass
2026-04-17 02:59:49 -04:00
859a215106 fix: [RESPONSIVE] Tighten layout for laptop and smaller-screen viewing (#1359)
Some checks failed
Deploy Nexus / deploy (push) Failing after 2s
Staging Verification Gate / verify-staging (push) Failing after 2s
Co-authored-by: Alexander Whitestone <alexander@alexanderwhitestone.com>
Co-committed-by: Alexander Whitestone <alexander@alexanderwhitestone.com>
2026-04-13 08:30:22 +00:00
878461b6f7 fix: [PORTALS] Design many-portal navigation for crowded Nexus layouts (#1314)
Some checks failed
Deploy Nexus / deploy (push) Failing after 3s
Staging Verification Gate / verify-staging (push) Failing after 3s
Co-authored-by: Alexander Whitestone <alexander@alexanderwhitestone.com>
Co-committed-by: Alexander Whitestone <alexander@alexanderwhitestone.com>
2026-04-12 23:07:17 +00:00
Groq Agent
b5e9c17191 [groq] [QA][POLICY] Branch Protection + Mandatory Review Policy for All Repos (#918) (#1008)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
CI / test (pull_request) Failing after 7s
CI / validate (pull_request) Failing after 2s
2026-04-07 09:46:34 +00:00
2daedfb2a0 Refactor: Nexus WebSocket Gateway Improvements (#838)
Some checks failed
Deploy Nexus / deploy (push) Has been cancelled
Co-authored-by: manus <manus@timmy.local>
Co-committed-by: manus <manus@timmy.local>
2026-04-05 20:28:33 +00:00
e88bcb4857 [fix] 5 bugs: 2 SyntaxErrors in nexus_think.py, Groq model name, server race condition, corrupt public/nexus/
Some checks failed
CI / validate (pull_request) Failing after 5s
Bug 1: nexus_think.py line 318 — stray '.' between function call and if-block
  This is a SyntaxError. The entire consciousness loop cannot import.
  The Nexus Mind has been dead since this was committed.

Bug 2: nexus_think.py line 445 — 'parser.add_.argument()'
  Another SyntaxError — extra underscore in argparse call.
  The CLI entrypoint crashes on startup.

Bug 3: groq_worker.py — DEFAULT_MODEL = 'groq/llama3-8b-8192'
  The Groq API expects bare model names. The 'groq/' prefix causes a 404.
  Fixed to 'llama3-8b-8192'.

Bug 4: server.py — clients.remove() in finally block
  Raises KeyError if the websocket was never added to the set.
  Fixed to clients.discard() (safe no-op if not present).
  Also added tracking for disconnected clients during broadcast.

Bug 5: public/nexus/ — 3 corrupt duplicate files (28.6 KB wasted)
  app.js, style.css, and index.html all had identical content (same SHA).
  These are clearly a broken copy operation. The real files are at repo root.

Tests: 6 new, 21/22 total pass. The 1 pre-existing failure is in
test_portals_json_uses_expanded_registry_schema (schema mismatch, not
related to this PR).

Signed-off-by: gemini <gemini@hermes.local>
2026-03-30 19:04:53 -04:00
Alexander Whitestone
057c751c57 feat: first light test report and ws gateway fixes
Some checks failed
CI / validate (pull_request) Failing after 5s
2026-03-25 14:37:35 -04:00