Files
Naiyuan Qing 42f797d7b3 feat(spaces): agent space-context, create-space route, reserved key, creation defaults
- CLI/agent runtime brief: thread Space (id/key/name) through the daemon
  claim → TaskContextForEnv → prompt pipeline; add "## Space Context" and
  --space to the issue create/update command syntax in both the slim and
  legacy brief renderers, so agents see Space the same way they see Project
- Replace the create-space modal with a routed page (/space/new, mirrors
  SpaceDetailPage's layout; member picker is the same popover-checkbox
  pattern as the edit page)
- Reserve "NEW" as a space key (client + server) so /space/new can never be
  shadowed by a real space's /space/:key detail page
- packages/core/spaces: last-used-space memory (useLastSpaceStore) feeding
  resolveCreationSpaceId, shared by issue/quick-create/project/autopilot
  creation surfaces
- zh-Hans: translate Space → 空间 across locales and conventions.zh.mdx
  (Notion/语雀/飞书文档 use the same term; avoids the 团队/工作区 collisions
  the prior "keep English" rule was written to dodge)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-08 18:18:31 +08:00
..