Educational only — not a fatwa · full contract

Governance contract

Binding rules for the Clarity castle. This is a discovery document — it does not replace Companion, Yawm, University, Amānah, or Craft, and it does not rewrite their navigation. Room apps may be stricter; they may not be weaker.

Contents
  1. Identity
  2. Core submission
  3. Sources
  4. Privacy & on-device
  5. Visibility & richness
  6. Companion foundation (Campus-grade)
  7. Upgrade & preserve rules
  8. Five rooms
  9. Room charters (summary)
  10. What “done” looks like
  11. Change control

1. Identity

What Clarity is: a private, educational companion for learning and remembrance.

What Clarity is not: a fatwa desk, a court, a bank, a seminary, a grade of īmān, or a substitute for a living teacher you trust.

2. Core submission rules

  1. Arabic on top where Qur’ān text is shown. Translation is a bridge, not a replacement.
  2. No practice card without a citation the user can open (āyah reference or collection · number).
  3. Do not say “the Sunnah is…” when you mean “this report in Bukhārī / Muslim …” — name the report.
  4. Do not mix ranks: Qur’ān, ṣaḥīḥ reports, and optional media must not share the same visual tier.
  5. When two ṣaḥīḥ reports need fiqh to reconcile: print both and send the user to a scholar. Do not invent a third source called Clarity.
  6. Night and grave-facing content stays Qur’ān, ṣaḥīḥ, death-awareness, and istighfār — not entertainment sīrah.

3. Sources policy

Detail: Sources policy.

4. Privacy & on-device data

Detail: Privacy · Desk: Amānah.

5. Visibility & richness clauses

These protect the user from “empty shell” upgrades and accidental hide-states. They bind Companion especially; other rooms should not regress them.

Visibility

Richness

6. Companion foundation (Campus-grade)

University keeps a charter and ordered stages so progress is not a random pile of pages. Companion keeps a foundation seal and layered modules so reminder work is not one fragile file.

Operator note: offline pulls and deploys should ship the seal, shell, path governance, mount fortify, visibility foundation, and integrity modules together.

7. Upgrade & preserve rules

These rules bind the Port lobby and every room: Companion, Yawm, University (Campus), Amānah, and Craft. A deploy to one door must not erase another.

No upgrade may cause loss of work in place — on the Port or in any room.

Castle-wide

  1. Additive first. Prefer new versioned files (*-v2.js / *-v2.css) over silent overwrite of foundation modules.
  2. Room isolation. Deploying one room (or Port) must not require wiping another room’s HTML, assets, or service-worker bucket.
  3. Cache honesty. Service worker and CDN query strings must deliver the new layer without purging unrelated room caches. Phase A buckets stay per-room: port · yawm · companion · campus · amana · craft · assets.
  4. On-device user data. Path unlocks, notes, vault blobs, campus progress, and similar localStorage / IndexedDB keys are user data — rename only with read-migrate-write.
  5. Rollback is a feature. Keep a prior asset version query or archive folder; prefer roll-forward or roll-back over “delete and hope.”
  6. Empty shell is a defect. If a page or tab promises sections the user cannot open or see, the deploy fails §R1 / §V1 for that surface.
  7. Port is not disposable chrome. The lobby (/) is the map of the castle. Upgrades may refine it; they must not strand users without working door links to all five rooms.

Per surface

Stricter room rules are allowed. Weaker preserve rules are not.

8. Five rooms — boundaries

Companion Pathways · reminder · tools · RRRA
Yawm Today’s portion · daily loop · heart of the castle
University Ordered study · study mirror, not a grade of īmān
Amānah Trust desk · optional vault · not legal advice
Craft Workbenches — meme, tajweed, calligraphy, quiz, notes

Map: Five rooms · How to start.

9. Room charters (summary)

Campus · University

Craft · Media daʿwah

Amānah · Trust desk

Companion · Pathways

10. What “done” looks like

They never need a madhhab picker to use the home screen. Companion richness remains visible after upgrades.

11. Change control