# R7-01 — Time-span selector · HANDOFF

**Status: PROPOSED CANDIDATE — for review. R6 remains the current authority.**
Not committed · not deployed · not published · not written to Braid · not continued into another slice.
Slice: **R7-01** (working handle) · Packet: “autoClaw prompt packets for proposed R7”, Packet 1.
Prepared 2026-09-30. Everything below is frozen as sent; nothing outside this folder was touched.

---

## 1 · What this package is

A surgical revision of the Planner’s **time-span selector (CT-TSB01)**: visible wording on the bar
(Choose / Change), a legible commit (presets apply immediately; precision picks commit via
**Show this range**), a visible exit (**Close**), a page-level confirmation (span head: title +
exact boundaries), and URL-backed persistence for deliberate selections. Desktop is implemented on
a candidate copy of R6-21; mobile is specified (the tray lands on the R6-01 base later).

**Read first:** `R7-01 Span Selector.html` (states, contract, acceptance, questions).
**Try first:** `R7-01 Portal Candidate.html` (the working candidate).

## 2 · Identity & provenance

| Item | Value |
| --- | --- |
| Working handle | `R7-01` — a slice handle from the R7 registry, **not** a Braid identity |
| Changed identity | `CT-TSB01` — **versioned forward** under the same component id; the locked R6 instance is not edited and no replacement is minted |
| Existing IDs returned | `CT-PRT02`, `CT-UNI01`, `CT-UNI02` · `REQ-R6-07`, `REQ-R6-08`, `REQ-R6-31`, `REQ-R6-33` · `REQ-CT-SPAN-PICKER-IS-EXPLICITLY-LABELLED`, `REQ-CT-SPAN-PICKER-CARRIES-PRESETS`, `REQ-recFiMXaSi9RxI9F5` |
| Related source brief | `DES-CT-R6-B8` — attached as a **related source brief**, not this artifact’s identity |
| Provenance labels | `D-104`, `D-105`, `D-118`, `D-042` — provenance only, not canonical Braid identities |
| IDs minted | **none** |
| Registration | none requested; the R7 artifact carries explicit `data-r7-*` provenance and no null / ambiguous design stamp |

**Registered source defect (recorded, not silently fixed).** `R6-21 Span Calendars.html` carries a
mixed stamp: its `<main>` reads `data-braid-design="null"` with R5 provenance
(`data-braid-local-design="D-042"`), while its `<body>` carries `DES-CT-R6-B8`. The R6 file is left
exactly as it is; the defect is recorded here and in the candidate’s head comment. The R7 candidate
copy carries a clean stamp (`data-r7-slice="R7-01" … data-r7-source-brief="DES-CT-R6-B8"`).

## 3 · Changed-file manifest (new files — the whole delta)

| File | Role |
| --- | --- |
| `r7-01-tsb.js` | R7 behaviour layer: bar wording + summary; span head; picker chrome + presets + Selected + commit pair; URL persistence (`#r7span=…`); polite live region; preview-strip + selection tagging. Loads after `r6-21-tsb-open.js`; intercepts bar presses in capture phase. |
| `r7-01-tsb.css` | R7 presentation overrides, scoped (`.ctp-screen`, `.g13pop.r7`, `#screen .r7-span-head`). Pencil hidden; selection circles replaced by rectangular fills + edge accents; pill tone moved off the auspice family; `.r7-banner`. |
| `R7-01 Portal Candidate.html` | Candidate entry — copy of `R6-21 Span Calendars.html` + 2 links (`r7-01-tsb.css` in head, `r7-01-tsb.js` at foot) + R7 banner + clean stamp. The R6-21 record content is carried whole. |
| `R7-01 Span Selector.html` | The design page: live desktop states, mobile composition, interaction contract, responsive + a11y annotations, changed/preserved table, acceptance, open questions. |
| `R7-01 HANDOFF.md` | This file. |
| `r7-01-return.json` | Machine-readable return contract (state matrix, acceptance, questions). |

