Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
67c9e0e
fix: start owned helpers suspended until their Job owns them
JE-Chen Nov 20, 2026
e17dd73
feat: fold Unicode service keys with the OS casing table for one lock
JE-Chen Nov 20, 2026
345fc4e
build: install the image stack on Windows arm64 again
JE-Chen Nov 20, 2026
1416ea3
fix: wake gesture pacing sleeps on a stop
JE-Chen Nov 20, 2026
c221a88
feat: report host-declared DOM fields with browser context identity
JE-Chen Nov 20, 2026
dcffdfb
fix: hold nested DAG, suite and assertion paths to MCP roots
JE-Chen Nov 20, 2026
30bc59c
docs: drop two Progress claims the code already settled
JE-Chen Nov 20, 2026
6be7544
feat: add the macOS presence transport
JE-Chen Nov 21, 2026
bc76882
feat: drive managed Android input through the device helper
JE-Chen Nov 21, 2026
a8cfe04
feat: add the WebDriverAgent remote adapter behind a required provider
JE-Chen Nov 21, 2026
9a14fd5
test: fall back to sendevent for the emulator's evdev control
JE-Chen Nov 21, 2026
7d87016
fix: stop waiting for VLM locator requests on a stop
JE-Chen Nov 21, 2026
0648ecd
test: use a touch contact as the emulator's evdev control
JE-Chen Nov 21, 2026
1a8cc16
test: run the emulator check as root so evdev can be written
JE-Chen Nov 21, 2026
4f3e0a3
docs: record the passing Android helper emulator stage
JE-Chen Nov 21, 2026
2dddfd5
test: give the macOS handshake test a valid source generation
JE-Chen Nov 21, 2026
6cdd63b
docs: record that AC_android_shell stays off MCP
JE-Chen Nov 21, 2026
a3db560
feat: read Wayland human activity from physical evdev devices
JE-Chen Nov 21, 2026
e94240b
fix: keep refused local HTTP connections inside the framework errors
JE-Chen Nov 21, 2026
163bf80
fix: stop waiting for read-only accessibility walks
JE-Chen Nov 21, 2026
820ec12
feat: add the android target profile kind
JE-Chen Nov 21, 2026
992cd5e
build: declare comtypes and run UI Automation on real COM in CI
JE-Chen Nov 21, 2026
e94c98a
feat: expose the explicit Wayland input-session reset
JE-Chen Nov 21, 2026
7453749
docs: state precisely what plan D1 still lacks
JE-Chen Nov 21, 2026
cc51028
feat: add the iOS Simulator extension through xcrun simctl
JE-Chen Nov 21, 2026
5463af2
test: remove two races from the transfer import tests
JE-Chen Nov 21, 2026
2fc6a26
fix: list the new commands in the shipped stub
JE-Chen Nov 25, 2026
c7410b6
fix: never read missing evdev activity as idleness
JE-Chen Nov 25, 2026
d8cd8a7
fix: return a Wayland capture only to the operation that asked for it
JE-Chen Nov 25, 2026
a73dff6
fix: accept the relocated ImageBase the loader writes
JE-Chen Nov 25, 2026
cdc1cd2
fix: read the controls of a hidden window
JE-Chen Nov 25, 2026
0f5d447
docs: record the first real-browser run of the managed target
JE-Chen Nov 25, 2026
6b5e451
docs: record what the batch source shows about the changed behaviours
JE-Chen Nov 25, 2026
118caa7
fix: stop charging durable checkpoints to the read deadline
JE-Chen Nov 25, 2026
759df74
fix: withhold text a page marks as secret from browser observations
JE-Chen Nov 25, 2026
57c999b
fix: refuse hosts that may grab input devices
JE-Chen Nov 25, 2026
b11b92f
fix: address the first whole-package review batch
JE-Chen Nov 25, 2026
cf98cad
style: wrap an over-long docstring line
JE-Chen Nov 25, 2026
ec8a4fa
fix: let the diagnostics tab drop its background reset
JE-Chen Nov 25, 2026
6a9b768
fix: act on the selected record and run tab work under its caller
JE-Chen Nov 25, 2026
65e657f
fix: close the server and executor review findings
JE-Chen Nov 25, 2026
f18c38d
fix: close the platform backend review findings
JE-Chen Nov 25, 2026
127b42a
fix: let stops end runs instead of failing them
JE-Chen Nov 25, 2026
20d0d84
fix: run device matrix work as its caller and close egress bypasses
JE-Chen Nov 25, 2026
25e5bd2
fix: close the remote desktop and USB review findings
JE-Chen Nov 25, 2026
0ae0619
fix: keep stops and leases enforced in the agent runtime
JE-Chen Nov 25, 2026
1277d82
test: fix three CI failures left by the review batches
JE-Chen Nov 26, 2026
dc8798b
Stop the Slack bot replaying channel history on start
JE-Chen Nov 25, 2026
6d915e6
Bound how many sent outbox entries are kept, and for how long
JE-Chen Nov 25, 2026
65d3f75
Keep a damaged asset file aside instead of erasing it
JE-Chen Nov 25, 2026
d513d37
fix: send asset store updates through the damaged-file quarantine
JE-Chen Nov 26, 2026
1cc87ae
docs: drop the three decided retention items from Progress
JE-Chen Nov 26, 2026
19c961b
docs: drop the remaining two decided items from Progress
JE-Chen Nov 26, 2026
6d542dd
Move USB session wire helpers into session_frames
JE-Chen Nov 26, 2026
5fa5c90
Serve USB passthrough frames off the shared WebRTC event loop
JE-Chen Nov 26, 2026
df9ee6b
docs: record USB passthrough serving off the event loop
JE-Chen Nov 26, 2026
8880651
Make Deny the default answer to a Quick Connect viewer request
JE-Chen Nov 25, 2026
c3e3242
Mask remote-desktop and REST tokens behind an explicit Show toggle
JE-Chen Nov 25, 2026
c1e2c9d
Check RBAC in the Secrets and Plugins tabs and move their slow work o…
JE-Chen Nov 26, 2026
1407be1
Check RBAC in the Webhooks and REST tabs and export or import the con…
JE-Chen Nov 26, 2026
42d2023
Check RBAC in the admin console and audit log tabs and read the audit…
JE-Chen Nov 26, 2026
8b92d64
Check RBAC in the USB devices tab and the USB sharing panel
JE-Chen Nov 26, 2026
f777b42
Check RBAC before the remote-desktop host panels start or stop a host
JE-Chen Nov 26, 2026
733b9e1
Read data sources and trace recordings off the GUI thread, and bound …
JE-Chen Nov 26, 2026
2927550
Check RBAC before the Agent Tasks tab starts, stops or retargets the …
JE-Chen Nov 26, 2026
31b741a
docs: record the GUI authorization, masking and off-thread work
JE-Chen Nov 26, 2026
9769109
docs: list the two new GUI helper modules in the map
JE-Chen Nov 26, 2026
13d8701
test: allow clock rounding in the port probe bound
JE-Chen Nov 26, 2026
79fb5e9
Bound the resource profiler's samples and frames while it runs
JE-Chen Nov 26, 2026
98cf6d9
Let a stop end the LLM planner request instead of waiting it out
JE-Chen Nov 26, 2026
0acd953
Keep existing files when a project is created over an old one
JE-Chen Nov 26, 2026
237cac1
Refuse a diff hunk that starts past the end of the text
JE-Chen Nov 26, 2026
bd2b0d4
Mask PII that OCR split across several words on one line
JE-Chen Nov 26, 2026
48843c5
Keep Set-of-Marks marks per caller
JE-Chen Nov 26, 2026
80e9d88
Bound the lock command and let a stop end it
JE-Chen Nov 26, 2026
c2464d1
docs: record the utils L-Z follow-ups
JE-Chen Nov 26, 2026
e612069
Fail only the refused connection when a Linux or macOS presence peer …
JE-Chen Nov 26, 2026
9e9a1e1
Refuse a pinned image whose own directory lets others create folders
JE-Chen Nov 26, 2026
d880fa4
Keep every source resume condition in a reviewed recovery successor
JE-Chen Nov 26, 2026
90032c2
Back off damaged pending reports so healthy ones publish every round
JE-Chen Nov 26, 2026
3724004
Return from stop_all without waiting for a busy DAG batch lock
JE-Chen Nov 26, 2026
f562b9d
docs: record the agent runtime follow-ups
JE-Chen Nov 26, 2026
de80656
Send host chat, clipboard and files through each viewer's own bounded…
JE-Chen Nov 26, 2026
3fc66d3
Retry a pending MultiViewerHost session retirement on a bounded schedule
JE-Chen Nov 26, 2026
5c0d7b1
Bound the relay handshake by one deadline and cap concurrent handshakes
JE-Chen Nov 26, 2026
c01914a
Quote and escape paths in the generated systemd unit and launchd plist
JE-Chen Nov 26, 2026
d5bc445
Write the TURN secret files atomically and readable by their owner only
JE-Chen Nov 26, 2026
cf84d3a
Let outbox drains skip conflicts and prune old delivered receipts
JE-Chen Nov 26, 2026
5cf833b
Escape plist text without xml.sax so bandit raises no B406
JE-Chen Nov 26, 2026
1560e75
docs: record the remote desktop follow-ups
JE-Chen Nov 26, 2026
24eca18
Take over a stale store lock only while it is still the one judged stale
JE-Chen Nov 26, 2026
6f255b2
Serialise user store changes across processes with the file's lock
JE-Chen Nov 26, 2026
bf559a7
Bound the REST gate's per-client buckets
JE-Chen Nov 26, 2026
db8f1d1
Audit MCP calls refused at admission
JE-Chen Nov 26, 2026
f51f527
Expose a bounded leeway on ac_jwt_decode
JE-Chen Nov 26, 2026
673d379
Record want_bytes responses in a cassette as masked base64
JE-Chen Nov 26, 2026
ce2f11d
Leave agent task payloads for the runtime to expand
JE-Chen Nov 26, 2026
8a3b45c
Refuse a JWT leeway that would disable expiry checks
JE-Chen Nov 26, 2026
fb8c9c0
docs: record the server and utils A-L follow-ups
JE-Chen Nov 26, 2026
414748b
Read the DAG file the Load dialog picked off the GUI thread
JE-Chen Nov 26, 2026
e858683
Read and write the WebRTC trust list, address book and known hosts of…
JE-Chen Nov 26, 2026
e73cee2
Change, export, import and verify the USB ACL off the GUI thread
JE-Chen Nov 26, 2026
887f387
Add and remove admin console hosts off the GUI thread
JE-Chen Nov 26, 2026
bcf681b
Mask the REST users panel's one-time token behind Show
JE-Chen Nov 26, 2026
aed1d00
Check RBAC before the Diagnostics tab probes capabilities
JE-Chen Nov 26, 2026
b42e36d
Open, save and export scripts and recordings off the GUI thread
JE-Chen Nov 26, 2026
3b9d26b
Query the run history and decode its preview off the GUI thread
JE-Chen Nov 26, 2026
634db91
Read and write the REST user store off the GUI thread
JE-Chen Nov 26, 2026
45e4d74
Read the heal log and compute the flakiness report off the GUI thread
JE-Chen Nov 26, 2026
f884430
Save Quick Connect's Recent entries and send its Wake-on-LAN off the …
JE-Chen Nov 26, 2026
df54ded
Load suite specs, write reports and change the quarantine off the GUI…
JE-Chen Nov 26, 2026
084bc14
Type the quarantine listing the Test Suites tab reads on a worker
JE-Chen Nov 26, 2026
4467bf5
Write the locator comparison report off the GUI thread
JE-Chen Nov 26, 2026
92e4919
docs: record the GUI off-thread file and store work
JE-Chen Nov 26, 2026
b9dfb3f
Bound reads in the metrics and ACME challenge handlers
JE-Chen Nov 26, 2026
e9cc100
Refuse a non-ASCII requestState as invalid params
JE-Chen Nov 26, 2026
6096f6c
Mask secrets passed as positional arguments
JE-Chen Nov 26, 2026
546eb42
Mask positional secrets in the action journal too
JE-Chen Nov 26, 2026
4bdf80b
Keep a failed polled action from matching an expected None
JE-Chen Nov 26, 2026
ea48c51
docs: record the review of the unread server files
JE-Chen Nov 26, 2026
6ae83fd
Count one WebRTC drop as one reconnect attempt
JE-Chen Nov 26, 2026
3f9f8b1
Release a quarantined case by its stored name, not its label
JE-Chen Nov 26, 2026
6805a21
Show state texts and quality hints in the language just chosen
JE-Chen Nov 26, 2026
8b46708
Prune peer-control receipts by count and age past a retry window
JE-Chen Nov 26, 2026
78f73ca
Cap the USB lane threads closed sessions leave inside the backend
JE-Chen Nov 26, 2026
0503928
docs: record the reconnect, language, receipt and USB thread fixes
JE-Chen Nov 26, 2026
e27e1af
test: read the marks fallback from a fresh context
JE-Chen Nov 26, 2026
634a405
Type the legacy CLI's flag table
JE-Chen Nov 26, 2026
be89532
Decode remote frames and preview images on a thread of each view's own
JE-Chen Nov 26, 2026
cee8566
Load TLS trust and certificate chains on the connect and start workers
JE-Chen Nov 26, 2026
3fe3912
Record trusted viewers, query the audit log and crop templates off th…
JE-Chen Nov 26, 2026
a9e7b1e
docs: record the decoder threads and off-thread TLS and audit work
JE-Chen Nov 26, 2026
13188ac
Let task retention recognise the journal lock's guard file
JE-Chen Nov 26, 2026
f4c2d86
test: wait for the capture release after a pruned session
JE-Chen Nov 26, 2026
68e3ed1
Read adapter on/off flags by spelling, not truthiness
JE-Chen Nov 26, 2026
0b1cb08
Refuse a list argument whose JSON is not a list, and NaN thresholds
JE-Chen Nov 26, 2026
3e688ea
Refuse an unknown AC_expect_poll op and report the USB poll interval …
JE-Chen Nov 26, 2026
f78ae4a
docs: record the line-by-line executor adapter review
JE-Chen Nov 26, 2026
36e75e7
Wrap the task artifact name check under the line limit
JE-Chen Nov 26, 2026
1cd296a
Re-render the tabs' status and result lines in the language just chosen
JE-Chen Nov 26, 2026
3f6a048
Show the Remote Desktop status lines, tray and notices in the new lan…
JE-Chen Nov 26, 2026
c386436
Probe every tab for texts a language switch leaves behind
JE-Chen Nov 26, 2026
0c1532b
docs: record the language switch reaching state texts
JE-Chen Nov 26, 2026
2e98f90
Re-render translated table and list cells on a language switch
JE-Chen Nov 26, 2026
ca9975e
Move the GUI texts still written in English into the language catalogue
JE-Chen Nov 26, 2026
b5810a7
docs: record the translated cells and catalogue strings
JE-Chen Nov 26, 2026
792b4e5
test: let the refused offer's retirement retry finish before stopping
JE-Chen Nov 26, 2026
bdc7209
test: collect on the GUI thread in the tab keep-alive probe
JE-Chen Nov 26, 2026
cca270a
Let the read-only completion helper configure desktop tasks
JE-Chen Nov 26, 2026
2d2212f
docs: record desktop read-only verification
JE-Chen Nov 26, 2026
b5f9293
Share the owner-only atomic writer so the socket token can reuse it
JE-Chen Nov 26, 2026
83ba08f
Require authentication on the TCP socket server
JE-Chen Nov 26, 2026
51270bf
Point the driver script and manual client at the authenticated protocol
JE-Chen Nov 26, 2026
5470241
Export the socket client from the facade and map the socket server
JE-Chen Nov 26, 2026
cb5c4a6
Document the socket server's authentication and how clients migrate
JE-Chen Nov 26, 2026
dcf8256
docs: record socket server authentication
JE-Chen Nov 26, 2026
1ef2608
Stop image absence checks passing on unusable input
JE-Chen Nov 26, 2026
557f1c4
Contain errors from outside the framework family per action
JE-Chen Nov 26, 2026
532ff07
Deliver resources/subscribe updates to HTTP sessions
JE-Chen Nov 26, 2026
00216d6
Export and document the image-input and foreign-error changes
JE-Chen Nov 26, 2026
16827f7
docs: record image input errors, foreign-error containment and HTTP r…
JE-Chen Nov 26, 2026
c7e2656
Run voice commands and macros under both registrant and dispatcher au…
JE-Chen Nov 26, 2026
4255a4b
Cap the executor's named in-memory registries at 1024 names
JE-Chen Nov 26, 2026
4f7cbf2
Keep secret references in generated documents and env values out of logs
JE-Chen Nov 26, 2026
eb81685
Export the registry cap and mask AC_resolve_refs results in the resul…
JE-Chen Nov 26, 2026
6b533b4
Document dual authority for stored lists, registry caps and secret-sa…
JE-Chen Nov 26, 2026
6aed380
docs: record dual authority, registry caps and secret-safe output
JE-Chen Nov 26, 2026
c508a8d
Keep unauthenticated connections out of the remote host's viewer slots
JE-Chen Nov 26, 2026
2bb8f3e
Keep a slow TCP viewer's H.264 stream decodable
JE-Chen Nov 26, 2026
afa321f
Let every remote host surface set the admission cap and auth deadline
JE-Chen Nov 26, 2026
d6a3f82
Document the remote host's admission settings and H.264 resync
JE-Chen Nov 26, 2026
8f38975
docs: record remote host admission and H.264 resync
JE-Chen Nov 26, 2026
00f9ed7
Evaluate the moved adapters' annotations eagerly
JE-Chen Nov 26, 2026
b776279
Bound detect_threshold to 0..1 in the MCP tool schemas
JE-Chen Nov 26, 2026
b5cef42
test: use a name no other test binds as the unbound placeholder
JE-Chen Nov 26, 2026
d94029a
Build the socket driver with Nuitka in CI instead of committing binaries
JE-Chen Nov 26, 2026
c64bf90
docs: Progress no longer lists loaded-image binding as missing
JE-Chen Nov 26, 2026
d16290c
Offer an embedded action's masked arguments as one-time values
JE-Chen Nov 26, 2026
6f440f2
Tell a Quick Connect user why their session or host ended
JE-Chen Nov 26, 2026
f710ee1
Pin that a theme switch keeps every page in the main window
JE-Chen Nov 26, 2026
adee26a
docs: record the embedded one-time values and the replaced Quick Conn…
JE-Chen Nov 26, 2026
4507286
Let a run stop end adb commands and capture helpers
JE-Chen Nov 26, 2026
5ed0e94
Wake DeviceSession.invoke on a run stop
JE-Chen Nov 26, 2026
06afa77
Stop waiting for port probes, SMTP, ORB passes and agent decisions
JE-Chen Nov 26, 2026
c9313d7
Let a stop end audio and video assertions
JE-Chen Nov 26, 2026
a3b7ac9
Skip the remaining admin hosts once the run is stopped
JE-Chen Nov 26, 2026
3d09a92
Let a stop end the mobile find-element waits
JE-Chen Nov 26, 2026
f8ac8e8
docs: record the newly stoppable backend calls
JE-Chen Nov 26, 2026
33e696f
Mark the Secrets tab's translation keys for bandit
JE-Chen Nov 26, 2026
33c0a7c
docs: record the decision to keep the M2 adapter waiting on M1
JE-Chen Nov 26, 2026
a27bd17
Poll Slack faster while a /run is going so /stop lands quickly
JE-Chen Nov 26, 2026
dfb1330
docs: describe the Slack bot's run-time poll interval and Retry-After
JE-Chen Nov 26, 2026
240ad26
docs: record the Slack run-time poll interval
JE-Chen Nov 26, 2026
bb51103
Let a stop prevent an accessibility write that has not acted yet
JE-Chen Nov 26, 2026
ba454ad
Give the hidden UIA fixture one writable EDIT control
JE-Chen Nov 26, 2026
f22019f
Export AccessibilityWriteOutcomeUnknown and record stoppable accessib…
JE-Chen Nov 26, 2026
9832e3d
docs: keep only open work in Progress.md and say what each item waits…
JE-Chen Nov 26, 2026
19c3e29
docs: drop the finished UIA threading item from Progress.md
JE-Chen Nov 26, 2026
e5274d7
Refuse journal recovery when a slot cannot be read
JE-Chen Nov 27, 2026
c54c0aa
Fence in-flight commands by generation, not by epoch value
JE-Chen Nov 27, 2026
3de6c56
Fail a swipe on its first refused event and always release the pointer
JE-Chen Nov 27, 2026
6aabc89
Keep serving after one helper client hangs up
JE-Chen Nov 27, 2026
9bd3da3
Run the guardian journal suites wherever Linux has a C compiler
JE-Chen Nov 27, 2026
4e3aaa8
Bind the web viewer's control channel only to the ctrl label
JE-Chen Nov 27, 2026
2ef703a
Stop every local capture on disconnect, even one granted afterwards
JE-Chen Nov 27, 2026
5da7616
Send web viewer input in the host dispatcher's protocol
JE-Chen Nov 27, 2026
13bddd0
docs: record the web viewer fixes of the code review
JE-Chen Nov 27, 2026
0380712
Run the browser extension's scripts in the Qt JavaScript engine under…
JE-Chen Nov 27, 2026
0f4e46f
Ship the toolbar icons the extension manifest declares
JE-Chen Nov 27, 2026
b6ffde3
Serialise the recorder's state changes through one queue
JE-Chen Nov 27, 2026
7e0ab87
Record only the tab that started the recording
JE-Chen Nov 27, 2026
39387d7
Never record the value of a password or other sensitive field
JE-Chen Nov 27, 2026
3053735
docs: record the browser extension fixes of the code review
JE-Chen Nov 27, 2026
ff7bc33
Fetch the VS Code screenshot with GET and open the returned PNG
JE-Chen Nov 27, 2026
8a7402a
Diagnose action files against the executor's full command set
JE-Chen Nov 27, 2026
f2e1be5
Diagnose only AutoControl action files, not every JSON document
JE-Chen Nov 27, 2026
ac9257a
Convert LSP UTF-16 columns to string indices in the document store
JE-Chen Nov 27, 2026
8348783
docs: record the VS Code and LSP fixes of the code review
JE-Chen Nov 27, 2026
ae8ca83
Refuse to start remote-host without a real AC_TOKEN
JE-Chen Nov 27, 2026
34b0d17
Make the images' signaling mode start
JE-Chen Nov 27, 2026
8a8778a
Pass the Helm rest and signaling ports to the program
JE-Chen Nov 27, 2026
d3f3104
Give the Docker builders every file the wheel packages
JE-Chen Nov 27, 2026
d572c9a
Keep the signaling parser loader inside the line limit
JE-Chen Nov 27, 2026
be05869
docs: record the container and deployment fixes of the code review
JE-Chen Nov 27, 2026
4492350
Prototype SendMessageW and PostMessageW so Win64 message words keep t…
JE-Chen Nov 27, 2026
f921d9c
Refuse device timeouts that are zero, negative or not finite
JE-Chen Nov 27, 2026
c7ff764
Fail the driver smoke test on a wrong reply or an unclean exit
JE-Chen Nov 27, 2026
ef72c38
Resolve executor examples' keyword files from the script's own location
JE-Chen Nov 27, 2026
bec6aae
Say in architecture.md that the package gate refuses by default
JE-Chen Nov 27, 2026
e99d5a1
docs: record the remaining Python fixes of the code review
JE-Chen Nov 27, 2026
2d7f507
Fail record_to_json when the recorder cannot stop instead of writing []
JE-Chen Nov 27, 2026
6f91b19
Verify signatures when the Record tab loads a recording and in genera…
JE-Chen Nov 27, 2026
342c623
Mask shell output with its own run's secrets even after that run ends
JE-Chen Nov 27, 2026
88b2a38
Make the Windows record hook start and stop wait for the thread they …
JE-Chen Nov 27, 2026
4e416fb
Let the agent presence hook retire through the hook's own checked stop
JE-Chen Nov 27, 2026
7d35f97
test: run the signed and relocated templates as the generator now lay…
JE-Chen Nov 27, 2026
fc1545c
docs: record the recording and trust fixes of the code review
JE-Chen Nov 27, 2026
368a781
test: fix four failures PR #558's CI found
JE-Chen Nov 27, 2026
6e1e3ec
Clear SonarCloud's new bugs and vulnerabilities on PR #558
JE-Chen Nov 27, 2026
99afa0f
Install starlette's test HTTP client for the in-image tests
JE-Chen Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ docs/
README*
*.md
!README.md
LICENSE
CLAUDE.md
*.log
sonarcloud_issues.txt
Expand Down
49 changes: 46 additions & 3 deletions .github/workflows/android-helper.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Android device-side helper

