dd12736bc7
chore(todo): full oppdatering NOW/NEXT/DONE 2026-05-25
2026-05-25 11:18:54 +00:00
c93bc3d2eb
chore(state): oppdater .gdrive-mirror-state SHA=aeafcf2
2026-05-25 11:11:13 +00:00
aeafcf27f2
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T11:11 UTC [HEAD d3daa49]
2026-05-25 11:11:12 +00:00
d3daa49cfa
fix(scripts): restore execute permissions
2026-05-25 11:11:04 +00:00
0d22edbd0b
fix(sessions): fjern parenteser fra YAML-frontmatter 2026-05-25
...
Updated session log for GDrive/GitHub mirror sync, fixing bugs and enhancing features. Added new tasks and decisions for future phases.
2026-05-25 13:09:34 +02:00
b0fc2af648
docs(sessions): oppdater 2026-05-25 med YAML session-close format
2026-05-25 13:02:38 +02:00
ac04f76784
docs(sessions): oppdater index.md med sesjon 2026-05-25
2026-05-25 12:59:53 +02:00
54bcd7924a
docs(sessions): sesjonslogg 2026-05-25 GDrive/GitHub mirror sync
...
Added session log for GDrive/GitHub mirror sync detailing objectives, completed tasks, and unresolved issues.
2026-05-25 12:58:57 +02:00
d9f300d9ea
fix(boot): opax-logg-slutt auto-commit+push sesjonslogg til GitHub
...
Add auto-commit and push for session log to GitHub if changes exist.
2026-05-25 12:57:27 +02:00
1dd47b0f9a
chore(state): oppdater .gdrive-mirror-state SHA=6a5d53c
2026-05-25 10:49:19 +00:00
6a5d53ccb0
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T10:49 UTC [HEAD 5886d01]
2026-05-25 10:49:18 +00:00
5886d019de
chore(state): oppdater .gdrive-mirror-state SHA=bb31edc
2026-05-25 10:48:19 +00:00
bb31edc78a
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T10:48 UTC [HEAD f08eea2]
2026-05-25 10:48:18 +00:00
f08eea2d9f
fix(scripts): skriv state-fil ETTER push — PS1 gul-fix
2026-05-25 12:46:31 +02:00
1b62122cc0
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T10:36 UTC [HEAD a16d1da]
2026-05-25 10:36:25 +00:00
a16d1dabfd
fix(boot): PS1 bruker kun lokal SHA (ikke remote) + legg til ls alias
2026-05-25 12:35:05 +02:00
9cebc3a95e
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T10:31 UTC [HEAD 98dec05]
2026-05-25 10:31:16 +00:00
98dec052ad
feat(boot): farget PS1-prompt med OSVauco-statusindikator
2026-05-25 12:29:04 +02:00
47585e248c
fix(boot): bruk /health endepunkt for OPAX ping-sjekk (ikke /ping)
2026-05-25 12:23:48 +02:00
aa0ff9f974
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T09:58 UTC [HEAD c733eea]
2026-05-25 09:58:59 +00:00
c733eea613
fix(workflow): fjern push-trigger — kjør kun schedule (03:00 UTC) + workflow_dispatch
2026-05-25 11:45:23 +02:00
1cea31d50c
fix(boot): rename opax-logg-slutt() til opax_logg_slutt() — bindestrek i funksjonsnavn ugyldig i -bash (Cloud Shell)
2026-05-25 11:43:06 +02:00
c4c3d72b3e
chore(docs): sync GDRIVE_MIRROR_BOOT 2026-05-25T09:40 UTC [HEAD 5728024]
2026-05-25 09:40:06 +00:00
5728024b21
feat(gdrive-mirror): GDrive/GitHub paritet, backup, PROMPT_COMMAND logging ( #1 )
...
- GDRIVE_MIRROR_BOOT.md med staleness-varsel (12t terskel) og connector-prioritet
- sync-gdrive-mirror.sh: auto-tidsstempel, prosjektindeks, .gdrive-mirror-state
- osvauco-opax-boot.sh: alias auto-inject ~/.bashrc, GitHub vs lokal HEAD, PROMPT_COMMAND terminal-logging
- opax-logg-slutt.sh standalone
- .github/workflows/backup-gdrive-nightly.yml: nattlig git bundle + nøkkelfiler til GDrive
- docs/GDRIVE_SETUP.md: ett-gangs oppsett-guide for rclone + IAM
- docs/TODO.md: IAM/secrets-oppsett + gemini TUI-logging som neste oppgaver
2026-05-25 11:39:28 +02:00
25e36de810
session(2026-05-24): operator suite heavy lifts, RAG graceful degrade, docs hardening, RAG secondary project plan
2026-05-24 20:32:29 +02:00
e53503289a
fix(boot): load nvm before launching gemini so PATH is correct in script subshell
2026-05-24 19:33:34 +02:00
68ac4fde35
fix(rag): correct corpus payload to vectorDbConfig.ragManagedDb; verify engine config actually switched before creating
...
- RagCorpus REST body uses vectorDbConfig.ragManagedDb (not ragManagedDbConfig)
- RagManagedDb has no tier field - empty object {} = serverless
- Add GET+verify step after PATCH to confirm spanner key is gone before proceeding
- Print actual engine config state so failures are immediately visible
2026-05-24 19:26:10 +02:00
db3807bff9
fix(rag): use ragManagedDbConfig.basic in corpus body; fix engine config PATCH with scaled→basic switch
...
The v1beta1 API uses ragManagedDbConfig (not vectorDbConfig) on the RagCorpus
resource itself. Omitting it causes the engine to default to Spanner. Also the
engine config PATCH must use {"ragManagedDbConfig":{"basic":{}}} with the
correct field name matching v1beta1 schema.
2026-05-24 19:23:30 +02:00
2838534296
fix(rag): always patch ragEngineConfig in us-central1; drop vectorDbConfig from corpus creation
...
Two root causes fixed:
1. ragEngineConfig is a project-level control-plane endpoint that only exists in
us-central1. Patching it against europe-west1 (or any other region) returns
'Invalid endpoint name'. We now always use us-central1 for the config PATCH
regardless of RAG_LOCATION.
2. Including vectorDbConfig.ragManagedDb in the corpus creation payload explicitly
requests Spanner mode, which is allowlist-restricted for new projects. Omitting
vectorDbConfig entirely lets the engine honour the project-level 'basic' config
and use serverless mode — the correct approach per Google docs."
2026-05-24 19:19:12 +02:00
abebb72653
docs: session log 2026-05-24 RAG corpus setup debugging
2026-05-24 19:13:43 +02:00
a2790be421
fix: create corpus via REST API directly, bypassing SDK backend_config bug
...
SDK 1.153.1 always defaults to Spanner when backend_config is omitted,
and crashes when it's provided. Use REST POST directly with
vectorDbConfig.ragManagedDb set to force serverless.
2026-05-24 19:11:25 +02:00
2beb6a359d
fix: drop backend_config from create_corpus — rely on pre-flight PATCH alone
...
SDK 1.153.1 has a bug in set_backend_config where it calls .CopyFrom()
on RagManagedDb which is not a real protobuf message.
The project-level ragEngineConfig PATCH already sets basic tier,
so passing backend_config is unnecessary and breaks corpus creation.
2026-05-24 19:04:31 +02:00
46b3c52607
fix: RagManagedDb() takes no arguments in SDK 1.153.1
2026-05-24 19:02:43 +02:00
582967a994
fix: use vector_db=RagManagedDb(tier=1) — correct field names for SDK 1.153.1
...
RagVectorDbConfig takes vector_db= not rag_managed_db=.
The db type is RagManagedDb, not RagManagedDbConfig.
2026-05-24 18:58:00 +02:00
ad8597f434
fix: use tier=1 int instead of RagManagedDbConfig.Tier.BASIC enum
...
The Tier enum is not available in the installed SDK version.
Use integer value 1 (BASIC) directly instead.
2026-05-24 18:44:22 +02:00
814dd89ca6
fix: explicitly set serverless RAG backend + improve error handling
...
- Pass RagVectorDbConfig with RagManagedDbConfig basic tier explicitly
to avoid Spanner allowlist errors on new projects
- Add pre-flight ensure_serverless_engine_config() via REST PATCH
- Cleaner error messages with actionable hints
- Idempotent: skips creation if corpus already exists
2026-05-24 18:11:27 +02:00
d0512f5ced
chore: add base Docker image to speed up deploys
...
- Add agents/core-logic/Dockerfile.base with heavy deps pre-baked
- Update agents/core-logic/Dockerfile to build FROM base image
- Update cloudbuild.yaml with step to build/push base (manual only)
- Typical deploy time reduction: ~3 min → ~30 sec
2026-05-24 17:04:42 +02:00
1cba5166db
fix: ADK 1.x Runner pattern + gemini-3.5-flash for A+ reasoning
2026-05-24 16:44:04 +02:00
497509370e
feat: add A/A+ mode routing to agent.py (OPAX)
2026-05-24 16:34:34 +02:00
60c7aff04d
fix: remove backend_config — Serverless is default in us-central1
2026-05-24 16:15:32 +02:00
a5fd5f58e8
fix: switch RAG corpus to Serverless mode (RagManagedDb) in us-central1
2026-05-24 16:13:24 +02:00
09dcb4d1a2
feat: OPAX heavy mode + LLM-ruting oppdatert + RAG serverless fix\n\n- MASTERPLAN.md: ny LLM-RUTINGSSTRATEGI-seksjon med OPAX Heavy Mode\n- masterplan-summary.md: oppdatert med heavy mode-referanser\n- setup_corpus.py: fjernet backend_config (Serverless mode, ingen Spanner)\n- sesjon-logg: 2026-05-24_opax-heavy-mode-llm-ruting-rag.md
2026-05-24 14:07:26 +00:00
0248081b83
fix: agent.py — bruk riktig import-path for VertexAiRagRetrieval (ADK 1.x)
2026-05-24 15:12:08 +02:00
250c150d73
feat: 12-rag-integration.sh — koble RAG corpus til Cloud Run agent via Secret Manager
2026-05-24 15:06:28 +02:00
021c84756a
fix: 07-rag-setup.sh — serialiser import-jobber (RAG tillater kun 1 aktiv op om gangen)
2026-05-24 14:44:03 +02:00
b242a0f864
fix: 07-rag-setup.sh — riktig import-endepunkt /ragFiles:import (ikke :importRagFiles)
2026-05-24 14:41:08 +02:00
d20a7d5878
fix: 07-rag-setup.sh — bruk project-number (ikke project-ID) i importRagFiles URL
2026-05-24 14:31:42 +02:00
300ebddd6d
fix: 07-rag-setup.sh — rett import-URL (CORPUS_NAME er full ressurssti, ikke relativ)
2026-05-24 14:26:56 +02:00
06767f8806
feat: 07-rag-setup.sh — upload alle docs/*.md + corpus-seed/*.md til GCS automatisk
2026-05-24 14:24:00 +02:00
b2323fe476
docs: seed corpus med sesjon-logger, MASTERPLAN og dialogflow-plan — agenten lærer hele reisen
2026-05-24 14:21:44 +02:00