**Every other file in this folder is a byte-identical copy of the R6 project set** (verified by
SHA-256 against the source copy; subfolders `fonts/`, `r4nav/`, `assets/` identical). They ship so
every `src`/`href` resolves and the candidate runs with no server.

## 4 · Dependency classification

| Component / file | Classification | Evidence |
| --- | --- | --- |
| `CT-TSB01` — time-span bar | **Changed — versioned forward** | R7 layer output; R6 instance untouched |
| `r6-21-tsb-open.js` | **Extended (preserved, not edited)** | Loaded unchanged; its delegation still runs; the R7 layer answers the delegated press one level earlier. Its non-interference contract with R5/canon files is respected. |
| `CT-PRT02` / `r5-picker13.css` / `r4nav/picker13.js` | **Preserved** — presentation overridden by scope | Engine reused untouched; deltas live in `.g13pop.r7` overrides. No new version claimed. |
| `r5-portal.js` | **Preserved** — read-only | Its picker wiring is never reached (capture-phase answer); file byte-identical. `CT-PRT02` unchanged. |
| `ct-canon.js` / `ct-canon.css` | **Preserved** — read-only | Bar markup post-processed; tokens reused; byte-identical. `.tsrow` never edited in place. |
| `r6-02-model.js` | **Read as behaviour authority** | Not mutated; the URL/state extension lives in the R7 layer. |
| `CT-UNI01` / `CT-UNI02` | **Dependencies — unchanged** | No evidence of change; not given new versions. |
| `R6-20 / R6-21 / R6-06 / R6-19 / R6-24 / R6-25 HTML` | **Preserved** | Untouched; change does not propagate. |
| Locked segments: `.tsrow`, `.chrome-tabs`, auspice chips, Compact/Expand | **Preserved** | No in-place edits; overrides scoped where needed. |

## 5 · State matrix

| State | Visible behaviour | URL / persistence |
| --- | --- | --- |
| Fresh untouched visit | “Choose time span”; summary “Today · …”; span head resolves the real current day (fixture day on the candidate) | No hash; never reads a stale date |
| Collapsed, deliberate | “Change time span”; summary “This month · September 1–30” | `#r7span=…&from=…&to=…`; survives refresh; shareable |
| Expanded | Heading “Choose time span”; **Close** visible; current option marked **Selected** (visible + accessible “Selected, This month”) | URL unchanged until a commit |
| New preset chosen | Page, bar, span head update; picker closes; live region announces | URL updates immediately |
| Custom editing | Boundary controls visible; **Show this range** / **Cancel**; provisional range drawn (rect fill + edge accents) | URL does not change until “Show this range” |
| Custom applied | Page + head update; picker closes | Exact boundaries encoded |
| Closed without change (Close / Escape / outside / bar re-press) | Prior selection remains applied and marked | URL unchanged |
| Invalid custom pair | Picker stays open; field-level correction shown | URL unchanged |

## 6 · Responsive rules

- **Desktop (canon 1200px):** bar keeps its centred two-line stack, full-width target (1130×69 in
  R6; unchanged), wording + summary visible without hover; the picker anchors under the bar,
  centred in the pane, never covering the always-today strip (R5-15). No horizontal scrolling
  introduced. The span head sits at the top of the reading column, aligned with zone 1 text.
- **Mobile (specified, not implemented here):** collapsed control = action wording + compact
  summary + preserved chevrons; bottom tray with heading, **Close**, presets **before** Custom,
  ≥48px targets, focus entry at the heading / return to the control, no horizontal scrolling.
  Boundary entry uses the platform pickers. Implementation target: the R6-01 mobile base (D-046).

## 7 · Accessibility notes

- **Roles / names:** bar `role="button"` with accessible name **“Choose time span” / “Change time
  span”** (now matching the visible wording) + `aria-expanded`; presets `aria-pressed` with
  accessible name “Selected, This month”; Close is a visible labelled button; picker heading is the
  focus-entry target (`tabindex="-1"`).
- **Keyboard:** Enter/Space opens; Tab is contained within the picker while open; **Escape closes
  without changing the selection**; focus returns to the bar on close.
