pediatric-ai-scribe-v3/docs
Daniel 36cb742ce7
All checks were successful
Forgejo Docker Build / Root app tests (push) Successful in 54s
Forgejo Docker Build / Build Docker image (push) Successful in 7s
ci: fix the failing job, split deploy out, and drop the Android build
Three things, one subject: making CI say the truth about this repo.

## The red on every run was ours, not the runners'

Every docker-build run came back success, success, failure — the same
shape for weeks. The failing job was `deploy`, and it was failing to
*not run*:

    if: ${{ github.event.inputs.deploy == 'true' }}

On a push there is no github.event.inputs at all. This Forgejo does not
treat that as false and skip; it dispatches the job, the runner cannot
resolve it, and the task ends in "Early termination". The runners were
never at fault, and nothing about them needed changing.

The `'runs-on' key not defined` line is a red herring: the `build` job
prints it too and succeeds. It names the job's *needs* target, not the
job, and the old android-apk workflow used `needs:` happily for months.

Deploy is now its own workflow with only workflow_dispatch — no
condition to evaluate, so nothing can be dispatched by mistake. No job
in either file now carries a job-level `if`. The one conditional left is
a *step* (push to registry), and step conditions are evaluated by the
runner once the job is already running, which is why that one has always
worked.

## dev and main

docker-build now runs on `dev` as well. Both branches prove the same two
things — tests pass, image builds — and only `main` publishes the image,
so nothing on `dev` can be mistaken for something deployable. Deploying
stays a person pressing a button after looking at the change.
CONTRIBUTING.md documents the flow.

## Android

Removed: the mobile/ Capacitor project, docs/mobile-build.md, and the
Android bits of scripts/release.sh. All of it is in git history — 4613a278
is the last commit that had it — for when it is rebuilt.

src/utils/platform.js stays. isMobileClient only decides token lifetime,
it is twelve lines, and it is the contract a future app would come back
to; deleting it would be a change to auth for no gain.

.github/workflows/ went too — all five. There is no GitHub remote on
this repository, so none of them has ever run, and two of them wrote
into mobile/ paths that no longer exist.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dv6sqaY6Vq3ChZHMem3cnU
2026-09-12 23:30:52 +02:00
..
logic docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
ai-providers.md docs: merge the duplicate pairs and correct them against the running app 2026-09-12 04:57:35 +02:00
api-reference.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
architecture.md ci: fix the failing job, split deploy out, and drop the Android build 2026-09-12 23:30:52 +02:00
authentication.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
clinical-assistant.md refactor: rebuild the admin settings page around what each card does 2026-09-12 21:42:27 +02:00
configuration.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
database.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
deployment.md ci: fix the failing job, split deploy out, and drop the Android build 2026-09-12 23:30:52 +02:00
developer-guide.md ci: fix the failing job, split deploy out, and drop the Android build 2026-09-12 23:30:52 +02:00
features-explained.md feat: connect Nextcloud by signing in to Nextcloud 2026-09-12 20:55:00 +02:00
global-prompt-administration.md fix: reviewer findings — mhchem macro wrapping, regenerate history dedupe, strict safe image allowlist, stale docs 2026-09-08 19:25:31 +02:00
improvements.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
migrations.md
module-conventions.md docs: merge the duplicate pairs and correct them against the running app 2026-09-12 04:57:35 +02:00
my-resources.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
openid-setup.md
ops-docs-ped-ai-and-milvus.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
retrieval-tuning.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
scaling.md docs: take the Learning Hub out of the docs 2026-09-12 22:24:29 +02:00
speech.md docs: merge the duplicate pairs and correct them against the running app 2026-09-12 04:57:35 +02:00