interplane.io
Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.
Brought by drakestapleton
interplane.io / docs / superpowers / plans / 2026-10-23-discoverability.md
| 1 | # Interplane discoverability implementation plan |
| 2 | |
| 3 | > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans inline. Steps use checkboxes. |
| 4 | |
| 5 | **Goal:** Satisfy interplane.io#7 on the current single-page generator without creating issue#6 routes or deploying. |
| 6 | **Architecture:** Reuse Rust/Maud/serde_json and existing Facts. Generate inert structured data, llms.txt and honest crawler files; verify the built outputs and fail closed on script/data corruption. Preserve design and all factual verdicts. |
| 7 | **Tech Stack:** Existing Rust site-builder, Maud, serde_json, browser smoke tests. |
| 8 | **Spec:** https://github.com/aien-dev/interplane.io/issues/7 (read body and empty thread). |
| 9 | |
| 10 | ## Global constraints |
| 11 | - No executable JavaScript, remote fonts/trackers, deployment, new routes, changed factual collector, or invented ranking claims. |
| 12 | - Existing schema-only script must be inert application/ld+json, strictly parsed and safely escaped. Existing no-script policy becomes no executable scripts. |
| 13 | - Do not fabricate content dates. Omit sitemap lastmod rather than treating hourly fetch time as content change. |
| 14 | - Current page only: route expansion and distinct future doc metadata remain issue#6 owned. |
| 15 | |
| 16 | ## Review focus |
| 17 | - Facts strings containing HTML/script delimiters must not escape JSON-LD. |
| 18 | - Non-JSON scripts and malformed/schema-mismatched metadata must fail verification. |
| 19 | - Missing crawler files, wrong canonical/image and broken local targets must fail. |
| 20 | - A failed/absent protocol verdict must stay failed/absent in all visible output. |
| 21 | - Small/mobile and keyboard use must retain landmarks, heading order and no horizontal overflow. |
| 22 | |
| 23 | ### Task 1: Qualified discoverability output |
| 24 | **Files:** Modify crates/site-builder/src/main.rs, page.rs, README.md; create focused discovery.rs if needed. Record raw qualification under evidence/discoverability-issue7/. |
| 25 | **Interfaces:** Consume Facts and page constants. Produce structured_data(Facts), llms(Facts), sitemap(), and verify-built discovery checks called from existing build/verify. |
| 26 | - [ ] Write failing tests for structured-data graph/provenance, malicious JSON strings, inert-only script policy, crawler output/lastmod, local target and corruption checks. |
| 27 | - [ ] Run tests; expected failure for missing metadata/crawler output, not compilation/setup errors. |
| 28 | - [ ] Implement safe JSON serialization and exact metadata generation. Website+SoftwareSourceCode graph only; no rating/security/speed/support claims. |
| 29 | - [ ] Generate llms and sitemap from current actual routes plus pinned existing protocol documents. Add shell code language/accessible label, preserve layout. |
| 30 | - [ ] Extend verify to parse metadata and enforce crawler/local target consistency; test mutations for executable script, malformed JSON, wrong graph/canonical/image, missing llms and target. |
| 31 | - [ ] Run cargo test --locked, real facts/build/verify, diff-check, targeted formatting, and CLI corrupted-output failures. Preserve baseline and raw exit codes. |
| 32 | - [ ] Run desktop/mobile browser/keyboard smoke and inspect screenshots; record limitations honestly. |
| 33 | - [ ] Commit/push source+raw evidence, independent whole-diff review, one fix pass for important findings. READY to sole Renda; do not close issue without integrated acceptance. |