Commit Graph
14735 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 0ece4fcbc4 fix(svc-storage-nfs-client): set noauto on the probe mount through boot: false
With noauto in opts and boot left at its default true, ansible.posix.mount warned on every swarm deploy that it ignores boot. boot: false appends noauto itself, so the ephemeral probe mount keeps the same options without the warning.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 08:27:38 +01:00
kevinveenbirkenbachandClaude Opus 5.5 aa88429c25 fix(sys-stk-front-proxy): probe the queued vhosts only on the OpenResty host
sys-stk-full includes the front proxy with run_once and delegate_to, so every set_fact inside is broadcast to all hosts of the play. A worker context queued the clearnet URL (its group_names lack svc-net-tor) over the manager's onion queue, and the deferred probe then ran on every host: workers and the NFS server, which serve nothing and cannot resolve .onion, answered -1 and failed the swarm deploy with 'OpenResty does not serve ... even after a restart' after a needless OpenResty restart. Only the stack host now queues a vhost, and only the first host of svc-prx-openresty probes the queue; an empty queue skips before the group is read.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 08:26:22 +01:00
kevinveenbirkenbachandClaude Opus 5.5 04257b5b76 test(web-app-stalwart): make the consent step of the native login optional
Stalwart v1.0.1 shows the password field right after the username, without the Allow consent step the spec waited 60 s for, so the recovery admin login timed out in every attempt. The spec now waits for Allow or the password field, clicks Allow only when it appears, and checks the same after sign-in.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 08:11:00 +01:00
kevinveenbirkenbach 14793965bd Merge remote-tracking branch 'origin/fix/worktree/swarm-lab-subnet-overflow' into feature/updater-lockdown-probe 2026-10-29 04:48:43 +01:00
kevinveenbirkenbach d9588b642d Merge branch 'main' into feature/updater-lockdown-probe 2026-10-29 02:00:39 +01:00
kevinveenbirkenbachandClaude Opus 5.5 aedc96f211 docs(web-app-stalwart): show the disabled stalwart_migrate service in the cosmos
make docs renders the role's services into the cosmos diagram; the 0.16 store migration image declared in meta/services.yml was missing from it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 02:00:36 +01:00
kevinveenbirkenbach f87bfef5b4 Merge remote-tracking branch 'origin/main' into fix/worktree/swarm-lab-subnet-overflow 2026-10-29 01:54:41 +01:00
kevinveenbirkenbach b4fed88b58 Merge pull request #1268 from infinito-nexus/update/docker-image-versions-web-app-wordpress-20261028-7e35b8e
update(images): update Docker image versions (web-app-wordpress)
2026-10-29 01:51:59 +01:00
kevinveenbirkenbach 722271d586 Merge remote-tracking branch 'origin/main' into feature/updater-lockdown-probe 2026-10-29 01:49:52 +01:00
kevinveenbirkenbach cc588d7950 Merge remote-tracking branch 'origin/main' into fix/worktree/swarm-lab-subnet-overflow 2026-10-29 01:49:29 +01:00
kevinveenbirkenbach da78db5662 Merge remote-tracking branch 'origin/main' into feature/updater-lockdown-probe
# Conflicts:
#	roles/web-app-matrix/templates/flavor/ansible/vars.yml.j2
2026-10-29 01:48:55 +01:00
kevinveenbirkenbach cf1bc81302 Merge pull request #1267 from infinito-nexus/update/docker-image-versions-web-app-erpnext-20261028-1ab20b9
update(images): update Docker image versions (web-app-erpnext)
2026-10-29 01:48:15 +01:00
kevinveenbirkenbach 72a2f3083b Merge pull request #1269 from infinito-nexus/fix/format/autoformat-drift
style: apply the autoformat output to two files on main
2026-10-29 01:46:41 +01:00
kevinveenbirkenbachandClaude Opus 5.5 f1ba6f1aac perf(web-app-keycloak): converge clients, scopes and realm mail settings in one admin REST pass
The update started one kcadm JVM per step: the client and both realms' mail settings as async jobs with their reaps, then each declared client in turn, about 27-31 s in a Nextcloud deploy. realm_settings.py reads the client scopes, clients and both realms once over the admin REST API, creates what is missing and writes a client or realm only when it drifted; secrets reach it on stdin through the new rest_script_stdin parameter. The remaining update steps are renumbered and every reference follows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:43:13 +01:00
kevinveenbirkenbachandClaude Opus 5.5 551ee32291 style: apply the autoformat output to two files on main
`make autoformat` rewrites roles/web-app-seaweedfs/vars/main.yml and
tests/unit/python/roles/web-app-stalwart/test_store_guard.py on every
checkout of main, so every quality gate on every branch leaves them as
unstaged changes, and the gate lints a tree the commit does not carry.

