Code projects — status view
Three documented projects at design stage: Fable, Loom, and Frame. Read each project column top to bottom — hub, current state, next actions, supporting notes, roadmap.
Colors show status: orange = planning and design only, red = not started. Update state cards when implementation begins; roadmap notes hold phase detail.
Fable
A website for training German reading comprehension through personalized stories and contextual explanations.
Confirmed direction
- Product name: Fable.
- Launch with German only. Add other languages after the German product is ready.
- Generate or reuse German stories matched to the learner’s level, topic, and optional grammar focus.
- Let learners ask about words and grammar, save vocabulary, and check understanding with a quiz.
- Give admins a dashboard for generated stories, learner accounts, and a shared grammar wiki that grows as learners ask questions.
- Check the reading difficulty of newly generated stories with TypeSafe AI’s Jev. Benchmark it on reviewed German samples before relying on it for automatic acceptance.
- Schedule narration and listening features after the German MVP.
Product hypothesis
Learners will practice more consistently when stories match their interests and ability, and help is available inside the reading experience. Fable should make it easy to move from “I do not understand this sentence” to understanding and continuing the story.
Core loop: choose a level and topic → find or generate a story → read and ask → check understanding → revisit saved words.
Project map
| Note | Purpose |
|---|---|
| Fable Features | Feature list, refinements, and release boundaries |
| Fable Product Map | Screens, user journeys, and product structure |
| Fable Technology and Infrastructure | Proposed stack, deployment, and operational design |
| Fable Data and AI Design | Shared content, generation, grammar wiki, and level checks |
| Fable Roadmap | Pre-build review, delivery phases, and readiness criteria |
| Fable MVP Codex Prompts | Paste-ready interactive Codex prompts for building and verifying the German MVP |
Proposed starting assumptions
These are planning recommendations, not additional confirmed requirements.
- Initial audience: independent adult learners studying German at A1–B1.
- English explanations initially; story text in German.
- Responsive website for phones and desktops.
- Short reading sessions, with approximately 100–400 words according to level and selected length.
- Learners select their level themselves; Fable does not certify CEFR proficiency.
- Accounts save stories, vocabulary, and results. A sample story can be read before signup.
State: planning only
No code, repository, or deployment exists. Notes dated 2026-11-18.
Confirmed: name Fable; German-only launch; level-based stories with word and grammar help, audio, and comprehension checks.
Proposed: A1–B1 levels, English explanations, Next.js + Supabase + OpenAI text and voice adapters.
Not started: implementation, provider selection, pilot.
Next actions
Phase 1 — content validation
- Choose the initial grammar catalog and write the evaluation rubric.
- Produce a reviewed A1, A2, and B1 sample pack.
- Compare text models and German voices; set a pilot budget.
Open decisions
- Monetization model.
- Hosting region and budget.
- Domain and trademark clearance.
Gate: meet the German readiness gate in Fable Roadmap before adding languages.
Fable Features
Part of Fable. Release sequence: Fable Roadmap.
German MVP
| Area | Behavior | Refinement and acceptance |
|---|---|---|
| Story generation | Choose German level, topic, length, and an optional grammar focus. | Start with A1, A2, and B1. Reuse eligible stories and their structured quizzes from the shared databank. On a miss, generate a new package and show a retry state on failure. |
| Story level check | Estimate the actual reading difficulty of each new story with TypeSafe AI’s Jev. | Keep the requested and estimated levels visible to admins. Follow the acceptance rules in Fable Data and AI Design > Story difficulty with Jev. |
| Reading | Present a distraction-free story with readable typography. | Support mobile use, keyboard access, font size adjustment, and resume position. |
| Ask about a word | Select a word to see its meaning in the current sentence. | Include lemma, part of speech, and a short example. Explain phrases together when a literal word translation would mislead. |
| German word details | Explain grammatical information relevant to the selected form. | Include noun articles and plurals and relevant verb forms. Preserve umlauts and ß. |
| Grammar focus | Request a story practicing a specific theme. | Identify examples in the story, such as accusative, dative, Perfekt, modal verbs, or subordinate clauses. |
| Ask about grammar | Ask about a topic or select a sentence and ask about its grammar. | Generate a reusable explanation when the wiki has no matching entry. The next learner with a matching question gets the saved explanation without another generation call. |
| Admin dashboard | Browse and search all generated story records, learner accounts, and grammar wiki entries. Inspect quizzes, level checks, generation jobs, and content feedback. | Filter stories by level and status and wiki entries by topic and review status. Admins can resolve story difficulty reviews and correct or withdraw wiki explanations. |
| Comprehension check | Answer 3–5 questions after reading. | Mix main idea and detail questions. Show explanations with supporting sentence references after submission. |
| Saved stories | Reopen a story and continue reading. | Save each learner’s link to the exact story and quiz version. Keep resume position and quiz attempts private to each learner. |
| Saved words | Save a word or phrase with its story sentence and explanation. | Deduplicate by normalized lemma or phrase plus language, while retaining useful contexts. |
| Learning summary | See completed stories and quiz results. | Show comprehension and use of help separately. |
| Quality feedback | Report confusing language, wrong explanations, or unsuitable difficulty. | Attach the story version and relevant passage or the wiki entry version. |
| Bring your own key | Let the operator configure a generation provider key for the self-hosted app. | Story and quiz generation use the configured provider. |
Practice and check modes
- Practice: word and grammar help available throughout; optional sentence translation on request, with the original visible.
- Check: learner chooses to hide help until answers are submitted. Record assistance if it is enabled again.
- Keep check mode low-stakes. Do not claim that one generated quiz measures overall reading proficiency.
After the core German release
| Priority | Addition | Benefit |
|---|---|---|
| Next | Spaced review of saved words | Revisit vocabulary encountered in meaningful contexts. |
| Next | Reuse saved words in new stories | Connect vocabulary review with fresh reading practice. |
| Next | German narration and playback | Listen to the exact saved story. |
| Next | Sentence-level replay and highlighting | Connect written German to spoken phrasing. Requires aligned segments. |
| Next | Better difficulty adaptation | Suggest adjustments using results and learner feedback; let the learner override them. |
| Later | German A0 support and B2–C2 | Expand only after the initial levels have a reliable quality standard. |
| Later | Listening-first exercises and dictation | Extend the same content into focused listening practice. |
| Later | Recurring characters and story series | Encourage return visits through continuity. |
| Later | Additional languages | Add language-specific grammar, explanations, audio evaluation, and level validation after German is ready. |
Proposed success measures
Track first-story completion, quiz completion, return to a second reading session, helpfulness of explanations, and cost per completed session. Review difficulty complaints and invalid generations by level. Set numerical targets after a pilot establishes a baseline.
Fable Product Map
Part of Fable. Feature details: Fable Features.
Product structure
flowchart TD Home[Home and sample German story] --> Setup[Level and interests] Setup --> Generate[New story] Generate --> Reader[German reader] Reader --> Words[Word and phrase help] Reader --> Grammar[Grammar help] Reader --> Quiz[Comprehension check] Quiz --> Results[Feedback and evidence] Results --> Generate Reader --> Library[My stories] Words --> Vocabulary[Saved vocabulary] Library --> Reader Results --> Progress[Learning summary] Admin[Admin dashboard] --> Stories[Generated stories and level checks] Admin --> Users[Learner accounts] Admin --> Wiki[Grammar wiki]
Main screens
| Screen | Main content | Primary action |
|---|---|---|
| Home | Product promise and a curated German sample | Try reading |
| Setup / settings | German level, explanation language, interests | Save preferences |
| New story | Level, topic, length, optional grammar focus | Generate story |
| Reader | Story, help panel, reading position | Read and explore |
| Comprehension | Questions tied to this story version | Submit answers |
| Results | Score, explanations, supporting passages, help usage | Read another story |
| My stories | Saved stories and reading state | Continue reading |
| Vocabulary | Saved words and original contexts | Revisit a word |
| Progress | Completed sessions and comprehension history | Resume practice |
| Admin dashboard | Generated stories, learner accounts, quizzes, level checks, jobs, feedback, and the grammar wiki | Review story difficulty and correct wiki entries |
German is fixed at launch. Do not show a target-language selector containing unavailable languages.
First session
- Visitor opens a reviewed sample German story without generating content.
- They try word help, then answer a short comprehension check.
- They create an account when they want to save progress or generate their own story.
- They select their German level and a topic; optional grammar focus is available without making setup mandatory.
- Fable looks for a matching story and quiz in the databank. On a miss it generates and validates a new package before opening it in the reader.
- The learner reads, asks questions, and completes the check.
- Results show supporting passages and offer a new story or saved vocabulary.
Returning session
Open the latest unfinished story or generate a new one using saved settings. Resume at the saved position. After submission, keep the original attempt visible; retries are separate attempts.
Reader interaction details
- Select a word for a contextual help panel; allow phrase selection for expressions.
- On mobile, use a dismissible bottom sheet that preserves reading position.
- Keep a visible “Ask about this sentence” action for grammar questions.
- Mark grammar-focus examples only after verifying they occur in the text.
- Keep translation behind an explicit action so learners can first attempt comprehension.
- Provide accessible controls and focus management for selection and dialogs.
Important states
Generation: return a matching ready package, or show queued → generating → validating. A new package can become ready, await admin review, or fail with a retry option.
Help: loading → explanation, uncertain response, or recoverable error. Never replace uncertainty with an invented dictionary fact.
Reading completion is learner-controlled; a comprehension attempt has its own completion state.
Fable Data and AI Design
Part of Fable. Infrastructure: Fable Technology and Infrastructure.
Proposed entities
| Entity | Key contents |
|---|---|
| Profile | User ID, German level, explanation language, interests |
| Grammar topic | Stable topic ID, language code, aliases, suggested level, links to explanations |
| Grammar explanation version | Topic ID, specific question or construction, explanation language and level, rule, examples, exceptions, review status, provenance |
| Story | Shared catalog ID, title, language, normalized topic, sharing eligibility |
| Story version | Immutable text, stable sentence IDs, requested level, grammar focus, generation model and prompt versions, validation state |
| Story level check | Story version, estimated level, choice probabilities, Jev model and rubric versions, outcome, check time |
| Learner story | User ID, story version, library state, reading position |
| Contextual explanation | Story version, selected passage, question, explanation language, structured response, optional wiki version reference |
| Saved vocabulary | Owner, language, lemma or phrase, original form, grammatical details, linked story contexts |
| Quiz | Story version, questions, answer key, explanations, supporting sentence IDs |
| Attempt | Owner, quiz ID, answers, score, assistance usage, submission time |
| Reading session | Owner, story version, position, completion state, timestamps |
| Job | Owner, operation, idempotency key, status, attempts, lease, error, result reference |
| Feedback | Owner, story or wiki version, issue category, optional comment |
Store German content with language_code = de. Reading progress, attempts, saved words, and private story access belong to the learner. Shared content carries no learner identifiers or raw prompts.
Story generation pipeline
- Validate requested level, length, topic, and optional German grammar focus.
- Look for an eligible, ready German story and quiz matching the normalized topic, requested level, length band, and grammar focus. Prefer a version the learner has yet to read. A hit links that version to the learner and skips generation and level checking.
- On a miss, use a versioned prompt with level-specific guidance to generate the story and 3–5 comprehension questions as a structured package. Check language, length, schema, sentence IDs, grammar examples, and answer evidence.
- Run the Jev level check before making the package ready. Retry failed generation or validation within the job’s retry budget. Show a recoverable failure if the package cannot be accepted.
- Store accepted text and quiz together as an immutable version. Keep failed attempts visible to admins through job records. Persist any generated candidates needed for review as restricted records. Regeneration creates a new version while saved references stay pinned.
Share packages generated from reusable topic inputs. Restrict stories based on private or identifying input to the requesting learner and authorized admins. Coalesce simultaneous misses for the same reusable request so one job can serve both learners.
Story difficulty with Jev
Use a server-side Jev Choice question with defined options for A1, A2, B1, outside the supported range, and unclear. Send the German story text and a versioned reading rubric. Assess the text independently of the requested level. Base the rubric on vocabulary familiarity, sentence complexity, cohesion, and how much the reader must infer. TypeSafe model documentation, Council of Europe CEFR Companion Volume
Benchmark a pinned Jev version on separately reviewed German texts across A1–B1, including borderline and harder examples. Use a tuning set for the rubric and confidence threshold, then check agreement and errors on a held-out set. Record the requested level, estimate, probabilities, model version, rubric version, and outcome for each story version.
Once the benchmark supports automatic acceptance, accept a confident match that passes the other content checks. Route uncertain or mismatched results to admin review after bounded retries. An admin can confirm the requested level and release the package, or reject it. While accuracy is being established, Jev provides an estimate and an admin confirms difficulty before a story enters the reusable pool. If the provider is unavailable, record the error and retry or route the story to review. The estimate describes story difficulty.
Contextual word help
Send the selected form, its sentence, and limited nearby context. Return a contextual meaning, lemma, part of speech, relevant grammatical features, and an example. Handle separable verbs, compounds, inflected forms, idioms, and multiword expressions explicitly.
Never derive a German noun’s article from its ending alone. If the system cannot confidently establish a grammatical fact, show uncertainty or omit the field. A reviewed dictionary integration can improve reliability later, subject to licensing and coverage evaluation.
Grammar help and shared wiki
- Resolve a question to a stable German topic and a specific construction or question intent. Look up an active wiki explanation that matches the topic, intent, explanation language, and applicable learner level. Use aliases for common phrasings.
- On a hit, return that explanation directly with no generation call. For sentence questions, show the saved rule alongside the learner’s selected sentence. Highlight how the rule applies only when the construction can be verified in that sentence.
- On a miss, generate and validate a structured general explanation with a short rule, examples, and relevant exceptions. Create a canonical topic if the reusable construction has no topic yet. Save the reusable entry as AI-generated and unreviewed. Generate missing explanations as questions arrive so the wiki grows one entry at a time. Use a unique lookup key and one in-flight job per reusable explanation to prevent duplicate work on simultaneous misses.
- Keep learner-specific questions and passage details private. If a question cannot be safely mapped to a reusable topic or needs a case-specific answer, keep that answer scoped to the learner and passage. A distinct construction under an existing topic can add a new explanation without rewriting the topic.
- Admins can inspect, correct, approve, or withdraw entries. Corrections create a new active version, and withdrawn versions are ineligible for reuse. Show the active entry’s AI provenance and review status.
For example, the first A2 learner asking in English about dative after mit creates the entry. A second A2 learner asking why the phrase is mit dem Bus gets that entry when the question resolves to the same construction. A question about the dative object of helfen uses a different entry.
Treat learner-entered text as data. Keep database credentials and tool access outside the model.
Comprehension and progress
Review the sample packages for natural German, correct grammar, unambiguous questions, accurate evidence, and helpful explanations.
For the first release, use choice-based questions with server-side scoring. Keep correct answers out of the pre-submission API response. Return supporting passages and explanations after submission. Store repeat attempts separately and track whether help was used.
Scores describe performance on that story. Level recommendations, if introduced later, should combine several sessions and learner feedback rather than promote a learner after one high score.
Fable Technology and Infrastructure
Part of Fable. This is a proposed architecture for a small initial team, not an implemented or final stack decision. Data and generation details: Fable Data and AI Design.
Proposed stack
| Layer | Proposal |
|---|---|
| Website and server API | Next.js with TypeScript for the web UI, Go for the API and worker |
| UI | React, semantic HTML, and a small CSS component system |
| Database and accounts | PostgreSQL and authentication (provider open) |
| Text generation | A server-side model adapter, initially evaluating Deepseek API or free gemma models from google |
| Story level evaluation | TypeSafe AI Jev via a separate server-side adapter |
| Hosting | Self hosted in home server based on docker containers |
| Background work | Durable job records in queue plus a small worker service |
| Delivery | Git repository, automated CI, production deployment based on docker containers |
Runtime behavior
- Use idempotency keys for generation requests so reloads do not create duplicate billable jobs.
- Workers claim jobs atomically with leases, bounded retries, and a terminal failure state; reclaim expired leases after crashes.
- Generate a story and quiz as a versioned package.
- Store shared story packages and grammar wiki entries in PostgreSQL. Coalesce concurrent misses by lookup key. Each learner keeps a private reference and progress state.
- Require a server-verified admin role on every dashboard API. Keep credentials out of dashboard responses and routine logs. Record admin edits, approvals, and withdrawals with actor and time.
- Keep generation and Jev credentials server-side. Track jobs, retries, cache hits and misses, and Jev outcomes by operation.
- Apply per-account quotas and a global spend ceiling. Restrict custom prompt size and story length.
- Record latency, failure rate, token usage where available, and estimated cost by operation. Keep learner content out of routine logs.
Environments and operations
- Use separate local/development and production data and credentials. Preview builds use test data and restricted provider budgets.
- Store schema migrations in source control. Test migration application and rollback or forward-repair procedures before production changes.
- Enable database backups appropriate to the selected plan and verify restoration.
- Set job timeouts, rate limits, and alerts for failed jobs and spend thresholds.
- Provide account/content deletion and documented retention for private learner data, shared packages, and provider-bound content. Send providers only the content needed for the operation.
Verification before launch
- Run generate or reuse → read → ask → quiz on mobile and desktop. Check keyboard navigation, schema validation, duplicate requests, and failed-job recovery.
- With two learner accounts, verify that matching story and grammar requests reuse existing records without provider calls. Verify that different grammar questions and private story requests follow their own paths. Check that concurrent requests create only one reusable result.
- Verify that ordinary users cannot open admin endpoints or read another learner’s records. Confirm an admin can inspect stories and users, resolve a story difficulty review, and correct or withdraw a wiki entry.
- Verify Jev responses for match, mismatch, uncertainty, and provider failure. Confirm that the dashboard shows the story version, requested and estimated levels, and validation outcome.
Fable Roadmap
Part of Fable. This is a proposed sequence without delivery-date commitments.
Pre-build review
- Resolve the frontend and API boundary. The stack lists both Next.js and Go. The proposed starting point is a Next.js UI and Go API and worker, with the Go service owning data access and generation.
- Confirm the authentication approach, admin role provisioning, and how self-hosters configure generation and Jev credentials.
- Build the MVP around shared story and quiz versions, private learner state, and reusable grammar explanations. Verify the same-request behavior with two learner accounts before adding more generation features.
- Establish Jev’s usefulness on reviewed German stories before enabling automatic level acceptance. Use admin review for uncertain or mismatched results.
- Schedule audio after the MVP.
Phase 1 — Define and validate German learning content
- Confirm initial A1–B1 coverage, English explanations, and the intended learner audience.
- Select a small German grammar catalog, using German Notebook as a planning reference.
- Create reviewed sample stories and checks for each initial level.
- Compare text generation providers and benchmark Jev against the reviewed level labels.
- Define story quality criteria, a pilot budget, and acceptable cost per completed session.
Exit: reviewed samples establish the initial content bar and the team has a level-check rubric and review process.
Phase 2 — Build the complete learning loop
- Set up the application, accounts, data model, and ownership rules.
- Implement shared story and quiz lookup, generation on a miss, and Jev level checks.
- Build the reader, contextual word help, and sentence grammar questions.
- Add the shared grammar wiki with on-demand entries and cache hits across learners.
- Build the admin dashboard for generated story and quiz inspection, level review, learner accounts, and wiki corrections.
- Add comprehension checks and evidence-based answer feedback.
Exit: a learner can open or generate a story, read, ask for help, and complete a quiz. A matching request from another learner reuses the shared content, and failures are recoverable.
Phase 3 — Make the German MVP useful across sessions
- Add the sample-story entry flow, library, resume position, saved vocabulary, and learning summary.
- Add practice/check modes and assistance tracking.
- Add job and feedback inspection to the admin dashboard.
- Provide feedback reporting, usage limits, cost visibility, and account deletion.
- Verify mobile usability, accessibility, cross-user data isolation, and backup recovery.
Exit: the German MVP supports independent repeat use with reliable persistence and controlled operating costs.
Phase 4 — Pilot and establish German product readiness
- Observe German learners using the full loop and collect difficulty and explanation feedback.
- Track first-session completion, return sessions, quiz use, and cost per completed session.
- Review failures across levels and grammar topics, then fix recurring quality and usability problems.
- Decide whether German narration, vocabulary review, or adaptive suggestions provide the next strongest benefit.
German readiness gate: the core feature set works across the supported levels, reviewed samples meet documented quality criteria, critical learner issues are resolved, recovery and access controls are verified, and recurring usage fits an explicit budget. Set quantitative thresholds before the pilot; multilingual expansion waits until this gate is met.
Phase 5 — Expand after German is ready
First decide whether to deepen German or launch another language based on learner demand. For a new language, add its own grammar catalog, token/phrase handling, reviewed stories, difficulty evaluation, explanation examples, and voice evaluation. Then expose a language selector and language-specific preferences. Reuse the platform infrastructure while evaluating the new language as its own learning product.
Decisions and open questions
| Item | Current state |
|---|---|
| Name | Confirmed: Fable |
| First target language | Confirmed: German only |
| Other target languages | Confirmed: after the initial product is ready |
| Starting levels | Proposed: A1–B1 |
| Explanation language | Proposed: English initially |
| Word questions | Interpreted as contextual word/phrase explanations; optional review quizzes later |
| Grammar theme | Interpreted as both generation focus and in-reader explanation |
| Stack | Next.js UI and Go API/worker proposed in Fable Technology and Infrastructure. Authentication and generation provider are open. |
| Monetization | Open; establish usage and costs before choosing a model |
| Hosting region and budget | Open; settle before production deployment |
| Domain and name clearance | Not checked |
First actionable tasks
- Confirm the frontend/API split, authentication, admin role, and provider credential setup.
- Choose an initial set of German grammar themes and write the reading difficulty rubric.
- Produce a reviewed German sample pack covering A1, A2, B1, and out-of-range texts. Reserve examples for a held-out Jev check.
- Compare generation quality and Jev agreement against that pack.
- Build the first end-to-end path with two learner accounts and one admin account. Verify shared story and wiki reuse and private learner state.
Loom
A web application that crawls a website responsibly and turns its pages and links into an interactive visual map.
Confirmed direction
- Submit crawl jobs through a web UI.
- Fetch pages concurrently using Go goroutines.
- Use background queues for job processing.
- Avoid spam and unintended high load on target websites.
- Persist results in a graph or NoSQL database.
- Follow job status and explore results through the web UI.
- Product name: Loom.
Product hypothesis
Developers, site owners, and content teams can understand a website faster by exploring its actual link structure visually. The same map can reveal broken links, deep navigation paths, and disconnected sections within the observed crawl.
Core loop: enter a site → choose scope and limits → queue crawl → follow progress → explore the map → inspect pages and findings → export or rerun.
Project map
| Note | Contents |
|---|---|
| Loom Features | MVP features, refinements, and later opportunities |
| Loom Product Map | Screens, journeys, and visualization behavior |
| Loom Crawler and Job Design | Goroutines, queue delivery, frontier, scheduling, and recovery |
| Loom Responsible Crawling | Shared request budgets, robots rules, scope, and fetch protections |
| Loom Data and Storage | Graph model, database choice, and query boundaries |
| Loom Technology and Infrastructure | Proposed stack, deployment, operations, and sources |
| Loom Roadmap | Delivery sequence, acceptance criteria, and decisions |
Current state across all code projects: Code Projects.
Proposed launch scope
These are recommendations rather than confirmed implementation decisions.
- Public HTTP/HTTPS sites, exact-host scope, HTML link extraction, and bounded crawl sizes.
- Static HTML first; JavaScript rendering, login flows, and authenticated sites later.
- Accounts with private job history and maps.
- A graph explorer plus a searchable table; the table remains useful when a graph is dense.
- Neo4j as the primary durable store, Redis/Asynq as the queue, and React/Cytoscape.js for visualization.
- The result is an observed link graph, not a guarantee that every page on a website was discovered.
The project name is selected; domain and trademark availability have not been checked. Planning only: no application has been implemented or deployed.
State: planning only
No crawler, API, or UI exists. Go concurrency, background queues, graph/NoSQL storage, and a web UI are the confirmed direction.
Proposed: Neo4j + Redis/Asynq, React + Cytoscape.js, static HTML with exact-host scope.
Not started: implementation, fixture validation, load testing, pilot.
Next actions
Phase 1 — validate crawler boundaries
- Build fixture sites: cycles, redirects, robots, failures, query traps, slow requests.
- Implement URL identity and public-destination checks.
- Prototype bounded Go workers with shared pacing and cancellation.
- Benchmark Neo4j constraints, frontier claims, and graph queries.
Proposed defaults: 500 URLs, depth 5, 30 minutes, 2 s per host, 2,000 attempts.
Open: hosting and budget, OIDC provider, domain clearance, supported scale.
Loom Features
Part of Loom. Interaction design: Loom Product Map.
MVP feature map
| Area | Capability | Result |
|---|---|---|
| Job creation | Seed URL, page cap, depth cap, optional path scope, time budget | A bounded crawl with a visible settings summary |
| Crawl policy | Conservative request pace, robots checks, timeouts, retries, size caps | Parallel fetching with explicit safeguards against excess load |
| Job tracking | Queue state, processed/discovered counts, current activity, elapsed time | Understand what Loom is doing without keeping the page open |
| Cancel | Stop further scheduling and interrupt in-flight work where possible | Preserve a clearly labeled partial result |
| Graph explorer | Pan, zoom, drag, search, select nodes, expand neighbors | Explore how pages connect |
| Visual styles | Node color by status, size by observed link count, grouping by path | Make structure and anomalies easier to see |
| Page inspector | URL, title, status, content type, depth, timing, inbound/outbound links | Explain what a selected node represents |
| Link types | Distinguish hyperlinks, redirects, and canonical declarations | Avoid treating every relationship as navigation |
| Findings | Broken internal targets, redirect chains, fetch failures, deep pages | Move from map exploration to actionable inspection |
| Coverage | Show skipped, blocked, failed, external, and limit-truncated nodes | Explain what the map does and does not cover |
| History | Saved jobs and immutable crawl snapshots | Reopen a result and compare it manually with a later run |
| Export | Graph JSON, page/edge CSV, image of the current view | Reuse crawl data and share a visual snapshot |
Store every extracted link within configured data limits, including links to already-seen pages. A discovery tree alone loses the connections that make the product useful.
Useful refinements
- Offer a conservative preset; advanced settings may lower limits, while raising platform caps requires an explicitly allowed policy.
- Show partial maps while crawling, with stable node positions where possible.
- Pair findings with filters that select the relevant nodes and table rows.
- Provide a clear legend and a table alternative; use labels as well as color.
- Display a stopped reason such as page cap, time budget, user cancellation, or exhausted frontier.
- Export crawl settings and coverage alongside data so consumers understand the snapshot.
Later features
| Addition | Dependency or tradeoff |
|---|---|
| Pause/resume | Durable frontier, settled work leases, and visible resume behavior |
| Snapshot comparison | Stable URL identity; compare edges, status, and metadata separately |
| Scheduled recrawls | Quotas and shared domain limits must include scheduled jobs |
| Sitemap.xml discovery | Adds seed coverage; do not confuse declared pages with crawled pages |
| Orphan-page candidates | Requires an independent inventory such as sitemaps or an owner-supplied URL list |
| JavaScript rendering | A separate tightly limited browser worker pool and subresource request controls |
| Subdomain/site-wide crawling | Explicit scope controls and shared load budgets across related hosts |
| Collaboration and read-only sharing | Permissions, retention, and private URL handling |
| SEO/content overlays | Additional extraction and carefully bounded product scope |
Link traversal alone cannot discover true orphan pages. Do not label pages as orphaned solely because a partial crawl found no incoming edges.
Proposed success measures
Measure time to first useful map, successful bounded job completion, user return to inspect a saved result, graph responsiveness, queue delay, request rate compliance, retry amplification, and cost per crawl. Establish numerical product targets after a pilot rather than inventing adoption estimates.
Loom Product Map
Part of Loom. Features: Loom Features.
flowchart TD Home[Home and example map] --> Create[Create crawl] Create --> Summary[Scope and limits summary] Summary --> Status[Job status] Status --> Map[Live partial graph] Status --> Result[Finished or partial result] Map --> Inspect[Page and link inspector] Result --> Inspect Result --> Findings[Findings and page table] Result --> Export[Export] Result --> Rerun[New crawl with same settings] History[Job history] --> Status History --> Result
Screens
| Screen | Main elements | Main action |
|---|---|---|
| Home | Product promise and a static example graph | Create crawl |
| New crawl | Seed, scope, caps, exclusion patterns, expected behavior | Queue job |
| Job status | State, counters, throttling reason, failures, partial preview | Inspect or cancel |
| Results | Graph, filters, legend, coverage summary | Explore a node |
| Page inspector | Metadata, fetch outcome, related nodes and edge types | Expand neighborhood |
| Findings/table | Searchable rows and issue filters | Locate in graph |
| History | Saved jobs, state, seed, dates, termination reason | Open or rerun |
The settings summary is part of submission, not a separate approval requirement.
Job journey
- The user enters a public website URL and chooses a small default crawl.
- Loom validates the seed, displays exact-host scope and limits, then accepts submission.
- The API returns a job ID immediately. Work continues after the browser closes.
- The status view reports discovered, eligible, queued, fetching, fetched, failed, and skipped counts with defined meanings.
- Available observations appear in the partial graph; loading more nodes does not trigger new crawls.
- A terminal result explains why work stopped and which parts remain unvisited.
- The user inspects, exports, or creates a new job with the same settings.
Progress and result semantics
Use activity counts and a spinner while the frontier is still growing. Do not show a misleading percentage against a final page count that is not yet known.
- Completed / frontier exhausted: all eligible discovered work settled; pages not discoverable from the seed may still exist.
- Completed / limited: configured page, time, depth, or data boundaries constrained coverage.
- Cancelled: stopped by the user, with partial observations retained.
- Failed: infrastructure or job-level failure prevented normal processing; retained data may still be inspectable.
Page-level HTTP errors do not automatically fail the entire job. A fetched 404 is a useful observation.
Graph interaction
Start with a limited neighborhood and a path-group overview. Allow expansion on selection, filtering by status/depth/path, search by URL/title, fit-to-view, layout reset, and optional label density. Selecting a node opens its details and highlights visible neighbors.
Use a force-directed overview for exploration and a hierarchy view based on discovery depth as an optional lens. Hyperlinks can form cycles, so the graph is not inherently a tree.
Keep node/edge payloads capped and show when a view is truncated. Persist filters and selected node in the URL where practical. Reuse positions during refreshes instead of repeatedly moving the whole map. Offer a paginated table for keyboard users and dense datasets.
Loom Crawler and Job Design
Part of Loom. Constraints: Loom Responsible Crawling. Persistence: Loom Data and Storage.
Roles and execution model
- Go API: authenticates users, validates settings, creates jobs, serves status and graph queries.
- Dispatcher/reconciler: publishes durable pending work to Redis and repairs missing deliveries.
- Go workers: consume fetch tasks using a bounded goroutine pool; each task performs bounded network and parsing work.
- Shared scheduler: enforces per-target concurrency, next-request times, cooldowns, and global limits across workers and jobs.
Queue page-fetch tasks rather than holding one queue task open for an entire crawl. Use bounded channels and parser pools; never create one unbounded goroutine per discovered URL. A goroutine is an execution tool, not durable job storage.
Durable workflow
- The API creates a crawl job, its seed frontier entry, and an outbox event in one database transaction.
- A dispatcher publishes a small task containing IDs, then marks the event dispatched. A crash can duplicate delivery, so consumers must be idempotent.
- A worker atomically claims a frontier entry with an expiring lease and attempt token. Skip stale, cancelled, or already-settled tasks.
- Validate scope, robots policy, network destination, and budgets. Acquire shared host concurrency and rate permission. If not yet eligible, reschedule with delay rather than sleeping in a worker slot.
- Fetch with a cancellable context, parse bounded HTML, normalize URLs, and collect edges.
- Atomically persist the observation, edges, new deduplicated frontier entries/outbox events, and settlement of this frontier entry. Only the current attempt token may commit.
- Acknowledge the queue task after the durable transaction commits. Retries after a crash see the settled entry and do not duplicate graph effects.
A crash after a remote request but before commit can cause a repeated request. Do not claim exactly-once HTTP fetching. Charge every actual request attempt against limits.
Queue and scheduling
Proposed queue: Redis with Asynq. Delivery can repeat; database constraints and claim tokens are the correctness boundary. Redis task uniqueness is an optimization, not the only protection.
Use fair scheduling so one large crawl cannot monopolize all workers. Jobs targeting the same host share one budget regardless of user or queue. A website-group budget can additionally combine related hosts; keep that grouping conservative and administratively configurable.
Separate controls for worker count, per-host in-flight requests, minimum request-start interval, global request rate, and per-job resource limits. Connection pooling alone is not a request limiter, especially with multiplexed protocols.
Lifecycle
queued → running → completed | cancelled | failed
Keep termination_reason separate: frontier_exhausted, page_cap, time_cap, data_cap, user_cancelled, or system_failure. Store timestamps and a monotonic state revision so stale browser updates cannot replace newer state.
Frontier entries use pending → leased → settled, with explicit retry scheduling and a final outcome. Recover expired leases; bound retry counts and reject late commits from old attempts. Cancel prevents new claims, propagates to active contexts, and fences late writes after cancellation finalization.
Completion and budget accounting
Complete a job only when no eligible pending entries, active leases, delayed retries, or undispatched crawl outbox events remain. Determine this from durable state under job-level coordination, not Redis queue length alone.
Reserve page-attempt capacity atomically before scheduling/fetching so parallel workers cannot overshoot the cap. Separate unique-URL cap, total HTTP-attempt cap, redirect-hop cap, byte budget, and wall-clock budget. Retries, robots requests, and redirects consume request budgets even when they do not add a page.
Commit page settlement and child discovery together so the last active fetch cannot finish a job before its children are durable. Denied, out-of-scope, or limit-skipped targets can remain graph stubs with explicit outcomes.
Recovery
Reconcile pending frontier records, undispatched events, and expired leases on a schedule. A Redis loss should be recoverable from the durable ledger without erasing results. Enforce host pacing during recovery as well as normal operation. If the shared limiter is unavailable, defer fetching rather than bypass it.
Loom Responsible Crawling
Part of Loom. These are proposed platform defaults and implementation requirements for avoiding excess load from a public crawl service.
Initial policy
| Control | Proposed default |
|---|---|
| Scope | Exact seed hostname, HTTP/HTTPS only, standard ports |
| Crawl size | 500 unique URLs, maximum link depth 5, 30-minute wall-clock budget |
| Host concurrency | 1 in-flight request across all jobs for that target |
| Request pace | At least 2 seconds between request starts per host, without bursts |
| Worker pool | 8 fetch workers globally on the initial deployment, subject to global budgets |
| Request timeout | 15 seconds overall, with separate connection/header limits |
| Redirects | Maximum 5 per chain; revalidate every destination |
| Response size | Maximum 2 MiB decompressed HTML per page |
| Retries | Up to 2 retries for eligible transient failures, with jitter and exponential backoff |
| Attempt and byte budgets | 2,000 total HTTP attempts and 100 MiB response data per job |
These values are starting hypotheses for testing, not universal guarantees of harmless load. Tune downward for small or struggling targets. Enforce hard platform ceilings server-side.
Shared load control
Use a distributed limiter across jobs and worker replicas. Charge robots requests, retries, redirect hops, and other crawler fetches to target budgets. Use hostname-level scheduling plus optional related-host and destination-IP guardrails; a shared IP guard must account for unrelated sites on shared hosting.
Atomically allocate both a concurrency lease and a request-start slot. Leases expire after bounded requests and are refreshed or released safely. Fail closed if scheduling state cannot be consulted. A restart must not reset every domain to an immediate burst.
For 429 and 503 responses, respect valid Retry-After guidance and apply a shared cooldown. Slow down on repeated timeouts or server errors; stop a persistently failing target. Do not retry ordinary 404 responses. Show cooldown and throttling reasons in job status.
Robots and scope
Honor robots.txt using the matching crawler user-agent rules, caching and failure handling from RFC 9309. A robots network/server failure must not silently become permission to crawl. Use a tested parser and explicit tests for redirects, availability errors, matching, and cache expiry.
Crawl-delay is not standardized by RFC 9309; if supported, treat it as an extra restriction. Robots rules do not authenticate a crawler or replace access control. Identify Loom with a consistent user agent and operator contact page.
Limit traversal to the configured hostname and allowed paths. External URLs may appear as labeled stubs but are not fetched. A redirect to another hostname stops at a recorded boundary in the MVP; offer an explicit new seed rather than silently expanding scope. Do not fetch linked images, scripts, forms, or downloads in the static crawler.
URL identity and crawl traps
Resolve relative URLs against the final page URL and any valid HTML base URL, then apply scope and destination checks. Remove fragments, normalize scheme/host casing and default ports, and preserve path case and query semantics. Do not merge trailing-slash variants or sort/drop query parameters without an explicit, tested policy.
Allow a small explicit list of tracking parameters to be ignored. Bound URL length, query variation per path, total discovered edges, redirect chains, and repeated calendar/filter patterns. Canonical declarations are recorded hints, not authority to merge unrelated URLs or expand scope.
Public-service fetch protections
User-supplied URLs make destination validation part of the crawler design:
- Reject credentials in URLs, unsupported schemes, loopback, private, link-local, reserved, and cloud metadata destinations for IPv4 and IPv6.
- Validate DNS answers and connect only to a validated public address; preserve the intended Host header and TLS verification. Repeat checks on redirects and new connections to resist DNS rebinding.
- Add outbound network rules blocking internal services. Do not inherit a proxy configuration that bypasses destination checks.
- Limit compressed and decompressed bytes, parse time, link count, headers, redirects, and DNS/connect duration.
- Never submit forms or attempt login. Do not bypass authentication, bot challenges, or access denials.
- Render extracted titles and URLs as untrusted text in the UI; never embed fetched HTML as executable content.
If browser rendering is added later, every browser subrequest needs equivalent scope, destination, and rate controls. Limiting the top-level navigation alone is insufficient.
Loom Data and Storage
Part of Loom. Choice status: proposed, subject to a small implementation benchmark.
Database alternatives
| Option | Fit | Tradeoff |
|---|---|---|
| Neo4j | Pages and typed links map directly to a graph; suitable for neighborhood and path queries | Requires Cypher knowledge, operational planning, and bounded traversals |
| MongoDB | Flexible crawl/job documents and separate page/edge collections | Recursive traversal is available, but graph exploration and indexing need careful design |
| PostgreSQL | Strong fit for job ledgers and relational edge tables | A viable alternative, though it is outside the user’s preferred graph/NoSQL direction |
Proposed starting choice: Neo4j as the durable source of truth, with Redis for queue and limiter state. Avoid maintaining both MongoDB and Neo4j in the first release.
Neo4j provides an official Go driver. MongoDB documents recursive traversal through $graphLookup. The choice above is an architectural recommendation, not a comparative performance claim.
Snapshot graph
flowchart LR User[Account] -->|OWNS| Job[Crawl job] Job -->|CONTAINS| Page[Page observation] Page -->|LINKS_TO| Other[Target observation or stub] Page -->|REDIRECTS_TO| Redirect[Redirect destination] Page -->|DECLARES_CANONICAL| Canonical[Canonical target] Job -->|HAS_WORK| Frontier[Frontier entry] Job -->|HAS_EVENT| Event[Outbox / status event]
| Entity | Important fields |
|---|---|
| Account | Stable owner ID from authentication provider |
| Crawl job | Owner, seed, settings snapshot, state, termination reason, counters, revision, timestamps |
| Page observation | Job ID, URL identity, requested/final URL, title, HTTP status, fetch outcome, content type, depth, timing, bytes |
| Link | Job ID, source/target IDs, type, bounded anchor samples, occurrence count |
| Frontier entry | Job and URL key, state, next eligibility, lease token/expiry, attempts, result reference |
| Outbox event | Unique event ID, job ID, work ID, dispatch state and timestamps |
| Finding | Job ID, type, page/edge references, evidence and severity |
A page observation belongs to a crawl snapshot. Do not overwrite yesterday’s status with today’s result. Canonical URL identity can be shared as metadata later; observations remain versioned by job.
Consistency
Use deterministic unique keys such as job_id + normalized_url for pages/frontier and job_id + source + target + type for aggregated edges. Create appropriate uniqueness constraints and indexes before processing jobs; confirm support in the selected Neo4j version/edition.
Use a short transaction to settle a page and create its edges, frontier additions, and outbox records. Guard mutations with job state and attempt tokens. Where Neo4j lacks a desired compound constraint in the chosen edition, use a deterministic single key. Benchmark job counters and lease claims for contention before adopting multiple replicas.
Store status history or revisions durably enough for reliable browser reconnects. Return authorized graph data through the Go API; browsers never receive database credentials or arbitrary Cypher execution.
Graph queries and retention
All queries are scoped to an owned job and carry explicit node, edge, depth, and time limits. Provide summary/path-group queries, capped neighborhoods, search, paginated pages, and bounded export jobs. Never load every node into the browser by default or run unbounded variable-length traversals.
Persist page metadata and link observations by default, not full HTML. Put large exports or later snapshots in private object storage with lifecycle rules. URL queries can contain sensitive values; redact logs and keep maps private by default. Deleting a job removes its frontier, observations, edges, exports, and queue references through a recoverable cleanup process.
Loom Technology and Infrastructure
Part of Loom. This is a proposed stack, not a deployment or provider purchase.
Stack proposal
| Component | Proposal | Purpose |
|---|---|---|
| Web UI | React + TypeScript + Vite | Job forms, history, status, and explorer |
| Graph | Cytoscape.js | Interactive nodes/edges, styles, layouts, and selection |
| API and crawler | Go, standard HTTP server/client, HTML parser | Job control, bounded parallel network I/O, graph queries |
| Queue | Redis + Asynq | Delayed tasks, retries, and background workers |
| Durable store | Neo4j | Jobs, frontier, outbox, page snapshots, typed edges |
| Authentication | OIDC provider; exact service undecided | Account identity and access sessions |
| Live status | Polling initially, server-sent events later | Keep the UI current with durable job revisions |
| Exports | Private S3-compatible storage when needed | Large downloadable artifacts |
| Local runtime | Docker Compose | Reproducible UI/API/worker/Redis/Neo4j development |
| Initial hosting | Container-capable host or small VM with private services | Persistent worker processes and predictable networking |
The Go HTTP package exposes transport, client, redirect, and timeout controls; implement application pacing separately. Asynq is a Redis-backed Go task queue; make consumers idempotent. Cytoscape.js provides graph visualization and layout APIs; benchmark representative graph sizes rather than assuming unlimited rendering capacity.
Deployment map
flowchart LR Browser[Browser] --> Proxy[TLS reverse proxy] Proxy --> UI[Static web UI] Proxy --> API[Go API] API --> DB[(Neo4j)] Dispatcher[Dispatcher and reconciler] --> DB Dispatcher --> Redis[(Redis queue and limiter)] Redis --> Worker[Go worker pool] Worker --> DB Worker --> Guard[Outbound destination controls] Guard --> Site[Public target website] API --> Files[Private export storage]
API and workers can share a Go codebase with separate commands. Keep workers outside short-lived web request runtimes. Serve frontend and API under one origin where practical. Keep Redis and Neo4j private; expose only HTTPS and deliberately configured operator access.
Environments and delivery
Use local fixtures and an isolated development database. Production uses separate credentials, persistent volumes, secrets injection, resource limits, and health checks. A single VM is a reasonable pilot topology but has a single point of failure; disclose expected downtime and verify backups before relying on it.
CI runs Go tests and race-sensitive concurrency checks, frontend type checks/build, and integration tests against disposable databases. Use schema migrations or versioned constraint setup. Deploy API and workers compatibly with queued task versions and database shape; drain workers gracefully before replacing them.
Operations
Track queue delay, oldest pending frontier item, active leases, pages per minute, per-host request rate, retry counts, 429/503 frequency, bandwidth, database latency, graph response size, and browser layout time. Correlate logs with job/work IDs; avoid logging complete URLs with sensitive query strings.
Back up Neo4j using procedures supported by the selected deployment and edition; test restore with job recovery. Configure Redis persistence and memory limits appropriate to queue durability, avoiding silent queue-key eviction. The durable frontier/outbox supports reconciliation if queue deliveries are lost. Rebuild limiter state conservatively before resuming outbound traffic after recovery.
Cost and scale
Cost drivers are worker CPU/memory, network traffic, graph database storage/memory, queue service, export storage, and retention. Measure cost per bounded crawl and graph query performance before choosing paid plans.
Scale workers only after distributed pacing, idempotency, lease recovery, and database contention tests pass. More replicas must improve throughput across independent sites without increasing the allowed load on one target. Kubernetes, Kafka, browser fleets, and a second durable database are unnecessary for the initial scope.
Source references
- Go HTTP client and transport
- Asynq source and task model
- Neo4j Go driver
- Cytoscape.js documentation
- Robots Exclusion Protocol, RFC 9309
Sources checked on 2026-11-18. Check current maintenance, compatibility, licenses, hosting limits, and pricing before locking dependencies and services.
Loom Roadmap
Part of Loom. Proposed implementation phases, with no delivery-date commitment.
Phase 1 — Validate the crawler boundaries
- Build local fixture sites covering cycles, relative links, redirects, robots, failures, query traps, compressed responses, and slow requests.
- Implement URL identity and public-destination validation before accepting arbitrary internet seeds.
- Prototype bounded Go workers, a shared pacing mechanism, and cancellation.
- Define a small graph dataset and benchmark Neo4j constraints, frontier claims, edge ingestion, and neighborhood queries.
Exit: fixtures produce the expected graph, request rates remain within limits, and private destinations and unsafe redirects are rejected.
Phase 2 — Make jobs durable
- Add authenticated job creation, state transitions, page frontier, queue tasks, outbox dispatch, and lease recovery.
- Verify duplicate delivery, lost queue messages, worker crashes, cancelled jobs, and delayed retries.
- Test simultaneous jobs for one host across multiple workers.
Exit: restarts preserve results and recover pending work without unbounded retries or excess target load. Completion does not race with child discovery.
Phase 3 — Ship the useful web experience
- Build job form, history, status, and partial-map views.
- Add graph selection, search, grouping, filters, inspector, and paginated table.
- Add coverage explanations, findings, exports, and rerun as a new job.
Exit: a user can submit a bounded site crawl, close the browser, return, inspect results, understand missing coverage, and export data.
Phase 4 — Pilot and operate
- Use sites operated by the team or explicitly permitted for pilot testing.
- Validate defaults against actual server load and diverse page structures.
- Test backup restoration, cross-account isolation, retention cleanup, cancellation, and global request caps.
- Measure large-view responsiveness and choose a documented graph payload limit.
Exit: crawl limits hold under retries and concurrent jobs, results stay responsive, recovery is verified, and cost fits an explicit pilot budget.
Phase 5 — Expand deliberately
Prioritize snapshot comparison, scheduling, richer discovery, or JavaScript rendering based on pilot use. Browser rendering requires a separate design for every subresource request, not just another worker flag. Add pause/resume after durable cancellation and lease behavior are reliable.
Meaningful acceptance checks
| Scenario | Expected evidence |
|---|---|
| Two jobs for the same host | Shared concurrency and request-start limits still hold |
| Worker crash after fetch | Retry may repeat HTTP, but graph effects and counters remain consistent |
| Redis outage | Workers defer fetches; durable work is recoverable |
| Queue redelivery | Settled work is not processed as a new page |
| Final page discovers children | Job remains active until eligible child work settles |
| Cancel during fetch | No new claims; late writes follow fenced cancellation rules |
| 429 with Retry-After | Shared target cooldown observed by every worker |
| Redirect to private IP | Request blocked before private connection |
| Many links/query variations | Discovery and rendering stay within data and memory caps |
| Map with skipped targets | UI clearly distinguishes observed, failed, external, blocked, and unvisited nodes |
Use deterministic local servers and a controllable clock for rate/retry tests; avoid proving load behavior by stressing a public website.
Decisions
| Topic | State |
|---|---|
| Name | Confirmed: Loom |
| Go concurrency, queue, graph/NoSQL, web UI | Confirmed direction |
| Neo4j + Redis/Asynq | Proposed; validate operational fit and ingestion benchmark |
| React + Cytoscape.js | Proposed; validate realistic graph responsiveness |
| Static HTML, exact-host scope | Proposed MVP boundary |
| Limits and supported scale | Proposed in Loom Responsible Crawling; tune during controlled pilot |
| Hosting/provider/budget | Open |
| Domain/name availability | Not checked |
Next actions
- Review MVP scope and crawl limits.
- Define fixture graphs and expected fetch traces.
- Benchmark durable frontier and graph query patterns.
- Build the polite crawler and recovery loop before public job submission.
Frame
Your year in films. Your next film together.
A web product combining a personalized Letterboxd year recap with shared watchlist swipe rooms.
Confirmed direction
- Name: Frame.
- Year recap inspired by Spotify Wrapped: personal viewing details and the year’s Oscars, Cannes, Venice, Berlinale, and potentially other film events.
- Import a diary from a Letterboxd username, such as giraycoskun’s diary.
- A room for two or more people, using their Letterboxd watchlists.
- A preselected limited number of swipes per person, followed by a celebratory reveal when a match occurs.
- Import watchlists by username, such as giraycoskun’s watchlist.
- No Letterboxd API dependency. Automatic username-based import is a central requirement, not a convenience to drop silently.
Project map
| Note | Purpose |
|---|---|
| Frame Features | Both feature sets, refinements, and MVP boundaries |
| Frame Product Map | Screens, user journeys, and interaction states |
| Frame Data Sources and Import | Non-API fetching, source access, completeness, and caching |
| Frame Recap and Awards | Viewing metrics, event coverage, and year semantics |
| Frame Room and Matching Design | Shared decks, swipe budgets, consensus, and reconnects |
| Frame Technology and Infrastructure | Proposed stack, persistence, jobs, and deployment |
| Frame Roadmap | Delivery phases, decisions, and validation |
Product loop
Recap: enter username and year → import diary → verify coverage → explore personal story and awards overlap → optionally share selected cards.
Rooms: create room and choose swipe count → invite people → import watchlists → lock participants and deck → swipe → reveal a unanimous match or end with no match.
Proposed starting assumptions
- Responsive website; private results by default.
- Frame guest sessions for room access; entering a Letterboxd username does not authenticate that account’s owner.
- One selected calendar year for each recap, with an explicit year-to-date label for the current year.
- Unanimous matching across a locked roster of 2–8 participants initially.
- A common candidate deck drawn from the union of watchlists, capped to the selected swipe count.
- Go workers for source imports, PostgreSQL for product state, Redis/Asynq for background work, and a React/TypeScript UI.
These choices are proposals. No application, importer, or personal recap has been implemented or generated.
Main unresolved dependency
The supplied diary and watchlist pages could not be read through this session’s web tool. Published Letterboxd terms restrict automated extraction unless authorized. Username-based imports therefore need both a supported access basis and a technical feasibility check before public launch. See Frame Data Sources and Import for the evidence and exact limitations. No Letterboxd API is proposed as a fallback.
Name/domain availability has not been checked. The product is an independent concept, with no affiliation implied.
State: planning only
Confirmed: Frame; personal Letterboxd year recap with Oscars/festival overlap; swipe rooms for two or more people; username-based fetching without the Letterboxd API.
Proposed: unanimous matching, shared union deck, default 20 swipes, Go + PostgreSQL + Redis/Asynq + Next.js.
Unresolved: supported access for automatic diary/watchlist import. The example pages could not be read in this planning session; published terms restrict automated extraction.
No importer, application, or personal recap has been built.
Next actions
- Establish supported non-API source access and validate pagination/completeness.
- Prepare small diary/watchlist fixtures and reviewed event records.
- Build one recap and one complete room journey with labeled demo data.
- Confirm deck and match rules during product review.
Gate: uploads or fixture demos do not fulfill the username-only requirement.
Open: exact event categories, source/artwork access, hosting, budget, and name availability.
Frame Features
Part of Frame. Journeys: Frame Product Map.
Feature 1 — Year in film
| Capability | Proposed behavior |
|---|---|
| Username import | Accept a username or a supported Letterboxd diary/profile link; construct a fixed-host request server-side. |
| Year selection | Default to the current year’s activity, explicitly labeled year to date; support completed past years. |
| Personal summary | Display available public name/avatar plus logged watches, unique films, repeat watches, active months, and ratings distribution. Missing fields stay absent. |
| Personal highlights | Most active month, highest-rated films, favorite viewing discoveries, and selected recap cards with clear tie rules. |
| Optional richer statistics | Runtime totals, directors, countries, genres, and release decades only when a separately validated metadata source provides sufficient coverage. |
| Oscars and festivals | Show how diary films overlap with selected categories or selections from that year’s Oscars, Cannes, Venice, and Berlinale. |
| Awards watch progress | Separate nominees, winners, and official selections; show source links, denominators, dataset edition, and unresolved film matches. |
| Interactive recap | Mobile-friendly story cards with a navigable summary/table and reduced-motion option. |
| Sharing | Preview a selected image/card or explicitly publish a limited view. Public username input does not automatically publish a recap. |
| Import integrity | Report completeness, timestamp, missing metadata, and unavailable source pages before making annual claims. |
Prioritize counts and ratings that can be established from diary observations. A year recap should not turn missing values into zero or describe an incomplete diary as a full year’s history.
Feature 2 — Watch together
| Capability | Proposed behavior |
|---|---|
| Room creation | Choose swipe count before starting; suggested presets 10, 20, 30 with a platform cap of 50. |
| Join by invite | Join a private room using a Frame guest session, display name, and Letterboxd username. |
| Watchlist import | Import each participant’s accessible watchlist with coverage and freshness indicators. |
| Shared deck | Build one frozen deck from the union of imported watchlists, deduplicated by stable film identity. |
| Common-only option | Optionally limit candidates to the intersection of all watchlists; warn when this creates a small or empty deck. |
| Limited swipes | Like/pass each candidate at most once, with server-enforced limits; offer buttons as well as gestures. |
| Private votes | Keep other participants’ individual votes hidden. Show only appropriate room progress and the match outcome. |
| Match reveal | When everyone likes the same film, reveal one winner with an accessible celebratory treatment. |
| Reconnect | Recover membership, remaining budget, and next card without resetting progress. |
| No-match state | End clearly once every participant has settled all their cards without a unanimous like. |
| New round | Create a new immutable round with new settings or candidates; no automatic expansion of limits. |
A room username is a claimed public source, not verified Letterboxd login. Frame should never request Letterboxd credentials or imply verified account ownership.
MVP boundary
Both product pillars belong in the first usable product. Build a vertical slice of each: reliable diary import and basic recap with event overlap, plus watchlist import and a complete room-to-match/no-match flow.
Polished export templates, more festival categories, richer metadata, persistent Frame accounts, watch-provider filters, scheduled recaps, and taste recommendations can follow. Do not add external API dependencies silently; the confirmed restriction specifically excludes the Letterboxd API.
Measures to learn from a pilot
Track import success/completeness, time to first recap, recap completion, room join/start rate, time to decision, no-match frequency by deck size and roster, reconnect recovery, and cost per import. Establish targets after a baseline rather than claiming expected match rates.
Frame Product Map
Part of Frame. Logic: Frame Recap and Awards and Frame Room and Matching Design.
flowchart TD Home[Frame home] --> Recap[Enter username and year] Recap --> Import[Import and coverage] Import --> Story[Personal year recap] Story --> Awards[Oscars and festival overlap] Story --> Share[Preview share cards] Home --> Create[Create watch room] Create --> Lobby[Invite and join] Lobby --> Lists[Import watchlists] Lists --> Ready[Ready roster and deck summary] Ready --> Swipe[Private limited swipes] Swipe --> Match[Unanimous match reveal] Swipe --> NoMatch[Round exhausted with no match] NoMatch --> New[Explicit new round]
Screens
| Screen | Main content and action |
|---|---|
| Home | Two clear routes: “Your year in film” and “Find a film together.” |
| Recap setup | Username/link and year; state that public activity is imported. |
| Import status | Queued/fetching/processing state, pages/entries observed, blocked/partial outcomes, last refreshed date. |
| Recap | Swipeable or scrollable personal cards with a skip-to-summary option. |
| Awards detail | Event edition, category scope, seen/eligible films, sources, and missing matches. |
| Share preview | Choose exactly what to include, then export or explicitly publish. |
| Room setup | Swipe count, candidate-pool mode, expiry, and invite link. |
| Lobby | Claimed usernames, import state, participant readiness, and host start control. |
| Deck summary | Candidate count, actual cap, watchlist snapshot times, and locked-roster explanation. |
| Swipe | Film title/year, available artwork, current card/budget, and like/pass buttons. |
| Waiting | Other participants still choosing; preserve completed choices. |
| Reveal | Matched film, result persistence, and optional open-on-Letterboxd action. |
| No match | Explain that the round ended without unanimity; offer an explicit new round. |
Recap journey
- Enter
giraycoskunor a supported diary link and select a year. - Import in the background and inspect coverage rather than waiting on an open request.
- If complete, generate a saved recap snapshot. If partial, offer a labeled preview and explain why annual totals are incomplete.
- Read personal cards, then event overlap. Keep “what I watched this year” distinct from the release year of each film.
- Choose whether any output is shared. Keep raw diary data and unselected cards private.
Room journey
- Host picks the swipe cap and starts a room invitation.
- Two or more people join with Frame sessions and their Letterboxd usernames.
- Watchlists import; participants confirm readiness only after seeing import status.
- Host starts once the roster is ready. The roster, watchlists, settings, and deck are frozen for the round.
- Everyone chooses from the same candidate set within the budget; others’ votes stay private.
- A committed unanimous match reveals the winner for everyone, including reconnecting clients.
- Otherwise wait until everyone finishes, then show no match. Starting another round is explicit.
Error and edge states
- Username not found, private/inaccessible source, access denied, throttled source, parser changed, or incomplete pagination: show the specific state rather than an empty diary/watchlist.
- Empty accessible watchlist: a real zero-result state, distinct from an import error.
- Pool smaller than the requested count: reduce the actual deck and disclose the cap before starting.
- A participant disconnects: keep their place; don’t silently change unanimity.
- Expired room: stop accepting votes and show the retained result only to still-authorized members according to retention policy.
Motion, sound, and confetti are optional enhancements. The matched title and status must remain clear with reduced motion, no audio, or keyboard-only navigation.
Frame Data Sources and Import
Part of Frame. This note separates the required experience from verified source capabilities.
Confirmed source boundary
Use public Letterboxd usernames and pages without the Letterboxd API. Do not require Letterboxd account tokens, passwords, private endpoints, or OAuth. Frame’s own application API remains necessary and is not the prohibited dependency.
Examples supplied by the user:
Findings checked on 2026-11-18
| Evidence | Meaning for the plan |
|---|---|
| The web tool could not access either supplied user page. | Live structure, pagination, fields, total counts, and full import feasibility remain unverified. This does not establish that the account is empty or private. |
| The published terms restrict automated data extraction except where authorized. Direct page retrieval also returned 403 in this session; the indexed terms were readable in search. | Public reachability alone is insufficient to assume production scraping is supported. Establish an authorized non-API access basis before implementing a public fetch service. |
| robots.txt contains user-agent-specific exclusions and generic restrictions on several filtered/sorted paths. | Recheck the actual crawler’s applicable policy. The absence of a diary/watchlist prohibition in the generic rules would not override the published terms. |
| Letterboxd’s API access information mentions member RSS feeds and data import/export facilities. | These are possible non-API inputs, but do not establish complete historical diary or watchlist coverage via username alone. |
This is a launch dependency to resolve, not a claim that permission or technical feasibility has already been obtained. No automated extraction, challenge bypass, or personal-data analysis was performed for these plans.
Feasibility gate
- Establish a supported/authorized way to fetch the required public diary and watchlist pages without the Letterboxd API.
- In that access context, inspect real page fixtures for multi-page diaries, repeated watches, ratings, dates, watchlists, stable film identity, and public profile fields.
- Confirm how pagination ends and whether an empty page is distinguishable from throttling/challenge output.
- Compare complete imports to manually counted controlled examples across multiple years and multi-page watchlists.
- Document an explicit source contract and breakage policy before promising automatic imports.
If this cannot be established, record the username-only requirement as blocked. An optional user-export upload could support a separate prototype, but it changes the requested interaction and is not an equivalent completion of the requirement. RSS alone must not be presented as a complete year/watchlist importer without demonstrated coverage.
Proposed importer, conditional on the gate
- Accept a username or parse a supported Letterboxd URL into a username. Reconstruct requests using a fixed HTTPS host and allowlisted paths; do not fetch arbitrary user-supplied destinations.
- Use Go HTTP workers and a versioned HTML parser. Fetch server-side; do not rely on cross-origin browser requests or a generic proxy.
- Begin with one in-flight request and at least two seconds between request starts across the entire Letterboxd integration, shared by all jobs and workers. This is a conservative starting proposal, subject to the established access conditions.
- Honor applicable robots rules and Retry-After; use bounded jittered retries. On persistent 403/challenge output, stop and report inaccessible instead of rotating identities or bypassing controls.
- Limit requests, pages, response sizes, redirects, and total duration. Cache immutable film identity metadata and reuse fresh source snapshots with clear timestamps.
- Deduplicate concurrent imports for the same username/source. Fetch the diary once and filter years locally when the source contract permits; don’t repeatedly retrieve it for every card or viewer.
- Validate redirects against allowed public destinations. Reject credentials, private IPs, unexpected schemes/hosts, and redirects outside the approved source pattern.
Snapshot integrity
Store import source, requested scope, parser version, retrieval time, page evidence, entry counts, and completeness status: complete, partial, inaccessible, not_found, or parse_failed.
Retain repeated diary events separately using a source entry ID when available; film URL alone is not a diary-entry key. A film can be watched repeatedly, including on one day. Preserve raw source watch dates independently from import/log timestamps.
Watchlists are sets of film identities in a snapshot. Deduplicate across pagination, but do not merge remakes or different films sharing a title. Record contradictions or page changes during import; retry a bounded snapshot when possible and label unresolved consistency limits.
A partial snapshot can support a labeled preview. It must not silently replace a last complete snapshot or qualify as a complete watchlist for starting a default room.
Storage and assets
Persist normalized facts and minimal diagnostic fixtures under a short retention policy; do not retain entire review text by default. Treat names, titles, and other extracted strings as untrusted display text.
Artwork and detailed movie metadata are separate dependencies. Confirm permitted use and access before caching or republishing posters. The MVP should work with text cards and placeholders. External metadata services, if considered later, require a separate decision; none is mandatory here.
Frame Recap and Awards
Part of Frame. Import assumptions: Frame Data Sources and Import.
Define the three years
- Viewing year Y: diary entries whose source watch date is within January 1–December 31 of Y. Use the date the user recorded, not the server import date.
- Film release year: metadata used for a film’s identity and optional release-decade statistics. It does not select the diary recap.
- Event edition year E: the calendar year of an Oscars ceremony or festival edition. Films in that edition can have earlier release years.
Default: recap for viewing year Y plus event edition Y. Explain this visibly; allow another event edition in a later version. A current-year recap is “year to date as of [date]” rather than a finished annual result.
Personal metrics
| Metric | Proposed definition |
|---|---|
| Logged watches | Number of distinct diary events dated in Y; includes repeat watches. |
| Unique films | Distinct resolved film identities among those diary events. |
| Explicit rewatches | Events flagged as a rewatch by the source; missing flags remain unknown. |
| Repeat viewings within Y | Sum of max(0, event count per film − 1). This differs from lifetime rewatch flags. |
| Most active month | Month(s) with the most diary events; retain ties. |
| Ratings distribution | Available diary-event ratings on the source scale; report unscored events separately. |
| Average rating | Mean of scored diary events, explicitly labeled as event-based; optional unique-film summary requires a stated selection rule. |
| Highest-rated films | Resolved films ordered by the chosen event-rating rule; show ties instead of inventing a ranking. |
| Runtime watched | Sum runtime for each diary event where runtime is known, with coverage; do not treat unknown durations as zero. |
Use public profile fields only if reliably available. Do not infer personal demographics, location, or other sensitive details from viewing history.
For unique-film highlight ratings, proposed rule: use the latest scored diary event within the year for that film. Keep diary-event ratings separate from a user’s current film rating; one must not silently stand in for the other.
Event overlap
For an explicitly defined event/category film set A and the user’s resolved unique diary films V for Y:
- Seen titles:
V ∩ A. - Coverage:
|V ∩ A| / |A|, with the category/section and edition in the label. - A film with several nominations counts once in a title-level denominator.
- Count nomination/category records separately only in a clearly labeled award-record metric.
- Winners are a subset, not synonyms for nominees or official selections.
- If A is incomplete or title mapping unresolved, show known coverage and uncertainty rather than a definitive percentage.
Examples of honest labels: “Films you watched in 2026 that were nominated at the 2026 Oscars” and “2026 Cannes Competition selections you watched in 2026.” A diary match proves a viewing entry, not attendance at a festival or that the user watched before the ceremony.
Initial datasets and primary references
| Event | Proposed initial scope | Reference |
|---|---|---|
| Oscars | Best Picture nominees and winner; broader categories after validation | Academy awards databases |
| Cannes | Official Competition selections and main jury awards | Festival retrospective |
| Venice | Main Competition titles and awards | Official Biennale Cinema |
| Berlinale | Main Competition titles and International Jury awards | Official awards archive |
Start with small, manually reviewed, versioned datasets assembled from these sources under suitable reuse conditions. No dependency on automated crawling of all festival archives is assumed. Persist exact edition-specific source URLs when adding records; these landing/archive pages are research starting points, not a completed awards dataset.
Festival awards often honor a person for work on a film. Preserve recipient, film, category, section, and result separately; do not collapse a person’s career award into an award for a specific film. Keep sections such as Competition and other programs distinct.
Data model and identity
Event edition → section/category → selection or nomination/award record → recipient and film mapping.
Film matching prefers a validated stable identifier or explicit reviewed mapping. Title/year/director are matching evidence, not guaranteed unique IDs. Keep alternate titles and original titles. Remakes, year discrepancies, and anthology cases go to review; unmatched titles remain visible with no guessed festival badge.
Store source URL, edition, dataset version, review state, and last checked date. Statuses include announced, ongoing, final, and unavailable. Do not invent nominees, selections, or winners for future/unannounced editions.
Reproducible recap
A recap pins the diary snapshot, metric-definition version, film mappings, and awards dataset version. Refresh creates a new version; an already-shared recap does not silently change. Show metadata coverage beside optional director/genre/country statistics, and omit unsupported cards.
Frame Room and Matching Design
Part of Frame. All rules below are proposed refinements of the requested limited-swipe experience.
Participation and settings
- Support 2–8 participants for the initial release; “2 or more” remains the core requirement.
- Join with a Frame guest session, display name, and claimed Letterboxd username. No Letterboxd credentials are requested and ownership is not verified.
- Host chooses swipe cap N before the round; default 20, platform maximum 50.
- Each member imports an accessible complete watchlist and marks ready.
- Freeze roster, source snapshots, pool mode, deck, and settings atomically at start. Participants joining later wait for a new round.
Duplicate normalized usernames are disallowed within a round by default so one public watchlist is not accidentally represented as several independent people. Guest tokens establish Frame membership, not Letterboxd ownership.
Candidate deck
Default pool: union of all participant watchlists, deduplicated by resolved film identity. A title need not already be in everyone’s watchlist: unanimous swiping establishes willingness.
Optional pool: intersection of all watchlists. If empty, explain the result and let the host explicitly choose the union before starting.
Let K = min(N, eligible unique pool size). Every participant receives the same K films; otherwise limited independent random decks could prevent an available match simply because a candidate was never shown to everyone.
Proposed selection: seeded shuffle with round-robin contributions from participant watchlists, deduplicating as candidates enter the deck. Shuffle participant order from the saved seed. This gives each list an opportunity to contribute without promising equal representation when overlap, list sizes, or K make that impossible. Save the actual deck and seed; do not rebuild on reconnect.
Show the actual K before start. Empty pools cannot start. A deck smaller than requested is a visible shorter round. Metadata filters, if added, must not treat unknown runtime/genre as known values.
Swipe semantics
- Like or pass each deck film once per member. Every accepted unique choice consumes one budget unit.
- Enforce uniqueness by
(round_id, member_id, film_id)and a request idempotency key. Duplicate requests do not consume additional budget. - Server verifies membership, round state, deck membership, outstanding card, and remaining budget. The client cannot supply its own accepted vote count.
- No undo in the MVP; explain that before starting. Skips are passes and consume a card.
- A member may stop early or disconnect; that means waiting, not passing all remaining cards automatically.
- Votes and other members’ detailed choice order remain private.
Match rule
A film matches only when every member in the locked roster has recorded a like for that film. One pass eliminates that candidate from unanimous matching. An absent vote is not a pass or a like.
In one PostgreSQL transaction, lock the round row, validate/insert the vote, check unanimity, and set the first result if none exists. All vote writes use this serialization point; otherwise two concurrent final likes can miss each other under a weaker implementation. Unique constraints prevent duplicate results and votes.
First committed unanimous match wins and ends the round. Other pending submissions receive the committed outcome. It is acceptable for timing to determine which of multiple possible films wins; document that rather than claiming a deterministic preference ranking.
Store a durable reveal event with a round revision in the same transaction. Retry event delivery safely; the UI should not replay confetti on every reconnect.
Lifecycle and no match
lobby → importing/ready → swiping → matched | no_match | expired | cancelled
Import status belongs to each member and the lobby can mix ready and importing members. Start only when all locked participants have valid snapshots and are ready.
Declare no_match after all members have settled every deck card and no unanimous match exists. A finished member waits for unfinished people. An optimization to end earlier when every candidate has a pass can be considered later, with clear UX.
Cancellation and expiry reject further votes while preserving the terminal state. Disconnecting does not shrink the roster. Removing a person or changing N requires a new round, with a clearly reset vote/deck scope. A later round can avoid previously shown candidates if the remaining pool supports it; disclose repeat candidates when necessary.
Reconnect and room privacy
Use unguessable invitation tokens and separate hashed membership credentials in secure sessions. Possessing an invite lets someone join the lobby subject to room controls; it must not expose individual votes or full imported watchlists. Lock invitations for the active round as appropriate.
Fetch state and revision from the server on reconnect; recover the stored deck index and result. Polling or events are delivery conveniences, not the authority for matching. Expire unused rooms and define deletion for watchlist snapshots, guest membership, and events.
Frame Technology and Infrastructure
Part of Frame. Proposed stack for a small initial team; none is implemented or final.
Stack
| Layer | Proposal | Purpose |
|---|---|---|
| Web UI | Next.js, React, TypeScript | Recap cards, forms, lobby, swipe interactions, results, sharing |
| Application API | Go HTTP service | Product authorization, room transactions, import orchestration, recap queries |
| Import workers | Go bounded worker pools | Fetch and parse source pages once supported access is established |
| Jobs | Redis + Asynq | Import/recap/export tasks with retries and progress |
| Product state | PostgreSQL | Immutable snapshots, films, metrics, room membership, votes, results |
| Live room updates | Initial polling; SSE later | Deliver committed revisions and match results without making clients authoritative |
| Session identity | Secure Frame guest sessions; optional OIDC accounts later | Own recaps and room membership independently of public usernames |
| Private files | S3-compatible storage if needed | Optional recap images and bounded parser diagnostics |
| Runtime | Docker Compose locally; managed container host or VM for pilot | Persistent API and worker processes |
Next.js App Router is a UI/server framework option; keeping business state in the Go API avoids splitting room rules between runtimes. Asynq supplies Redis-backed Go tasks. Use PostgreSQL transaction controls and explicit round locking for vote correctness.
System shape
flowchart LR Browser[Web UI] --> API[Go API] API --> DB[(PostgreSQL)] API --> Jobs[(Redis queue)] Jobs --> Worker[Go workers] Worker --> Access[Conditional authorized source access] Access --> LB[Letterboxd public pages] Worker --> DB Editor[Reviewed event datasets] --> DB Worker --> Files[Private export storage] API --> Browser
Keep the source adapter behind a feature flag until Frame Data Sources and Import feasibility is established. Use fixtures for product development in the meantime, clearly labeled as demo data.
Core data
| Record | Key relationships and invariants |
|---|---|
| Frame session/account | Owns saved recaps and membership credentials; not equivalent to a Letterboxd profile |
| Source profile | Normalized username and observed public fields; no verified-ownership assertion |
| Import job/snapshot | Source type, version, completeness, progress, parser version, timestamps |
| Diary event | Source event identity, film, watch date, rating, rewatch flag; retain repeated viewings |
| Watchlist snapshot/item | One film identity per snapshot; frozen inputs for a round |
| Film | Stable internal ID, source IDs/URLs, title/year, reviewed aliases, optional metadata coverage |
| Event dataset | Edition, section, nomination/selection/award records, recipients, sources, review/version |
| Recap | Owner/session, viewing year, pinned source and dataset versions, metric version |
| Room/round | Host, invitation capability, expiry, locked roster, N/K, pool mode, seed, state, revision |
| Deck/member/vote/result | Ordered unique candidate set, authenticated membership, unique choices, one committed winner |
| Outbox event | Durable event identity and revision for asynchronous job/event delivery |
Jobs and consistency
Create job state plus an outbox record transactionally. Dispatch tasks idempotently and reconcile pending work after a crash. Workers claim leases and persist results before acknowledgement; retries must not duplicate diary events, snapshots, or exports. Keep import results immutable once used by a recap or round.
Use a shared source rate limiter across all workers/jobs, bounded retries and request sizes, and a cache keyed by username/source/parser contract. Source limits include redirects and retry attempts. A Redis/limiter failure defers fetching rather than removing load controls.
Room matching remains a short database transaction; do not queue ordinary vote acceptance behind a slow import. Persist revisioned room events in the same transaction and recover current state by query after missed notifications.
Access, sharing, and deployment
- Keep database/Redis private and credentials server-side. Expose the UI/API over HTTPS, ideally on one origin.
- Authorize imports, recaps, and rooms by Frame sessions; fetching a public username does not authorize access to another Frame user’s saved data.
- Rate-limit room joins, imports, and exports; room codes alone should not permit vote impersonation.
- Treat extracted strings and imported links as untrusted. Fixed-host URL reconstruction and outbound destination validation protect the import service.
- Public sharing is opt-in and can be revoked. Export only selected content and avoid leaking raw watchlists or another member’s votes.
- Separate development/preview and production credentials/data. Preview demos use fixtures and restricted budgets.
- Define snapshot/room retention and cleanup. Back up PostgreSQL and verify restore; handle object-storage lifecycle separately.
Operations and cost
Track queue age, import failures by cause, completeness, parser drift, source requests/cache hits, room join/start rate, vote transaction latency, duplicate requests, reconnects, and export failures. Avoid logging full sensitive query strings, room tokens, or individual votes.
Main costs: app/worker hosting, database, queue, storage/egress, retention, and reviewed awards-data maintenance. No LLM, vector database, or graph database is required for the MVP. Evaluate exact versions, hosting regions, plan limits, maintenance, and licensing at implementation time.
Sources checked on 2026-11-18. The proposed stack does not resolve the independent Letterboxd access dependency.
Frame Roadmap
Part of Frame. Proposed delivery order without dates or launch commitments.
Phase 0 — Resolve source access and import contract
- Establish supported non-API access for username-driven public diary and watchlist imports.
- Validate pagination, dates, ratings, repeated events, IDs, watchlist totals, and unavailable/error states using controlled examples.
- Define source limits, caching, completeness, and permitted metadata/artwork use.
Exit: an evidenced path supports the central username-only interaction. If it remains unavailable, label that requirement blocked; fixture demos or optional uploads do not close this gate. Product design work can continue independently.
Phase 1 — Build both thin product slices with fixtures
- Recap: username/year form, import states, known diary metrics, personal cards.
- Rooms: create/join, selected N, common deck, private like/pass, unanimous result, no-match result.
- Add durable state and guest membership before realtime polish.
Exit: the two main journeys work with explicitly labeled demo data and deterministic expected results.
Phase 2 — Connect imports and event data
- Connect the authorized source adapter only after Phase 0.
- Add multi-page import, partial-status handling, deduplication, and immutable snapshots.
- Add small reviewed datasets for Oscars, Cannes, Venice, and Berlinale, with exact edition sources and film mappings.
- Support a complete past-year recap and a correctly labeled year-to-date recap.
Exit: real imported inputs produce explainable counts, truthful event coverage, and a shared watchlist deck. No fabricated personal statistics or awards badges.
Phase 3 — Make it usable with friends
- Add reconnect recovery, expiry/cancellation, readiness, invite controls, and import caching.
- Add accessible swipe buttons, reduced motion, celebration, share preview, and basic export.
- Test independent sessions on mobile, slow connections, and disconnects.
Exit: two or more real participants can finish or resume a bounded round without lost votes, reset budgets, or a silently changed roster.
Phase 4 — Pilot and refine
Observe recap clarity and actual decision-making in rooms. Measure import reliability and cost. Improve confusing metrics, deck variety, no-match recovery, and source change handling before adding more features.
Later candidates: more awards categories, richer movie metadata, additional festival editions, persistent Frame accounts, recap customization, asynchronous rooms, and explicit ranked/group voting modes. Majority-based outcomes must be separate modes rather than silently changing unanimous matching.
Required acceptance cases
| Scenario | Expected outcome |
|---|---|
| Same film watched twice on one date | Two genuine source events remain two watches; pagination duplicates do not inflate counts |
| Watch date and log date differ | Viewing year uses the source watch date |
| One import page fails | Partial coverage, no false full-year totals or complete-watchlist label |
| Missing ratings/runtime | Known-value statistics show coverage; unknown values are not zero |
| Awards year differs from film release | Correct event edition and viewing-year label |
| Several nominations for one film | Title-level coverage counts the film once |
| Ambiguous same-title films | Unresolved mapping rather than an invented match |
| Pool smaller than N or empty | Visible smaller K, or no start for an empty pool |
| Three participants, only two likes | No unanimous match |
| Duplicate or simultaneous votes | One vote per member/candidate; budget and result remain consistent |
| Two final likes arrive concurrently | Serialized transaction detects and commits the result exactly once |
| Member reconnects after reveal | Same stored result, no reset deck or repeated mandatory animation |
| Member disconnects mid-round | Roster stays fixed; wait, expire, or explicitly create a new round |
| Username entered by another person | Frame does not claim verified Letterboxd ownership |
| Source denied/challenged | Controlled error and backoff; no bypass or fabricated empty list |
Decisions
| Topic | State |
|---|---|
| Name and two product pillars | Confirmed: Frame, year recap, watchlist swipe rooms |
| Username-based fetching, no Letterboxd API | Confirmed requirement; source support unresolved |
| Event coverage | Confirmed interest: Oscars, Cannes, Venice, Berlinale; exact initial categories proposed |
| Match rule | Proposed unanimous likes across a locked roster |
| Swipe cap | Proposed default 20, presets 10/20/30, maximum 50 |
| Candidate pool | Proposed union by default, optional common-only mode |
| Room capacity | Proposed initial 2–8 |
| Sign-in | Proposed Frame guest membership, claimed public username; no Letterboxd login |
| Tech stack | Proposed in Frame Technology and Infrastructure |
| Budget, monetization, hosting, name availability | Open |
Next actions
- Resolve the documented source-access dependency.
- Approve or revise the proposed matching/deck rules during product review.
- Prepare small diary/watchlist fixtures and reviewed event records.
- Build one recap journey and one complete room journey before expanding scope.
Portfolio at a glance
- Fable — planning. German reading-comprehension site.
- Loom — planning. Responsible website crawler and graph explorer.
- Frame — planning. Film-year recaps and shared watchlist swipe rooms; username-only source access is unresolved.
- festhatch — empty folder; no notes or stated purpose.
Open items
- Hosting, budgets, and name/domain availability.
- Validate content and cost for Fable, crawl behavior for Loom, and non-API source access for Frame before public launch.
Keeping this view current
- Update each project state when work moves from planning to implementation.
- Add a note card when a project gains a project-level note.
- Detailed plans do not establish implementation progress.
- Source access and proposed choices are recorded in the linked notes.
festhatch — not started
Code/festhatch exists but is empty, so there is no purpose, stack, or status to show. Add a hub note if it is a real project; remove the folder if it was only a placeholder.