diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 3c123f93..c9869fe1 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -9,7 +9,7 @@ }, "homepage": "https://julian-dev28.github.io/pathiel/", "documentationUrl": "https://github.com/Julian-dev28/pathiel/blob/main/docs/GETTING_STARTED.md", - "privacyPolicyUrl": "https://github.com/Julian-dev28/pathiel/blob/main/docs/PRIVACY.md", + "privacyPolicyUrl": "https://julian-dev28.github.io/pathiel/privacy.html", "supportUrl": "https://github.com/Julian-dev28/pathiel/issues", "termsOfServiceUrl": "https://github.com/Julian-dev28/pathiel/blob/main/docs/TERMS.md", "repository": "https://github.com/Julian-dev28/pathiel", diff --git a/docs/scoreboard/index.html b/docs/scoreboard/index.html index 80fed80b..b24f7878 100644 --- a/docs/scoreboard/index.html +++ b/docs/scoreboard/index.html @@ -3,60 +3,60 @@ - - + + + pathiel research pool scoreboard -
-
- - RESEARCH POOL / SCOREBOARD - 24H DELAYED - GitHub ↗ +
+
+ pathiel + Research pool scoreboard + GitHub
-
- -
-

Graded public fills · fluke or edge

-

pathiel research pool scoreboard

-

- This page shows graded results of pathiel research pool members' public - Hyperliquid fills. Hyperliquid already makes fills public; nobody - uploads anything here. -

-
-

Graded results of public fills, at least 24 hours late. Not live positions, not advice.

-

No edge is demonstrated until a row with 10 or more independent trades says EDGE.

-

Pool rows count independent trades: trades on the same coin and side entered within 24 hours of the first one count once.

-

Rows are ordered by number of graded trades, not by result.

-

- To join, run /pathiel:share in the pathiel Claude Code - plugin. Project and source: - github.com/Julian-dev28/pathiel. -

-

- What is public and what stays private, and how to leave, is in the - privacy doc. -

-
+
+
+

Graded public fills · fluke or edge

+

Research pool scoreboard

+

+ Graded results of pathiel research pool members' public Hyperliquid + fills, shown at least 24 hours late. Not live positions, not advice. + Hyperliquid already makes fills public; nobody uploads anything here. +

+
    +
  • No edge is demonstrated until a row with 10 or more independent trades says EDGE.
  • +
  • Pool rows count independent trades: trades on the same coin and side entered within 24 hours of the first one count once.
  • +
  • Rows are ordered by number of graded trades, not by result.
  • +
+

+ Join with /pathiel:share in the pathiel Claude Code + plugin. Project and source: + github.com/Julian-dev28/pathiel. + What is public, and how to leave: the + privacy doc. +

+
- + -
-

Loading the scoreboard…

+
+

Loading the scoreboard…

+
-

pathiel is free to install. This scoreboard is generated offline and published as a static page; no server reads this address when you view it.

-

← pathiel home

