Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
496 commits
Select commit Hold shift + click to select a range
54ba219
[Spec 358] test: idle() timer check no longer counts every live timer…
OdyAsh Nov 14, 2026
b5419b4
[Spec 358] review: record the idle() flake and its fix
OdyAsh Nov 14, 2026
031fcd1
[PIR #363] Review + retrospective
OdyAsh Nov 14, 2026
d4b9895
chore(porch): 363 record PR #390
OdyAsh Nov 14, 2026
49a530a
chore(porch): 363 review build-complete
OdyAsh Nov 14, 2026
e81e962
[PIR #363] Address review: finish the local to development rename in …
OdyAsh Nov 14, 2026
2feabd7
[PIR #363] Rebuttal to review iteration 1
OdyAsh Nov 14, 2026
5235048
chore(porch): 363 review force-advance (safety ceiling reached at ite…
OdyAsh Nov 14, 2026
875575e
chore(porch): 363 pr gate-requested
OdyAsh Nov 14, 2026
77db020
chore(porch): 363 pr gate-approved
OdyAsh Nov 14, 2026
6b4fb6d
chore(porch): 363 protocol complete
OdyAsh Nov 14, 2026
eac15d2
chore(porch): 393 init experiment
waleedkadous Nov 15, 2026
36efd79
[Experiment 393][Phase: hypothesis] Hypotheses and pass/fail gates fo…
waleedkadous Nov 15, 2026
15443a8
[Experiment 393] Facilitator seam: pin a request to one Gemini model
waleedkadous Nov 15, 2026
ad38857
[Experiment 393] Model evaluation harness: runner, question set v1, s…
waleedkadous Nov 15, 2026
12cd3cf
[Experiment 393][Phase: design] Notes: approach, reproduction, run si…
waleedkadous Nov 15, 2026
f1cc1b6
[Experiment 393] Fix the documented run command: pnpm exec needs -- b…
waleedkadous Nov 15, 2026
d907551
chore(porch): 393 design phase-transition
waleedkadous Nov 15, 2026
74223bc
chore(porch): 393 execute phase-transition
waleedkadous Nov 15, 2026
595df47
[Experiment 393] Report: cost per answer and per 1,000 answers, price…
waleedkadous Nov 15, 2026
b225ae5
[Experiment 393] Scorer corrections from the first real answers
waleedkadous Nov 15, 2026
6e1585c
[Experiment 393] Thread: first run in progress, scorer corrections de…
waleedkadous Nov 15, 2026
b1ff309
[Experiment 393] Prices: record the Developer API page check; flash 3…
waleedkadous Nov 15, 2026
d9e5c90
[Experiment 393] Scorer: an Urdu or Persian run is not Quran text
waleedkadous Nov 15, 2026
5c562fb
[Experiment 393] Self-check on real answers; a labelled misquote fail…
waleedkadous Nov 15, 2026
0b54d0c
[Experiment 393] Scorer: a reference in the next sentence does not la…
waleedkadous Nov 15, 2026
5ab3881
[Experiment 393] Scorer: 'قال الله عز وجل' is a set phrase, not a quote
waleedkadous Nov 15, 2026
bc60535
[Experiment 393][Phase: analyze] Results: two runs, comparison, cost …
waleedkadous Nov 15, 2026
11342e8
[Experiment 393] Notes: two unrelated tests that time out under local…
waleedkadous Nov 15, 2026
db1e5ef
chore(porch): 393 analyze phase-transition
waleedkadous Nov 15, 2026
78ea607
chore(porch): 393 record PR #395
waleedkadous Nov 15, 2026
b2f1b31
chore(porch): 393 experiment-complete gate-requested
waleedkadous Nov 15, 2026
0a4b4bd
[Experiment 393] Source scan: no route passes model to runFacilitator…
waleedkadous Nov 15, 2026
05171fb
chore(porch): 393 experiment-complete gate-approved
waleedkadous Nov 16, 2026
90ad3b0
[Experiment 393] thread and notes: owner approved, merge notes
waleedkadous Nov 16, 2026
eb08957
chore(porch): 393 protocol complete
waleedkadous Nov 16, 2026
700e913
Merge pull request #395 from iaser-ai/builder/experiment-393
waleedkadous Nov 16, 2026
9a13947
chore(porch): 397 init air
waleedkadous Nov 16, 2026
8dc100c
[Air #397] feat: move the model evaluation harness to apps/eval
waleedkadous Nov 16, 2026
4445958
chore(porch): 397 pr phase-transition
waleedkadous Nov 16, 2026
277c2e0
[Air #397] thread: image check, Node 22 note, pr phase
waleedkadous Nov 16, 2026
9928f27
[Air #397] fix: review follow-ups
waleedkadous Nov 16, 2026
c4b5286
chore(porch): 397 record PR #398
waleedkadous Nov 16, 2026
202eb41
chore(porch): 397 pr gate-requested
waleedkadous Nov 16, 2026
b80f7b1
chore(porch): 397 pr gate-approved
waleedkadous Nov 16, 2026
c83ac45
chore(porch): 397 protocol complete
waleedkadous Nov 16, 2026
0b50b4d
[Air #397] thread: pr gate approved by the human, merging
waleedkadous Nov 16, 2026
49021ca
Merge pull request #398 from iaser-ai/builder/air-397
waleedkadous Nov 16, 2026
ee591c1
chore(porch): bugfix-399 init bugfix
waleedkadous Nov 16, 2026
0bf8a2a
chore(porch): bugfix-399 fix phase-transition
waleedkadous Nov 16, 2026
947fd3a
Fix #399: surface Inkling's in-stream error and log which model answe…
waleedkadous Nov 16, 2026
1fc2407
[Bugfix #399] thread: what the user sees after the fix
waleedkadous Nov 16, 2026
58aed3c
chore(porch): bugfix-399 pr phase-transition
waleedkadous Nov 16, 2026
674993c
[Bugfix #399] test: answered-by line on the synthesis path; thread: P…
waleedkadous Nov 16, 2026
d2677e3
chore(porch): bugfix-399 pr gate-requested
waleedkadous Nov 16, 2026
1537e97
chore(porch): 400 init pir
waleedkadous Nov 16, 2026
b3030c2
[PIR #400] Plan draft
waleedkadous Nov 16, 2026
cf6c8c0
chore(porch): 400 plan-approval gate-requested
waleedkadous Nov 16, 2026
c8a10b3
Fix #402: record and log the Gemini model that answered, not the one …
waleedkadous Nov 16, 2026
2935a9a
chore(porch): 400 plan-approval gate-approved
waleedkadous Nov 16, 2026
3785c8d
chore(porch): 400 implement phase-transition
waleedkadous Nov 16, 2026
d3bc144
[Bugfix #399] test: error frame with no type; thread: second review r…
waleedkadous Nov 16, 2026
2c4384f
[PIR #400] Thread history thresholds in config: warn 150k, block 200k
waleedkadous Nov 17, 2026
07c632b
[PIR #400] Warn and block on thread history size; plain message when …
waleedkadous Nov 17, 2026
7fed8c1
[PIR #400] arch: thread history limits
waleedkadous Nov 17, 2026
1a293dd
chore(porch): bugfix-399 pr gate-approved
waleedkadous Nov 17, 2026
e9118ce
chore(porch): bugfix-399 protocol complete
waleedkadous Nov 17, 2026
6ce8e90
[Bugfix #399] thread: pr gate approved by the human, merging
waleedkadous Nov 17, 2026
a1ceca4
Merge pull request #401 from iaser-ai/builder/bugfix-399
waleedkadous Nov 17, 2026
e73003f
Merge remote-tracking branch 'origin/develop' into builder/pir-400
waleedkadous Nov 17, 2026
c83d559
[PIR #400] Tests: notices as thread GET returns them; the Inkling con…
waleedkadous Nov 17, 2026
a9d1ec4
[PIR #400] thread: porch tests check fails on a suite outside this ch…
waleedkadous Nov 17, 2026
e0c7988
chore(porch): 400 dev-approval gate-requested
waleedkadous Nov 17, 2026
956931c
[PIR #400] thread: porch checks pass with a CI-shaped tests check; de…
waleedkadous Nov 17, 2026
62fac67
[PIR #400] thread: owner closes the WhatsApp wording question; gate a…
waleedkadous Nov 17, 2026
3a56b89
chore(porch): 403 init air
waleedkadous Nov 17, 2026
0f55800
[PIR #400] thread: porch approve refused on a load timeout in an unto…
waleedkadous Nov 17, 2026
2127f0a
[Air #403] feat: answer everyday advice questions; 32,000-character c…
waleedkadous Nov 17, 2026
8f3c814
[Air #403] thread: holding checks at the architect's request
waleedkadous Nov 17, 2026
2530df6
chore(porch): 400 dev-approval gate-approved
waleedkadous Nov 17, 2026
3445d08
chore(porch): 400 review phase-transition
waleedkadous Nov 17, 2026
f631bf8
[PIR #400] Review + retrospective
waleedkadous Nov 17, 2026
fc2997c
chore(porch): 400 record PR #404
waleedkadous Nov 17, 2026
6573423
chore(porch): 400 review build-complete
waleedkadous Nov 17, 2026
f6ffcab
chore(porch): 400 pr gate-requested
waleedkadous Nov 17, 2026
055b64e
[PIR #400] Consultation results; thread: pr gate pending
waleedkadous Nov 17, 2026
a59fb70
[Air #403] thread: first porch run refused on the Node 26 frontend fa…
waleedkadous Nov 17, 2026
7753b6a
[Air #403] thread: second porch run refused on a random flake in gues…
waleedkadous Nov 17, 2026
e0ff7bb
[PIR #400] Warning opens the answer so the web app's Citations cut ke…
waleedkadous Nov 17, 2026
336f260
[PIR #400] Review: the two integration-review changes and their test …
waleedkadous Nov 17, 2026
1c945c6
[Air #403] fix: guest password generator draws again on a penalised p…
waleedkadous Nov 17, 2026
7046d30
chore(porch): 403 pr phase-transition
waleedkadous Nov 17, 2026
c8a786e
[Air #403] thread: PR #405 open, pr gate pending
waleedkadous Nov 17, 2026
1042d9a
chore(porch): 403 pr gate-requested
waleedkadous Nov 17, 2026
d42a03d
[Air #403] prompt: restore the out-of-scope section; one sentence put…
waleedkadous Nov 17, 2026
1c00239
chore(porch): 400 pr gate-approved
waleedkadous Nov 17, 2026
edf0bab
chore(porch): 400 protocol complete
waleedkadous Nov 17, 2026
26cba6a
[PIR #400] thread: pr gate approved by the human, merging
waleedkadous Nov 17, 2026
26e6760
[Air #403] thread: prompt revised on the owner's direction; build che…
waleedkadous Nov 17, 2026
d0cf316
Merge pull request #404 from iaser-ai/builder/pir-400
waleedkadous Nov 17, 2026
ca54489
[Air #403] thread: revised prompt built locally and replayed by the a…
waleedkadous Nov 17, 2026
b5d850d
chore(porch): 403 pr gate-approved
waleedkadous Nov 17, 2026
f02cdd9
chore(porch): 403 protocol complete
waleedkadous Nov 17, 2026
ea73933
[Air #403] thread: pr gate approved by the human; merging once CI is …
waleedkadous Nov 17, 2026
8b090c9
Merge pull request #405 from iaser-ai/builder/air-403
waleedkadous Nov 17, 2026
72b3178
chore(porch): 407 init air
waleedkadous Nov 17, 2026
77481ad
[Air #407] feat: tell Ansari to consider the Islamic perspective on e…
waleedkadous Nov 17, 2026
eec63d6
chore(porch): 407 pr phase-transition
waleedkadous Nov 17, 2026
9ac5334
[Air #407] thread: PR #408 open, checks passed
waleedkadous Nov 17, 2026
f7addf4
chore(porch): 407 pr gate-requested
waleedkadous Nov 17, 2026
f9491fc
[Air #407] thread: stopped at the pr gate for a reboot
waleedkadous Nov 17, 2026
fe9c0c7
docs(runbook): check the known no-key callers before enforcing MCP ke…
amrmelsayed Nov 17, 2026
8e496a1
[Air #407] feat: remove the outside-Islamic-knowledge section from th…
waleedkadous Nov 17, 2026
03efc36
[PIR #363] Address #390 review: production-only unexpected-format not…
OdyAsh Nov 18, 2026
140c41b
Merge pull request #390 from OdyAsh/builder/pir-363
amrmelsayed Nov 18, 2026
8d4d395
chore(porch): 407 pr gate-approved
waleedkadous Nov 18, 2026
6c39565
chore(porch): 407 protocol complete
waleedkadous Nov 18, 2026
e46b923
[Air #407] thread: pr gate approved by the human; merging once CI is …
waleedkadous Nov 18, 2026
54dc3f0
Merge pull request #408 from iaser-ai/builder/air-407
waleedkadous Nov 18, 2026
7bf8ecb
Merge main into develop (#383 hotfix history)
amrmelsayed Nov 19, 2026
2f11877
Merge pull request #412 from iaser-ai/merge/main-into-develop-383
amrmelsayed Nov 19, 2026
494fa06
chore(porch): 317 init air
amrmelsayed Nov 21, 2026
2daf4be
[Air #317] feat: Dockerfile.web guard requires EXPO_PUBLIC_API_URL an…
amrmelsayed Nov 21, 2026
f5e19c5
[Air #317] fix: RELEASE.md names the default constants, not a path th…
amrmelsayed Nov 21, 2026
b29597f
chore(porch): 317 pr phase-transition
amrmelsayed Nov 21, 2026
6f24f85
[Air #317] thread: PR #413 opened, at the pr gate
amrmelsayed Nov 21, 2026
7ce463d
chore(porch): 317 pr gate-requested
amrmelsayed Nov 21, 2026
ae44cf1
[Air #317] fix: guard requires an http(s) URL with a host; api-35.ans…
amrmelsayed Nov 21, 2026
ccafd61
chore(porch): 317 pr gate-approved
amrmelsayed Nov 21, 2026
f9bc870
chore(porch): 317 protocol complete
amrmelsayed Nov 21, 2026
3951c80
Merge pull request #413 from iaser-ai/builder/air-317
amrmelsayed Nov 21, 2026
f541fce
[Task 68v0] docs: record the production auth journal apply; AUTH_DEPL…
amrmelsayed Nov 21, 2026
c344b53
[Task 68v0] docs: review fixes: commit is an assumption; record the l…
amrmelsayed Nov 21, 2026
64ca1cf
[Task 68v0] docs: no service users or keys in production before the copy
amrmelsayed Nov 21, 2026
68d5064
[Task 68v0] docs: review round 3: README marker, restart after a sche…
amrmelsayed Nov 21, 2026
229a7d9
[Task 68v0] docs: owner decision: production auth stays serving until…
amrmelsayed Nov 21, 2026
c3d3f5c
Merge pull request #414 from iaser-ai/builder/task-68v0
amrmelsayed Nov 21, 2026
3a30749
Merge pull request #410 from iaser-ai/docs/runbook-enforce-known-callers
amrmelsayed Nov 21, 2026
35c4038
[Task V7dX] docs: backend-only amendments to the cutover runbook (#416)
amrmelsayed Nov 21, 2026
58a0789
[Task V7dX] docs: scope EXPO_PUBLIC_* to Dockerfile.web services; aut…
amrmelsayed Nov 21, 2026
c86a669
[Task V7dX] docs: review round 1: separate production and staging bra…
amrmelsayed Nov 21, 2026
a3e4cce
[Task V7dX] docs: review round 2: production auth never left without …
amrmelsayed Nov 21, 2026
44b4c3d
[Task V7dX] docs: review round 3: drop and re-apply in one self-check…
amrmelsayed Nov 21, 2026
bc0d373
[Task V7dX] docs: review round 4: step 16 by outcome, with three stat…
amrmelsayed Nov 21, 2026
c9fdf28
[Task V7dX] docs: owner waives the production rehearsal precondition;…
amrmelsayed Nov 21, 2026
455415a
Merge pull request #417 from iaser-ai/builder/task-V7dX
amrmelsayed Nov 21, 2026
a636509
[Hotfix] legacy web: maintenance screen switched by the build-time MA…
amrmelsayed Nov 21, 2026
f15352d
[Hotfix] legacy web: getEnv comment, same on-values as the api but an…
amrmelsayed Nov 21, 2026
39c2ca7
[Hotfix] legacy web: README and test name, same on-values as the api …
amrmelsayed Nov 21, 2026
b1b6ddf
Merge pull request #418 from iaser-ai/hotfix/legacy-web-maintenance-mode
amrmelsayed Nov 21, 2026
0b28a20
Merge main into develop: legacy web maintenance mode (PR #418)
amrmelsayed Nov 21, 2026
ac4dca5
Merge pull request #420 from iaser-ai/merge/main-into-develop-mainten…
amrmelsayed Nov 21, 2026
4e15240
[Task a985] docs: production legacy web goes offline by its MAINTENAN…
amrmelsayed Nov 21, 2026
de6f03b
[Task a985] docs: review batch 1: the variable is MAINTENANCE_MODE, u…
amrmelsayed Nov 21, 2026
1ab1e7f
[Task a985] docs: review round 1: production rollback returns only ba…
amrmelsayed Nov 21, 2026
9d36a91
[Task a985] docs: review round 1b: (void 0) is not OFF in production;…
amrmelsayed Nov 21, 2026
e19f9a9
feat(whatsapp): mirror Python #390 prefix rules and drop Meta script …
OdyAsh Nov 21, 2026
c314fa5
Merge pull request #421 from iaser-ai/builder/task-a985
amrmelsayed Nov 21, 2026
3a40956
Merge remote-tracking branch 'upstream/develop' into feat/358-whatsap…
OdyAsh Nov 21, 2026
fc08c65
Merge remote-tracking branch 'origin/builder/spir-329' into builder/t…
amrmelsayed Nov 21, 2026
0623e46
Merge remote-tracking branch 'origin/builder/spir-314' into builder/t…
amrmelsayed Nov 21, 2026
80cde2f
chore(porch): 329 verify build-complete (auto)
amrmelsayed Nov 21, 2026
4256ace
chore(porch): 329 verify-approval gate-approved
amrmelsayed Nov 21, 2026
60d890f
chore(porch): 329 protocol complete
amrmelsayed Nov 21, 2026
117aafb
chore(porch): 314 verify build-complete (auto)
amrmelsayed Nov 21, 2026
26db361
chore(porch): 314 verify-approval gate-approved
amrmelsayed Nov 21, 2026
e4f8b9c
chore(porch): 314 protocol complete
amrmelsayed Nov 21, 2026
e27fb60
[Task yZmg] docs: production window as run; auth deploys from main, C…
amrmelsayed Nov 21, 2026
46dd2a0
[Task yZmg] thread: close-out progress (Refs #416)
amrmelsayed Nov 21, 2026
4aa97a5
chore(porch): 300 pr gate-approved
amrmelsayed Nov 21, 2026
c17ca71
chore(porch): 300 verify phase-transition
amrmelsayed Nov 21, 2026
f09d5f7
chore(porch): 300 PR #315 merged
amrmelsayed Nov 21, 2026
e41512d
chore(porch): 300 verify-approval gate-requested
amrmelsayed Nov 21, 2026
1a47f23
chore(porch): 300 verify build-complete (auto)
amrmelsayed Nov 21, 2026
b9d395b
chore(porch): 300 verify-approval gate-approved
amrmelsayed Nov 21, 2026
a4a1305
chore(porch): 300 protocol complete
amrmelsayed Nov 21, 2026
b985e7e
[Task yZmg] thread: 300/314/329 closed, PR #422 (Refs #416)
amrmelsayed Nov 21, 2026
b285e22
[Task yZmg] docs: B1/B2 as measured timeline, causes open: what the m…
amrmelsayed Nov 21, 2026
518f54d
[Task yZmg] docs: release record header: no email, password hash, use…
amrmelsayed Nov 21, 2026
e68b500
[Task yZmg] thread: B1/B2 restated as open causes; header rule (Refs …
amrmelsayed Nov 21, 2026
9b60216
[Task yZmg] docs: review round 1: rollback-critical inputs, service k…
amrmelsayed Nov 21, 2026
8ece158
[Task yZmg] docs: RELEASE.md: three superseded-2026-11-21 markers, re…
amrmelsayed Nov 21, 2026
c729f49
[Task yZmg] 300 review close-out line; thread: review round 1 (Refs #…
amrmelsayed Nov 21, 2026
ef25dd8
Merge remote-tracking branch 'upstream/develop' into feat/358-whatsap…
OdyAsh Nov 21, 2026
93e816b
[Spec 358] docs: name the whatsapp service CI job as not required; re…
OdyAsh Nov 21, 2026
a173027
[Task 6ho2] chore: exclude legacy/whatsapp from Dependabot version up…
amrmelsayed Nov 23, 2026
a29c176
Merge pull request #426 from iaser-ai/builder/task-6ho2
amrmelsayed Nov 23, 2026
9df1794
chore(porch): 428 init pir
amrmelsayed Nov 23, 2026
60bc808
chore(deps): bump dotenv from 17.4.2 to 18.0.10
dependabot[bot] Nov 23, 2026
6f34929
[PIR #428] Plan draft
amrmelsayed Nov 23, 2026
b21a5c4
chore(porch): 428 plan-approval gate-requested
amrmelsayed Nov 23, 2026
77fa64f
chore(porch): 428 plan-approval gate-approved
amrmelsayed Nov 23, 2026
1d60248
chore(porch): 428 implement phase-transition
amrmelsayed Nov 23, 2026
ba6c316
[PIR #428][Phase: implement] frontend: Expo SDK 58 via expo install /…
amrmelsayed Nov 23, 2026
7463b92
[PIR #428][Phase: implement] frontend: RN 0.88 strict ref and event t…
amrmelsayed Nov 23, 2026
555bc9e
[PIR #428][Phase: implement] frontend: keep the single web bundle (as…
amrmelsayed Nov 23, 2026
68fd778
Merge pull request #422 from iaser-ai/builder/task-yZmg
amrmelsayed Nov 23, 2026
f2ffb25
[PIR #428] RELEASE.md: an SDK upgrade changes the update fingerprint
amrmelsayed Nov 23, 2026
4f8e280
[PIR #428][Phase: implement] eas update workflow: note that an SDK up…
amrmelsayed Nov 23, 2026
a18dda2
[PIR #428] thread: implement progress and the Uniwind blocker
amrmelsayed Nov 23, 2026
f49bab7
[Task 15S3] chore(deps): bump zod to 4.6.7; keep the #403 no-locale t…
amrmelsayed Nov 23, 2026
aaf4cff
[PIR #428][Phase: implement] frontend: unwire Uniwind from Metro (own…
amrmelsayed Nov 23, 2026
8aaeed8
[PIR #428][Phase: implement] frontend: uniwind ^1.14.0 (owner decision)
amrmelsayed Nov 23, 2026
a5d5582
[PIR #428] arch.md: frontend on SDK 58 / RN 0.88 / React 19.3; Uniwin…
amrmelsayed Nov 23, 2026
1e83ce5
Merge pull request #346 from iaser-ai/dependabot/npm_and_yarn/dotenv-…
amrmelsayed Nov 23, 2026
c19e853
Merge remote-tracking branch 'origin/develop' into builder/task-15S3-…
amrmelsayed Nov 23, 2026
0bec71b
Merge remote-tracking branch 'origin/develop' into builder/pir-428
amrmelsayed Nov 23, 2026
6636615
[Task 15S3] chore(deps): vitest 5.1.1 + @vitest/coverage-v8 5.1.1 (su…
amrmelsayed Nov 23, 2026
160b8d6
[Task 15S3] chore(deps): apps/api react + react-dom 19.3.1, @types 19…
amrmelsayed Nov 23, 2026
e9b89d2
[PIR #428] docs: SDK 58 dev bundles let .env files win over the shell…
amrmelsayed Nov 23, 2026
1cbc25f
chore(porch): 428 dev-approval gate-requested
amrmelsayed Nov 23, 2026
6e88820
Merge pull request #431 from iaser-ai/builder/task-15S3-zod4
amrmelsayed Nov 24, 2026
557e6c8
Merge remote-tracking branch 'origin/develop' into builder/task-15S3-…
amrmelsayed Nov 24, 2026
2405c76
Merge pull request #434 from iaser-ai/builder/task-15S3-vitest5
amrmelsayed Nov 24, 2026
3920c1f
Merge remote-tracking branch 'origin/develop' into builder/task-15S3-…
amrmelsayed Nov 24, 2026
a1b248a
[Task 15S3] thread: 346 merged, #434/#435, eslint 10 branch parked (o…
amrmelsayed Nov 24, 2026
0aace0d
[Task 0guM] fix(deps): next 15.5.29 in apps/api, sharp override ^0.35…
amrmelsayed Nov 24, 2026
06d2137
Merge remote-tracking branch 'origin/develop' into builder/task-0guM
amrmelsayed Nov 24, 2026
f827e38
Merge pull request #435 from iaser-ai/builder/task-15S3-react-api
amrmelsayed Nov 24, 2026
1c95b8a
Merge remote-tracking branch 'origin/develop' into builder/task-0guM
amrmelsayed Nov 24, 2026
9e30cff
Merge remote-tracking branch 'origin/develop' into builder/pir-428
amrmelsayed Nov 24, 2026
46dd694
[Task 0guM] docs: builder thread
amrmelsayed Nov 24, 2026
7668c57
[Task 0guM] docs: thread — PRs 436/437
amrmelsayed Nov 24, 2026
cf584b6
Merge pull request #436 from iaser-ai/builder/task-0guM
amrmelsayed Nov 24, 2026
d2fbfc2
[PIR #428][Phase: implement] frontend: drop unused zod-validation-err…
amrmelsayed Nov 24, 2026
ee677ab
Merge remote-tracking branch 'origin/develop' into builder/pir-428
amrmelsayed Nov 24, 2026
bf1654b
[PIR #428] thread: merges, retracted zod alarm, pre-existing Retry bug
amrmelsayed Nov 24, 2026
108b2b9
chore(porch): 428 dev-approval gate-approved
amrmelsayed Nov 24, 2026
ee33776
chore(porch): 428 review phase-transition
amrmelsayed Nov 24, 2026
4511951
[PIR #428] Review + retrospective
amrmelsayed Nov 24, 2026
4027074
chore(porch): 428 record PR #438
amrmelsayed Nov 24, 2026
d5bf89b
chore(porch): 428 review build-complete
amrmelsayed Nov 24, 2026
316244a
chore(porch): 428 pr gate-requested
amrmelsayed Nov 24, 2026
88cbf76
[PIR #428] PR consultation results (codex APPROVE; gemini lane skipped)
amrmelsayed Nov 24, 2026
8a569a4
[PIR #428] review: packages/auth lockfile line, boot check and auth i…
amrmelsayed Nov 24, 2026
9da0d01
[PIR #428][Phase: review] frontend: className guard while Uniwind is …
amrmelsayed Nov 24, 2026
7cb1b09
[PIR #428] review round 1: lint baseline, test scope, stale-tab windo…
amrmelsayed Nov 24, 2026
5788d99
chore(porch): 428 pr gate-approved
amrmelsayed Nov 24, 2026
a530f96
chore(porch): 428 protocol complete
amrmelsayed Nov 24, 2026
3b77c3a
Merge pull request #438 from iaser-ai/builder/pir-428
amrmelsayed Nov 24, 2026
5b51c24
[Spec 358] fix: answer oversized webhooks through the Meta rule, 60 s…
OdyAsh Nov 24, 2026
ec9a018
Merge upstream/develop into feat/358-whatsapp-typescript
OdyAsh Nov 24, 2026
ae7d0bd
[Spec 358] fix: address review of PR #423 (release record, URLs, cras…
OdyAsh Nov 24, 2026
690d8ca
[#409] Move the Ansari agent skill to skills/ansari, calling the MCP …
amrmelsayed Nov 24, 2026
1d5c2b2
Merge pull request #440 from iaser-ai/builder/task-W2Vc
amrmelsayed Nov 24, 2026
bdaba40
Merge upstream/develop into feat/358-whatsapp-typescript
OdyAsh Nov 25, 2026
b80a514
[Spec 358] bump vitest to ^5.1.1 and dotenv to ^18.0.10; RELEASE.md: …
OdyAsh Nov 25, 2026
df85da0
[Spec 358] regenerate lockfile after vitest and dotenv bumps
OdyAsh Nov 25, 2026
5a13c9a
[Spec 358] chore: fix indentation of the dotenv and vitest lines in a…
amrmelsayed Nov 25, 2026
540acc8
Merge pull request #423 from OdyAsh/feat/358-whatsapp-typescript
amrmelsayed Nov 25, 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
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ updates:
# Note: there is no "pnpm" package-ecosystem value; pnpm is handled by "npm".
- package-ecosystem: "npm"
directory: "/"
# legacy/ holds archived snapshots of the pre-monorepo frontend (issue #150).
# legacy/frontend-* hold archived snapshots of the pre-monorepo frontend (issue #150).
# They sit outside the pnpm workspace and are never built or deployed, but
# each keeps its own npm/yarn lockfile as a reference for the track merge —
# without this, Dependabot opens update PRs against code nothing runs.
#
# More broadly, ALL of legacy/ is the old system and is excluded from
# Dependabot version updates by the owner's decision of 2026-11-24; no other
# entry in this file covers any of it. That includes legacy/whatsapp, which
# is still built and deployed (spec 321) but gets no version-update PRs.
# Its security ALERTS are not affected by this file.
exclude-paths:
- "legacy/**"
schedule:
Expand Down
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,84 @@ jobs:
- name: Build
run: pnpm exec turbo run build --filter ansari-auth...

# TypeScript WhatsApp service (issue #358: apps/whatsapp). Mirrors the `auth` job.
# Its own id and name: the job named `whatsapp` below is the Python service in
# legacy/whatsapp, which stays until the staging cutover, and branch protection
# matches check names. `--filter ansari-whatsapp...` selects the app and its
# workspace deps (the two config packages, which define no tasks, so expect
# "3 packages in scope, 1 task" per step). Nothing in the tests reaches the
# network: every outside service is a fake or a mock.
whatsapp-service:
name: whatsapp service (lint, typecheck, test, build)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

- name: Install
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm exec turbo run lint --filter ansari-whatsapp...

# Committed dummy env (apps/whatsapp/.env.ci): every value is deliberately
# fake, no repository secrets. Loaded so the service's configuration is
# valid wherever a task reads it.
- name: Load CI dummy env
run: grep -v '^#' apps/whatsapp/.env.ci >> "$GITHUB_ENV"

- name: Typecheck
run: pnpm exec turbo run typecheck --filter ansari-whatsapp...

- name: Test
run: pnpm exec turbo run test --filter ansari-whatsapp...

- name: Build
run: pnpm exec turbo run build --filter ansari-whatsapp...

# Model evaluation harness (issue #397: apps/eval). It runs apps/api's
# facilitator in process but is its own package, so that it is neither in the
# api image nor a reason to redeploy the api. No other job reaches it:
# `ansari-api...` does not, since apps/api must not depend on the harness.
# The suite needs no env and no secrets: it drives a scripted facilitator, and
# the api modules it loads read no config at import (#260).
eval:
name: eval (lint, typecheck, test)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: .nvmrc
cache: pnpm
cache-dependency-path: pnpm-lock.yaml

# The full install, not `--filter ansari-eval...`: tsc and the tests follow
# `@/` into apps/api, whose imports resolve from apps/api/node_modules.
- name: Install
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm exec turbo run lint --filter ansari-eval...

- name: Typecheck
run: pnpm exec turbo run typecheck --filter ansari-eval...

- name: Test
run: pnpm exec turbo run test --filter ansari-eval...

frontend:
# Emitted name deliberately unchanged (human decision, spec 48), even though
# this job now also runs `test` and `build`. Check names are matched by
Expand Down Expand Up @@ -191,6 +269,9 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
with:
# Same uv as legacy/whatsapp/Dockerfile, so CI tests what ships. Change both together.
version: "0.9.13"

- name: Install
run: uv sync --frozen --extra dev
Expand Down
36 changes: 28 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ You need **Node 22** (22.18 or newer; `.nvmrc` pins the major for `nvm use`).
environment contract, and [`apps/api/README.md`](apps/api/README.md) covers the
backend in more depth.

This is a **pnpm workspace** (`apps/api/` + `apps/frontend/`) driven by
**[Turborepo](https://turborepo.com)**: install once at the repo root, then run
tasks from the root — `pnpm dev` brings up the whole stack (api, auth, frontend) at once.
This is a **pnpm workspace** (`apps/api/`, `apps/auth/`, `apps/frontend/`, `apps/mcp/`, the
model evaluation harness `apps/eval/`, and the shared `packages/*`) driven by **[Turborepo](https://turborepo.com)**: install once at the
repo root, then run tasks from the root — `pnpm dev` brings up the whole stack (api, auth,
frontend and the MCP server) at once.

```bash
corepack enable # provides pnpm (version pinned in package.json)
Expand All @@ -56,15 +57,29 @@ cp .env.example .env # DATABASE_URL = the ansari_auth owner URL; the service'
pnpm db:migrate # applies packages/auth/drizzle/ to that DATABASE_URL
cd ../..

# Then, from the repo root: starts api (:3000), auth (:3100) and frontend together
# Then, from the repo root: starts api (:3000), auth (:3100), the frontend and the
# MCP server (:3001) together
pnpm dev
```

Both `.env` files need `ENVIRONMENT=development`. It has no default in any process
(#314); the `.env.example` files set it, but a `.env` copied before then lacks it, and
then api fails at its first config read and auth refuses to start, each naming
`ENVIRONMENT`.

`pnpm dev` includes `apps/auth`. Without its `.env`, auth's pane shows the
env-validation error naming the missing variables and the other apps keep
running; `pnpm dev:no-auth` starts api + frontend only. The frontend talks to
running; `pnpm dev:no-auth` starts api + frontend only.

`pnpm dev` also starts the MCP server (`apps/mcp`) on `:3001`, after a cached build
that shows as its own `ansari-mcp#build` row. A local api refuses MCP calls without
an `ansari-mcp` key, as a deployed one does: issue a development key and put
`ANSARI_API_AUTHORIZATION=Bearer <key>` in `apps/mcp/.env`, or run api with
`MCP_COMPLETE_KEY_MODE=log-only`. `pnpm mcp inspect` opens the MCP Inspector on it. The
steps are in [`apps/mcp/README.md`](apps/mcp/README.md), under "Local development". The frontend talks to
**staging** unless `EXPO_PUBLIC_API_URL=http://localhost:3000` and
`EXPO_PUBLIC_AUTH_URL=http://localhost:3100` are set.
`EXPO_PUBLIC_AUTH_URL=http://localhost:3100` are set in `apps/frontend/.env.local`
(since SDK 58 a dev bundle lets that file win over the shell; see the frontend README).

**Two databases.** Development and CI use two: the app database (`apps/api`,
e.g. `ansari`) and the auth database (`apps/auth`, e.g. `ansari_auth`), each
Expand All @@ -83,7 +98,8 @@ The test suites need neither database (they run on pglite).
`pnpm dev` needs a real terminal: it runs Turbo's interactive UI so the Expo dev
server keeps its keypress shortcuts (`i`, `a`, `w`, `r`) while sharing a console
with the API and auth. To run one app on its own — or in a script or non-TTY shell — use
`pnpm api dev`, `pnpm auth dev` or `pnpm frontend start`.
`pnpm api dev`, `pnpm auth dev`, `pnpm frontend start` or, for the MCP server,
`pnpm mcp build && pnpm mcp dev` (`pnpm dev:mcp` does both, in a real terminal).

**Use pnpm, not npm or yarn.** The single authoritative lockfile is the root
`pnpm-lock.yaml`; there are deliberately no per-package lockfiles. Shared
Expand Down Expand Up @@ -131,7 +147,11 @@ You can still target one package directly — `pnpm api lint`, `pnpm frontend we
- CI must be green before a PR can merge. `develop` requires all five checks:
`api (lint, typecheck, test, build)`, `auth (lint, typecheck, test, build)`,
`frontend (lint, typecheck)`, `whatsapp (lint, format, test)`, and
`gitleaks (secret scan)`. The
`gitleaks (secret scan)`. `eval (lint, typecheck, test)` (the model evaluation
harness, `apps/eval/`) also runs on every pull request and is not a required
check. `whatsapp service (lint, typecheck, test, build)` (the TypeScript
service, `apps/whatsapp`) runs the same way and is not required until the
branch protection rule names it. The
[Checks](#checks) above are the same tasks, so passing them locally is a good
predictor. If the secret scan fails, see [Secret scanning](#secret-scanning).
- Stage files explicitly (`git add path/to/file`). Please don't use `git add -A`
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Alliance for Safe, Ethical, and Responsible AI).
| [`apps/api/`](apps/api/) | The production backend: Next.js API, Gemini-powered facilitator, Islamic search tools |
| [`apps/frontend/`](apps/frontend/) | The Ansari app: Expo / React Native (iOS, Android, and web via react-native-web) |
| [`docs/`](docs/) | Documentation, including the [self-hosting guide](docs/self-hosting.md) |
| [`skills/`](skills/README.md) | The Ansari [agent skill](skills/ansari/SKILL.md), which answers Islamic questions through the Ansari MCP server; outside the pnpm workspace |

This is a [pnpm workspace](https://pnpm.io/workspaces) driven by
[Turborepo](https://turborepo.com): one `pnpm install` at the repo root installs
Expand Down
Loading
Loading