# Shared note

## What this builds

A page that shows one note. The title comes from `page_title` in
`spekkr.inputs.json`. A person who is signed in can replace the note. Anyone
can read it.

## Out of scope

- More than one note.
- Accounts. Use the sign-in the project already has. This spec does not add one.

## Requirements

Each requirement has an id. The test names the id.

### R1. Read and replace

- The page shows `page_title` and the current note.
- A signed-in person can replace the note. The new text is stored as they
  typed it, up to 2,000 characters.
- A person who is not signed in can read the note and cannot change it.

Accept when: a signed-in save of `hello` is what the next read returns, a save
of 2,001 characters is refused, and a signed-out save changes nothing.

## Definition of done

- The R1 check has an automated test, and that test passes.