- **Announcements:** one polite live region; on apply — “Showing this month, September 1 through
  September 30, 2026.” (transient; never a badge).
- **Targets:** new controls (Close, presets, Show this range, Cancel) ≥48px tall; bar unchanged at
  69px; documented band behaviour from R6-06 unchanged.
- **Colour / grammar:** selection = rectangular fill + edge accents (endpoint circles replaced);
  no dots/circles/arcs; the engine’s historical teal pill tone is moved to the action blue inside
  the R7 scope — **flagged**: this is the one deliberate presentation delta on an engine control.
- **Motion:** caret rotation only; disabled under `prefers-reduced-motion`.
- **Today marker:** canon l-blue rectangular outline; stays identifiable inside any selected range.

## 8 · Data manifest (URL / state fields)

| Field | Purpose | Example |
| --- | --- | --- |
| `span_type` | today · week · month · year · custom | `month` |
| `start_at` / `end_at` | inclusive ISO boundaries | `2026-09-01` / `2026-09-30` |
| `is_deliberate` | URL-backed ⇒ persists | `true` on deliberate |
| `is_dynamic_today` | untouched ⇒ resolves fresh | `true` on untouched |
| `url_state` | reproducible selection | `#r7span=month&from=2026-09-01&to=2026-09-30` |
| `previous_target` / `next_target` | adjacent period nav | portal’s own; unchanged |

## 9 · Handoff status per control

| Control | Status |
| --- | --- |
| Bar wording, summary, span head | **Implement now** (desktop) |
| Presets, Close, Selected, Show this range / Cancel | **Implement now** (desktop) |
| URL persistence + live region | **Implement now** |
| Mobile tray composition | **Specified** — implement on the R6-01 base |
| Pill tone delta (teal → blue) | **Awaiting decision** (see Q-11) |
| Quarter label, Cancel scope, invalid-pair copy | **Awaiting decision** (Q-1, Q-2, Q-4) |

## 10 · Acceptance results (see the design page §08 for detail)

All twelve checks pass on the candidate, with two documented qualifications:
**mobile = specified** (not implemented in this bundle) and **fixture vs production date** (the
candidate resolves its fixture day; the portal build resolves the real day). Verification was run
in a live browser: open/close/toggle, preset apply, provisional custom, Show this range, Cancel,
Escape, outside-press, Back/Forward, refresh-with-URL, invalid pair — **zero console errors**.

## 11 · Assumptions & open questions

Assumptions: weeks are Monday-start (A-1) · Today preset marked Selected while untouched (A-2) ·
announcement pattern “Showing {label}, {start} through {end}.” (A-3) · hash-based URL scheme (A-4).

Open questions (full text on the design page): **Q-1** quarter label under the new taxonomy ·
**Q-2** Cancel scope (stays open vs closes) · **Q-3** custom prev/next rule · **Q-4** backwards-pair
copy · **Q-5** precision month/quarter rolling semantics · **Q-6** span-head placement confirmation ·
**Q-7** span head on the Orrery tab (omitted) · **Q-8** fixture vs production date hook ·
**Q-9** baseline commit paste/verification · **Q-10** mobile implementation target ·
**Q-11** the pill tone delta (teal → action blue).

## 12 · Baseline & verification log

- **Baseline:** `R6-21 Span Calendars.html` + the R6 file set in this folder (byte-identical copies
  of the local verified set). The packet cites a read-only audit at `hollandfair/designs@33a6610`;
  that commit was **not re-verified from this session** (repo not reachable with available
  credentials) — paste the verified commit from Open Code into the registry at handoff.
- **Checks run:** SHA-256 equality for every shipped dependency; browser probe runs for every state
  transition; computed-style checks for the selection grammar, today marker, target heights; visual
  review of all desktop states and the three mobile frames.
- **Constraints honoured:** no commit · no deploy · no publish · no Braid write · no new IDs ·
  no edits to r5-portal.js / ct-canon.js / r4nav/picker13.js / any R4–R6 HTML.
