Repository navigation
v0.2.2
Install
curl -fsSL https://raw.githubusercontent.com/wallter/a2p2/main/install.sh | shWindows: download the .exe and check it against SHA256SUMS (see docs/INSTALL.md).
Then: a2p2 version
A one-line installer, a demo that runs on one computer, feedback through
Issues and Discussions, two network recipes, and fixes for four limits of
file attachments that 0.2.0 listed. Nothing changes on the wire; 0.2.0,
0.2.1 and 0.2.2 machines work together.
Known limits: the limits of 0.2.0 still apply, except the two about
storage budgets on Windows and a copy left by a page download, which are
fixed. Parts of unfinished transfers, staged files and copies whose removal
failed are not yet counted against the storage budgets. Record-stream fork
evidence is kept and shown nowhere. install.ps1 has not been run on
Windows. A run between two physical machines has still not been recorded.
Added
-
A two-machine demo on one computer.
scripts/demo.shstarts two
machines,alphaandbeta, in throwaway folders under/tmpon
loopback only, with fixed names so the host name never shows. It creates
a room, joins, compares the fingerprint, sends a message that asks for a
handled report, reads it, replies, acks and traces it, then stops both
daemons and removes the folders.--filealso sends and fetches a file;
--pauseand--keepare for recordings. A new step ofmake check,
demo-test, runs it twice at once and checks the output and that
nothing is left. -
Two network recipes.
recipes/always-on-member.mdsets up a small
machine that is usually on as a listening member that carries messages
between laptops that cannot accept connections, with a systemd unit and
the steps to join it.recipes/overlay-network.mdcovers machines on one
private overlay network. Neither has been run on a real second machine. -
A one-line installer.
install.sh(macOS and Linux) downloads the
release binary for the system andSHA256SUMS, checks the SHA-256 and
installs only on a match, into~/.local/binorA2P2_INSTALL_DIR. It
never usessudoand changes nothing else.A2P2_VERSIONpicks a
release,--dry-runwrites nothing, andA2P2_BASE_URLis for tests and
mirrors.install.ps1does the same on Windows and is untried. A new
step ofmake check,install-test, runs the script offline against a
fake release. Alsoglama.json, which names the maintainer for a
directory of MCP servers. -
Feedback through GitHub's own features. Ideas and questions now go
to Discussions, with two discussion forms and a new recipe,
recipes/suggesting-an-idea.md; problems stay in issues, which are
labelledbugandneeds-triage; the idea issue form is gone. The
reporting recipe now lets an agent file under a standing permission from
its user, never with anything on the never list, and tell the user what
it filed. New files: a pull request template,CODE_OF_CONDUCT.md,
SUPPORT.mdanddocs/MAINTAINING.md, which says how a maintainer
treats public input as untrusted text.
Fixed
-
Documents corrected to match the code.
a2p2 traceshows the state of
a held message's text, copies and handled reports, not refusals or fork
evidence (DESIGN 6, PROTOCOL 2, TRACE); refusal counts and a record
stream's fork evidence are kept and shown nowhere. The pull-size figures
came from two real nodes and 62 synthetic keys (1,860 streams), not 64
machines (DESIGN 4, 10). The unread hook prints a count and up to five
sanitised sender labels, not "counts only" (DESIGN, HARNESSES, SECURITY).
The tool definitions are 3,979 bytes, not 3,984 (DESIGN, TRACE). D11
gained a note listing every connection the program makes, and SECURITY a
section saying the same. -
On Windows, deleted files counted against the storage budgets until
the next start. Windows cannot make a removal durable at once, so the
entry stays in the deletion queue until a start. The bytes of such an
entry kept counting even though the file was gone. They now stop
counting as soon as the file is removed, on every system. If the file
is found again and cannot be removed, it counts again and is retried. -
A deleted file whose removal failed stopped counting against the
budgets. A file withdrawn, expired or left with its room was queued
without its size, so while it stayed on disk its bytes were not
counted. It now counts until it is removed. -
A crash during a download from the page could leave a private copy
in the system's temporary directory. The copy the page serves is now
written under the a2p2 home with a temporary file's name, and the next
start removes one a crash left behind. -
Approving a send that had expired copied its files first. The
approval now checks the request's expiry before it copies any file, and
refuses an expired one without writing anything. The check inside the
publishing step stays. -
The start's cleanup took names that only resembled a2p2's own. A
file in an orphan staging directory, or underblobs/, is removed as a
temporary file only if its name is exactly what a2p2 generates. Anything
else stays and is counted as unknown instatus, and so is a staging
directory kept because of it.