mirror of
https://github.com/bitbaum/solon.git
synced 2026-12-04 05:57:03 +01:00
The README documented a product that was replaced. Of the four "pillars" it
described, three referenced Prisma models that do not exist — BitcoinTransaction,
BudgetAllocation, Decision, ServiceRequest, ServiceBid. It claimed 10 models
(there are 9), an `xpub` field for multi-sig derivation, BigInt satoshi amounts,
a five-metric "Transparency Engine", and five components including
`lib/transparency-engine.ts` — none of which are in the tree. Its route map
listed `/api/bitcoin/wallet/[orgId]` and `/api/voting/[sessionId]/cryptographic-vote`;
the real API is `/api/orgs/{slug}/*`, `/api/proposals`, `/api/sessions/{id}/*`
and `/api/v1/decisions/{sessionId}`. Auth was not mentioned at all. The clone
URL was `your-org/solon`.
Reality, from the schema and `src/lib/config/governance.ts`: Solon is the
governance rail for the OrangeCat stack. Proposals become voting sessions,
members (HUMAN or AGENT) cast Bitcoin signed messages, closing writes a decision
plus a policy version and an audit event, and the treasury is watch-only — a
label and an address, with no amount field and no path that can spend. Four
categories are constitutionally humans-only. The README now says that.
Also removed, all unreferenced:
- `docs/MIGHTVILLE.md`, `docs/DEYVILLE.md`, `docs/dottown-town-profiles.json` —
idea capture from June for a movement/rename that did not happen. Copied to
~/ideas/, which is the SSOT for ideas; a product repo is not.
- `docs/CODEX.md`, `docs/GEMINI.md` — near-identical copies of AGENTS.md, last
touched 2026-01-08. AGENTS.md is the cross-tool standard and is now the SSOT.
- `ralph.sh` + `PROMPT.md` — a task runner whose header still reads "Ralph Loop
for Revamp-Hirn"; never adapted, superseded by FleetCrown dispatch.
- `test-results/.last-run.json` — a Playwright artifact that was tracked.
Fixed docs that would actively mislead an agent:
- `docs/development/ui-guidelines.md` listed the navy palette #77 just deleted.
It now names no colours at all and points at globals.css as the token SSOT.
- `.cursor/rules/` gave `bg-navy text-solon-orange` as the CORRECT example —
that fails `design:check` today — and described a Marketplace nav section and
a Transaction interface that do not exist.
- `AGENTS.md` said the theme was "Bitcoin-orange + navy", that `.env` holds
BTCPAY_*/BITCOIN_*/Clerk keys (it is NextAuth), that verify was lint+typecheck
(it is lint+typecheck+design:check+test), that build was not gated in CI (it
is), and that CI never touches a database (the integration job replays
migrations against a fresh one).
Added `.env.example` — every variable the code reads, with the AUTH_URL-behind-a-
proxy trap called out. `.gitignore` needed `!.env.example` to not swallow it.
SECURITY.md now leads with the custody model, since "no keys, no funds, no
rewritable history, a decision is evidence not authority" is the product's
actual security claim.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB
Security Policy
What Solon holds — and does not
This is the most important security property of the project, so it is stated before anything else:
- No private keys. Members sign votes in their own environment. Solon only ever receives a signature.
- No funds. The treasury is watch-only: a treasury source is a label and an address to observe. There is no code path that can spend, and no amount field to drain.
- No rewritable history. Audit events are append-only; there is no update or delete path.
- A decision is evidence, not authority. OrangeCat re-verifies every vote signature against its own pinned keys before honoring a Solon decision. A compromised Solon cannot, by itself, move value on a sibling product.
Vulnerabilities that break any of these four claims are critical, whatever their CVSS score would otherwise be.
Supported Versions
| Version | Supported |
|---|---|
| latest | ✅ |
Reporting a Vulnerability
If you discover a security vulnerability in this project, please report it responsibly:
- Do NOT create a public GitHub issue for security vulnerabilities
- Email the maintainer directly or use GitHub's private vulnerability reporting feature
- Include as much detail as possible:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
Response Timeline
- Acknowledgment: Within 48 hours
- Initial Assessment: Within 7 days
- Resolution Target: Within 30 days for critical issues
Security Measures
This project implements the following security measures:
- Dependency scanning via Dependabot
- Secret scanning enabled
- Code scanning (where applicable)
- Signed commits required from maintainers
Disclosure Policy
- We follow coordinated disclosure
- Security patches will be released as soon as possible
- Credit will be given to reporters (unless anonymity is requested)