The YAML change folds one line of the `>-` scalar
SEAWEEDFS_S3_ADMIN_CURL; the parsed value is identical. The Python
change is ruff's line wrapping only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 01:41:51 +01:00
kevinveenbirkenbachandClaude Opus 5.5 86e7c844f3 fix(web-app-stalwart): recognise existing v1.0 accounts and patch only their password
Stalwart v1.0 refuses an existing account with primaryKeyViolation; the batched provisioning from 1fbd4758e3 only knew alreadyExists, so every update deploy skipped the password sync and the listed-id fallback hid the refusal (msmtp then failed with 535). An account now counts as existing when the refusal's objectId is the listed account of that name, any other refusal fails the assert, and the update patches credentials/<k>/secret instead of replacing the whole credentials list, which would have dropped every app password, API key and second factor. sys-token-store gains write_many.yml, so all bot tokens land in one store write and one applications re-render; write.yml delegates a one-entry batch to it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:37:35 +01:00
kevinveenbirkenbachandClaude Opus 5.5 06a899df0d fix(inventory): pin the passwords of every bot and account holder, deployed role or not
Stalwart, Mailu and LDAP provision every bot and account holder of the whole users catalogue, but the generator pinned only the users of the resolved roles. The bots of undeployed roles (no-reply, blackhole, bounce, newsletter, helpdesk, contact) fell back to strong_password, got a new secret on every deploy, rewrote the token store six times per run and left email.password consumers on a stale value. The generator now also pins every catalogue user holding an account or the bot role unless a role states its password outright, and reads policies independent of declaration order; existing pins are never overwritten.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:31:15 +01:00
kevinveenbirkenbachandClaude Opus 5.5 5f85f382e5 perf(packages): skip the package manager when its database already shows the state
The apt module loads its whole cache before it finds that every name is installed, about 2.4 s per call; an update deploy spent ~28 s on twelve such no-op calls from roles outside the batch. package_install now asks dpkg-query, pacman --query or rpm --query under LC_ALL=C first and returns unchanged only when every plain name is proven to be in the requested state; anything it cannot read in full runs the module as before.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:28:46 +01:00
kevinveenbirkenbachandClaude Opus 5.5 4acc6b90e2 perf(tls): stop rewriting the self-signed config, CA bundle and trust store on every deploy
The openssl.cnf SAN list followed the unsorted SAN order and flipped between runs. The CA trust bundle was rebuilt with cat and changed_when true; build-trust-bundle.sh now compares a staged copy and rewrites the bundle in place, keeping the inode containers bind-mount, only when it differs. The trust wrapper, which runs update-ca-certificates, now runs only when openssl verify against the distribution bundle (default CA path off) does not already trust the Root CA, when no bundle exists, or when the wrapper itself changed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:24:26 +01:00
kevinveenbirkenbachandClaude Opus 5.5 2ebcca7658 fix(user-administrator): generate the SSH key only when it is missing
generate_ssh_key: true made the user module warn on every deploy after the first one that the existing key is kept without force. A stat of the key decides whether to ask for one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:20:46 +01:00
kevinveenbirkenbachandClaude Opus 5.5 3dc35655a3 style: apply make autoformat to files committed unformatted
ruff format reflows the package batch, registry, plan and invocation code and tests and the Stalwart and Nextcloud tests, ansible-lint rewraps long Jinja lines in folded scalars of sys-service, Nextcloud and SeaweedFS, mbake restores the Makefile's final newline, and the Nextcloud OAuth test merges its nested with statements (SIM117).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:17:22 +01:00
kevinveenbirkenbachandClaude Opus 5.5 26e95bb174 test(lint): catch paths two roles own, touches that restamp and unquoted modes
path-single-owner fails when more than one role sets owner, group or mode on the same path, which flips it on every deploy. touch-preserves-times fails on file state touch without preserved times, which reports changed on every run. file-mode-quoted fails on a numeric YAML mode such as 600, which Ansible applies as octal 1130. The NFS server mount point now only ensures the directory, the Akaunting first-run marker keeps its times, and the per-host secrets directory carries a nocheck because sys-token-store sets the same root 0700 on STACK_HOST only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:15:44 +01:00
kevinveenbirkenbachandClaude Opus 5.5 35015ae9e8 fix(sys-svc-mail-msmtp): give /root/.msmtprc mode 0600, not decimal 600
YAML reads the unquoted mode 600 as decimal, which Ansible applies as octal 1130: sticky bit, no read for the owner, group write and execute on a file holding the SMTP password.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:12:30 +01:00
kevinveenbirkenbachandClaude Opus 5.5 f1308247a5 refactor(web-app-openproject): group the select queries in a folder
select-admin-state.sql joined select-ldap-auth-source-exists.sql under the shared 'select' prefix, which the prefix-grouping lint rejects. Both now live in files/sql/select/ and their three readers point there.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:10:45 +01:00
kevinveenbirkenbach a8000d7139 Merge pull request #1260 from infinito-nexus/documentation/branch-protection-ruleset
docs(github): match branch protection docs to the live ruleset
2026-10-29 01:05:09 +01:00
kevinveenbirkenbachandClaude Opus 5.5 8132fed660 fix(worktree): move the swarm lab prefix out of the Tor virtual range
a7685e3b21 derived the worktree lab subnet as 10.244.<slot>.0/24, which
lies inside NETWORK_TOR_VIRTUAL_CIDR (10.240.0.0/12). On a swarm with
svc-net-tor the nft output chain redirects every TCP connection to that
range into Tor's TransPort, so the nodes could not reach each other: in
the slot-114 worktree `curl http://10.244.114.10:5000/v2/` timed out on
the manager itself and svc-prx-openresty died pushing to the stack
registry with Client.Timeout.

