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
2 changes: 1 addition & 1 deletion .kiro/specs/spindle/design.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spindle design

Source of truth: `brief.implement.md`. Design IDs refer to `brief.design.md`. Requirement numbers refer to `requirements.md` in this folder. This document describes the system as built at v0.11.0 plus the parts still open; where code and this design differ, fix one of them in a task, do not leave both.
Source of truth: `docs/briefs/brief.implement.md`. Design IDs refer to `docs/briefs/brief.design.md`. Requirement numbers refer to `requirements.md` in this folder. This document describes the system as built at v0.11.0 plus the parts still open; where code and this design differ, fix one of them in a task, do not leave both.

## 1. Overview

Expand Down
6 changes: 3 additions & 3 deletions .kiro/specs/spindle/requirements.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spindle requirements

Source of truth: `brief.implement.md` (phases P0-P7). Design IDs D01-D17 are in `brief.design.md`. Acceptance criteria use EARS wording (WHEN / WHILE / IF … THE SYSTEM SHALL …). Each requirement lists its phase, design IDs and the earlier IDs it replaces (R1-R18, S1-S18, U01-U13 in `docs/history/specs/`), so older evidence stays traceable.
Source of truth: `docs/briefs/brief.implement.md` (phases P0-P7). Design IDs D01-D17 are in `docs/briefs/brief.design.md`. Acceptance criteria use EARS wording (WHEN / WHILE / IF … THE SYSTEM SHALL …). Each requirement lists its phase, design IDs and the earlier IDs it replaces (R1-R18, S1-S18, U01-U13 in `docs/history/specs/`), so older evidence stays traceable.

"The system" means the Spindle gateway together with its clients (TUI, browser, phone page, CLI) unless a criterion names one.

Expand Down Expand Up @@ -380,9 +380,9 @@ Phase P7 · Design D02, D15, D16 · Replaces —

---

## Traceability to `brief.implement.md`
## Traceability to `docs/briefs/brief.implement.md`

| brief.implement.md row | Design | Requirements |
| docs/briefs/brief.implement.md row | Design | Requirements |
| --- | --- | --- |
| Stable identity | D05-D06 | 1, 5, 6, 7 |
| Real protocol use | D04-D05 | 1, 2, 18.2 |
Expand Down
8 changes: 4 additions & 4 deletions .kiro/specs/spindle/tasks.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Spindle tasks

Source of truth: `brief.implement.md`. Each task names its requirements (`requirements.md`) and the proof that closes it. `[x]` means the proof exists in the repository today (v0.11.0, 23 November 2026); `[ ]` means it does not. Tasks done under the earlier specs keep their original IDs in brackets, for example `[T12]`, so `docs/evidence/kiro-run.md` still matches.
Source of truth: `docs/briefs/brief.implement.md`. Each task names its requirements (`requirements.md`) and the proof that closes it. `[x]` means the proof exists in the repository today (v0.11.0, 23 November 2026); `[ ]` means it does not. Tasks done under the earlier specs keep their original IDs in brackets, for example `[T12]`, so `docs/evidence/kiro-run.md` still matches.

Rules for every task: follow `.kiro/steering/workflow.md` (test first, show the failing run, run the boundary checks, report). Do not tick a box without its proof.

## P0 — Design baseline

- [x] 0.1 Briefs, design source, brand tokens, mockups, diagrams and plan exist and match the palette. Req 24 · Proof: `brief.*.md`, `brief.design.pdf`, `assets/`.
- [x] 0.1 Briefs, design source, brand tokens, mockups, diagrams and plan exist and match the palette. Req 24 · Proof: `docs/briefs/brief.*.md`, `docs/briefs/brief.design.pdf`, `assets/`.
- [x] 0.2 Implementation status separates planning from working code. Req 24 · Proof: `docs/implementation-status.md`.

