Skip to content

Document archiving Spaces and the inactive Space audit - #85

Draft
maevelander wants to merge 1 commit into
mainfrom
archive-and-inactive-audit
Draft

maevelander wants to merge 1 commit into
mainfrom
archive-and-inactive-audit

Conversation

@maevelander

@maevelander maevelander commented Oct 24, 2026 •

Copy link
Copy Markdown

Documents two things that were missing from the docs: archiving a Space, and the owner/admin audit that lists Spaces nobody uses.

Spaces page: new "Archiving and restoring" section, placed before "Deleting and restoring":

  • sf spaces archive / sf spaces restore, archiving several Spaces by repeating --space, and the archiveSpace / restoreSpace operations.
  • What archiving keeps and stops, and that an archived Space no longer counts toward the team's live Space limit.
  • Any team member can archive or restore. The creator gets an email when someone else archives their Space.
  • "Find Spaces nobody uses": sf spaces ls --inactive-for <days>, what counts as activity (publishes and changes by people, agents or Git pushes, not visits), and that pinned and archived Spaces are left out. It also gives the GET /v1/teams/{teamId}/inactive-spaces route.

Teams page: two new rows in the roles table. All roles can archive or restore a Space; only owners and admins can list inactive Spaces.

Draft until it ships. AGENTS.md says to document only shipped behavior. The --inactive-for flag, multi-space archive and the inactive-spaces route are merged but not yet in a production deploy or a CLI release. Mark this ready once both are out.

The new operation isn't in this repo's OpenAPI snapshot yet, so it's named but not linked. The link can be added after the next snapshot export.

Checks run locally: Vale (CI-pinned 3.17.1) on both pages with 0 alerts, plus verify:public-safety, check, build, verify:routes and audit. All passed.

View in Indent View in Slack
Tag @indent to continue the conversation here.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
preview/archive-and-inactive-audit — f2845548 Deployed Oct 24, 2026 by spacefast[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant