Skip to content

fix: remove legacy premium route, site copy, OpenAPI servers and routes, public gitignore - #99

Merged
M0nsxx merged 1 commit into
mainfrom
fix/site-copy-openapi-gitignore-22nov
Nov 22, 2026
Merged

M0nsxx merged 1 commit into
mainfrom
fix/site-copy-openapi-gitignore-22nov

Conversation

@Eras256

@Eras256 Eras256 commented Nov 22, 2026

Copy link
Copy Markdown
Member

Full pass over nirium-core (394 tracked text files) on 22 Nov 2026: links, transactions, CIDs, versions, wording. Same changes in nirium-core-private (source) and nirium-protocol/nirium-core (public mirror). Not deployed: the site changes go live only with the next deploy.

Site (apps/web)

  • Removed /api/strategies/premium: a legacy paid route, live on nirium.xyz (402), that after a 0.10 USDC payment returned hardcoded data, including expected_apy: "14.5%" and a placeholder IPFS CID. Nothing calls it. A fixed APY contradicts "does not guarantee yields".
  • Home link-preview card: "prove every move" -> "prove what the chain doesn't show" (same correction as the home page on 17 Nov).
  • Wallet-connect description shown to users: "Institutional-grade autonomous Stellar Strategic Fleet" -> "Payments, verifiable receipts and treasury tools on Stellar."
  • /docs evidence table: the Milestone 1 DENY receipt (Qmbwr5eY) now says it does not verify (its content_sha256 is the hash of an empty input), as EVIDENCE.md already does. Checked with nirium-cli 3.2.7: record mismatch.

OpenAPI

  • "Production Server" was the testnet agent; the mainnet agent was missing; api-staging.nirium.xyz answers 404. Servers are now testnet, mainnet (receive-only) and local (3001, the agent's default port; the two copies disagreed).
  • License said MIT; the repo is Apache-2.0. Docs link docs.nirium.xyz (404) -> nirium.xyz/docs; Discord discord.gg/nirium (unknown invite) -> the invite used in the site footer.
  • Added the current routes, each checked live: /api/nodes, Audit Trail, Reporting, Treasury and Payouts info, /api/audit/log, and the three x402 premium routes with prices and 501 on mainnet.

Public .gitignore

  • The mirror's .gitignore was an old copy of the private one: it named internal strategy, legal and partner files, other chains, and a person's private tooling, with Spanish internal notes. Replaced with generic rules only; no tracked file is newly ignored (git ls-files -ci --exclude-standard is empty). The private .gitignore.showroom (what the rebuild script publishes) now has the same content; it previously said "BSL 1.1".
  • packages/agent/README.md (mirror) and the rebuild script that writes it: "institutional-grade treasury protocol" -> "payment, audit and treasury infrastructure on Stellar".

Mirror only: apps/web brought level with the live site
12 files were behind the private source (18-19 Nov changes already deployed), including the Restricted Jurisdictions policy (mirror had v1.3, live is v1.4), the Tier B testnet gate, the home PaymentStory and the AgentRail logo. After this, every tracked apps/web file is byte-identical in both repos (only an internal BUILT_WITH_CARDS.md stays private).

Checked, no change needed: 357 links (the rest are base URLs inside code), 39 transactions on Horizon, 26 of 29 cited CIDs verify (the other two: a hash-only example shown on purpose as "nothing verified", and the IPFS hello-world CID in the removed route), workflows green on main, older version numbers are dated notes or minimums.

🤖 Generated with Claude Code

…es, public gitignore

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@M0nsxx M0nsxx left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-assisted review (Claude)

Checked: removes the unused /api/strategies/premium route (returned a hardcoded "expected_apy 14.5%"), fixes the OG card and wallet-connect copy, marks the non-verifying DENY receipt on /docs, corrects OpenAPI servers/license/links and adds the live routes, replaces the public .gitignore with generic rules (no tracked file newly ignored), and brings apps/web level with the live site (Restricted Jurisdictions v1.4). CI green including the site build. Approving.

@M0nsxx
M0nsxx merged commit 51b4067 into main Nov 22, 2026
7 checks passed
@M0nsxx
M0nsxx deleted the fix/site-copy-openapi-gitignore-22nov branch November 22, 2026 19:28
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.

2 participants