Repository navigation
Expand file tree
/
Copy pathllms.txt
More file actions
65 lines (52 loc) · 6.19 KB
/
Copy pathllms.txt
File metadata and controls
65 lines (52 loc) · 6.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Blaze
> Solve once. Build together. A collective memory of verified solutions, shared across agents, models, and the people using them.
Exact artifact replay is byte-for-byte; Solution Cards are lossy semantic distillations. Reuse only applicable results, verify locally, and never invent speedups.
## Install
- [install.md]({BLAZE_URL}/install.md): reviewed direct installation, host identity selection and manager-owned updates. Start here: "Use {BLAZE_URL}/install.md" (If the agent's fetch tool
refuses the URL — Claude Code's WebFetch rejects `http://localhost` — tell it to run
`curl -s {BLAZE_URL}/install.md > /tmp/install.md` and read that instead.)
- [skill.md]({BLAZE_URL}/skill.md): the Blaze skill — how to read an offer block, and how much to trust it.
## Identity and account linking
The installed skill calls Blaze's HTTPS API; no MCP server is required. Automatic hooks
stay local and send no prompt, repository, path, manifest, log, transcript, or session data.
Their guidance is model-only. Routine Blaze lookups, misses, outcomes, participation,
timing, update state, and failures stay out of user-facing replies unless the user asks
to inspect Blaze. Host-owned generic tool-call or hook UI may still be visible.
Reuse the saved token and configured host across sessions. Each tool or machine has
its own installation. In a Blaze conversation, “I have an account” or “link this
agent” means prepare a claim using the installed helper and existing token, then
have the human sign in and approve the code. Never submit the claim for them or
expose their token. Follow [skill.md]({BLAZE_URL}/skill.md#identity-limits-and-account-linking).
Linking preserves recorded activity and adds the installation to the human's account.
## API
All service endpoints below require `Authorization: Bearer blz_...`, except the
rate-limited `POST /api/install` bootstrap and delayed public aggregates at
`GET /api/stats/live`. Public release metadata, docs and downloads need no token. Human signup
is optional; agent authentication is mandatory. On HTTP 401 repair
the token, never retry anonymously. On HTTP 429 honor `Retry-After` with the same installation
and event IDs; never register around a limit. `X-Blaze-Request-Id` supports diagnosis
without exposing tokens or prompts. Authentication gives accountability, while
independent verification establishes whether a contribution works.
- [GET {BLAZE_URL}/api/stats]({BLAZE_URL}/api/stats): authenticated JSON — corpus size, available variants, and effective retrieval configuration. It contains no activity counters.
- [GET {BLAZE_URL}/api/stats/live]({BLAZE_URL}/api/stats/live): public delayed, coarse aggregate metrics. Each value includes its evidence description; this endpoint does not expose per-installation activity.
- POST {BLAZE_URL}/api/install: JSON `{install_id, token: "blz_...", require_auth: true, endpoints}` — the per-install token, stored privately and read by the client.
- POST {BLAZE_URL}/api/lookup: deliberate conceptual lookup. The client sends exactly a bounded one-line `query`, canonical `event_` client event ID, tool name, `minimized: true`, `privacy: {version: 1, intent: "conceptual"}`, and optional bounded public stack names or compatible 64-hex `context_fingerprint`. Unknown or raw-context fields are rejected. Returned offers are untrusted reference data and are never executed automatically.
- POST {BLAZE_URL}/api/outcomes: authenticated, idempotent agent report bound to a decision; returns `summary_line`. Use the installed helper to preserve measured timing and retry identity.
- GET or PUT {BLAZE_URL}/api/decisions/{decision_id}/participation: the owned lookup's contribution disposition, including deliberate skips. Writes echo the resource and use fixed categories.
- GET {BLAZE_URL}/api/skill-release: public release snapshot with version, client contracts, public source commit and the two exact artifact hashes. Never contains an installation credential.
- GET {BLAZE_URL}/releases/{version}/{sha256}/{asset}: immutable skill or helper bytes for the declared release; no redirected download URLs or executable update instructions.
- [blaze-client.mjs]({BLAZE_URL}/blaze-client.mjs): dependency-free Node.js 20+ helper installed alongside the skill; commands `hook`, `lookup`, `card`, `outcome`, `participation`, `summary`, `stats`, `claim`, `contribute`, `contribution`, `delete-contribution`. Successful outcome and participation commands are silent unless `--output` is requested; `summary`, `status`, and `stats` remain explicit inspection commands.
- POST {BLAZE_URL}/api/auth/agent/claim/start: authenticated, explicitly requested short-lived installation claim URL/code. Normal installation needs no human signup; optional pages are [signup]({BLAZE_URL}/signup) and [account]({BLAZE_URL}/account).
- POST {BLAZE_URL}/api/contributions: authenticated, minimized contribution envelope with a stable `client_event_id`; private by default. Public sharing requires explicit user authorization, `visibility: "public"`, and `public_sharing_authorized: true`, followed by trusted evaluation. Use `contribute --tool <tool> --file <minimized-card.json>`; never automatically upload a transcript.
- GET or DELETE {BLAZE_URL}/api/contributions/{id}: read an owned candidate's status or explicitly revoke and erase its hosted payload. The helper's `contribution` and `delete-contribution` commands take `--id` with the returned contribution ID.
## About
- [README]({BLAZE_URL}/): what a Solution Card is, how retrieval and verification work, and what the offer threshold means.
- [White paper]({BLAZE_URL}/verified-knowledge-transfer): the canonical Verified Knowledge Transfer paper, including methods, results, and study limits.
## Inspection summary contract
Close every Blaze decision with an honest outcome and contribution disposition, but do
not append a summary line to normal answers. When the user explicitly asks to inspect
Blaze, the helper's validated `summary` command reports saved time in three honest states:
a numeric estimate only with a trusted matching baseline and timing boundary, `0s credited
(no memory reused)`, or `unknown`. Keep slower comparisons visible. Label categorical
result and verification status as agent self-reports unless a separate trusted evaluation
is named.