Repository navigation
slice-1: discourse-lens skill design doc - #5
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Syq9WDBc9qa8wP5T1LvVmG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Syq9WDBc9qa8wP5T1LvVmG
Meerav29
pushed a commit
that referenced
this pull request
Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Syq9WDBc9qa8wP5T1LvVmG
Meerav29
pushed a commit
that referenced
this pull request
Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QuFzDH4gT5WLYUkweqAXpV
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #4 (autopilot log).
What this slice does
Adds
skill/design.md, the design for turning discourse-lens into a Claude.ai chat skill, andskill/contract.schema.json, the JSON contract between the research step and the artifact. It also logs 5 decisions indocs/autopilot/decisions.mdand sets slice-1 to in-review in the queue.The open problem (how the map gets drawn) is settled as approach A. Claude judges which topic each source belongs to, how well it fits, and which propositions it takes a stance on. The artifact computes a seeded force layout in plain JS, with no CDN dependency: topics that share more propositions sit closer together. Embeddings and UMAP are rejected because the sandbox has no bundled model and Hugging Face isn't on the default egress list. Claude writing x/y directly is rejected as fake precision.
Review pack
About 25 minutes:
skill/design.md(176 lines, ~15 min). §0 is the whole design in one paragraph. §4 is the map decision. §6 is the source budget and what it costs in map quality.docs/autopilot/decisions.md(~5 min).skill/contract.schema.json. It's the fixture's shape plus optional fields.The thing to be skeptical about: whether ~35–45 sources (25–30 read in full) is enough to show real camps. §6 predicts the fixture's two small AI topics would merge at that size.
Acceptance criteria
Section numbers refer to
skill/design.md.skill/contract.schema.json. It's a strict superset of the fixture. Validated with jsonschema 4.26.0:title: null. The schema now allows a null title, and the renderer falls back to the domain.Checks run: the schema validation above, and the fixture analysis script (inline Python, not committed). The repo's own CI also runs on this PR and passed on head
5f7bffe: Backend (lint, tests), Frontend (types, lint, unit tests, build), and End-to-end. Those checks cover the app, which this PR doesn't touch, so they only confirm nothing broke; they don't check the design.Couldn't verify:
The design is built so that none of these breaks it outright; §1 gives the fallbacks.
Decisions made without you
All five are also in
docs/autopilot/decisions.md.Deliberately not included
build_map.py) is only specified (§5, P8), not written.backend/,frontend/,tests/,AUTOPILOT.mdorCLAUDE.md. No article text.How to revert
Close this PR unmerged. If it was merged:
git revert <merge-commit>onauto/queue. That removesskill/design.mdandskill/contract.schema.jsonand the decisions entries, and you'd also need to set slice-1 back totodoindocs/autopilot/queue.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01Syq9WDBc9qa8wP5T1LvVmG