The prefix is now 10.160.<slot>, outside every range the platform
reserves in group_vars/all/08_networks.yml.

The lint now reads the reserved ranges from that file instead of a
hardcoded list: NETWORK_TOR_VIRTUAL_CIDR, NETWORK_MESH_POOL,
NETWORK_DOCKER_ADDRESS_POOLS, NETWORK_NESTED_DOCKER_ADDRESS_POOLS and
NETWORK_NESTED_DOCKER_BIP, plus the primary lab subnet and the worktree
INFINITO_SUBNET range. Against the 10.244 prefix it fails every slot on
the Tor range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 01:03:04 +01:00
infinito-nexus-updater[bot] 153d52e79f update(images): update Docker image versions (web-app-wordpress) 2026-10-28 23:40:23 +00:00
infinito-nexus-updater[bot] 0fbe24c713 update(images): update Docker image versions (web-app-erpnext) 2026-10-28 23:40:18 +00:00
kevinveenbirkenbachandClaude Opus 5.5 5d7dd424c8 fix(roles): stop tasks from resetting each other's paths on every deploy
user-backup sets the backups root to backup:backup 0700 and the two cleanup roles reset it to root 0755; svc-bkp-volume-2-local and sys-svc-compose flip /opt/compose between 0755 and 0700; sys-ca-selfsigned and sys-svc-compose-ca flip the CA directory between 0750 and 0755. One task now owns each path's owner and mode, the others only ensure it exists. The databases.csv touch preserves its times, and docker.list ends in a newline so the source sanitizer no longer rewrites it and the apt cache is refreshed only after a real repository change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:35:05 +01:00
kevinveenbirkenbachandClaude Opus 5.5 dd0d9e964d perf(web-app-openproject): apply settings and the administrator only when their digest changes
The admin step ran its Rails runner on every deploy. It now digests its sources, its inputs and the administrator and settings state OpenProject holds, compares that with the admin-provision.sha256 stamp in the instance directory, and runs only on a mismatch or when services.openproject.admin.force is set.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:28:15 +01:00
kevinveenbirkenbachandClaude Opus 5.5 008887c0f0 perf(web-app-openproject): migrate only when the running image has not migrated the schema
db:migrate took about 24 s on every deploy. After a successful run the
deploy stamps the web container's image id as the comment of
public.schema_migrations; a deploy whose image matches the stamp skips the
migration, a new image, a failed run or a recreated database migrates. The
stamp is read unmasked because masking short config values would corrupt a
hex image id, and written through a DO/format() block because sqlfluff cannot
parse COMMENT ON ... IS with a placeholder.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:10:22 +01:00
kevinveenbirkenbachandClaude Opus 5.5 86dee1edc5 feat(web-app-openbao): record every request through a declared stdout audit device
OpenBao keeps no record of who read which secret without an audit device,
and 2.7 refuses to enable one over the API, so the server config declares a
file device writing to stdout, which cannot block and lands in the container
log with secret values only as salted HMACs. Every deploy fails unless the
device is active, a probe secret read through the AppRole session shows up
in the log with path, operation, display_name and time, and the probe value
does not appear in plaintext. openbao becomes a regular shared provider so
consumers such as the landing page role can declare services.openbao.
Requirement 047; taken over from the feature/openbao-audit worktree.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:07:17 +01:00
kevinveenbirkenbachandClaude Opus 5.5 4d5be401c0 fix(web-opt-rdr-domains): find redirect certificates only in directories that exist
On a fresh host the self-signed certificate directory of a redirect source
does not exist yet, and find warned that it skipped a path that is not a
directory. A stat on the target host now hands find only the existing
directories; with none found, sys-front-tls still runs for every source.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:05:12 +01:00
kevinveenbirkenbachandClaude Opus 5.5 d92375922d feat(roles): pull custom roles from inventory-declared sources
An inventory group web-app-cst-<name> with applications.<id>.custom: true and
a pinned source {url, version, path} is pulled into roles/ before the play,
read raw (Jinja, Ansible tags and credential URLs refused), placed through a
staging directory under an exclusive lock, and owned by a marker that names
its own directory, so a pull or roles-clean never replaces or removes a
directory it did not place and a failed pull leaves roles/ as it was.
Directory inventories, host lists and non-UTF-8 files behave as Ansible
reads them; generated test deploys pass --skip-pull. make roles-pull,
roles-clean and roles list, INFINITO_EXTRA_MOUNTS for local sources, the
web-app-cst category, the reserved prefix lint and a central
repository_files() that also yields the gitignored custom roles let every
lint scan them like in-tree roles. Supersedes the uncommitted 045 External
Roles draft and reuses its fetch, sync and mount design.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 00:02:58 +01:00
kevinveenbirkenbach 5b83ce0d4d Merge remote-tracking branch 'origin/main' into documentation/branch-protection-ruleset 2026-10-28 23:40:17 +01:00
kevinveenbirkenbach bd296f6920 Merge remote-tracking branch 'origin/main' into fix/worktree/swarm-lab-subnet-overflow 2026-10-28 23:40:13 +01:00
kevinveenbirkenbach 2534022f33 Merge pull request #1262 from infinito-nexus/fix/make/final-newline
fix(make): restore the Makefile's final newline
2026-10-28 23:31:01 +01:00
kevinveenbirkenbachandClaude Opus 5.5 6f653ce633 fix(make): restore the Makefile's final newline
310663ae8c left the Makefile without a trailing newline. lint-makefile
(mbake) refuses that with "Missing final newline" / "Would reformat:
Makefile", so the Lint job fails on main and on every PR that merges it.