# Builds and tests native/android_helper. Stage 1 is the fence ledger, a pure Kotlin
# state machine tested on the JVM; later stages add the instrumentation app and an
# emulator run. Nothing here holds a secret or publishes anything.
# Builds and tests native/android_helper: the fence ledger on the JVM, the instrumentation
# APK, and (stage 4) an emulator run that drives the helper through the package's host
# provider stack. Nothing here holds a secret or publishes anything.

on:
push:
branches: ["dev", "main"]
paths:
- "native/android_helper/**"
- ".github/workflows/android-helper.yml"
- "je_auto_control/utils/agent_runtime/android_*.py"
pull_request:
branches: ["main"]
paths:
- "native/android_helper/**"
- ".github/workflows/android-helper.yml"
- "je_auto_control/utils/agent_runtime/android_*.py"
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -79,3 +81,44 @@ jobs:
name: android-helper-debug-apk
path: native/android_helper/app/build/outputs/apk/debug/app-debug.apk
retention-days: 7

emulator:
# Stage 4: the debug APK on an x86_64 emulator, driven by native/android_helper/emulator_check.py
# through ManagedAdbServer, AndroidHelperClient and GeteventSource. Emulator evidence only;
# real-device acceptance stays deferred.
needs: instrumentation-app
runs-on: ubuntu-22.04
timeout-minutes: 45
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- uses: actions/setup-python@v6
with:
python-version: "3.12"

