Go to file
chrischristiansen-glitch 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
.gemini docs: OX2 done — OPAX unified cockpit live · 2026-06-10 2026-06-10 18:17:00 +00:00
.github fix(K3): remove deleted MASTERPLAN.md ref from nightly GDrive backup 2026-06-09 17:37:12 +00:00
.vscode feat: osv-startup.ps1 + .vscode/settings.json — auto-unblock, purple/green only palette, clean prompt [Phase 4] 2026-05-22 03:09:36 +02:00
agents fix(docker): start main:app fra /app — ikke agents/core-logic 2026-06-13 16:40:14 +02:00
architecture feat: push all remaining files — agents/, docs/, architecture/, cloudbuild.yaml, README 2026-05-23 02:37:39 +02:00
auth feat(auth): add OAuth2 client flow + token store for GCP client onboarding 2026-05-27 20:01:21 +02:00
data docs: marker C2 komplett, legg til C4.2 auth-gate 2026-05-27 15:38:25 +00:00
dialogflow feat(b6): export Dialogflow CX agents to version control 2026-05-26 04:29:05 +00:00
docs Revise HANDOFF document for phase 2 updates 2026-06-13 17:22:45 +02:00
infrastructure feat(billing): split credits by type (INFRA/VERTEX/DIALOGFLOW), add discover_credits(), NOK support 2026-06-13 07:26:39 +02:00
master_hub feat(ts3): Master Hub v3.2 theme-switcher + docs(bq): Looker Studio setup 2026-05-26 11:54:54 +00:00
ml feat(billing): credit_pools array in get_credits_status 2026-06-13 07:48:46 +02:00
opax-mcp fix: restore executable bit on new scripts 2026-05-26 13:40:07 +00:00
protocols chore: update repo references after transfer to vauco-saas 2026-05-27 19:13:54 +00:00
scripts fix: google-cloud-build + caller_type BQ migration + OAuth state cookie 2026-06-13 08:55:04 +02:00
static fix(opax): Fix 4 — Browser → Docs Browser, marked.js render, default MASTERPLAN.md 2026-06-13 15:56:13 +02:00
.env.example feat: Cloud Billing API, FCM push, OAuth, AWS billing, historikk, eksport, PWA 2026-05-30 01:20:21 +00:00
.env.prefilled chore: update repo references after transfer to vauco-saas 2026-05-27 19:13:54 +00:00
.gdrive-mirror-state chore(state): oppdater .gdrive-mirror-state SHA=598e47a 2026-05-26 03:02:09 +00:00
.geminiignore chore(docs): konsolider MASTERPLAN/ROADMAP/HANDOFF til én sannhet (#5) 2026-05-31 17:57:13 +02:00
.gitignore chore(docs): konsolider MASTERPLAN/ROADMAP/HANDOFF til én sannhet (#5) 2026-05-31 17:57:13 +02:00
.python-version fix(deploy): bruk Python 3.13, pin litellm>=1.67 for 3.13-støtte 2026-05-26 00:44:35 +02:00
AGENTS.md chore(session): handoff + roadmap + agents disclaimer — sesjon 2026-06-10 kveld 2026-06-10 22:35:10 +02:00
CLAUDE.md fix: strengthen boot prompt to force file reading in both GEMINI.md and CLAUDE.md 2026-05-31 19:57:36 +02:00
cloudbuild.base.yaml docs: clarify cloudbuild.base.yaml is reference template only 2026-05-26 04:31:44 +00:00
cloudbuild.yaml fix(cloudbuild): fix webhook notify step line break + correct smoke-test URL 2026-06-10 22:27:50 +02:00
CNAME feat(cg3): migrate costguard to github pages (docs/) 2026-05-27 18:53:07 +00:00
dev-startup.sh Skip auth steps if already authenticated 2026-05-29 23:40:07 +02:00
main.py feat(terminal+vm): POST /terminal/exec whitelist + GET /vm/ssh-key 2026-06-13 17:15:22 +02:00
opax.sh auto: sync 2026-05-30 19:44:04 +00:00
README.md feat: Cloud Billing API, FCM push, OAuth, AWS billing, historikk, eksport, PWA 2026-05-30 01:20:21 +00:00
requirements.txt fix: google-cloud-build + caller_type BQ migration + OAuth state cookie 2026-06-13 08:55:04 +02:00

OSVauco — GCP Agent Master Repo

Prosjekt: propane-will-491900-m5 | Region: us-central1

Status

Komponent Status
Cloud Run Agent Live
Service URL https://osvauco-agent-357036551735.us-central1.run.app
CI/CD Trigger Auto-deploy ved push til main
ADK Versjon 1.x (google-adk>=1.0.0,<2.0.0)
Siste revisjon osvauco-agent-00006-mvb

Hurtigtest

TOKEN=$(gcloud auth print-identity-token)
curl -s -X POST -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"chris","session_id":"test-1","message":"Hei, hvem er du?"}' \
  https://osvauco-agent-357036551735.us-central1.run.app/run | jq

Repo-struktur

├── agents/
│   └── core-logic/        # Live agent: app.py (FastAPI + ADK Runner)
├── infrastructure/
│   ├── 01-setupenv.sh     # ✅ Ferdig
│   ├── 05-cloudrun-deploy.sh  # ✅ Ferdig
│   ├── 06-cicd-setup.sh   # ✅ Ferdig
│   ├── 07-rag-setup.sh    # ⏳ Neste
│   └── 08-memorybank-setup.sh # ⏳ Planlagt
├── docs/
├── scripts/
├── cloudbuild.yaml        # CI/CD pipeline
└── .env.example

Service Account roller (osvauco-agent-sa)

Rolle Formål
roles/aiplatform.user Vertex AI / Gemini
roles/secretmanager.secretAccessor Secrets
roles/logging.logWriter Logging
roles/cloudtrace.agent Tracing
roles/monitoring.metricWriter Monitoring
roles/run.invoker Cloud Run kall
roles/iam.serviceAccountUser Deploy
roles/artifactregistry.writer Docker push
roles/run.developer Cloud Run deploy

Cloud Scheduler for Daglig Fakturering

For å automatisk generere daglige kostnads-snapshots, må en Cloud Scheduler-jobb konfigureres til å kalle /billing/snapshot-endepunktet.

Oppsett med gcloud:

  1. Service URL: https://osvauco-agent-357036551735.us-central1.run.app
  2. Service Account: osvauco-agent-sa@propane-will-491900-m5.iam.gserviceaccount.com
gcloud scheduler jobs create http daily-billing-snapshot \
  --schedule="0 5 * * *" \
  --uri="https://osvauco-agent-357036551735.us-central1.run.app/billing/snapshot" \
  --http-method=POST \
  --oidc-service-account-email="osvauco-agent-sa@propane-will-491900-m5.iam.gserviceaccount.com" \
  --oidc-token-audience="https://osvauco-agent-357036551735.us-central1.run.app" \
  --location="us-central1" \
  --time-zone="Etc/UTC" \
  --description="Kaller /billing/snapshot for å lagre daglig kostnadsdata."

Denne kommandoen oppretter en jobb som kjører hver dag kl. 05:00 UTC.