Skip to content

Implement cross-platform SidePulse.NET with agents, animation studio and verified updates - #12

Merged
Anheledir merged 26 commits into
mainfrom
implementation/first-preview
Oct 24, 2026
Merged

Anheledir merged 26 commits into
mainfrom
implementation/first-preview

Conversation

@Anheledir

@Anheledir Anheledir commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

SidePulse.NET is an unofficial MIT C#/.NET 10 companion for SidePulse, using Spectre.Console on Windows, macOS and Linux. It ports selected behavior from inteliwear/sidepulse, with pinned upstream attribution and retained licenses.

Implemented in this alpha:

  • Mounted USB/SD LEDS.LED output, iPhone QR/SSE pairing and native protected phone links.
  • Copilot CLI, Codex local lifecycle hooks, Claude Code and Kiro CLI V3 integrations, owned configuration backups/removal, a shared host, status aggregation and detached lifecycle/log commands.
  • Dot/Pro animation simulation, attributed patterns, custom editor/import/export and saved state profiles.
  • Cursor menus, command review/copy/export, quiet/plain/JSON/noninteractive modes, About/docs/credits and full offline runtime dependency licenses.
  • Explicit GitHub release update check/install/status, package/file SHA-256 verification, bounded ZIP/tar staging, copied replacement helper, backup/probe/rollback, and six self-contained platform/architecture archives.

Architecture/QA review fixed pre-existing download deletion, stalled release bodies, directory-entry bounds, uninstall dry-run writes and ignored hook-executable changes. Initial CodeQL reported cs/zipslip; final extraction now also validates canonical containment with a separator boundary, with expanded negative ZIP/tar tests. The alert was not suppressed or dismissed. Security policy, pinned CodeQL C#/Python/Actions scans, PR dependency review and observed/desired repository settings are included.

Validation: 104 tests pass on Windows, Linux and macOS, with native vaults, generated wrappers, host lifecycle/crash recovery, and actual self-contained updater replacement/startup-failure rollback in final code CI at f1ada51. Quality and six documentation-tooling tests pass. Security analysis passes C#/Python/Actions and dependency review; the combined CodeQL alert check reports no new alerts. No suppression or dismissal was used. Local Spectre/menu/editor/animation smoke also passes. Executed architectures are Windows x64, Linux x64 and macOS ARM64; the others are cross-built. The following audit-record commit changes documentation only; check current-head required checks before merging.

Remaining release gates: physical Dot/Pro/firmware comparison, TestFlight pairing, real provider/version acceptance, the complete public update-install flow against published assets, and matching-tag release publication. No release, tag or merge was performed. Checksums do not independently authenticate a compromised publisher. User-added installation files are a preparation-time snapshot; later edits remain in the retained backup. Direct state/write/animation commands bypass host output arbitration; stop the host for manual device checks.

Full architecture/QA review records findings and evidence. All eleven issues were reconciled: concept #1 is complete; #2–#11 retain priorities and remaining acceptance criteria. Repository configuration record separates verified observations from proposed admin controls. Repository administration was completed through the permitted signed-in browser fallback, including fresh GitHub verification: description/wiki/topics updated; malware alerts enabled; owner/GitHub-only pinned Actions and approval for all external fork runs enforced; active Main delivery checks ruleset requires nine observed check contexts with no bypass. Existing private reporting, Dependabot, secret scanning/push protection, immutable releases and read-only token controls were verified. SidePulse.NET delivery is a private linked board covering all eleven issues and this PR, with Todo/In Progress/Validation/Done stages. Wiki source publishes after merge.

Preview: 0.1.0-alpha.6. Full upstream parity, read-only transports, remote relay/Android, migration/device aliases, a live dashboard, login autostart and signed installers remain planned. Related: #2, #3, #4, #5, #6, #7, #8, #9, #10, #11.

QoL follow-up (2026-10-24): adds host reset [--json] to clear abandoned sessions to Unknown, explicit IPC ProtocolVersion 1 with unsupported-version rejection and legacy-v1 handling, and a consistent lower-camel update status --json schema. Local Release suite passes 105 tests. Native agent smoke now verifies reset/version output; updater smoke uses the public lower-camel schema. See current CI. Hardware/provider/release acceptance remains open.

@Anheledir
Anheledir marked this pull request as ready for review October 23, 2026 18:05
@Anheledir Anheledir changed the title Implement the first SidePulse.NET CLI and Copilot host preview Implement SidePulse.NET preview with iPhone pairing and Copilot hooks Oct 23, 2026
@Anheledir Anheledir changed the title Implement SidePulse.NET preview with iPhone pairing and Copilot hooks Implement cross-platform SidePulse.NET with iPhone pairing and Copilot hooks Oct 23, 2026
@Anheledir Anheledir changed the title Implement cross-platform SidePulse.NET with iPhone pairing and Copilot hooks Implement cross-platform SidePulse.NET with managed agent hooks and background host Oct 23, 2026
@Anheledir Anheledir changed the title Implement cross-platform SidePulse.NET with managed agent hooks and background host Implement cross-platform SidePulse.NET with agent hooks and terminal animation studio Oct 23, 2026
@Anheledir Anheledir changed the title Implement cross-platform SidePulse.NET with agent hooks and terminal animation studio Implement cross-platform SidePulse.NET with agents, animation studio and verified updates Oct 23, 2026

