Skip to content

Install referral telemetry, README positioning, installer shim - #6

Merged
boristane merged 1 commit into
mainfrom
feat/install-ref-telemetry
Jul 26, 2026
Merged

Install referral telemetry, README positioning, installer shim#6
boristane merged 1 commit into
mainfrom
feat/install-ref-telemetry

Conversation

@boristane

Copy link
Copy Markdown
Contributor

Summary

  • cli.ref telemetry field: reads ~/.polylane/ref (written by the website installer from polylane.com/install?ref=…), validates ^[a-zA-Z0-9._-]{1,64}$, sends it beside installSource so installs are attributable to the surface that produced them. Silently omitted when missing/invalid; cached read, can never break a command. PRIVACY.md and polylane telemetry status updated to keep the inventory truthful. Receiver-side schema + WAE blob land in the nominal PR.
  • README: channel positioning line under the H1, npx skills add coreplanelabs/cli in the setup section, "anomalies" → "detections" per the rename.
  • install/install.sh becomes a delegating shim to the authoritative installer at polylane.com/install (env/flags pass through; fetch failure is fatal instead of piping nothing into bash). install.ps1 deliberately untouched — it is the live upstream for the site's /install.ps1 proxy.

Test plan

  • npm test 117/117, lint clean, npm run build clean (417 KB bundle)
  • Contract verified against a local capture server: valid ref → "cli": {…, "ref": "gh-readme"}; invalid → field omitted
  • Pre-existing typecheck failures from OpenAPI spec drift (feed/issue/workspace commands) are untouched by this change

🤖 Generated with Claude Code

The website installer records a first-touch referral slug to ~/.polylane/ref
(from polylane.com/install?ref=…). Telemetry reads it, validates it against
^[a-zA-Z0-9._-]{1,64}$, and sends it as the optional cli.ref field beside
installSource, so installs are attributable to the surface that produced
them (directory listing, landing page, README). Missing or invalid refs are
silently omitted; the read is cached and can never break a command.
PRIVACY.md and `polylane telemetry status` document the new field.

README: adds the channel positioning line ("Your coding agent writes the
code. It can't see production. Polylane is the missing sense."), the
`npx skills add coreplanelabs/cli` path, and fixes "anomalies" to
"detections" per the product-wide rename.

install/install.sh becomes a delegating shim: the authoritative installer
lives on the website at polylane.com/install; this file only keeps old
links and raw fetches working (env vars and flags pass through, fetch
failures are fatal rather than piping nothing into bash).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@boristane
boristane merged commit 60e3415 into main Jul 26, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant