Skip to content

Arc: generalized platform abstractions#31

Draft
connortessaro wants to merge 1 commit intomainfrom
code/task_9c5f132a/self-drive-9c5f132a-1
Draft

Arc: generalized platform abstractions#31
connortessaro wants to merge 1 commit intomainfrom
code/task_9c5f132a/self-drive-9c5f132a-1

Conversation

@connortessaro
Copy link
Copy Markdown
Owner

Automated draft PR created by Arc self-drive.

This branch was pushed from an isolated worker worktree after the task completed successfully.

Introduce src/infra/platform.ts with centralized platform types,
detection helpers, and common utilities (SupportedPlatform type guard,
boolean platform flags, fd-link paths, procfs helpers, headless
detection, platform registry pattern). Migrate daemon/service.ts,
daemon/inspect.ts, infra/fs-safe.ts, infra/gateway-processes.ts, and
agents/shell-utils.ts to use the new abstractions. Add comprehensive
test suite in platform.test.ts (22 tests).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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