Skip to content

Sync iaser-ai/ansari develop (540acc85) into timeleft-- develop - #17

Open
timeleft-- wants to merge 496 commits into
developfrom
sync/develop-540acc85
Open

timeleft-- wants to merge 496 commits into
developfrom
sync/develop-540acc85

Conversation

@timeleft--

Copy link
Copy Markdown
Member

Brings upstream iaser-ai/ansari develop (540acc8, 496 commits) into this fork's develop.

This fork's develop (54b79f8) is an ancestor of upstream, so the branch is exactly upstream develop: no conflicts and no fork-only changes. git rev-list --left-right --count origin/develop...fork/develop reports 496 0. A direct fast-forward push and gh repo sync are both refused by the ruleset ("Changes must be made through a pull request"), so this follows the earlier sync PRs.

Next: a PR to upstream for the MCP tool's explicit destructiveHint, which is required for the OpenAI directory submission.

🤖 Generated with Claude Code

OdyAsh and others added 30 commits November 14, 2026 04:14
runFacilitator takes an optional `model`. Every Gemini call of the request
targets it with the cross-model 429 failover off (new noModelFallback call
option), and the request never escalates to Inkling, so an evaluation answer
is attributable to the model under test. No route passes it; an unpinned
request's call options are unchanged.
…corers, report

Runs a versioned question set through runFacilitator per model (pinned),
scores Quran quote fidelity, hadith LK ids, answer language, grounding,
latency, tokens and cost by code, and writes a results file and a
comparison report. Scorers are negative-tested, including the staging
misquote fixture.
… inputs, confirmed mark

Owner requirement. The Cost section shows each model's price inputs,
whether a person confirmed them against the pricing page, cost per
answer and per 1,000 answers, the ratio to the baseline, and the same
run costed at any announced price change.
On real model answers the Quran scorer failed quotes that are not
misquotes. Corrected, each with the near-miss that must still fail:
- ornate brackets end a run, so a verse in brackets is read without the
  word after it;
- Arabic from a tafsir, fiqh or hadith result, or in a citation entry not
  headed with a Quran reference, is that source's text, not a Quran quote;
- a wrong reference needs the reference on the quote's own line; an
  unlabelled or paragraph-level oddity is listed for a person to read;
- a quote whose words stand in a tafsir or hadith result is grounded in
  that search, not written from memory;
- a short English answer (a verse and its translation) reads as English.
The gates are unchanged.
Run 1's remaining nine failed quotes were Urdu translations of verses in
Urdu answers, compared with the Arabic verse. A run holding a letter
Arabic does not use is left out; none of the 527 verse texts the run
retrieved holds one. Paired with an Arabic misquote in an Urdu answer
that must still fail.
…s before any set-aside

eval/selfcheck.ts corrupts one correctly quoted verse in every answer of
a results file (swap two words, drop a word) and reports how many the
scorer fails. On run 1 it found a hole: a corrupted verse that a
retrieved hadith or tafsir also cites was set aside as that source's
text. An attempt at a verse the quote is labelled with now fails first.
Run 1 after the fix: 137 of 138 corruptions failed, 1 listed for
reading, 0 missed.
…bel the quote

Run 2 flagged two wrong references for gemini-4-argon. Read by hand:
both quotes are correct and neither is attributed to the wrong verse;
the reference sat in the following sentence of the same line. A label
after a quote now counts only within its sentence; the quote is then
listed for reading instead of failed.
amrmelsayed and others added 27 commits November 24, 2026 12:39
[Task 0guM] security: apps/api next 15.5.29 + sharp >= 0.35.5 (7 next alerts incl. critical GHSA-2464-fhr4-w9xw)
…tion-error (owner request)

Imported nowhere in apps/frontend, and its 3.x line peers on zod ^3.24.4,
unmet since the frontend moved to zod 4.6.7. eslint-plugin-react-hooks keeps
its own zod-validation-error 4.x as a transitive dependency.
…wind is unwired; fix stale SDK 57 comments

lib/no-classname.test.ts scans JSX under app/ and components/ (TypeScript AST)
and fails on any className: it typechecks through uniwind-env.d.ts but does
nothing while Uniwind is unwired. Proven failing on a planted className and
passing once removed. .gitignore, eslint.config.mjs, babel.config.js and the
README React Compiler note no longer claim SDK 57 only.
… shutdown grace, oracle generator env

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Took develop's pnpm-lock.yaml and regenerated it with pnpm install --lockfile-only, so the new apps/whatsapp importer is the only addition.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Ls, crash handler, wording)

- RELEASE.md and release-doc test: whatsapp-ts record (Dockerfile row, watch paths, healthcheck)
- config: BACKEND_SERVER_URL and AUTH_SERVER_URL validated as URLs
- index: uncaughtException reports, flushes Sentry and exits 1
- dev filter reply: Python's text, pinned by a test
- staging prefix wording is !s in code comments and arch.md
- Meta 400 log masks the phone number ID in the URL
- turbo.json: duplicate ENVIRONMENT removed
- status.yaml: phase 7 pending

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…the MCP server

The skill now asks Ansari through https://mcp.askansari.ai/mcp (the connected
answer_islamic_question tool, or one stateless MCP tools/call with curl) instead
of apps/api's keyless /api/v2/mcp-complete. Adds the install README, a zip
build script, the original MIT notice, a pinning test in apps/api (with
skills/** in its test and test:coverage turbo inputs) and a root README row.
[iaser-ai#409] Move the Ansari agent skill to skills/ansari, calling the MCP server
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…note service not created, PORT=3200

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
apps/whatsapp: port the WhatsApp service to TypeScript, with prefix routing and ENVIRONMENT (iaser-ai#358, iaser-ai#363)

@yia-mw-agent yia-mw-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Helmet-Review-Request: #17 (comment)

Reviewed commit: 540acc85ee2353998da2375881fff3434085ad03 (checked out in an isolated worktree, verified with git rev-parse HEAD; live PR head re-verified identical before submitting).

Verdict: Approve

This is a pure upstream fast-forward sync with zero fork delta, and the provenance claim in the PR description verifies exactly:

  • Fast-forward, no fork-only changes: git rev-list --left-right --count origin/develop...HEAD = 0 496. The merge-base of origin/develop (54b79f88) and the head is the base itself, so the PR head is a strict descendant — 496 upstream commits, 0 fork commits, no conflicts.
  • Provenance byte-exact: git ls-remote https://github.com/iaser-ai/ansari refs/heads/develop returns exactly 540acc85ee2353998da2375881fff3434085ad03, the PR head SHA. SHA equality means the entire tree and history are identical to upstream develop; nothing was injected on top of upstream.
  • Sync range sanity: the 496-commit range is normal upstream history (upstream PR merges, Codev PIR/SPIR workflow commits — e.g. Spec 358 WhatsApp TypeScript, skill move to skills/ansari, CI workflow addition), consistent with the repo's established development pattern and prior sync PRs.
  • CI at the examined head: all 8/8 green — gitleaks (secret scan), MCP application, eval (lint, typecheck, test), frontend (lint, typecheck), whatsapp (lint, format, test), whatsapp service (lint, typecheck, test, build), auth (lint, typecheck, test, build), api (lint, typecheck, test, build). Gitleaks passing matters here since the diff touches .env.example and config surfaces.

Because there is no fork-authored delta, local re-execution of upstream's test suites adds no evidence beyond CI and provenance verification; the material review surface for a sync PR is exactly provenance, fast-forward structure, and required checks — all verified above.

No material defects found. Merge decision remains with the Captain under the ruleset.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants