lucy / upstream
AGENTS.md58 starsChanged 8 days agoApache-2.0View on GitHub
Defines provider-neutral capability interfaces and normalized data conversion contracts for package discovery, resolution, and acquisition.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- artifact/AGENTS.mdAGENTS.md
- bootstrap/AGENTS.mdAGENTS.md
- catalog/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- document/AGENTS.mdAGENTS.md
- e2e/AGENTS.mdAGENTS.md
- install/AGENTS.mdAGENTS.md
- operation/AGENTS.mdAGENTS.md
- receipt/AGENTS.mdAGENTS.md
- resolve/AGENTS.mdAGENTS.md
- workspace/AGENTS.mdAGENTS.md
The file
Files
Upstream
Defines provider-neutral capability interfaces and normalized data conversion contracts for package discovery, resolution, and acquisition.
Responsibilities & Invariants
- Boundary:
catalogdescribes packages;upstreamobtains remote metadata and artifacts.upstreamnever mutates workspace files or installs state. - Capability contracts:
PackageCataloguesupplies repository builds and candidates.Searcher,Informer,ArtifactMapper, and their provider-identified compositions define the other routing contracts. Concrete server-product operations remain on the Mojang and loader-meta providers. - Provider neutrality: Callers consume capability interfaces; concrete provider clients remain package-private under
internal/providers/and are bound viaupstream/routing. - Runtime inputs: Server-product metadata operations receive the requested Minecraft version explicitly. Upstream must not depend on workspace discovery mechanics or filesystem state. Providers must never prompt for missing inputs; interactive input belongs to the command boundary.
- Failure semantics: Partial failures wrap as
ProviderError. An unmatchedArtifactReleaseResolutionwith errors is an incomplete lookup, not an artifact miss. A match can retain earlier mapper errors.
Relevant Tests
- Provider conversion and response translation:
upstream/internal/providers/<provider>/*_test.go.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

