Skip to content

chore: CHANGELOG, unit tests, test CI workflow, README updates - #20

Merged
nesquena-hermes merged 1 commit into
mainfrom
chore/changelog-tests-readme
Apr 16, 2026
Merged

nesquena-hermes merged 1 commit into
mainfrom
chore/changelog-tests-readme

Conversation

@nesquena-hermes

Copy link
Copy Markdown
Collaborator

What this does

Three improvements landed together:

CHANGELOG.md

New file tracking all releases (v1.0.0, v1.0.1, v1.0.2) with full context for each change — who contributed, which issue it fixed, and what the technical approach was. Future releases should add an entry here before tagging.

Unit tests (swift test)

New Tests/HermesAgentTests/ValidationTests.swift with 21 tests covering:

  • URL validation — http/https accepted, javascript:/file:/data: rejected (mirrors Preferences save() logic)
  • Port validation — 1–65535 accepted, 0/65536/non-numeric rejected
  • SSH argument array — verifies StrictHostKeyChecking=accept-new, ExitOnForwardFailure=yes, -N flag, port forwarding format, and that shell metacharacters are inert because Process.arguments uses execve directly

Package.swift updated to include the test target.

Test CI workflow

New .github/workflows/test.yml runs swift test on every PR and push to main using the same macos-14 runner as the release workflow. Fast (no DMG build) — catches regressions before merge.

README update

  • Added focus-handling to the Features list (now live as of v1.0.2)
  • Added Tests/HermesAgentTests/ row to the file reference table

@nesquena-hermes
nesquena-hermes merged commit 6d78a94 into main Apr 16, 2026
@nesquena-hermes
nesquena-hermes deleted the chore/changelog-tests-readme branch April 16, 2026 18:39
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