A local `make quality-high` hides it: its autoformat step adds the
newline to the working tree before the lint phase runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:27:51 +01:00
kevinveenbirkenbachandClaude Opus 5.5 870433e74d fix(swarm): attach the nodes of a high worktree slot through the cache pool
01_bootstrap.sh pins the five swarm nodes into the shared cache network
at 200 + INFINITO_INSTANCE * 5. That band fits a /24 only for instances
0 to 10; from instance 11 on the script aborted with "pushes the node
band past ...254", so no worktree past slot 10 could start a swarm
cluster while the package cache runs. Five nodes per slot cannot fit
255 slots in one /24 with any fixed formula.

Instances whose band fits keep their pinned addresses, so the primary
checkout and CI behave as before. Above that, the nodes join the cache
network without --ip and Docker assigns them from its pool (the upper
half of the subnet), the same way every worktree stack container joins
it. Nothing in the repository reads the nodes' cache-network addresses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 23:01:30 +01:00
kevinveenbirkenbachandClaude Opus 5.5 cb4d340de9 test(lint): demand a package-install nocheck on every role package_install
The batch lint cannot see the conditions an include or a role invocation puts
around a task file, so an install there could pass as unconditional and be
dropped onto every host. Every package_install task in a role now has to say
why it cannot ride the deploy-start batch; the 26 existing ones name their
reason (needed before update, repository first, task or include condition,
conditional role, removal, controller delegation).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 23:00:46 +01:00
kevinveenbirkenbachandClaude Opus 5.5 18ea75049e perf(packages): install every role's packages per host in one run at deploy start
A constructor task after the update role and the swarm auto-placement installs,
in one package-manager call, every package id of every role the host's groups
may run: meta dependencies, service edges and every role invocation readable
from tasks and handlers, conditions ignored. Ids that must stay with their role
(a conditional install, a repository added first, a need before update) carry
batch: false in meta/packages.yml and keep their task; roles reference shared
root ids with shared: true. 42 per-role install tasks go, and a lint keeps the
split: no batched id in a role task, none in a role run ahead of the batch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:54:36 +01:00
kevinveenbirkenbachandClaude Opus 5.5 b2c2fe7703 docs(github): match branch protection docs to the live ruleset
The contributor docs described repository settings that are not in
place. security.md marked "Require status checks", "Require branch to
be up to date" and "Require signed commits" as enforced, but the active
ruleset `Main` has no required_status_checks and no required_signatures
rule, and the separate `Signed` ruleset is disabled. repository.md
listed Dependabot alerts, security and version updates, secret scanning
and push protection as disabled although all of them are on, and its
summary repeated the two rules that are not enforced. branch.md claimed
branch protection enforces the branch naming rules, while only the PR
validation run checks the prefix. Three pages still described a hadolint
SARIF job in call-lint.yml that no longer exists, which hid that nothing
uploads the Hadolint results the ruleset asks for.

