Skip to content

Add ARexx port for automation (#46) - #104

Merged
sidick merged 1 commit into
mainfrom
arexx-port-46
Jul 28, 2026
Merged

sidick merged 1 commit into
mainfrom
arexx-port-46

Conversation

@sidick

@sidick sidick commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a genuine public ARexx port (AMIAUTH.<n>) to AmiAuthGUI, separate from the private CLI-forwarding port, so any ARexx script can drive AmiAuth: GETCODE, TIMELEFT, LIST, STATUS, LOCK, UNLOCK, SHOW, HIDE, QUIT.
  • The passphrase never crosses the port — UNLOCK is always interactive, reusing the existing GUI passphrase requester. SHOW/HIDE are gated on running as a registered commodity, mirroring the existing close-gadget behaviour.
  • Standard ARexx RC convention (0/5/10/20); new ENVARC:AmiAuth/arexxgetcode setting (default on) restricts the port to control-only commands, with GETCODE's RC deliberately identical whether locked or gated off.
  • Portable command parsing (src/core/arexx_cmd.c) is host-unit-tested; src/amiga/arexx.c holds the Amiga-only RexxMsg mechanics.

Test plan

  • make test — 388/388 host unit tests pass, including new test_arexx_cmd.c
  • make m68k-docker / make gui-docker — both build cleanly, zero warnings
  • make gui-smoke — headless Copperline GUI render smoke test passes
  • make arexx-onhw-smoke — new on-target test: boots WB 3.2 under Copperline, launches AmiAuthGUI resident, drives it via a real rx-run ARexx script (tests/copperline/arexx-probe.rexx) against the real AMIAUTH.1 port, verified on real 68k emulation
  • make guide — AmigaGuide docs build (new ARexx-Port.md page included)

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

https://claude.ai/code/session_01K5bAsAyoYLpkX3rWwrTBPh

A genuine public AMIAUTH.<n> RexxMsg port on AmiAuthGUI, separate from the
private CLI-forwarding port: GETCODE, TIMELEFT, LIST, STATUS, LOCK, UNLOCK
(always interactive - the passphrase never crosses the port), SHOW/HIDE
(gated on running as a registered commodity), and QUIT. Standard RC
convention (0/5/10/20) and a per-vault arexxgetcode setting (default on)
to restrict the port to control-only commands.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5bAsAyoYLpkX3rWwrTBPh
@sidick
sidick merged commit 2dae1f4 into main Jul 28, 2026
7 checks passed
@sidick
sidick deleted the arexx-port-46 branch July 28, 2026 09:10
@sidick sidick mentioned this pull request Jul 28, 2026
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