Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .papercuts/subagent-turn-limit.md

This file was deleted.

1,464 changes: 0 additions & 1,464 deletions .papercuts/troubleshooting.md

This file was deleted.

6 changes: 1 addition & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,13 @@ The headless Aiden Agent lives in `packages/cli` as a self-contained npm package
- Pin pi packages exactly (matching the desktop pin line) and upgrade them through a replay evaluation rather than casually.
- The CLI keeps the same manual-only network posture as the desktop for models.dev, Artificial Analysis, and OpenRouter benchmark data.

## Papercuts

For complex workflows, record concise implementation friction in `.papercuts/troubleshooting.md` as it occurs.

## Pull requests, CI, and branches

- Update a shared PR branch by merging `origin/main` into it. Do not rebase or force-push a branch that already has a PR, reviews, or CI history.
- Before requesting bot reviews or waiting on hosted CI, run the narrow suites for the touched surfaces locally. Hosted CI and review bots should not be the first place a failure shows up.
- Treat a PR as mergeable only when CI is green on its exact head commit. After merging `main` in, wait for the new run; do not merge on an earlier head's result.
- Do not cancel CI runs on `main`. Main CI is the baseline every release is cut from.
- Flaky tests: a failure that passes on rerun is still a bug. Rerun failed jobs at most once, then record the spec, the symptom, and the run link in `.papercuts/troubleshooting.md`. Do not paper over it by raising timeouts, adding retries, or weakening `--fail-on-flaky-tests`.
- Flaky tests: a failure that passes on rerun is still a bug. Rerun failed jobs at most once, then record the spec, the symptom, and the run link in the PR description. Do not paper over it by raising timeouts, adding retries, or weakening `--fail-on-flaky-tests`.
- Known merge-conflict hotspots need a recheck after every `main` merge:
- the root `package.json` `test` chain. Append new scripts and resolve conflicts by union, keeping every script from both sides.
- the Aiden Remote protocol revision. Claim the next revision after the one on `main` when the PR merges, not when it was written, and update the iOS, Android, and fixture contracts together.
Expand Down
8 changes: 1 addition & 7 deletions docs/plans/aiden-assistant-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -3500,13 +3500,7 @@ In `.memory/PLANNED.md`, replace the "Status: planned only … No code yet." lin
what landed, the four resolved decisions (pin-required proactivity, no tray, no file
watching, no main-window nudge surface), and the five corrections to the original draft.

- [ ] **Step 5: Record any friction**

Append anything that cost real time to `.papercuts/troubleshooting.md` in the main checkout.
Likely candidates: the deliberately-red `ipc-contract.test.ts` window between Tasks 2 and 19,
and the vibrancy/transparency interaction with `titleBarStyle: "hidden"`.

- [ ] **Step 6: Final gate and commit**
- [ ] **Step 5: Final gate and commit**

```bash
npm run type-check && npm run lint && npm run test
Expand Down
2 changes: 1 addition & 1 deletion docs/plans/durable-jobs-leases-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Design, workflow editor, gateway, daemon, PGlite/Postgres, client-only outbox or
drive-by refactors. Do not migrate Cron, subagents, chat or memory stores.

Update the plan index to foundation implemented / Bot runtime and native rollout
pending only after checks pass. Log friction in .papercuts. Prepare one PR with
pending only after checks pass. Prepare one PR with
concrete changes and validation; do not merge/release or advertise shipped jobs.
```

Expand Down
1 change: 0 additions & 1 deletion docs/plans/dynamic-model-catalog-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ Tasks:
2. If Option B: add `scripts/publish-model-catalog.mjs` (Pi’s script is a template) + CI publish; immutable object keys + no-store index.
3. Chaos tests: timeout, 500, malformed JSON, empty body, provider subset failure (one provider error must not clear others).
4. Update `AGENTS.md` with the new allowed network path (catalog origin only; still no models.dev at runtime).
5. Papercuts entry for any Electron `net` / undici / session partition friction.

**Exit gate:** Documented runbook for “model missing in Aiden but live on provider.”

Expand Down
1 change: 0 additions & 1 deletion docs/plans/generative-ui-artifacts-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,3 @@ Rendering must not flicker and the creation window must stay narrated:

- Do not register this on `piAgentRuntimeExtensions` global registry.
- Keep Designer and GenUI iframe helpers separate until both exist; then extract a shared **containment** module only.
- Papercuts: log iframe/CSP friction in `.papercuts/troubleshooting.md` as it occurs.
Loading