Repository navigation
Create the copying module, and decide how it holds a key the venue can take back - #32
Merged
Merged
Conversation
…n take back The module is scaffolded as `critical` and `user_facing` — cycle 03 says it is created when the cycle is accepted, and it was, today. It holds its description only: no code, no commands yet, so its first pull request with code declares `check` and `test`. ADR-0001 is proposed with it, because creating a module is a decision and this one's decision is where the money is. flet generates one agent key per member and never touches the main key: the member approves the agent on the venue's own API page, named `flet valid_until <30 days>`. There is no revoke action on the venue; an agent dies by expiry or by being replaced under its name, so revocation is the member's act on the venue and flet reads `extraAgents` before every action, doing nothing when its agent is absent or expired. A fresh address every time, because a deregistered agent's nonces may be pruned and its old signatures replayed. At rest, Fernet under a secret from the environment, mode 0600 — which protects a leaked file or backup and says plainly it does not protect a compromised server. The decider chose on 2026-09-24: the venue's page rather than a signing page of ours, 30-day expiry, and testnet with a wallet they fund. What the venue does not document is written as such: the unit of `valid_until`, `extraAgents` itself (SDK only), and the list of what an agent may sign. D2's tests establish those by asking the venue. `nstack fitness` compliant. Agent-Session: 98242fbe-7c26-467e-a3e9-e8816ec93493 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
napkinstack-admin
approved these changes
Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create the copying module, and decide how it holds a key the venue can take back
Module
modules/copying— exactly one.cross-modulelabel is required, justification belowThe only file outside the module is the CODEOWNERS line the scaffolding adds.
Deliverable
Deliverable: D2
What it changes
Cycle 03 says
copyingis created when the cycle is accepted; it was accepted today. This is themodule's description and its founding decision, before any code, so the decider can refuse
the shape of the thing that holds members' keys before it exists.
ADR-0001 (proposed) decides:
approves flet's agent on the venue's own API page, named
flet valid_until <30 days>.by replacement under its name. So revocation is the member's act on the venue, and flet reads
extraAgentsbefore every action, doing nothing — and not retrying — when its agent is absentor expired.
signatures replayable.
longer lists the key. Stated plainly: this protects a leaked file or backup, not a
compromised server.
hyperliquid-python-sdk0.24.0 andcryptography, each with its exit.Taken by the decider on 2026-09-24: the venue's page over a signing page of ours, 30-day expiry,
testnet with a wallet they fund.
What the venue does not document is written as such, not papered over: the unit of
valid_until,extraAgentsitself (SDK only), and any list of what an agent may sign. D2's testsestablish each by asking the venue.
Oracle
Kind of oracle: fitness function —
nstack fitnesscompliant, including the manifest'sone-sentence responsibility (M4 flagged a first wording with an "and"; rewritten). No behaviour
is added, so there is nothing yet for a test to fail on; D2's oracle is written first in the next
pull request.
Review budget
AGENTS.mdContracts
Not verified
nstack doctorexits 1 with 0 gaps and 13 not verified — the GitHub-side settings it cannotread from this sandbox, as on previous pull requests.
valid_until: an assumption in the ADR, to beobserved on D2's test sheet.
🤖 Generated with Claude Code