Commit Graph

628 Commits

Author SHA1 Message Date
2950542c29 fix(startup): move BQ table init to lifespan event — fixes Cloud Run startup probe timeout 2026-06-23 11:01:24 +00:00
ee50f8318e feat(agent): initial implementation of OPAX agent
Adds the core logic for the OPAX agent, including the main agent file, a deployment script, and an MCP client. This provides the foundation for the new agent-based architecture.
2026-06-23 09:51:32 +00:00
3355b01aa1 fix: add credentials:include to all fetch calls for IAP auth 2026-06-19 21:16:02 +00:00
c903eb5452 chore(session): logg 20260619-194016 — (ingen notat) 2026-06-19 19:41:31 +00:00
240caec499 fix(frontend): legg til dispatchEvent for input i suggest() 2026-06-19 16:49:23 +00:00
5333d31d39 fix(opax-mcp): korrekt IAP client ID (l ikke 1 i default) 2026-06-19 15:31:49 +00:00
b84b18a3df fix(opax-mcp): rett typo i IAP_CLIENT_ID default (l→1) 2026-06-19 15:20:11 +00:00
a7bd0da2cc chore(session): logg 20260618-140233 — (ingen notat) 2026-06-18 14:02:54 +00:00
6b8e1d9fd7 docs: LEARNING-016 + IAP backend note + handoff oppdatert
- DNS-OG-INFRASTRUKTUR.md: jason-vauger SA lagt til IAP, korrekt routing
- LEARNINGS.md: LEARNING-016 opax.vauco.no backend-routing
- HANDOFF.md: neste oppgave verifiser full agent-loop
2026-06-17 17:59:23 +00:00
692ac6dec4 fix(opax-mcp): correct IAP client ID for opax.vauco.no
Previous client ID was wrong (ka7t2fv9...). Correct ID from
Location redirect header is kq8nt71d38hfqlcfb3n52ef7ala4meo.
2026-06-17 17:11:41 +00:00
eb351b5e85 fix(opax-mcp): add IAP identity token auth for opax.vauco.no calls
Add _iap_token() that fetches identity token from GCP metadata server
using IAP client ID as audience. Update _opax_get and _opax_post to
send Authorization: Bearer <token> header on all calls to opax.vauco.no.

