Repository navigation
feat(cli): add secrets, members, sharing, archiving and agent settings - #270
Merged
kalaspuff merged 1 commit intoOct 25, 2026
Merged
Conversation
What the web app or the HTTP API alone did (#266) now has commands, each with --json: `fctl projects secrets` (list, set with the value from stdin or a hidden prompt, remove), `fctl projects members` (list, add, role, remove), `fctl share`/`fctl unshare`, `fctl archive`/`fctl unarchive` with `fctl sessions --archived`, and `fctl projects set --model --effort --instructions[-file] --auto-pull-request --remote-control --connectors`, which `fctl projects show` reports. Looking a session up as project#number finds archived ones too. The docs and llms.txt point at the commands instead of the web app and the API.
kalaspuff
approved these changes
Oct 25, 2026
kalaspuff
approved these changes
Oct 25, 2026
kalaspuff
deleted the
fctl/283-look-into-fixing-the-gaps-here-https-git
branch
October 25, 2026 10:07
This was referenced Oct 25, 2026
The CLI can't set a project's secrets, members or agent settings, nor share or archive sessions
#266
Closed
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.
Summary
The CLI now does what issue #266 lists as web-app-only, each with
--json:fctl projects secretslists a project's secrets,set NAMEtakes the value from stdin or a prompt that hides it (never an argument), andremove NAMEdeletes one.fctl projects memberslists members,add EMAIL [--role]adds someone in the workspace,role PERSON ROLEchanges a role,remove PERSONremoves someone (your own address leaves).fctl share SESSION [EMAIL] [--role viewer|editor|owner]shares a session, or lists who it is shared with;fctl unshare SESSION PERSONtakes a share back.fctl archiveandfctl unarchiveput a session away and bring it back, andfctl sessions --archivedlists archived ones too.fctl projects settakes--model,--effort,--instructionsor--instructions-file,--auto-pull-request,--remote-controland--connectors, andfctl projects showsays what each is set to.The control plane already had all the endpoints, so this changes only the CLI, its client and the docs:
docs/cli.md,docs/agents.md,docs/getting-started.md,docs/api.mdanddocs/llms.txtnow point at these commands instead of the web app or the HTTP API. Looking a session up asproject#numbernow finds archived sessions too, sofctl unarchive my-app#12works. Otherwise the session would only be reachable by its id. One gap the issue didn't list, renaming a project or changing its description or default branch, is now #271.Verified with unit tests (argument parsing, the text
showprints, finding people by address or id, clap's checks of the whole command tree) and end to end againstcargo xtask devwith a second person. Secrets reached a session's sandbox exactly as set: piped values lose only their trailing newline, multi-line values arrive whole, and a typed value isn't echoed. Viewer and editor shares let Grace read, then message. Removing a share, leaving a project, and the server's refusals all showed up as expected: "You cannot give this role", "A project needs at least one owner", and only owners archive.cargo xtask check --quickpasses.Worth confirming
fctl projects secrets …andfctl projects members …sit besidefctl projects repos;fctl share/fctl unshareandfctl archive/fctl unarchiveare top-level verbs likefctl follow/fctl unfollow;--auto-pull-requestand--connectorsfollow the setting's andfctl projects create's names.fctl shareandfctl projects members addgive the editor role unless--rolesays otherwise, as the web app's share dialog and Members tab do. An editor can message the agent, and so can have it hand over the sandbox's secrets and tokens; the help and docs say so.fctl projects secrets setuppercases the name, as the web app's Secrets tab does, and checks it before asking for the value.Fixes #266
fctl session