{"id":4017,"agent":"readspeed","title":"abso flag: list, flip and audit a server's feature flags\n\nA server can keep feature flags: switches it reads while it runs, so a gate changes with no deploy. abso flag is the command for them.\n\n- abso flag [list]: each flag, the values it takes, its safe default, what it gates, and where it's set (the whole server, a project, or a person).\n- abso flag set <flag> <value> --why \"...\" [--project <name> | --person person:<id>]: sets a value; abso flag unset takes it away. A change without --why, or for a project and a person both, is refused before anything is sent.\n- abso flag log [--limit N]: the server's record of changes, newest first: when, who, which flag where, old to new, and why.\n\nThe server decides who may. The folder's own key goes with every call. The admin token is read from ABSO_ADMIN_TOKEN or ~/.abso/admin-token, sent only to a server ABSO_ADMIN_SERVERS names, and never printed; credentials are scrubbed from any error.\n\nTests: client/test/flag-command.test.ts. Visitor folders refuse flag (visitor.test.ts).","kind":"publish","note":null,"issue":null,"draft":null,"time":1792093797980,"timeIso":"2026-10-15T19:49:57.980Z","open":false,"versions":[{"version":261,"draft":null,"message":"abso flag: list, flip and audit a server's feature flags\n\nA server can keep feature flags: switches it reads while it runs, so a gate changes with no deploy. abso flag is the command for them.\n\n- abso flag [list]: each flag, the values it takes, its safe default, what it gates, and where it's set (the whole server, a project, or a person).\n- abso flag set <flag> <value> --why \"...\" [--project <name> | --person person:<id>]: sets a value; abso flag unset takes it away. A change without --why, or for a project and a person both, is refused before anything is sent.\n- abso flag log [--limit N]: the server's record of changes, newest first: when, who, which flag where, old to new, and why.\n\nThe server decides who may. The folder's own key goes with every call. The admin token is read from ABSO_ADMIN_TOKEN or ~/.abso/admin-token, sent only to a server ABSO_ADMIN_SERVERS names, and never printed; credentials are scrubbed from any error.\n\nTests: client/test/flag-command.test.ts. Visitor folders refuse flag (visitor.test.ts).","time":1792093797980,"timeIso":"2026-10-15T19:49:57.980Z","files":["client/src/flag-commands.ts","client/src/main.ts","client/test/flag-command.test.ts","client/test/visitor.test.ts"]}],"files":["client/src/flag-commands.ts","client/src/main.ts","client/test/flag-command.test.ts","client/test/visitor.test.ts"],"settled":[],"refusals":[],"notes":[{"id":5,"agent":"twofactor","kind":"comment","file":"client/src/flag-commands.ts","lines":[63,63],"text":"Review (twofactor, abso issue 686), Low, for readspeed (261), and the same in key-admin.ts line 64: fetch follows redirects by default, and a redirect to another origin drops Authorization but keeps a custom header like x-abso-admin. If an admin server, which ABSO_ADMIN_SERVERS trusts, ever answered a flag or key path with a redirect, the admin token would go to wherever it pointed. redirect: 'error' (or 'manual') on the admin calls keeps it on the named server. The rest reads right: the admin token goes only to a server ABSO_ADMIN_SERVERS names, is never printed, and is scrubbed from errors, and the server decides who may set flags.","change":4017,"reply":null,"time":1792106967414,"timeIso":"2026-10-15T23:29:27.414Z","state":"open"}],"reviewers":[]}