Fixes 401 Unauthorized from IAP-protected opax.vauco.no backend.
Related: LEARNING-013
2026-06-17 16:57:54 +00:00
afabe8d2a9 fix: inline opax_mcp_client 2026-06-15 19:33:39 +00:00
c935841011 chore: Gitea er no primær remote 2026-06-15 18:12:45 +00:00
bfd4d37f6e fix(jason): kopier opax_mcp_client inn i core-logic, redeploy med tools 2026-06-15 20:08:39 +02:00
cabf895b20 feat(opax-mcp): byt GitHub API → Gitea API, legg til /billing/tokens/by-module + /build-status + /onboard/customers + /run 2026-06-15 19:58:03 +02:00
11720267c2 docs(handoff): GitHub fasa ut — Gitea er no primær, token i Secret Manager 2026-06-15 19:47:46 +02:00
50c1256723 docs(handoff): komplett handoff 2026-06-15 — Jason live, Gitea oppe, opax-mcp tilkobla 2026-06-15 19:28:52 +02:00
5d137c1be7 fix(deploy_agent): rett import til vertexai.agent_engines (SDK 1.157.0) 2026-06-15 18:41:12 +02:00
e96e9329d5 feat(jason): koble opax-mcp til Jason — opax_mcp_client.py + oppdater mcp_tools.py + jason-vauger.md 2026-06-15 18:33:21 +02:00
7d4b475189 fix(opax-mcp): bruk X-MCP-Secret header — ikkje Authorization (kolliderer med Cloud Run IAM) 2026-06-15 18:23:21 +02:00
27290b2ab6 fix(CI1): opax-mcp — bytt til uvicorn/FastAPI HTTP server, legg til /health 2026-06-15 18:11:47 +02:00
22f7774809 fix(CI1): cloudbuild.mcp.yaml — rett SA til jason-vauger + hardkodet smoke-test URL 2026-06-15 18:00:46 +02:00
03880812ea docs: oppdater HANDOFF + ROADMAP etter CI1-bygg — ingen 3part 2026-06-15 17:44:44 +02:00
2b791452f9 feat(CI1): opax-mcp server — full OPAX tool coverage + Dockerfile + cloudbuild 2026-06-15 17:39:18 +02:00
4f3a802883 feat(CG5-onboard): token-basert invite-system + offentlig onboard-flow 2026-06-15 16:40:14 +02:00
099c1cceab feat(ML-3a/OQ-26): docs/gemma/world.md — Emma Vauger identitet og kontekstpakke 2026-06-15 16:21:36 +02:00
68802353ef feat(ML-3a): POST /emma + EMMA_BACKEND flagg (vertex nå → local VM ved trigger) 2026-06-15 16:15:51 +02:00
ec085a91c9 feat(ML-3a): docs/gemma/world.md + ROADMAP oppdatert med leverte CG5/CG6 2026-06-15 16:01:32 +02:00
7fc4df88e2 feat: onboard.html + fix len(agents) i /run/dag + HANDOFF oppdatert 2026-06-15 07:07:24 +02:00
6367683d81 fix(CG6): loadChannels() matcher /notify/channels API-format (OQ-29) 2026-06-15 06:59:56 +02:00
bf366f89b0 docs: CG4d — prisingskalkulator live 2026-06-15 06:44:41 +02:00
fa2d995fda fix(main): rett async httpx syntaksfeil i build-status + terminal + logs 2026-06-15 06:30:02 +02:00
787edea5f6 chore(handoff): oppdater sesjonsstatus 2026-06-15 — terminal+ssh levert, panel-status frå historikk 2026-06-15 06:06:15 +02:00
0e066d8d13
feat(vm): SSH-nøkkel-knapp + modal i opax.html — GET /vm/ssh-key 2026-06-15 05:20:44 +02:00
afc878b37e
feat(terminal): koble frontend til POST /terminal/exec — ukjente kommandoar via backend
Updated default case to handle command execution via fetch.
2026-06-15 05:11:05 +02:00
64cf2dc1af chore(session): logg 20260615-023212 — (ingen notat) 2026-06-15 02:32:44 +00:00
6887669bfb chore(session): logg 20260615-022424 — (ingen notat) 2026-06-15 02:24:42 +00:00
38596af1d8
Revise HANDOFF.md with updates and fixes
Updated the Handoff document with recent changes, including status updates, critical rules, and fixes related to Dockerfile and backend endpoints.
2026-06-13 18:31:19 +02:00
6d0eeeba56 chore: oppdater gemma/world.md + vm-teardown.sh 2026-06-13 16:27:48 +00:00
3d8caf0cb3 chore: trigger CI/CD redeploy — rollback env-var fix 2026-06-13 16:22:32 +00:00
1e6bc5b815
fix: replace sync httpx.get with async client in build-status + terminal (#17) 2026-06-13 18:00:59 +02:00
95ad4f799a
Revise HANDOFF document for phase 2 updates
Updated the HANDOFF document to reflect the latest status, critical issues, and tasks for the ongoing phase 2. Added details on Dockerfile fixes, panel statuses, and next steps for development.
2026-06-13 17:22:45 +02:00
c7e7b28b68 feat(terminal+vm): POST /terminal/exec whitelist + GET /vm/ssh-key 2026-06-13 17:15:22 +02:00
beb466eab0 fix(docker): start main:app fra /app — ikke agents/core-logic 2026-06-13 16:40:14 +02:00
3cc6a83885 fix(opax): Fix 4 — Browser → Docs Browser, marked.js render, default MASTERPLAN.md 2026-06-13 15:56:13 +02:00
b5c03d4d44 fix(opax): CostGuard — AbortController 10s timeout + /billing/credits?days=30 + fallback (Fix 3) 2026-06-13 15:35:50 +02:00
39f714a621 fix(opax): MD-panel — bytt renderMd() med marked.js (Fix 2) 2026-06-13 15:30:02 +02:00
d25caf114d fix(opax): replace cloudbuild_v1 import with REST API in /opax/build-status 2026-06-13 15:09:22 +02:00
a070768707
docs(handoff): panel-test 2026-06-13, Fase 2-oppdrag, Jason-blokkering dokumentert
Updated the HANDOFF document with the latest sprint status, identified critical issues, and outlined next steps for fixes. Adjusted timestamps and added details on the current system status and environment variables.
2026-06-13 14:47:41 +02:00
8eb3379deb chore(session): logg 20260613-113243 — (ingen notat) 2026-06-13 11:33:01 +00:00