- name: Install the package
run: python -m pip install -e . # NOSONAR githubactions:S8544 # reason: installs the checked-out project itself

- uses: actions/download-artifact@v5
with:
name: android-helper-debug-apk
path: apk

- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm

- name: Drive the helper on an emulator
# nosemgrep: yaml.github-actions.security.third-party-action-not-pinned-to-commit-sha.third-party-action-not-pinned-to-commit-sha
uses: reactivecircus/android-emulator-runner@v2 # NOSONAR githubactions:S7637
with:
api-level: 30
arch: x86_64
target: default
disable-animations: true
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim
script: sh native/android_helper/emulator_run.sh apk/app-debug.apk
91 changes: 91 additions & 0 deletions .github/workflows/driver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Driver

# Builds the AutoControl socket driver (autocontrol_driver/generate_autocontrol_driver.py) with
# Nuitka: one windowless executable on Windows, one binary on Linux. The binaries are not kept in
# the repository, so a driver can never ship an older socket server than the source. Each build is
# started once and must refuse a command sent without the token, answer one sent with it, and exit
# on quit_server. Builds are uploaded as artifacts, and attached to a published GitHub release.

on:
push:
branches: ["dev", "main"]
paths:
- "autocontrol_driver/**"
- "je_auto_control/utils/socket_server/**"
- ".github/workflows/driver.yml"
release:
types: [published]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: driver-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: windows-2022
binary: AutoControlDriver.exe
artifact: AutoControlDriver-windows
- os: ubuntu-22.04
binary: AutoControlDriver
artifact: AutoControlDriver-linux
runs-on: ${{ matrix.os }}
timeout-minutes: 90
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- uses: actions/setup-python@v6
with:
python-version: "3.12"

