diff --git a/.procoder/config.toml b/.procoder/config.toml new file mode 100644 index 0000000..cfafcc8 --- /dev/null +++ b/.procoder/config.toml @@ -0,0 +1,2 @@ +[git] +default_branch_policy = "report" # rulebook allows docs/evidence commits to main diff --git a/.procoder/context.md b/.procoder/context.md new file mode 100644 index 0000000..0226bfa --- /dev/null +++ b/.procoder/context.md @@ -0,0 +1,13 @@ +# Context — anwarpy.ai + +## effective access + +The single server-side decision (launch.ts policy + doc.access + doc.status) consumed identically by the article page, public JSON route, download gate, and llms-full. + +## ghost-read + +Fetching an intended-VIP post logged out to assert what a stranger sees; the acceptance check for any access-logic change. + +## honest 503 + +A dependency-down response with a fixed Arabic sentence (e.g. billing disabled, mail transport down) instead of a fake success; reference implementation: /api/notify. diff --git a/.procoder/hosts.json b/.procoder/hosts.json new file mode 100644 index 0000000..cb1e9b5 --- /dev/null +++ b/.procoder/hosts.json @@ -0,0 +1,3 @@ +[ + "skills" +] diff --git a/.procoder/state/env.json b/.procoder/state/env.json new file mode 100644 index 0000000..3a5db58 --- /dev/null +++ b/.procoder/state/env.json @@ -0,0 +1,29 @@ +{ + "version": 1, + "synced_at": "2026-10-13T02:31:48Z", + "lockfiles": { + "web/package-lock.json": "b0168d824c755b061aeb7dc8bddb7faa05b7a236ccc82b196843d5752e3632d3" + }, + "migrations": { + "web/src/migrations": { + "count": 14, + "entries": [ + "20261002_130505_init.json", + "20261002_130505_init.ts", + "20261002_170000_add_full_name.ts", + "20261003_111451.json", + "20261003_111451.ts", + "20261003_133758.json", + "20261003_133758.ts", + "20261003_201454.json", + "20261003_201454.ts", + "20261009_130817.json", + "20261009_130817.ts", + "20261010_142214.json", + "20261010_142214.ts", + "index.ts" + ] + } + }, + "env_keys": {} +} diff --git a/AGENTS.md b/AGENTS.md index 95e5d96..da91658 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,5 @@ + # gstack digest v1.91.12.0 — regenerate/re-copy after upgrading gstack Behavioral rules from gstack (https://github.com/garrytan/gstack), compressed @@ -15,6 +16,7 @@ reviews, and evals on top of these rules. ## The reuse ladder Before writing new code, stop at the first rung that holds: + 1. A helper, util, or pattern already in this repo. 2. The standard library. 3. A native platform feature (CSS over JS, DB constraint over app code). @@ -86,4 +88,3 @@ ssh root@147.79.102.201 'cd /root/anwarpi && docker compose -f docker-compose.vp ``` Prod scripts (no `scripts/` in the standalone image): `ssh -f -N -L 15432::5432 root@…`, then locally `set -a; source ; set +a; DATABASE_URI=postgresql://anwarpi:$DB_PASSWORD@127.0.0.1:15432/anwarpi npx tsx scripts/