Skip to content

feat(automation): add durable resume identities#525

Merged
luokerenx4 merged 1 commit into
devfrom
feat/headless-resume-identity
Jul 11, 2026
Merged

feat(automation): add durable resume identities#525
luokerenx4 merged 1 commit into
devfrom
feat/headless-resume-identity

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • retain all headless run records and logs instead of pruning after 200 entries
  • add OpenAlice-owned resumeId conversation identities, direct parentTaskId lineage, and a persistent backend mapping to native runtime session ids
  • resume Claude, Codex, OpenCode, and Pi headless turns through the same product-level identity
  • make Inbox, Runs, and interactive Session materialization exchange only resumeId; native session ids stay backend-only
  • serialize headless/interactive access to one resumable conversation
  • migrate historical runs and Sessions, and document the identity contract

Verification

  • pnpm test — 2525 passed, 6 skipped
  • pnpm build
  • pnpm -F open-alice-ui build
  • browser verified Runs paging (79 retained records), normalized output, and Open as session affordance
  • live two-turn resume verified for Claude, Codex, OpenCode, and Pi; each second turn had a new taskId, shared resumeId, correct parentTaskId, and recalled prior context
  • public Runs and Session responses verified to omit native agentSessionId
  • pnpm -F @traderalice/desktop run pack
  • pnpm electron:assert-package
  • node scripts/desktop-packaged-smoke.mjs --workspace-acceptance --skip-build --skip-pack

Temporary Workspace credentials used for live verification were glm-1 (OpenCode/Pi) and minimax-1 (Claude); all Workspace overrides were cleared afterward.

@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Ready Ready Preview, Comment Jul 11, 2026 9:39am

Request Review

@luokerenx4 luokerenx4 merged commit a463851 into dev Jul 11, 2026
12 checks passed
@luokerenx4 luokerenx4 deleted the feat/headless-resume-identity branch July 11, 2026 09:44
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