- name: Install the build's Linux tools and a display
if: runner.os == 'Linux'
# patchelf for Nuitka's one-file build; the X11 backend opens a display at import time.
run: sudo apt-get update && sudo apt-get install -y patchelf xvfb

- name: Install the package and Nuitka
run: python -m pip install -e . nuitka==4.3.5 zstandard==0.25.0 # NOSONAR githubactions:S8544 # reason: installs the checked-out project itself; build tools pinned

- name: Build the driver
run: python autocontrol_driver/build_driver.py --output-dir dist

- name: Smoke-test the driver (Windows)
if: runner.os == 'Windows'
run: python autocontrol_driver/smoke_driver.py dist/${{ matrix.binary }}

- name: Smoke-test the driver (Linux)
if: runner.os == 'Linux'
run: xvfb-run -a python autocontrol_driver/smoke_driver.py dist/${{ matrix.binary }}

- uses: actions/upload-artifact@v6
with:
name: ${{ matrix.artifact }}
path: dist/${{ matrix.binary }}
if-no-files-found: error

attach:
if: github.event_name == 'release'
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v7
with:
path: drivers
merge-multiple: true

- name: Attach the drivers to the release
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.event.release.tag_name }}
run: gh release upload "$TAG" drivers/* --repo "$GITHUB_REPOSITORY" --clobber
44 changes: 27 additions & 17 deletions .github/workflows/platform-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,28 @@ jobs:
# ubuntu-22.04-arm adds Linux, and windows-11-arm is back.
#
# windows-11-arm installs a smaller dependency set than every other
# square, and that is deliberate rather than accidental. Two packages
# publish no win_arm64 wheel, so pyproject.toml marks them off this
# one platform:
# square, and that is deliberate rather than accidental. cryptography
# publishes no win_arm64 wheel at our floor, so pyproject.toml marks
# it off this one platform: wheels stop at 46.0.3, and >=50.0.0 is a
# security floor (GHSA-537c-gmf6-5ccf, GHSA-g6cj-pr64-35w5) that
# cannot be lowered.
#
# opencv-python — no win_arm64 wheel in any version, so pip fell
# back to building from source and CMake could not
# configure for ARM64. Twelve minutes, then failure.
# cryptography — wheels stop at 46.0.3; 46.0.4 onwards ship none.
# Our floor is >=50.0.0 and that is a security floor
# (GHSA-537c-gmf6-5ccf, GHSA-g6cj-pr64-35w5), so it
# cannot be lowered.
# opencv-python carried the same marker (no win_arm64 wheel, so pip
# built from source and CMake could not configure for ARM64) until
# 5.1.0.95 shipped a cp37-abi3 win_arm64 wheel. It is installed here
# again, and the "Run the image stack" step below proves cv2 and
# template matching work on every square.
#
# Nothing in the package imports either one at import time, so what
# Nothing in the package imports cryptography at import time, so what
# this square proves is real: the install succeeds and the stable API
# works. Image matching, action signing, ACME and encrypted recording
# do not work there, and Progress.md says so. Re-check upstream in
# about ten seconds, no runner required:
# works. Action signing, ACME and encrypted recording do not work
# there, and Progress.md says so. Re-check upstream in about ten
# seconds, no runner required:
#
# pip install --dry-run --only-binary=:all: --platform win_arm64 \
# --python-version 3.12 --target /tmp/probe \
# 'opencv-python>=4.8,<6' 'cryptography>=50.0.0'
# --python-version 3.12 --target /tmp/probe 'cryptography>=50.0.0'
#
# When both resolve, drop the markers from pyproject.toml.
# When it resolves, drop the marker from pyproject.toml.
os: [windows-2022, ubuntu-22.04, macos-15, ubuntu-22.04-arm, windows-11-arm]
python-version: ["3.14"]
runs-on: ${{ matrix.os }}
Expand All @@ -63,6 +62,17 @@ jobs:
python -c "import je_auto_control.api as ac;
compile(ac.generate_code([['AC_screen_size']], style='actions'),
'<generated>', 'exec')"
- name: Run the image stack
shell: bash
run: >-
python -c "import numpy as np;
from je_auto_control.utils.cv2_utils.optional import require_cv2, require_je_open_cv;
cv2 = require_cv2(); require_je_open_cv();
frame = np.zeros((40, 40), np.uint8); frame[10:20, 22:32] = 255;
result = cv2.matchTemplate(frame, frame[8:22, 20:34].copy(), cv2.TM_CCOEFF_NORMED);
location = cv2.minMaxLoc(result)[3];
assert location == (20, 8), location;
print('cv2', cv2.__version__, 'match at', location)"
- name: Create headless diagnostic bundle
shell: bash
run: >-
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/windows-uia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Windows UI Automation over real COM

# The headless suite exercises the UIA backend against a fake comtypes. This job installs the
# accessibility extra (real comtypes) on a Windows runner and runs the read-only real-COM tests:
# element reads on the caller's thread and on the accessibility walker, a focus wait that ends by
# its timeout, and a stop that wakes a focus wait. Nothing is clicked, typed or focused. If the
# runner's session has no usable UI Automation the tests skip and say why.

on:
push:
branches: ["dev", "main"]
paths:
- "je_auto_control/utils/accessibility/**"
- "je_auto_control/utils/ax_events/**"
- "je_auto_control/utils/system_volume/**"
- "test/unit_test/headless/test_accessibility_windows_real_com.py"
- ".github/workflows/windows-uia.yml"
pull_request:
branches: ["main"]
paths:
- "je_auto_control/utils/accessibility/**"
- "je_auto_control/utils/ax_events/**"
- "je_auto_control/utils/system_volume/**"
- "test/unit_test/headless/test_accessibility_windows_real_com.py"
- ".github/workflows/windows-uia.yml"
workflow_dispatch:

permissions:
contents: read

concurrency:
group: windows-uia-${{ github.ref }}
cancel-in-progress: true

jobs:
real-com:
runs-on: windows-2022
timeout-minutes: 20
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false

- uses: actions/setup-python@v6
with:
python-version: "3.12"

- name: Install the package with the accessibility extra
run: python -m pip install -e ".[accessibility]" pytest==9.1.1 pytest-timeout==2.4.0 # NOSONAR githubactions:S8544 # reason: installs the checked-out project itself; test tools pinned as in dev_requirements.txt

- name: Run the real-COM UI Automation tests
run: python -m pytest test/unit_test/headless/test_accessibility_windows_real_com.py -v -rs --timeout 120
13 changes: 9 additions & 4 deletions AutoControl/executor/executor_bad_file.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@

# This example is primarily intended to remind users of the importance of verifying input.
from je_auto_control import execute_action, read_action_json

from pathlib import Path

from je_auto_control import execute_action, read_executable_action_json

# Resolved from this script's location, so the project still runs after it is moved.
KEYWORD_DIR = Path(__file__).resolve().parent.parent / "keyword"

execute_action(
read_action_json(
r"D:\Codes\AutoControlGUI\AutoControl\keyword\bad_keyword_1.json"
read_executable_action_json(
str(KEYWORD_DIR / "bad_keyword_1.json")
)
)
7 changes: 6 additions & 1 deletion AutoControl/executor/executor_folder.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from pathlib import Path

from je_auto_control import execute_files, get_dir_files_as_list

# Resolved from this script's location, so the project still runs after it is moved.
KEYWORD_DIR = Path(__file__).resolve().parent.parent / "keyword"

execute_files(
get_dir_files_as_list(
r"D:\Codes\AutoControlGUI\AutoControl\keyword"
str(KEYWORD_DIR)
)
)
11 changes: 8 additions & 3 deletions AutoControl/executor/executor_one_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from je_auto_control import execute_action, read_action_json
from pathlib import Path

from je_auto_control import execute_action, read_executable_action_json

# Resolved from this script's location, so the project still runs after it is moved.
KEYWORD_DIR = Path(__file__).resolve().parent.parent / "keyword"

execute_action(
read_action_json(
r"D:\Codes\AutoControlGUI\AutoControl\keyword\keyword1.json"
read_executable_action_json(
str(KEYWORD_DIR / "keyword1.json")
)
)
Loading
Loading