+
+ Static page, generated offline. No server reads this address when you view it. + pathiel home +
diff --git a/docs/scoreboard/scoreboard.css b/docs/scoreboard/scoreboard.css index 07b73e26..d05de658 100644 --- a/docs/scoreboard/scoreboard.css +++ b/docs/scoreboard/scoreboard.css @@ -1,302 +1,250 @@ /* scoreboard.css: pathiel research pool public scoreboard. - * Static page, no build step, no framework, no web fonts. A trading - * terminal, to match the landing page (site/index.html): near-black, a chart - * grid behind, panels with headers, mono numbers, green/red for sign and - * label. Phone width: 16px side gutter, tables scroll inside their own - * wrapper so the page itself never scrolls sideways. Every animation stops - * under prefers-reduced-motion. + * + * Same design language as site/index.html: a near-monochrome bone/ink + * palette, one muted accent, plain sans headings, mono numbers (tabular + * figures matter here, since these are graded results). Static page, no + * build step, no framework, no web fonts, no outside requests. Phone width: + * 16px side gutter, tables scroll inside their own wrapper so the page + * itself never scrolls sideways. Motion stops under prefers-reduced-motion + * (there is none to stop beyond link/row hover transitions, which that + * media query also disables). */ :root { - --bg: #0b0e11; - --panel: #11151a; - --panel-2: #161b22; - --line: #1f262e; - --line-2: #2b3139; - --grid: rgba(255, 255, 255, 0.035); - --ink: #eaecef; - --dim: #b7bdc6; - --muted: #848e9c; - --faint: #5e6673; - --up: #0ecb81; - --up-bg: rgba(14, 203, 129, 0.12); - --down: #f6465d; - --down-bg: rgba(246, 70, 93, 0.12); - --amber: #f0b90b; - --cyan: #50d2c1; - --violet: #a78bfa; - --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace; - --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; + --bg: #f6f3ee; + --surface: #fffdf9; + --fg: #16140f; + --soft: #55504a; + --faint: #8c8579; + --line: rgba(22, 20, 15, 0.14); + --line-soft: rgba(22, 20, 15, 0.07); + --accent: #6e5329; + --accent-soft: rgba(110, 83, 41, 0.1); + --up: #3f6b4a; + --up-bg: rgba(63, 107, 74, 0.1); + --down: #8a3a3a; + --down-bg: rgba(138, 58, 58, 0.1); + --violet: #5d5a86; + --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; + --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; +} + +@media (prefers-color-scheme: dark) { + :root { + --bg: #121009; + --surface: #181511; + --fg: #f2eee4; + --soft: #b9b2a4; + --faint: #726c60; + --line: rgba(242, 238, 228, 0.16); + --line-soft: rgba(242, 238, 228, 0.08); + --accent: #c9a461; + --accent-soft: rgba(201, 164, 97, 0.14); + --up: #7aab86; + --up-bg: rgba(122, 171, 134, 0.14); + --down: #c98a8a; + --down-bg: rgba(201, 138, 138, 0.14); + --violet: #a7a3d6; + } } * { box-sizing: border-box; } -/* the chart grid sits on html, full width; body is the centred column */ html { min-height: 100%; background-color: var(--bg); - background-image: - linear-gradient(var(--grid) 1px, transparent 1px), - linear-gradient(90deg, var(--grid) 1px, transparent 1px); - background-size: 48px 48px; - background-attachment: fixed; } body { - margin: 0 auto; - max-width: 1280px; - padding: 0 16px 40px; - color: var(--ink); - font: 14px/1.6 var(--sans); + margin: 0; + color: var(--fg); + font: 16px/1.6 var(--sans); + background: var(--bg); -webkit-font-smoothing: antialiased; } -@media (min-width: 640px) { - body { - padding: 0 24px 48px; - } -} - ::selection { - background: var(--up); - color: #000; + background: var(--accent); + color: var(--bg); } a { - color: var(--ink); - text-decoration-color: var(--line-2); - text-underline-offset: 3px; + color: var(--accent); + text-decoration: underline; + text-decoration-color: var(--line); + text-underline-offset: 2px; } a:hover { - text-decoration-color: var(--up); + text-decoration-color: var(--accent); } a:focus-visible, button:focus-visible, [tabindex]:focus-visible { - outline: 2px solid var(--amber); + outline: 2px solid var(--accent); outline-offset: 2px; } code { font-family: var(--mono); font-size: 0.92em; - color: var(--up); + color: var(--fg); } p { - margin: 0 0 10px; + margin: 0 0 12px; + color: var(--soft); + max-width: 68ch; +} + +.wrap { + max-width: 920px; + margin: 0 auto; + padding: 0 20px; } -/* ── top bar ────────────────────────────────────────────────────────────── */ +/* ── top bar ───────────────────────────────────────────────────────────── */ .topbar { - margin: 0 -16px; - padding: 0 16px; border-bottom: 1px solid var(--line); - background: rgba(11, 14, 17, 0.92); -} - -@media (min-width: 640px) { - .topbar { - margin: 0 -24px; - padding: 0 24px; - } } .bar { display: flex; align-items: center; - gap: 16px; - height: 52px; + gap: 20px; + height: 56px; } -.logo { - display: inline-flex; - align-items: center; - gap: 8px; - font: 700 15px var(--mono); - letter-spacing: 0.06em; +.word { + font: 700 16px var(--sans); + letter-spacing: 0.02em; text-decoration: none; + color: var(--fg); } -.logo i { - width: 10px; - height: 10px; - background: var(--up); - transform: rotate(45deg); -} - -.pair { - display: none; - padding-left: 16px; - border-left: 1px solid var(--line); - font: 500 12px var(--mono); - color: var(--muted); -} - -.pair b { - color: var(--ink); - font-weight: 600; -} - -@media (min-width: 700px) { - .pair { - display: block; - } +.tag { + font: 13px var(--mono); + color: var(--faint); } -.net { +.gh { margin-left: auto; - display: inline-flex; - align-items: center; - gap: 7px; - padding: 4px 9px; - border: 1px solid rgba(240, 185, 11, 0.35); - border-radius: 4px; - background: rgba(240, 185, 11, 0.08); - font: 600 11px var(--mono); - letter-spacing: 0.08em; - color: var(--amber); -} - -.net i { - width: 6px; - height: 6px; - border-radius: 50%; - background: var(--amber); - animation: blink 1.6s steps(2, start) infinite; -} - -.pill { - padding: 6px 12px; - border: 1px solid var(--line-2); - border-radius: 4px; - font: 600 12px var(--mono); + font: 500 14px var(--sans); + color: var(--soft); text-decoration: none; } -.pill:hover { - border-color: var(--muted); +.gh:hover { + color: var(--fg); } -/* ── header ─────────────────────────────────────────────────────────────── */ +/* ── intro ─────────────────────────────────────────────────────────────── */ -header { - padding: 36px 0 20px; +.intro { + padding: 40px 0 28px; + border-bottom: 1px solid var(--line); } .eyebrow { - margin: 0 0 12px; - font: 600 11px var(--mono); - letter-spacing: 0.12em; + margin: 0 0 14px; + font: 600 12px var(--mono); + letter-spacing: 0.14em; text-transform: uppercase; - color: var(--amber); + color: var(--accent); } h1 { - margin: 0 0 12px; + margin: 0 0 16px; font-weight: 700; - font-size: clamp(1.8rem, 4vw, 2.6rem); + font-size: clamp(1.9rem, 4.6vw, 2.6rem); line-height: 1.1; - letter-spacing: -0.025em; -} - -.serif { - color: var(--up); + letter-spacing: -0.02em; } .lede { - max-width: 720px; - color: var(--dim); - font-size: 15px; + max-width: 62ch; + font-size: 16px; } -/* ── panels ─────────────────────────────────────────────────────────────── */ - -.about, -.tile, -.table-wrap, -noscript p { - background: var(--panel); - border: 1px solid var(--line); - border-radius: 6px; +.rules { + margin: 0 0 18px; + padding-left: 20px; + max-width: 62ch; + color: var(--soft); + font-size: 15px; } -.about { - padding: 16px 18px; - color: var(--dim); - border-left: 2px solid var(--amber); +.rules li { + margin-bottom: 6px; } -.about p:last-child { - margin-bottom: 0; +.join { + font-size: 14px; + color: var(--faint); + max-width: 62ch; } -/* ── rendered app ───────────────────────────────────────────────────────── */ +/* ── rendered app ──────────────────────────────────────────────────────── */ #app { - margin-top: 16px; + padding: 28px 0 8px; } #app h2 { - margin: 28px 0 8px; - font: 600 11px var(--mono); + margin: 32px 0 10px; + font: 600 12px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; - color: var(--muted); + color: var(--faint); } #app > p { - color: var(--dim); + color: var(--soft); font-family: var(--mono); font-size: 12.5px; } #app ul { - margin: 0 0 16px; + margin: 0 0 18px; padding-left: 18px; } #app li { margin-bottom: 2px; - color: var(--muted); + color: var(--soft); } -/* ── count tiles: a stats strip ─────────────────────────────────────────── */ +.noscript { + padding: 14px 0; + border-bottom: 1px solid var(--line); + color: var(--soft); +} + +/* ── count tiles: a spec strip ─────────────────────────────────────────── */ .tiles { display: grid; - grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; - margin: 0 0 16px; + margin: 0 0 18px; border: 1px solid var(--line); - border-radius: 6px; - overflow: hidden; - background: var(--panel); } .tile { padding: 14px 16px; - border: 0; - border-radius: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; - transition: background 0.15s; -} - -.tile:hover { - background: var(--panel-2); } .tile p:first-child { margin: 0; - font: 700 24px/1.2 var(--mono); - color: var(--ink); + font: 700 22px/1.2 var(--mono); + color: var(--fg); white-space: nowrap; } @@ -312,7 +260,8 @@ noscript p { .table-wrap { overflow-x: auto; - margin-bottom: 16px; + margin-bottom: 18px; + border: 1px solid var(--line); } table { @@ -329,10 +278,8 @@ caption { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: 0.1em; - color: var(--ink); - background: var(--panel-2); + color: var(--fg); border-bottom: 1px solid var(--line); - box-shadow: inset 0 -2px 0 -0px transparent; } th, @@ -340,7 +287,7 @@ td { padding: 9px 12px; text-align: left; white-space: nowrap; - border-bottom: 1px solid var(--line); + border-bottom: 1px solid var(--line-soft); } th { @@ -353,11 +300,11 @@ th { } td { - color: var(--dim); + color: var(--soft); } td:first-child { - color: var(--ink); + color: var(--fg); font-weight: 600; white-space: normal; min-width: 150px; @@ -371,47 +318,39 @@ td.dn { color: var(--down); } -tbody tr { - transition: background 0.15s; -} - -tbody tr:hover { - background: var(--panel-2); -} - tbody tr:last-child td { border-bottom: none; } -/* ── badges and label chips ─────────────────────────────────────────────── */ +/* ── badges and label chips ───────────────────────────────────────────── */ .badge, .chip { display: inline-block; padding: 1px 7px; - border-radius: 3px; + border-radius: 2px; font: 700 10px/1.6 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; - color: var(--muted); - background: rgba(132, 142, 156, 0.12); + color: var(--faint); + background: var(--line-soft); } .badge { margin-left: 8px; - color: var(--amber); - background: rgba(240, 185, 11, 0.1); + color: var(--accent); + background: var(--accent-soft); } .chip-edge { - color: #04130c; - background: var(--up); + color: var(--up); + background: var(--up-bg); } .chip-leak { - color: #fff; - background: var(--down); + color: var(--down); + background: var(--down-bg); } .chip-lean-up { @@ -426,42 +365,32 @@ tbody tr:last-child td { .chip-fluke { color: var(--violet); - background: rgba(167, 139, 250, 0.12); + background: var(--accent-soft); } .chip-noise { color: var(--faint); } -/* ── footer: status bar ─────────────────────────────────────────────────── */ +/* ── footer ────────────────────────────────────────────────────────────── */ footer { - margin-top: 40px; - padding-top: 14px; + margin-top: 24px; border-top: 1px solid var(--line); - color: var(--faint); - font: 500 12px var(--mono); -} - -footer a { - color: var(--muted); - text-decoration: none; -} - -footer a:hover { - color: var(--ink); } -noscript p { - padding: 14px 16px; +.status { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 10px 20px; + padding: 18px 0; + color: var(--faint); + font: 13px var(--mono); } -/* ── motion ─────────────────────────────────────────────────────────────── */ - -@keyframes blink { - to { - visibility: hidden; - } +.status .r { + margin-left: auto; } @media (prefers-reduced-motion: reduce) { diff --git a/scripts/link_check.py b/scripts/link_check.py index 0c146608..ff97a030 100755 --- a/scripts/link_check.py +++ b/scripts/link_check.py @@ -32,7 +32,7 @@ ROOT = Path(__file__).resolve().parents[1] REPO_PREFIX = re.compile(r"^https://github\.com/Julian-dev28/pathiel/(?:blob|tree)/main/([^#?]+)") URL = re.compile(r"https://[^\s)>\"'`\]]+") -SOURCES = ("README.md", "SECURITY.md", "CONTRIBUTING.md", "site/index.html") +SOURCES = ("README.md", "SECURITY.md", "CONTRIBUTING.md", "site/index.html", "site/privacy.html") SOURCE_DIRS = ("commands", "agents", "skills", "docs") SKIP_DOCS = ("docs/strategy/learning/", "docs/overhaul/", "docs/security/") # dated records, not guidance UNVERIFIED = {401, 403, 429} diff --git a/scripts/publish_site.py b/scripts/publish_site.py index 401eb3fd..992d8ac8 100644 --- a/scripts/publish_site.py +++ b/scripts/publish_site.py @@ -5,7 +5,8 @@ which put every research doc, backtest figures included, on the Pages host as plain text. The site is now its own branch, `gh-pages`, holding exactly: - index.html, sitemap.xml site/ + index.html, privacy.html, + sitemap.xml site/ icon.png .claude-plugin/icon.png (the directory icon) .nojekyll docs/.nojekyll (serve files as they are) scoreboard/* docs/scoreboard/* (written by the pool build) @@ -44,6 +45,7 @@ # published path -> source path on the ref FIXED: Dict[str, str] = { "index.html": "site/index.html", + "privacy.html": "site/privacy.html", "sitemap.xml": "site/sitemap.xml", "icon.png": ".claude-plugin/icon.png", ".nojekyll": "docs/.nojekyll", diff --git a/site/index.html b/site/index.html index 4759f7e2..2c299e96 100644 --- a/site/index.html +++ b/site/index.html @@ -5,8 +5,9 @@ pathiel: AI trading agent for Hyperliquid in Claude Code - - + + + @@ -34,232 +35,144 @@ } @@ -267,49 +180,29 @@
- - AI AGENT / HYPERLIQUID PERPS + pathiel -
- MAINNET - GitHub ↗ -
+ GitHub
- -
-
-
-
Overviewv0.8.0
-
- Claude Code · MCP · Hyperliquid -

An AI trading agent for Hyperliquid: Claude trades perps from Claude Code, with an exact stop and target on every order.

-

pathiel is a free, open-source Hyperliquid MCP server and Claude Code plugin: 30 tools that read Hyperliquid perpetual futures markets and your account, and place orders, from Claude Code, Claude Desktop, Cursor or any MCP client.

- -

Real money. pathiel runs on Hyperliquid mainnet. With no key it only reads; once you add a key, orders are real. Practice on testnet with one line: PATHIEL_NETWORK=testnet.

-
+ +
+

Claude Code · MCP · Hyperliquid

+

An exact stop and target, on every order.

+

pathiel is a free, open-source Hyperliquid MCP server and Claude Code plugin: 30 tools for Claude Code, Claude Desktop, Cursor, or any MCP client.

+ +
-
-
BracketLongEvery order looks like this
- +
+ @@ -383,151 +276,74 @@

An AI trading agent for Hyperliquid: Claude trades perps from Claude Code, w R:R 2.5 1R - -
-
SideLONG
-
Stop1R
-
Target2.5R
-
Risk1% EQ
-
Leverage≤ 3x
-
-

Illustration of how a bracket is built. Not market data, not a result.

-

-
+ +
+
Side
Long
+
Stop
1R
+
Target
2.5R
+
Risk
1% eq.
+
Leverage
≤3x
+
+
Not market data, not a result.
+ -
-
-
One marketFocusOil desk
-
-

One market at a time, studied hard.

-

One desk trades at a time, crude oil by default, holding one position. Every input it reads is chosen for that market.

-
    -
  • Brent (xyz:BRENTOIL) on mainnet, WTI on testnet; one position per account
  • -
  • EIA weekly crude stocks, read as the surprise against the 4-week average
  • -
  • CFTC positioning, Polymarket and Kalshi odds on Iran, Hormuz and OPEC+
  • -
  • Sanctions and the Federal Register; Hyperliquid funding and open interest
  • -
  • The weekly EIA and API prints, plus a 47-event calendar: OPEC and IEA reports, FOMC, CPI, jobs, expiries
  • -
  • A tick every 15 minutes; the thesis is rewritten daily, after each listed catalyst, a 1.5% move, a stop break or a headline alert
  • -
-
-
- -
-
The briefScenariosEvery call
-
-

The most likely moves, written down.

-

Every brief prices the next week as 3 to 5 scenarios whose odds must sum to 100%, or the brief is rejected and rewritten.

-
-
Grinds higher
40%
-
Range holds
26%
-
Surplus wins, retest lows
22%
-
Headline shock lower
12%
-
-

Out if: a 1h close below the stop
Biggest risk: the worst scenario, with its odds
Next catalyst: named, with its UTC time

-

Every call is graded afterwards: direction hit rate and a Brier score on the odds it gave.

-
-

Example of the brief's format, not a live call.

-
+

Real money. pathiel runs on Hyperliquid mainnet. With no key it only reads; once you add a key, orders are real. Practice on testnet with one line: PATHIEL_NETWORK=testnet.

-
-
RulesEvidenceTested first
-
-

Rules that earned their place.

-

A rule goes live only after a backtest or a fluke-or-edge review of real trades says so.

-
- - - - - - - - - - -
RuleTested by
Target rests as a limit order26 target exits, limit vs market
Target 0.5% inside the day's range540-combination sweep
2R minimum, buy dips onlyBrent sweep, 30 and 50 days
No long under the 24h lowFlagged by the review on 10 real trades
No entry 2h around EIA52-day event study
Flat over the weekendMonday-gap study, 8 Brent datasets
-
-

Tested and dropped: breakeven stops regime filter funding-spike filter, and every rule from an 8,747-combination sweep. The review calls nothing an edge with fewer than 10 trades or p of 0.05 or more.

-
-
+
+

How it works

+
    +
  1. Research. No account, no key. Market data, order books, funding, and desk briefs with a written call.
  2. +
  3. Connect. One signature connects your Hyperliquid wallet: it approves an API wallet, which can trade and never withdraw.
  4. +
  5. Trade. Every trade is one bracket order: an entry, a stop-loss and a take-profit target, sized from your risk profile.
  6. +
-
-
-
InstallClaude Code3 lines
+
+
+

Install, in Claude Code

/plugin marketplace add Julian-dev28/pathiel
 /plugin install pathiel@pathiel
 /pathiel:setup
-
-

Setup shows the network and the risks, builds a private Python environment and connects the MCP server.

-

Reading markets needs no account. To trade, connect your Hyperliquid wallet with one signature: it approves an API wallet, which can trade and never withdraw.

-
+

Setup shows the network and the risks, builds a private Python environment, and connects the MCP server. Works with Claude Code, Claude Desktop, Cursor and any MCP client.

- -
-
MarketsDesksWatchlist
-
- - - - - - - - - -
SymbolMarketDesk
xyz:BRENTOILBrent crude, HIP-3OIL
xyz:CLWTI crude, HIP-3OIL
xyz:GOLDGold, HIP-3METALS
xyz:SILVERSilver, HIP-3METALS
BTC, ETH, ...Any main-dex perp, by nameREAD + TRADE
-
-

Desk briefs for crude oil (Brent and WTI) and metals (gold and silver) on Hyperliquid's HIP-3 markets give Claude a written call to trade from.

+
+

Desk briefs

+

Oil Metals S&P 500 HYPE

+

Each desk gives Claude a written call: direction, entry, stop, target, and the catalyst that would change its mind. Nothing trades unless you ask.

-
-
-
Risk engineDefaultsEnforced on every order
-
- - - - - - - - - - -
RuleDefaultWhat happens
Order shapeBRACKETEvery trade is one bracket order: an entry, a stop-loss and a take-profit target, sized from your risk profile.
Risk at the stop1.00%Default profile: at most 3x leverage, 1% of equity at risk at the stop, one position at a time.
Reward to risk≥ 2ROrders under 2R are refused.
Stop vs liquidation< 0.5A stop outside half the distance to liquidation is refused.
Live-money callsASKClaude Code asks before each live-money call. Nothing trades in the background.
pathiel fee0.00%pathiel charges no fee: no order it places carries a Hyperliquid builder fee, so you pay only Hyperliquid's own trading fee.
-
-
+
+

Risk, enforced on every order

+
+
Order shape
Every trade is one bracket order: an entry, a stop-loss and a take-profit target, sized from your risk profile.
+
Default profile
At most 3x leverage, 1% of equity at risk at the stop, one position at a time.
+
Minimum reward
At least 2R, or the order is refused.
+
pathiel fee
pathiel charges no fee: no order it places carries a Hyperliquid builder fee, so you pay only Hyperliquid's own trading fee.
+
-
-
-
Research pool24h delayed
-
-

Opt in with one signed statement and pathiel grades your public fills with the same fluke-or-edge harness it runs on its own trades. Results are published at least 24 hours late on the scoreboard. No payout or reward is tied to returns.

- Open scoreboard → -
+
+
+

Research pool

+

Opt in with one signed statement. pathiel grades your public fills with the same harness it runs on its own trades, and publishes them at least 24 hours late.

+ Scoreboard →
- -
-
Risk disclosureRead first
-
-

Leveraged perps can lose the whole account, fast. There is no demonstrated edge and no return is promised. This is software, not financial advice. Hyperliquid's terms bar use from restricted jurisdictions, including by US persons; pathiel does not check where you are.

-
+
+

Before you trade

+

Leveraged perps can lose the whole account, fast. There is no demonstrated edge and no return is promised. This is software, not financial advice. Hyperliquid's terms bar use from restricted jurisdictions, including by US persons; pathiel does not check where you are.

+
diff --git a/site/privacy.html b/site/privacy.html new file mode 100644 index 00000000..c2f190a0 --- /dev/null +++ b/site/privacy.html @@ -0,0 +1,138 @@ + + + + + +Privacy - pathiel + + + + + + + + + + + + + + + + +
+
+ pathiel + GitHub +
+
+ +
+

Privacy

+

pathiel collects nothing.

+

pathiel runs on your computer. There is no account system, no analytics and no telemetry, and the project runs no server that receives your data. This page says exactly what that means.

+ +

Keys

+

Your keys stay in ~/.pathiel/.env.local on your machine, created with permissions that only you can read. The API wallet key signs requests to Hyperliquid and is never printed, logged or sent anywhere but Hyperliquid. Your master wallet key is never stored by pathiel: connecting a wallet has your browser wallet sign one approval on a page served from your own machine (127.0.0.1), and the signature never leaves it.

+ +

What leaves your machine

+
    +
  • Hyperliquid's API (mainnet or testnet): market and account reads, the orders you ask for, and the API wallet approval you sign.
  • +
  • Public data feeds, for research and the desk briefs: EIA, FRED, CFTC, Congress and the Federal Register, prediction markets (Polymarket, Kalshi), and news (Google News). An optional API key for one of these feeds goes only to that feed.
  • +
  • GitHub, only if you join the research pool: the signed statement your pull request carries.
  • +
+

Nothing else leaves your machine. No analytics script, no error reporter, no usage ping.

+ +

What stays on your machine

+

Theses, the desk journal, caches and your config stay under ~/.pathiel until you delete them. No pathiel process holds a withdrawal key: your master private key is read only at a hidden terminal prompt for the one action that needs it, and never from a file.

+ +

The research pool (opt-in)

+

Off by default. If you join, pathiel reads your address's already-public Hyperliquid fills on the pool coins and publishes a graded summary at least 24 hours late: your address, the date you joined, your trade counts, and a win rate, mean result, label and luck score. It never publishes your balance, open positions, single trade prices or sizes, or any key. Leaving removes your rows from the next build. Full terms: docs/PRIVACY.md.

+ +

Coming next (0.9)

+

A keyless research server is built and lands in the next release: macro series, the event calendar, headlines and prediction-market odds, with no account and no key required to read it.

+ +

Questions or a problem

+

Open a GitHub issue, or report a security problem privately through a security advisory. More detail on how keys are handled: SECURITY.md.

+
+ + + + diff --git a/site/sitemap.xml b/site/sitemap.xml index 0b636f25..052171dc 100644 --- a/site/sitemap.xml +++ b/site/sitemap.xml @@ -1,5 +1,6 @@ https://julian-dev28.github.io/pathiel/ + https://julian-dev28.github.io/pathiel/privacy.html https://julian-dev28.github.io/pathiel/scoreboard/ diff --git a/tests/test_listing_metadata.py b/tests/test_listing_metadata.py index ea9a7728..3bbe5bdc 100644 --- a/tests/test_listing_metadata.py +++ b/tests/test_listing_metadata.py @@ -297,15 +297,20 @@ def test_listing_json_files_parse(path): def test_listing_urls_point_at_files_that_exist_and_terms_say_what_matters(copy_lint): - """The directory listing shows these four links (2026-11-13). Each repo - link must name a file on main, and the terms must carry the disclosures.""" + """The directory listing shows these four links (2026-11-13, privacyPolicyUrl + moved to the hosted page on 2026-11-21 for the plugin directory listing, + which expects a live privacy policy page rather than a repo blob link). + Each repo link must name a file on main, and the terms must carry the + disclosures.""" plugin = _json(PLUGIN_JSON) blob = "https://github.com/Julian-dev28/pathiel/blob/main/" - for key in ("documentationUrl", "privacyPolicyUrl", "termsOfServiceUrl"): + for key in ("documentationUrl", "termsOfServiceUrl"): url = plugin[key] assert url.startswith(blob) and (ROOT / url[len(blob):]).is_file(), (key, url) - assert plugin["supportUrl"] == "https://github.com/Julian-dev28/pathiel/issues" assert plugin["homepage"] == "https://julian-dev28.github.io/pathiel/" + assert plugin["privacyPolicyUrl"] == plugin["homepage"] + "privacy.html" + assert (ROOT / "site" / "privacy.html").is_file() + assert plugin["supportUrl"] == "https://github.com/Julian-dev28/pathiel/issues" terms = " ".join((ROOT / "docs" / "TERMS.md").read_text(encoding="utf-8").split()) for must in ("MIT license", "without warranty", "Not financial advice", "US persons", "never withdraw", "charges no fee", "opt-in"): diff --git a/tests/test_site.py b/tests/test_site.py index 1a4b7309..43e7bdcc 100644 --- a/tests/test_site.py +++ b/tests/test_site.py @@ -173,7 +173,7 @@ def test_the_page_loads_nothing_from_elsewhere(): if href.startswith("#"): assert href[1:] in p.ids, f"{href} points at no id on the page" elif not href.startswith("https://"): - assert href in ("scoreboard/",), href + assert href in ("scoreboard/", "privacy.html"), href # images come from the site itself (img-src 'self'): the published icon only assert set(p.srcs) <= {"icon.png"}, p.srcs assert "icon.png" in S.FIXED @@ -201,12 +201,83 @@ def test_copy_follows_the_style_rules(copy_lint): assert copy_lint.claim_hits(visible_text()) == [] +# ── the privacy page: same design, its own file, needed for the plugin +# directory listing (.claude-plugin/plugin.json privacyPolicyUrl) ─────────── + +PRIVACY_URL = SITE_URL + "privacy.html" + + +def privacy_text() -> str: + return (ROOT / "site" / "privacy.html").read_text(encoding="utf-8") + + +def privacy_parsed() -> _Page: + p = _Page() + p.feed(privacy_text()) + return p + + +def privacy_visible_text() -> str: + body = privacy_text().split("", 1)[1] + return re.sub(r"\s+", " ", re.sub(r"<[^>]+>", " ", body)) + + +def test_privacy_page_exists_and_is_wired_into_the_publish_list(): + assert (ROOT / "site" / "privacy.html").is_file() + assert S.FIXED.get("privacy.html") == "site/privacy.html" + entries = S.site_entries(B.ls_tree(B.INDEX)) + assert "privacy.html" in entries + + +def test_privacy_page_search_metadata(): + p = privacy_parsed() + assert p.title and 10 <= len(p.title) <= 65 + assert p.h1 + assert p.links.get("canonical") == PRIVACY_URL + assert p.meta.get("og:url") == PRIVACY_URL + + +def test_privacy_page_loads_nothing_from_elsewhere(): + p = privacy_parsed() + assert all(not s.get("src") for s in p.scripts) + assert p.scripts == [] + assert "default-src 'none'" in p.meta.get("content-security-policy", "") + assert not re.search(r']+rel="stylesheet"', privacy_text()) + for href in p.hrefs: + if href.startswith("#"): + assert href[1:] in p.ids, f"{href} points at no id on the page" + elif not href.startswith("https://"): + assert href == "./", href + assert set(p.srcs) == set() + + +def test_privacy_page_states_the_facts_the_code_backs(): + text = privacy_visible_text() + for must in ( + "runs on your computer", "no account system", "no analytics", + "no telemetry", "runs no server", "~/.pathiel/.env.local", + "never stored by pathiel", "Hyperliquid's API", "opt-in", "no key", + "24 hours late", "GitHub", + ): + assert must in text, must + + +def test_privacy_page_copy_follows_the_style_rules(copy_lint): + assert copy_lint.style_hits(privacy_visible_text()) == [] + assert copy_lint.claim_hits(privacy_visible_text()) == [] + + +def test_privacy_page_links_back_to_the_full_pool_privacy_doc(): + assert 'href="https://github.com/Julian-dev28/pathiel/blob/main/docs/PRIVACY.md"' in privacy_text() + assert 'href="https://github.com/Julian-dev28/pathiel/blob/main/SECURITY.md"' in privacy_text() + + # ── what the branch holds ─────────────────────────────────────────────────── def test_the_site_holds_the_page_and_the_scoreboard_only(): entries = S.site_entries(B.ls_tree(B.INDEX)) - assert {"index.html", "sitemap.xml", "icon.png", ".nojekyll", "scoreboard/index.html", - "scoreboard/scoreboard.json"} <= set(entries) + assert {"index.html", "privacy.html", "sitemap.xml", "icon.png", ".nojekyll", + "scoreboard/index.html", "scoreboard/scoreboard.json"} <= set(entries) extra = [p for p in entries if p not in S.FIXED and not p.startswith("scoreboard/")] assert extra == [] assert not any(p.endswith(".md") for p in entries) @@ -270,8 +341,13 @@ def test_publish_check_and_drift_on_a_clone(tmp_path, real_repo_unchanged): _git(clone, "checkout", "-q", "--detach", head) for name in ("publish_site.py", "build_plugin_bundle.py"): # this version, uncommitted shutil.copy(ROOT / "scripts" / name, clone / "scripts" / name) - if not (clone / "site" / "index.html").exists(): # first commit of the site - shutil.copytree(ROOT / "site", clone / "site") + # First commit of the site, or a source FIXED now names that history + # doesn't have yet (e.g. a new page added to site/): sync the working + # tree's site/ into the clone so the publish below has every source + # this version of publish_site.py requires. + site_sources = {src for src in S.FIXED.values() if src.startswith("site/")} + if any(not (clone / src).exists() for src in site_sources): + shutil.copytree(ROOT / "site", clone / "site", dirs_exist_ok=True) _git(clone, "add", "site") _git(clone, "commit", "-q", "-m", "site sources") for ref in ("refs/remotes/origin/gh-pages", "refs/heads/gh-pages"):