{"draft":null,"from":260,"to":261,"files":[{"path":"client/src/main.ts","added":9,"removed":0,"diff":"--- a/client/src/main.ts\n+++ b/client/src/main.ts\n@@ -43,6 +43,7 @@\n import { doctor, doctorText, plainError, realProbe, whoami } from \"./doctor.ts\";\n import { runDraftSync, runLand, runSwitch } from \"./drafts.ts\";\n import { runExport } from \"./export.ts\";\n+import { runFlag } from \"./flag-commands.ts\";\n import { runGroup, runGroups } from \"./group-commands.ts\";\n import { runBlame, runWhere, runWho, runWhy } from \"./history.ts\";\n import {\n@@ -598,6 +599,14 @@\n \t\t\t\"What the server does with a held push (abso-core 23). With no word, says which. advise: each collision comes back with a model's pick (keep yours, keep theirs, keep both, or leave it to an agent), how sure it is, and why; the agent still settles. settle: when the model is at least --at sure about every collision, your abso settles it and pushes again by itself, saying so in the message; anything less sure stays held, with the advice. off: held pushes come back as they always have. New projects start on advise. Changing it takes the project owner's key (on staging, the shared token works too). ABSO_AUTOSETTLE=off on a machine makes its abso settle nothing by itself. abso autosettle history lists the held pushes the model advised on, newest first, with what it said and what was then kept; history <id> shows one, with its calls to the model (--json has each request and answer).\",\n \t\trun: runAutosettle,\n \t},\n+\tflag: {\n+\t\tflags: { why: \"string\", project: \"string\", person: \"string\", limit: \"string\" },\n+\t\tusage:\n+\t\t\t'abso flag [list] | abso flag log [--limit N] | abso flag set <flag> <value> --why \"...\" [--project <name> | --person person:<id>] | abso flag unset <flag> --why \"...\" [--project <name> | --person person:<id>]',\n+\t\tabout:\n+\t\t\t\"The server's feature flags: switches flipped while it runs, with no deploy. list shows each flag, the values it takes, its safe default, what it gates, and where it's set. set gives it a value for the whole server, or for one --project or --person; unset takes that value away. Each change says --why, and the server keeps who, when, the old and new value, and why; log shows those changes, newest first. A read takes the person's value, then the project's, then the whole server's, then the safe one. The server decides who may: its admin token, read from ABSO_ADMIN_TOKEN or ~/.abso/admin-token and sent only to a server ABSO_ADMIN_SERVERS names, and an owner's key where the server takes one. An agent does not flip a flag unless a person on the project says so.\",\n+\t\trun: runFlag,\n+\t},\n \tci: {\n \t\tflags: { version: \"string\", revoke: \"boolean\" },\n \t\tusage: \"abso ci [<version>] | abso ci --revoke\","}],"unmatched":[]}