## P1 — Protocol foundation
Expand Down Expand Up @@ -39,7 +39,7 @@ Rules for every task: follow `.kiro/steering/workflow.md` (test first, show the
- [x] 3.1 TUI modes, panes, selection count, separate IRC/NNTP status, NO_COLOR and ASCII. Req 9.1-9.5 · Proof: `internal/tui` tests, `scripts/test-terminal.py`.
- [x] 3.2 Drafts: kept on Esc, shared across `demo --tui` and `tui`, editable while offline [U01, U02, U07]. Req 9.6-9.7 · Proof: `internal/tui` draft tests.
- [x] 3.3 Live search with position and count [U04]; editing keys [U05]. Req 9.8-9.9 · Proof: `internal/tui` tests (Kiro sessions 27, 28).
- [x] 3.4 One name per action; complete `?` guide [U09]; Sources view [U10]; visual fixes [U11]; live pane height [U13]; own messages not unread [U03]. Req 9.10-9.11, 21 · Proof: `internal/tui` tests, `works.ux-review.md`.
- [x] 3.4 One name per action; complete `?` guide [U09]; Sources view [U10]; visual fixes [U11]; live pane height [U13]; own messages not unread [U03]. Req 9.10-9.11, 21 · Proof: `internal/tui` tests, `docs/briefs/works.ux-review.md`.
- [x] 3.5 Browser workspace and website from shared tokens; dialogs with focus return; four widths; 44 px targets; axe. Req 10 · Proof: `integration_tests/browser/*.spec.mjs`.
- [x] 3.6 Loading, empty, offline, failed, saved, retry states; no-gateway hint. Req 11 · Proof: browser specs, `internal/tui/nogateway_test.go`.
- [x] 3.7 CLI help and errors [U12]; terminal-required message. Req 21.5-21.6 · Proof: `cmd/spindle/main_test.go`, `needterminal_test.go`.
Expand Down Expand Up @@ -101,7 +101,7 @@ Rules for every task: follow `.kiro/steering/workflow.md` (test first, show the
- [x] 8.7 Public repository with Apache-2.0 license and `.kiro/`. Req 24.3 · Proof: `LICENSE`, GitHub license API reports Apache-2.0.
- [ ] 8.8 Signed binaries for macOS and Windows. Req 22 · Proof: notarized cask and signed zip. Owner task (paid certificates).
- [ ] 8.9 winget manifest and publishing. Req 22.2 · Done so far: 0.11.0 manifest (session 43, PR #73) and the `winget.yml` pipeline (session 50, PR #81). Proof still needed: the owner adds `WINGET_TOKEN`, runs `gh workflow run winget.yml --ref master -f version=v0.12.0`, the upstream PR merges, and `winget install Decionis.Spindle` works.
- [ ] 8.10 New demo video under three minutes, following the 150-second story in `brief.implement.md`, and its YouTube upload. Req 24.3 · Proof: link in `brief.submission.md`. Owner task.
- [ ] 8.10 The [2:30 narrated screen recording](../../../assets/demo/README.md) is ready. Publish it as Public on YouTube and add the watch URL to Devpost. Req 24.3 · [Submission fields](../../../docs/submission-readiness.md#fields-for-the-entrant).
- [ ] 8.11 Kiro writeup built only from `docs/evidence/kiro-run.md`. Req 24.1-24.2 · Proof: `docs/kiro-development.md` reviewed by the owner.
- [ ] 8.12 Entrant declarations, current rules and eligibility checked; submission sent. Req 24.5 · Proof: owner confirmation. Owner task.

Expand Down
6 changes: 3 additions & 3 deletions .kiro/steering/product.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Everything else (images, terminal recordings, live sharing) is optional and must

## Source of truth

- `brief.implement.md` is the source of truth for scope, phases P0-P7, exits and evidence.
- `brief.design.md` holds the stable design IDs D01-D17. Cite them; do not renumber them.
- `.kiro/specs/spindle/` turns both into requirements, design and tasks. If the spec and `brief.implement.md` disagree, `brief.implement.md` wins and the spec is fixed.
- `docs/briefs/brief.implement.md` is the source of truth for scope, phases P0-P7, exits and evidence.
- `docs/briefs/brief.design.md` holds the stable design IDs D01-D17. Cite them; do not renumber them.
- `.kiro/specs/spindle/` turns both into requirements, design and tasks. If the spec and `docs/briefs/brief.implement.md` disagree, `docs/briefs/brief.implement.md` wins and the spec is fixed.
- `docs/implementation-status.md` records what actually works. Mockups, fixtures and prepared `.kiro` files are not proof that a feature works.

## Users
Expand Down
4 changes: 2 additions & 2 deletions .kiro/steering/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ inclusion: always

| Path | Holds |
| --- | --- |
| `brief.implement.md` | Source of truth: phases P0-P7, exits, evidence, traceability |
| `brief.concept.md`, `brief.design.md` / `.pdf` | Concept and stable design IDs D01-D17 |
| `docs/briefs/brief.implement.md` | Source of truth: phases P0-P7, exits, evidence, traceability |
| `docs/briefs/brief.concept.md`, `docs/briefs/brief.design.md` / `.pdf` | Concept and stable design IDs D01-D17 |
| `.kiro/specs/spindle/` | The application spec: `requirements.md`, `design.md`, `tasks.md` |
| `.kiro/steering/` | Rules Kiro reads on every task (this folder) |
| `docs/implementation-status.md` | What actually works, with measurements |
Expand Down
2 changes: 1 addition & 1 deletion .kiro/steering/tech.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add a dependency only when the standard library cannot do the job well. Run `go

## Protocol contracts

Details are in `brief.design.md` D04-D06 and `docs/starter/protocol-contracts.md`.
Details are in `docs/briefs/brief.design.md` D04-D06 and `docs/starter/protocol-contracts.md`.

- Keep IRC server message IDs and NNTP Message-IDs exactly as received. Never key identity on display text or nicknames.
- Derive a decision's Message-ID from its operation ID. Keep `References` on every reply.
Expand Down
2 changes: 1 addition & 1 deletion .kiro/steering/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inclusion: always

# Testing and validation

Test the properties in `brief.implement.md`: identity, retry and replay, MIME, restart, lost acknowledgement, independent-server interoperability, bounded input. Do not substitute markup snapshots for them.
Test the properties in `docs/briefs/brief.implement.md`: identity, retry and replay, MIME, restart, lost acknowledgement, independent-server interoperability, bounded input. Do not substitute markup snapshots for them.

## Test layers

Expand Down
2 changes: 1 addition & 1 deletion .kiro/steering/usability.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fileMatchPattern: "{internal/tui/**,internal/web/static/**,cmd/spindle/**,integr

# Usability and accessibility

Design sources: `brief.design.md` D07, D08, D08A, D12, D13, D14; tokens in `assets/brand/tokens.css`; mockups in `assets/design/ui-*.svg`.
Design sources: `docs/briefs/brief.design.md` D07, D08, D08A, D12, D13, D14; tokens in `assets/brand/tokens.css`; mockups in `assets/design/ui-*.svg`.

## Terminal UI

Expand Down
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Spindle

**A second life for developer conversations.**
**Resurrect engineering decisions from IRC scrollback.**

Spindle uses **IRC** for live chat and **NNTP** (Usenet) for threaded decisions that last. It fixes the biggest weakness of IRC, lost history, and stays keyboard-driven and terminal-native.
A deploy times out. The team agrees to reuse the retry key. By morning the conversation has moved on. In Spindle, select the messages with Space and press **r** to resurrect that agreement as a Usenet article. The original IRC messages travel with it, and the next reply can point to the exact argument it answers.

[Quickstart](#quickstart) · [First decision](#your-first-decision) · [Terminal keys](#terminal-keys) · [Verification](#verification) · [Documentation](#documentation) · [Devpost story](brief.submission.md)
[Open the hosted workspace](https://spindle.decionis.com/app) with the workspace owner’s token, or run the seeded demo locally with `spindle demo --tui`.

[Quickstart](#quickstart) · [First decision](#your-first-decision) · [Terminal keys](#terminal-keys) · [Verification](#verification) · [Documentation](#documentation) · [Devpost story](docs/devpost.md)

![Spindle terminal: selected IRC sources beside a saved decision and its replies](assets/screenshots/terminal-120x36.png)

*Actual 120×36 terminal output from the isolated demo: three sources, one decision with an image, two replies. [Capture details](assets/screenshots/README.md).*

[Watch the terminal demo and Kiro report (2:27)](assets/demo/spindle-screen-recording.mp4) · [Captions and recording notes](assets/demo/README.md)
[Watch the narrated Resurrection demo (2:30)](assets/demo/spindle-screen-recording.mp4) · [Captions and recording notes](assets/demo/README.md)

## Quickstart

Expand All @@ -21,7 +23,7 @@ curl -fsSL https://raw.githubusercontent.com/decionis/spindle/master/scripts/ins
spindle demo --tui
```

Homebrew, Linux packages, Windows and checksums are in [Installing Spindle](docs/install.md). To build from source instead (Go 1.26 or later):
Homebrew, Linux packages, Windows and checksums are in [Installing Spindle](docs/install.md). The 2:30 film uses nested replies from `master`. The latest packaged release, v0.12.0, predates that feature. To follow the whole film, build the current source with Go 1.26 or later.

```sh
git clone https://github.com/decionis/spindle.git
Expand All @@ -30,7 +32,7 @@ go build -o bin/spindle ./cmd/spindle
bin/spindle demo --tui
```

A hosted deployment for judges is in [deploy/judge](deploy/judge/README.md).
The hosted workspace uses Ergo and INN2. Deployment and judge sign-in are documented in the [hosting guide](deploy/judge/README.md).

The demo starts local IRC and NNTP fixtures with a fictional team conversation. It also serves the browser workspace at [localhost:7331/app](http://127.0.0.1:7331/app). No external account is needed. The workspace is kept in your user config folder, so `spindle demo` finds it again from any directory; `--data DIR` picks another.

Expand Down Expand Up @@ -129,7 +131,7 @@ A gitleaks secret scan (full history and working tree, redacted) runs in CI via
| Protocol and storage | Real loopback IRC/NNTP journeys, immutable retries, restart recovery, source provenance and reply identity |
| Independent servers | Authenticated Ergo + INN2 round trip, Unicode articles and a separate NNTP reader |
| Terminal | Actual 80×24/120×36 PTY journeys: editing, source/image previews, cancellation, private downloads, draft restart, handoff, export and reconnect |
| Browser | 17 journeys covering onboarding, images, selected-thread mobile navigation, hosted sessions, Telegram confirmation/expiry and axe checks |
| Browser | Playwright and axe journeys covering onboarding, images, selected-thread mobile navigation, hosted sessions, Telegram confirmation/expiry and axe checks |
| Live Telegram | One observed Telegram Desktop → NNTP → IRC reply, followed by handoff revocation |

[CI workflow](https://github.com/decionis/spindle/actions/workflows/test.yml) · [Recorded terminal/browser results](docs/terminal-verification.md) · [Implementation record](docs/implementation-status.md)
Expand Down Expand Up @@ -168,7 +170,7 @@ The normal test suites use isolated fixtures. The [verification guide](docs/term

| Read this | For |
| --- | --- |
| [Design brief](brief.design.md) · [PDF](brief.design.pdf) | Product intent, visual system and interaction contracts |
| [Design brief](docs/briefs/brief.design.md) · [PDF](docs/briefs/brief.design.pdf) | Product intent, visual system and interaction contracts |
| [Terminal verification](docs/terminal-verification.md) | Interactive walkthrough, supported sizes, captures and acceptance checks |
| [Revision 1 gap closure](docs/revision-one.md) · [Evidence templates](docs/evidence/README.md) | Requirement dispositions, verified results and observations still to collect |
| [Images](docs/media.md) | Attachments, previews, access, cancellation and storage limits |
Expand All @@ -177,13 +179,13 @@ The normal test suites use isolated fixtures. The [verification guide](docs/term
| [Telegram continuation](docs/telegram.md) | Explicit pairing, provider delivery and observed live evidence |
| [Archive synchronization](docs/archive-sync.md) | Pagination, missing-parent reconciliation and cache boundaries |
| [How I used Kiro](docs/kiro-development.md) | First-person report on KiroCrew, agents, context and feedback |
| [Devpost story](brief.submission.md) · [Submission readiness](docs/submission-readiness.md) | Submission copy, links and outstanding materials |
| [Screen recording](assets/demo/README.md) · [Recording guide](docs/demo-script.md) | The terminal workflow, Kiro report, captions and capture provenance |
| [Devpost story](docs/devpost.md) · [Submission readiness](docs/submission-readiness.md) | Submission copy, links and outstanding materials |
| [Screen recording](assets/demo/README.md) · [Recording guide](docs/demo-script.md) | The live terminal and browser workflow, Kiro IDE recording, captions and capture details |

The code starts in [`cmd/spindle/`](cmd/spindle/). Protocol adapters live in [`internal/wire/`](internal/wire/), coordination and persistence in [`internal/workspace/`](internal/workspace/) and [`internal/store/`](internal/store/), and clients in [`internal/tui/`](internal/tui/) and [`internal/web/`](internal/web/). The tracked [`.kiro/`](.kiro/) directory contains the project specs, steering and prepared hook.
The code starts in [`cmd/spindle/`](cmd/spindle/). Protocol adapters live in [`internal/wire/`](internal/wire/), coordination and persistence in [`internal/workspace/`](internal/workspace/) and [`internal/store/`](internal/store/), and clients in [`internal/tui/`](internal/tui/) and [`internal/web/`](internal/web/). The tracked [`.kiro/`](.kiro/) directory contains the project specs, steering and enabled Stop hook.

## Current boundaries

The live Telegram observation used Desktop; a physical-phone run, manual screen-reader assessment and developer usability study remain to be completed. Native Kitty/Sixel output stays disabled without verified terminal support; built-in ASCII/TrueColor and optional Chafa cover the preview path. Received chat messages can be kept for a set number of days; images stay until their decision is removed. Terminal recording and live sharing need a pseudo-terminal, so `spindle record` and `spindle share` are not available on Windows in this release; playback works there. A live share does not survive a gateway restart.
The live Telegram observation used Desktop; a physical-phone run, manual screen-reader assessment and developer usability study remain to be completed. Native Kitty/Sixel output stays disabled without verified terminal support; built-in ASCII/TrueColor and optional Chafa cover the preview path. Received chat messages can be kept for a set number of days; images stay until their decision is removed. Windows recording uses ConPTY on Windows 10 build 17763 or later. See the [platform notes](docs/install.md). A live share does not survive a gateway restart.

Spindle is released under the [Apache License 2.0](LICENSE). [Submission readiness](docs/submission-readiness.md) tracks repository visibility and the public demo video.
Loading
Loading