docs(specs): Forji mobile PAT v0 prebuild + execution prompt (#133) #334

Merged
pdurlej merged 1 commit from claude/forji-mobile-pat-prebuild into main 2026-05-23 10:31:14 +02:00
Collaborator

Summary

Batch E (mobile/Forji) prebuild. Pre-implementation Spec Kit for 3 outstanding upstream PR drafts identified in 2026-05-09 three-model synthesis (Opus + GPT-5.5 Pro + Iskra) after operator's PR#1 (secana/ForgejoKit#3) + PR#2 (secana/Forji#31) landed in flight.

What's prepared

Slice Upstream target Goal Tier
(a) secana/Forji PR0 Fix multi-instance duplicate server crash Lite
(b) secana/ForgejoKit + secana/Forji PR3 PAT capability checker Full
(c) secana/Forji PR4 Keychain v2 / stable account identity Full

Codex prepares branches in pdurlej/Forji + pdurlej/ForgejoKit forks on codeberg (both exist). Operator submits upstream via codeberg UI when ready (Constitution P3 — operator gates upstream maintainer relationship).

Files

  • docs/specs/forji-mobile-pat-v0/README.md — summary + read order + cross-references
  • docs/specs/forji-mobile-pat-v0/00-constitution.md — 8 hard principles (P1 no PAT leakage sacred, P3 operator submits, P7 stable user.id identity, P8 error class distinguishability) + sacred boundary + D1-D7 decisions queue
  • docs/specs/forji-mobile-pat-v0/03-tasks.md — per-slice tasks with bash commands, acceptance, stop conditions, reporting format
  • prompts/codex-forji-mobile-pat.md — companion execution prompt (cross-repo nature highlighted, codeberg PAT pre-flight, upstream relationship tone)

Why this prebuild matters (product framing)

Mobile triage is operator-on-duty in pocket. F-series cutover ops, Iskra status checks during family time, agent-created issue triage during demos — all depend on reliable mobile Forgejo access. Forji is the only viable iOS Forgejo client; if it's unreliable, operator is chained to laptop.

Pattern

Mirrors #323-#325 (Agent Access Plane, Wake Bus, Scheduler Observability) Spec Kit pattern, with Batch E variant for cross-repo upstream contribution work.

Slices 01-specify / 02-plan / 04-implement-notes deferred — constitution + tasks + execution prompt are minimum viable for codex pickup. Codex can read 2026-05-09 synthesis in #133 body for fuller context.

Tier

Trivial per ADR-0007 (docs-only, no code / schema / runtime / sacred-path mutation).

Refs #133; companion to upstream secana/ForgejoKit#3 + secana/Forji#31

## Summary Batch E (mobile/Forji) prebuild. Pre-implementation Spec Kit for 3 outstanding upstream PR drafts identified in 2026-05-09 three-model synthesis (Opus + GPT-5.5 Pro + Iskra) after operator's PR#1 (`secana/ForgejoKit#3`) + PR#2 (`secana/Forji#31`) landed in flight. ## What's prepared | Slice | Upstream target | Goal | Tier | |---|---|---|---| | (a) | `secana/Forji` PR0 | Fix multi-instance duplicate server crash | Lite | | (b) | `secana/ForgejoKit` + `secana/Forji` PR3 | PAT capability checker | Full | | (c) | `secana/Forji` PR4 | Keychain v2 / stable account identity | Full | Codex prepares branches in `pdurlej/Forji` + `pdurlej/ForgejoKit` forks on codeberg (both exist). Operator submits upstream via codeberg UI when ready (Constitution P3 — operator gates upstream maintainer relationship). ## Files - `docs/specs/forji-mobile-pat-v0/README.md` — summary + read order + cross-references - `docs/specs/forji-mobile-pat-v0/00-constitution.md` — 8 hard principles (P1 no PAT leakage sacred, P3 operator submits, P7 stable user.id identity, P8 error class distinguishability) + sacred boundary + D1-D7 decisions queue - `docs/specs/forji-mobile-pat-v0/03-tasks.md` — per-slice tasks with bash commands, acceptance, stop conditions, reporting format - `prompts/codex-forji-mobile-pat.md` — companion execution prompt (cross-repo nature highlighted, codeberg PAT pre-flight, upstream relationship tone) ## Why this prebuild matters (product framing) Mobile triage is **operator-on-duty in pocket**. F-series cutover ops, Iskra status checks during family time, agent-created issue triage during demos — all depend on reliable mobile Forgejo access. Forji is the only viable iOS Forgejo client; if it's unreliable, operator is chained to laptop. ## Pattern Mirrors #323-#325 (Agent Access Plane, Wake Bus, Scheduler Observability) Spec Kit pattern, with Batch E variant for cross-repo upstream contribution work. Slices 01-specify / 02-plan / 04-implement-notes deferred — constitution + tasks + execution prompt are minimum viable for codex pickup. Codex can read 2026-05-09 synthesis in #133 body for fuller context. ## Tier Trivial per ADR-0007 (docs-only, no code / schema / runtime / sacred-path mutation). Refs #133; companion to upstream `secana/ForgejoKit#3` + `secana/Forji#31`
docs(specs): Forji mobile PAT v0 prebuild + execution prompt (#133)
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 3s
canary-required / canary (pull_request) Successful in 12s
patchwarden-pr-sanity / sanity (pull_request) Successful in 20s
49f2ea783a
Pre-implementation Spec Kit for outstanding upstream Forji + ForgejoKit
contributions after operator's PR#1 (secana/ForgejoKit#3) + PR#2
(secana/Forji#31) landed in flight upstream.

Three remaining upstream PR drafts from 2026-05-09 three-model synthesis
(Opus + GPT-5.5 Pro + Iskra):

- PR0 (Forji): multi-instance duplicate server crash (Lite tier)
- PR3 (ForgejoKit + Forji): PAT capability checker (Full tier)
- PR4 (Forji): Keychain v2 / stable account ID via Forgejo user.id
  with atomic per-entry migration (Full tier)

Spec Kit pattern from #323-#325 (Batch E variant — cross-repo):
- README.md: summary + read order + cross-references
- 00-constitution.md: 8 hard principles (P1 no PAT leakage sacred,
  P2 upstream-friendly diffs, P3 operator submits final upstream,
  P4 reproducible without real PAT, P5 Issues+labels primary surface,
  P6 repo-scoped PAT future mode, P7 stable user.id identity,
  P8 error class distinguishability) + sacred boundary + D1-D7
- 03-tasks.md: per-slice tasks with bash commands, acceptance,
  stop conditions, reporting format

Companion execution prompt at prompts/codex-forji-mobile-pat.md:
- Safety / production boundary explicit (no upstream submit by codex,
  no PAT/iOS/server-config modification, no real PAT in output)
- Pre-flight identity + codeberg PAT check
- Per-slice instructions with pre-conditions
- Stop conditions per ADR-0018 + Constitution P1
- Cross-repo nature highlighted

Slices 01-specify, 02-plan, 04-implement-notes deferred to slice-(b)
start; codex can read 2026-05-09 synthesis in #133 body for fuller
context. Constitution + tasks + execution prompt are minimum viable
for codex pickup.

Tier: Trivial per ADR-0007 (docs-only, no code/schema/runtime mutation).

Refs #133; companion to upstream secana/ForgejoKit#3 + secana/Forji#31
Sign in to join this conversation.
No reviewers
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform!334
No description provided.