@Anheledir Anheledir left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Architecture and QA review completed against 444767f, with fixes in 1839c3d.

Findings: P1 pre-existing update download deletion; P2 metadata-body timeout, directory-only archive bounds, uninstall dry-run side effects, and ignored changed hook executable. All five are fixed with regression tests. Local Release suite: 96 passing tests. Six documentation-tooling tests and animation/menu/editor smoke pass. NuGet advisory query found no vulnerable packages at review time.

Remaining release gates: real Dot/Pro/iOS/provider acceptance (#2/#3/#4/#6/#9); tagged release and full public update-install command flow (#10). Versioned IPC, restart and retention policy remain explicit follow-ups (#5); migration/device aliases and live dashboard remain partial (#7/#8). User-added update files are a preparation-time snapshot; later edits remain in the retained backup (#10).

Recommendation: retain alpha scope, require current native CI and new security scans before merge. This is a COMMENT review, not self-approval. No merge, tag or release was performed.

Full prioritised review: docs/reviews/pr-12.md. All eleven issues updated, #1 closed as concept complete. Security policy, CodeQL/dependency-review workflow and observed/desired admin settings record are committed. Repository administration is unavailable through this GitHub App; descriptions/security switches/project board are recorded as pending, not configured.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@Anheledir Anheledir left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final QA follow-up: reviewed code f1ada51 passes 104 tests on each of Windows, Linux and macOS, native credential/host/provider-wrapper checks, and actual self-contained replacement/startup-failure rollback: native CI. The record-only follow-up commit f23c1fe changes documentation and records exact check names/results.

Initial CodeQL reported high-severity cs/zipslip. Existing portable-name validation rejected the tested traversal cases; no escape was reproduced. Added canonical full-path containment with a directory boundary and expanded negative ZIP/tar cases. Security rerun passes all three analyses and dependency review; the combined CodeQL check reports no new alerts. No alert dismissal or rule suppression.

Five confirmed functional defects are fixed with regressions; direct-command/host arbitration overclaims are corrected and tracked in #5. All eleven issues are reconciled. #1 closes concept approval only; remaining feature/compatibility/release acceptance stays open.

Assessment: architecture is suitable for an explicitly scoped alpha. Hardware/firmware, real provider/iOS sessions and complete public release/update orchestration remain release gates, not passed tests. Check current PR-head required checks before merge. No merge, tag or release was performed, and this is not self-approval.

Repository administration remains blocked by the connected GitHub App. The proposed description/topics/homepage, project board and security/branch settings are concrete in the configuration record; none are claimed applied. Protect main using the combined CodeQL alert check as well as analysis jobs, since a successful scan job alone can still report vulnerabilities.

@Anheledir Anheledir left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repository setup is now applied and verified, replacing the earlier connector-only limitation. The permitted browser fallback used the existing GitHub session and fresh verification for ruleset creation; no PAT was created.

  • Description, wiki homepage and 11 topics updated; Projects enabled.
  • Private linked SidePulse.NET delivery board created with description/README and all 11 issues plus this PR. Todo: #11; In Progress: #5/#7/#8/#9; Validation: #2/#3/#4/#6/#10/#12; Done: concept #1 only.
  • Dependency malware alerts enabled. Private vulnerability reporting, Dependabot/security updates, secret scanning/push protection, immutable releases, collaborator-only wiki and read-only Actions token/no PR approval were verified already enabled.
  • Actions restricted to owner/GitHub-created sources with full SHA pinning; all external fork runs require approval.
  • Main delivery checks is active, verified via UI and API: PRs, conversation resolution, current branch checks, all nine observed check contexts, deletion/force-push prevention, zero approvals, no bypass actors. The pre-existing disabled Main ruleset remains untouched.

Full configuration record includes exact settings, check integration IDs, applied changes and verified existing controls. Wiki links target main after publication; audit links use permanent commits.

Application validation remains 104 tests per OS and clean CodeQL/dependency review at reviewed code f1ada51. Subsequent commits are documentation only; current-head required checks must pass before merge. Physical/provider/iOS and public release/update acceptance remain open. No merge, release or tag performed.

@Anheledir
Anheledir merged commit c1f5ca9 into main Oct 24, 2026
11 checks passed
@Anheledir
Anheledir deleted the implementation/first-preview branch October 24, 2026 00:37
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.

2 participants