Skip to content

refactor: collocate session lifecycle command metadata#518

Merged
thymikee merged 1 commit into
mainfrom
refactor/session-lifecycle-definitions
May 14, 2026
Merged

refactor: collocate session lifecycle command metadata#518
thymikee merged 1 commit into
mainfrom
refactor/session-lifecycle-definitions

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented May 13, 2026

Summary

Collocate session/app lifecycle command schema and capability metadata behind the command-definition foundation.

Centralize lifecycle command names through PUBLIC_COMMANDS/CLIENT_COMMANDS where the CLI router needs those names.

Rebased onto current main after #513-#517. Pruned the previous args.test.ts additions and covered lifecycle definitions through the existing command-definition registry test instead, keeping Fallow away from unrelated duplicate-heavy parser scenarios.

Touched files: 6. Scope stayed within command metadata/CLI routing; no daemon or platform behavior changes.

Validation

  • PATH=/tmp/codex-pnpm/pnpm10-platform/package:/Users/thymikee/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm format
  • PATH=/tmp/codex-pnpm/pnpm10-platform/package:/Users/thymikee/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm exec vitest run src/commands/interactions/__tests__/definition.test.ts src/utils/__tests__/args.test.ts src/core/__tests__/capabilities.test.ts
  • PATH=/tmp/codex-pnpm/pnpm10-platform/package:/Users/thymikee/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm exec fallow audit --changed-since origin/main
  • PATH=/tmp/codex-pnpm/pnpm10-platform/package:/Users/thymikee/.cache/codex-runtimes/codex-primary-runtime/dependencies/node/bin:$PATH pnpm check:quick

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-518/

Built to branch gh-pages at 2026-05-14 08:02 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee force-pushed the refactor/session-lifecycle-definitions branch from 0681aac to d80425a Compare May 14, 2026 08:01
Base automatically changed from codex/command-definition-foundation to main May 14, 2026 09:03
@thymikee thymikee force-pushed the refactor/session-lifecycle-definitions branch from d80425a to 315081e Compare May 14, 2026 09:25
@thymikee thymikee merged commit 24bc75b into main May 14, 2026
17 of 18 checks passed
@thymikee thymikee deleted the refactor/session-lifecycle-definitions branch May 14, 2026 10:49
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