Skip to content

Commit e30fd2c

Browse files
author
Clay
committed
Ship PerpScope v1.7 trader context
1 parent 38bac10 commit e30fd2c

8 files changed

Lines changed: 663 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ PerpScope rejects wallet paths, private keys, mnemonics, seeds, signers, signatu
4646
- a read-only decoder worker that emits `/perpscope.json` from Percolator SDK decoded market accounts
4747
- a Trader Radar board that ranks live markets by heat, stress, skew, funding pressure, freshness, and unit-confidence checks
4848
- live-by-default public site behavior with a compact Data Confidence strip and Trader Radar filters
49+
- Why Hot explanations, Feed Health, shareable market/filter links, and terminal Adapter Targets
4950
- issue templates for sanitized decoded shapes, adapter mapping requests, and CLI doctor output
5051

5152
## Submit A Shape
@@ -393,6 +394,7 @@ The normalized market DTO includes:
393394
- `docs/release-v1.4.0.md` mirrors the public release notes for the decoder worker.
394395
- `docs/release-v1.5.0.md` mirrors the public release notes for default live Percolator loading and Trader Radar.
395396
- `docs/release-v1.6.0.md` mirrors the public release notes for automatic live loading, confidence, and radar filters.
397+
- `docs/release-v1.7.0.md` mirrors the public release notes for why-hot explanations, feed health, share links, and adapter targets.
396398
- `docs/decoded-live-source.md` documents the CORS endpoint contract for decoded Percolator live feeds.
397399
- `docs/v0.5-plan.md` documents the shipped compatibility report export.
398400
- `.github/ISSUE_TEMPLATE/decoded-percolator-shape.yml` is the structured intake form for sanitized builder samples.
@@ -447,4 +449,5 @@ Current public site: [williamclay8.github.io/perpscope](https://williamclay8.git
447449
- v1.4 shipped: `perpscope-decoder-worker`, Render Blueprint deployment, and SDK-backed decoded market account output.
448450
- v1.5 shipped: default hosted Percolator loading, decoded value sanity checks, and Trader Radar market ranking.
449451
- v1.6 shipped: automatic public-site live loading, Data Confidence summary, Trader Radar filters, and live loading/fallback states.
452+
- v1.7 shipped: Why Hot explanations, Feed Health, shareable cockpit links, and terminal Adapter Targets.
450453
- More deployment fixtures as Percolator terminal teams share read-only shapes.

docs/release-v1.7.0.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# PerpScope v1.7.0
2+
3+
PerpScope v1.7 turns the live cockpit into a more useful trader and builder surface.
4+
5+
## Shipped
6+
7+
- Adds a Why Hot panel that explains the selected market's heat with stress, skew, carry, freshness, spread, and decode confidence.
8+
- Adds a Feed Health panel for market count, slot, age, unit checks, gaps, and decoder source.
9+
- Adds shareable cockpit links with `?market=` and `?filter=` state.
10+
- Adds Adapter Targets for terminal rails, risk overlays, execution lanes, and feed monitors.
11+
- Keeps the public site auto-loading the hosted read-only Percolator decoder worker.
12+
13+
## Safety
14+
15+
PerpScope remains read-only. The new explanations are data-quality and risk-context summaries only; they do not connect wallets, sign transactions, submit orders, route trades, or provide trade recommendations.
16+
17+
## Live
18+
19+
```text
20+
https://williamclay8.github.io/perpscope/
21+
https://perpscope-decoder-worker.onrender.com/perpscope.json
22+
```

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "perpscope",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"private": true,
55
"type": "module",
66
"description": "Read-only Percolator risk cockpit and terminal adapter kit.",

scripts/check-static.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const releaseV13Doc = readFileSync(new URL("../docs/release-v1.3.0.md", import.m
3434
const releaseV14Doc = readFileSync(new URL("../docs/release-v1.4.0.md", import.meta.url), "utf8");
3535
const releaseV15Doc = readFileSync(new URL("../docs/release-v1.5.0.md", import.meta.url), "utf8");
3636
const releaseV16Doc = readFileSync(new URL("../docs/release-v1.6.0.md", import.meta.url), "utf8");
37+
const releaseV17Doc = readFileSync(new URL("../docs/release-v1.7.0.md", import.meta.url), "utf8");
3738
const decodedLiveSourceDoc = readFileSync(new URL("../docs/decoded-live-source.md", import.meta.url), "utf8");
3839
const decoderWorker = readFileSync(new URL("../scripts/percolator-decoder-worker.mjs", import.meta.url), "utf8");
3940
const decoderWorkerLib = readFileSync(new URL("../src/lib/percolator-decoder-worker.js", import.meta.url), "utf8");
@@ -149,6 +150,10 @@ if (!/shouldAutoLoadLivePercolator/.test(js) || !/dataConfidenceStrip/.test(js)
149150
failures.push("Cockpit should auto-load live Percolator on the public site and expose confidence plus radar filters.");
150151
}
151152

153+
if (!/hot-reasons-panel/.test(js) || !/buildMarketHotReasons/.test(js) || !/feed-health-panel/.test(js) || !/buildFeedHealth/.test(js) || !/buildShareUrl/.test(js) || !/copy-market-link/.test(js) || !/TERMINAL_ADAPTER_TARGETS/.test(js) || !/adapter-targets-panel/.test(js)) {
154+
failures.push("Cockpit should expose v1.7 why-hot explanations, feed health, share links, and adapter targets.");
155+
}
156+
152157
if (!/createDecoderHttpHandler/.test(decoderWorker) || !/perpscope\.json/.test(decoderWorkerLib) || !/getMarketsByAddress/.test(decoderWorkerLib) || !/new Worker/.test(decoderWorkerLib) || !/buildPerpScopeDecodedSnapshot/.test(decoderWorkerThread) || !/PERPSCOPE_ALLOWED_ORIGIN/.test(decoderWorker) || !/PERPSCOPE_DECODER_TIMEOUT_MS/.test(decoderWorker) || !/localhost\|127/.test(decoderWorkerLib) || !/healthz/.test(decoderWorkerLib)) {
153158
failures.push("Decoder worker should expose health and PerpScope JSON endpoints backed by read-only SDK account reads.");
154159
}
@@ -275,6 +280,7 @@ for (const doc of [
275280
"docs/release-v1.4.0.md",
276281
"docs/release-v1.5.0.md",
277282
"docs/release-v1.6.0.md",
283+
"docs/release-v1.7.0.md",
278284
"docs/decoded-live-source.md",
279285
"docs/v0.5-plan.md"
280286
]) {
@@ -422,6 +428,12 @@ for (const required of ["Auto-loads", "Data Confidence", "Trader Radar filters",
422428
}
423429
}
424430

431+
for (const required of ["Why Hot", "Feed Health", "?market=", "Adapter Targets", "Safety"]) {
432+
if (!releaseV17Doc.includes(required)) {
433+
failures.push(`v1.7 release notes should include ${required}.`);
434+
}
435+
}
436+
425437
for (const required of ["compatibility report", "Export", "wallet", "transaction", "npm run check", "0.5.0"]) {
426438
if (!v05PlanDoc.toLowerCase().includes(required.toLowerCase())) {
427439
failures.push(`v0.5 plan should mention ${required}.`);

0 commit comments

Comments
 (0)