feat(5): overleveringspakke for eksterne — git archive HEAD + DEPLOY.md
Én zip en mottakende organisasjon deployer uten å klone repoet eller ha konto her. Arkivet er git archive HEAD (tracked files only), som er SAMME tre den målte docker-build-konteksten bruker — og grunnen til at STATE.md/*.local.md/.env ikke kan komme inn: de er gitignorert, ikke filtrert bort av et filter vi må vedlikeholde. DEPLOY.md svarer mottakerens tre første spørsmål: hvem gjør hva (plattform-operatør, bestiller, fagperson), prosessen ende-til-ende, og hvorfor det ikke finnes et chat-grensesnitt. Den navngir også deploy-kravet 4e målte men aldri skrev ned: pakket model_map.json bærer REPLACE-WITH-*, så uten PORTFOLIO_MODEL_MAP starter containeren, svarer på /readiness og feiler hver invocation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SeW1LhH5TtXxKZPe9JkqL1
This commit is contained in:
parent
817bcf130f
commit
a3300ab0f6
5 changed files with 385 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -490,6 +490,21 @@ and `top_k` optional. Unknown fields are refused by name (400), never silently d
|
|||
credential from the environment at call time, so the same image runs hosted (managed identity)
|
||||
and locally (`az login`) without rewiring.
|
||||
|
||||
### Handing it to someone else
|
||||
|
||||
`scripts/make-handover-package.sh` builds one archive a receiving organisation can deploy without
|
||||
cloning this repository or having an account here:
|
||||
|
||||
```bash
|
||||
scripts/make-handover-package.sh # → dist/portfolio-optimiser-foundry-<version>.zip
|
||||
```
|
||||
|
||||
The archive is `git archive HEAD` — tracked files only, which is the same tree the measured docker
|
||||
build context uses, and the reason local-only files cannot enter it. [`DEPLOY.md`](DEPLOY.md) rides
|
||||
along inside it and answers the receiver's first questions: what the three roles do, what the
|
||||
process is end to end, why there is no chat interface, and the two environment variables that decide
|
||||
whether the first deployment works. Gated by `tests/test_handover_package_loadbearing.py`.
|
||||
|
||||
## Docs
|
||||
|
||||
- [Bestille en kjøring](docs/bestille-en-kjoring.md) *(norsk)* — for the domain expert who
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue