Repository navigation
Reboot-safe local install, Routes say who may call, operator keys ask first - #136
Merged
Merged
Conversation
… first - weft daemon prepare: before the runtime starts (any service manager, a reboot included) it waits for Docker and brings up the install's database and the object store; the object store's keys live in a Docker volume instead of a host file; systemd stops a crash loop after ten starts in five minutes. - Route and Socket: auth is required with no default; a program that leaves it out fails to build, naming the choices. - weft token mint-operator replaces mint --operator, so assistant permission rules can let scoped tokens through and ask for admin keys. - The CLI ends quietly when whatever reads its output has gone. - Tangle: never reads a secret the user kept back, and never routes around a permission rule or sandbox with a graph or a script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from a user report on a local install (WSL2 + Docker Desktop).
weft daemon preparefirst: it waits for Docker (no deadline, a log line every 30 s) and brings up the install's database and the object store through the sameensure_storesa start uses. The object store's S3 keys moved from a host file bind mount (which broke when Docker started the container before WSL's files were reachable) into theweft-object-store-configvolume. systemd stops a crash loop after 10 starts in 5 minutes;weft daemon startclears it. A stop during prepare stops prepare too.authis required with no default. A program that leaves it out fails to build, with the choices in the message; the runtime refuses a missing one too. Every fixture, doc and Tangle skill now writesauth: "none"where it was implied. The editor asks forauthinstead of saying anyone may call.weft token mint-operatorreplacesweft token mint --operator, and each Tangle copy's permission config asks before it.CHANGELOG has the update steps (add
auth: "none"beforeweft maintenance off). VS Code extension bumped to 0.2.293.Tested locally: everything CI runs,
./setup.shon the branch install, and e2eapi_reply::the_project_answers_at_its_own_address,live_chat::websocket_echoes_with_turn_counter,api_auth::api_keys_and_a_signing_secret_gate_their_routes.