Repository navigation
Description
Problem
This fork is not set up for agentic development. An agent working here has no written doctrine and no local verification loop, so it edits Swift blind and rediscovers repository conventions on every run.
Two separate gaps, from reading the repo:
1. This fork is pinned to the wrong branch
main is a stale display branch. upstream/dev is the real line of work — 326 commits ahead — and it already carries most of the verification machinery:
| Asset | this fork (main) |
upstream/dev |
|---|---|---|
.swiftlint.yml + CI lint workflow |
missing | present, enforced |
boringNotchTests/ XCTest target |
missing | 4 suites |
Shared/ extracted module (testable seams) |
missing | present |
.github/CODEOWNERS |
missing | present |
.devcontainer stub (Linux image, cannot build macOS) |
present, misleading | removed |
2. Nobody has written the doctrine layer
Missing in this fork and upstream:
- No
AGENTS.md/CLAUDE.md/.github/copilot-instructions.md - No local build or test script — the only build path is the
macos-15GitHub runner, so feedback is minutes long and unreachable offline - Test coverage is thin: 4 suites against ~20k LOC. Green does not mean safe.
Proposed work
- Rebase this fork onto
upstream/dev; addupstreamremote and trackdev - Add
AGENTS.mdcovering: thedev-vs-mainbase-branch rule, folder map (managers,models,MediaControllers,observers,Providers,Shared), the XPC helper andmediaremote-adapterboundaries, and the rule thatLocalizable.xcstringsis Crowdin-owned and must not be hand-edited - Add
scripts/build.shandscripts/test.shwrappingxcodebuildso an agent has one command to run - Document the local toolchain prerequisite (full Xcode +
xcode-select -s; CommandLineTools alone cannot build this) - Delete or replace the stub
.devcontainer - Grow the test target beyond smoke level, prioritising the seams already extracted into
Shared/
Acceptance criteria
git log upstream/dev..HEADshows only fork-local work — no missing upstream commitsAGENTS.mdexists at the repo root and states the base-branch rule, the folder map, and the Crowdin constraint- A single documented command builds the app locally, and a single documented command runs the tests
- SwiftLint runs locally with the same config CI uses
- No committed devcontainer that cannot build the product
Notes
Surveyed three sibling forks while scoping this — none solves it:
mustafa-ramax/BoringNotchPlus— no tests, no lint, forked off oldmain, and its README links "the original project" back to itselfserrrfirat/boring.notch.claude— good idea (live Claude Code session state in the notch), but 8 months cold and 445 commits behindupstream/dev
The doctrine layer is the highest-leverage item. It is one file and it closes most of the gap.
Current backlog classification
Priority: P0 (explicit user selection). Root: #13. Priorities describe order, not deletion approval.
Historical setup tasks are partly implemented (product branch, doctrine, local scripts and stable signing). Reconcile each acceptance item against current evidence before closing; do not repeat setup blindly.
Foundation grouping and sequencing
This issue is in #54 — Establish Notch Pocket's Foundation. Direct parent: #54; product root: #13. Ground foundation discovery in #54 and establish its agreed outcomes before implementing new product features. Existing acceptance criteria remain subject to evidence and explicit scope reconciliation; membership is not proof of completion.
Activity
jdylanmc commentedon Sep 9, 2026
Substantially addressed by
552a30bon the newpocketbranch (now the repository default).Done
upstream/dev— the 326-commit line with SwiftLint,boringNotchTests/,Shared/, and CODEOWNERSAGENTS.md— soft-fork relationship, branch topology, folder map, Crowdin rule, prefer-Defaults-over-deletion rule, and the silent-failure traps (XPC mach service name, bundle identity resetting TCC and the container, Sparkle pointing at upstream)scripts/build.sh,scripts/test.sh,scripts/lint.sh— each resolves a full Xcode itself, so the repo does not depend on globalxcode-selectstate-only-testing:filtering worksOutstanding
.devcontainerwas already removed upstream ondev; nothing to deleteswiftlintnot yet installed locally (brew install swiftlint)Acceptance criteria 1–4 met; criterion 5 was moot. Remaining depth moved to #7.
docs: align agent setup with the notch foundation
docs: keep repository guidance independent of a single delivery run
jdylanmc commentedon Sep 10, 2026
Completed the agreed agent-development setup baseline through merged PR #55, with the fork-owned PR-target policy delivered in merged PR #56.
Broader test-coverage expansion remains in #7. This closes the setup baseline only—not foundation epic #54, agent runtime control, updater isolation, branding or distribution. No additional implementation PR is needed for this completed scope.