The pages now state what the ruleset and the repository settings
enforce today, name the policy pages for rules that are policy only,
and record that no workflow uploads Hadolint results.

Scorecard alerts 472, 504 and 505 depend on repository settings and
process and stay open; 507 and 539 are no longer reported on main.

Refs #853

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:39:16 +01:00
kevinveenbirkenbachandClaude Opus 5.5 a7685e3b21 fix(worktree): derive the swarm lab subnet without an octet overflow
scripts/system/worktree/up.sh pinned INFINITO_SWARM_LAB_SUBNET to
192.168.$((244 + slot)).0/24. From slot 12 on that third octet exceeds
255, so every worktree past slot 11 carries an invalid subnet
(192.168.358.0/24 for slot 114), and make swarm-zombie dies at the lab
network creation with `invalid subnet: netip.ParsePrefix(...)`.

The lab prefix is now 10.244.<slot>, valid and distinct for every slot
up to max_slot 255, and outside both the primary lab subnet
192.168.244.0/24 and the 172.30.0.0/16 worktree subnets. The host
daemon allocates nothing from 10.0.0.0/8.

A new lint renders the prefix for every slot and fails on an invalid,
repeated or overlapping subnet; against the old derivation it fails 247
of 255 slots.

Worktrees that were pinned before this fix keep their custom.env; the
ones at slot 12 or above need their INFINITO_SWARM_*_IP and
INFINITO_SWARM_LAB_SUBNET pins rewritten to 10.244.<slot>.x and a
make dotenv before they can run swarm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:38:54 +01:00
kevinveenbirkenbachandClaude Opus 5.5 3be77f1aa9 perf(web-app-stalwart): provision the forward scripts of all accounts in batched JMAP requests
Listing, reading, uploading and activating the Sieve forward scripts each run
as one request for every forwarding account, with one method call per account
addressed through its accountId by the recovery admin, at most
STALWART_JMAP_MAX_METHOD_CALLS per request, instead of one request per account
under act-as. The account lookup joins the limits read, a missing account
stops before the limits are raised, and only changed scripts are uploaded.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:33:34 +01:00
kevinveenbirkenbachandClaude Opus 5.5 61889974da perf(sys-service): run fewer tasks per unit deploy
The refresh handler is inlined instead of included per notify, Result and
ExecMainStatus come from one systemctl show, the script and unit template
sources resolve as strict first_found vars instead of set_fact plus assert,
the base routine is imported statically, one changed debug task notifies the
forced handlers, and sys-timer reloads systemd only when its timer changed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:28:33 +01:00
kevinveenbirkenbachandClaude Opus 5.5 0193a37748 perf(web-app-nextcloud): converge the OpenProject coupling only when its digest changes
The bidirectional OAuth coupling converged on every deploy. A digest over the
provisioning sources, its inputs and the coupling state read from both sides
(the client ids and secret Nextcloud holds, the storage and OAuth pair
OpenProject holds) now gates it against a stamp in the instance directory; a
lost or drifted coupling changes the digest and converges again, and
rotate_oauth_client still forces a run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:21:27 +01:00
kevinveenbirkenbachandClaude Opus 5.5 4b5739a0fb perf(cache): key the token store by its tokens, not by its source
The carrier key switched from the tokens file's path and hash to the
sys_token_store_users fingerprint once the token store loaded, so the
stage-wide park re-rendered the applications SPOT (about 11 s) even when the
tokens were identical. Both sources now sign as a digest over exactly the
tokens the users hydration reads; the store helpers move to users/store.py
to keep the package under the file length cap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:18:15 +01:00
kevinveenbirkenbachandClaude Opus 5.5 1b9c6f9d12 feat(test-e2e-playwright): ship @axe-core/playwright in the shared runner
Specs can run WCAG checks through AxeBuilder without a role-local package.
playwright.axe_version pins it with an npm update source, and the shared
install stamp carries both versions so a host with an older stamp reinstalls.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:12:12 +01:00
kevinveenbirkenbachandClaude Opus 5.5 2c686f77b4 test(web-app-openproject): expect a 401 on the SSO-whitelisted API, not a Keycloak bounce
The SSO ACL whitelists /api/ for the bearer-token API Nextcloud calls, and
the vhost has honoured it since the role-owned ACL include. A forged identity
header on /api/v3/users/me therefore meets OpenProject's own 401 and must
mint no session, which the bridge test now asserts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:10:32 +01:00
kevinveenbirkenbachandClaude Opus 5.5 88182e8d1f docs(requirements): add 046 custom roles pulled from inventory-declared sources
A custom role is an ordinary inventory group web-app-cst-<name> marked with
custom: true and a pinned source; core pulls it into roles/ before the play
and scans it like any in-tree role. It supersedes the uncommitted 045
External Roles draft and keeps its credential, atomic-sync and mount rules.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-28 22:05:20 +01:00