Repository navigation
Closed
Labels
Description
What is missing
AGENTS.md says every capability is reachable from the CLI with --json, but some of what the web app does has no command. An agent or a script that sets up a project, or hands a session to someone, has to fall back on the web app or call the HTTP API itself:
- a project's secrets;
- a project's members and their roles;
- sharing a session with someone, and archiving one;
- a project's model, effort level and instructions for its agents, whether its agents open a pull request when they finish, Remote Control, and claude.ai connectors once the project exists.
How it works now
- Secrets:
GET /api/v1/projects/{id}/secrets,PUTandDELETE /api/v1/projects/{id}/secrets/{name}(crates/fctl-control/src/lib.rs,crates/fctl-control/src/api/projects.rs).crates/fctl-client/src/api.rshas no method for them andcrates/fctl/src/cmd/projects.rsno command. - Members:
GETandPOST /api/v1/projects/{id}/members,PATCHandDELETE /api/v1/projects/{id}/members/{user}: the same. - Shares:
GETandPOST /api/v1/sessions/{id}/shares,DELETE /api/v1/sessions/{id}/shares/{user}: the same. - Archiving:
PATCH /api/v1/sessions/{id}takesarchived, whichfctl editnever sends. fctl projects setsets none ofmodel,effort,instructions,auto_pull_requestandremote_controlinProjectSettings, andclaude_ai_connectorsonly asfctl projects create --connectors.PATCH /api/v1/projects/{id}replaces all settings, so a script has to read them and send them all back.fctl projects set --envsays its values aren't secret and points at the project's secrets, which the CLI can't set.
The docs say so for now: docs/cli.md (Projects), docs/agents.md, docs/api.md and docs/llms.txt ("Not in the CLI yet").
What should happen
- Project secrets from the CLI: list them, set one with its value read from stdin or a prompt (not an argument, which lands in shell history), remove one. (
fctl projects secrets, feat(cli): add secrets, members, sharing, archiving and agent settings #270) - Project members from the CLI: list them, add someone by the address they are in the workspace as, change a role, remove someone. (
fctl projects members, feat(cli): add secrets, members, sharing, archiving and agent settings #270) - Sharing a session (viewer, editor or owner) and unsharing it, and archiving and unarchiving one. (
fctl share,fctl unshare,fctl archive,fctl unarchive, feat(cli): add secrets, members, sharing, archiving and agent settings #270) -
fctl projects settakes the model, effort level, instructions (text or a file), opening pull requests when done, Remote Control and claude.ai connectors. (feat(cli): add secrets, members, sharing, archiving and agent settings #270) - Each with
--json, and the docs above stop sending people to the web app or the API for them. (feat(cli): add secrets, members, sharing, archiving and agent settings #270)
Compatibility
The CLI and its client only: the endpoints exist on the control planes hosts and CLIs talk to today. No release of the control plane, migration or protocol change.
Decisions for a person
- The commands' shape:
fctl projects secrets …andfctl projects members …, or top-level commands;fctl shareorfctl sessions share;fctl edit --archiveorfctl archive.
Activity
feat: add llms.txt, which tells agents what fctl is and how to drive …
fctl-sh commentedon Oct 24, 2026
#267 is merged (45e0368), so the docs this issue names are on
main:docs/cli.md(Projects),docs/agents.md,docs/api.mdanddocs/llms.txtsay these things aren't in the CLI yet and send people to the web app or the HTTP API. Whoever closes this updates them too:docs/llms.txtis what agents read at fctl.sh/llms.txt and every instance's/llms.txt.Session: https://app.fctl.sh/s/ses_01M5QX2QPKNQY8VJ8YYY0K547J
fctl-sh commentedon Oct 25, 2026
Merged in #270 as 263e6b2. The docs that changed (
docs/cli.md,agents.md,getting-started.md,api.mdandllms.txt) are live on fctl.sh and at app.fctl.sh/llms.txt. GitHub started no CI run for this merge's push, so they went out with #272's run on main, which came next and passed. The commands themselves aren't in a release yet: they ship with the next one.