Expand description
The target-side landing model: file kinds, parameter rendering, and the routing block.
Every landable file has a declared kind — rendered files release-kit
owns and may rewrite, seeded files the target tunes, state files
the release automation maintains — and a rendered file’s bytes are a
deterministic function of the payload plus the landing parameters, so
a later command can compare what is on disk against what would be
written. The kinds are declared here, beside the payload, never
inferred at runtime; a test holds the table closed over every snippet.
Modules§
- manifest
- The landing record:
.release-kit/manifest.json.
Structs§
- Entry
- One artifact of the payload projection: what would land at one destination, with the payload bytes it was rendered from.
- Resolved
- What one detection pass resolved for a target-side verb, with the override flags applied.
Enums§
- Kind
- Who owns a landed file’s bytes after landing.
- Placement
- How a projected artifact occupies its destination.
Constants§
- AGENTS_
DESTINATION - The destination the routing block splices into.
- BLOCK_
BEGIN - The block’s opening marker.
- BLOCK_
END - The block’s closing marker.
- OWNER_
TOKEN - The mechanical substitution site in
renderedfiles.
Functions§
- extract_
block - The marked block inside a target’s
AGENTS.md, markers included, orNonewhere the file carries no complete block. - kind_of
- The declared kind of a destination, or
Nonefor a file the payload does not classify. - pair_
files - The landable files of one
(technology, forge)pair, as(destination, payload bytes). - projection
- The whole payload projection for one pair under one
repoparameter: every snippet with its kind and rendered bytes, plus the routing block, sorted by destination. - read_
destination - The bytes an entry’s destination currently holds: the whole file, or
the marked block extracted from the target’s
AGENTS.md.Nonemeans the file — or the block — is absent. - read_
recorded - The bytes a recorded destination currently holds, by the placement its
name implies: the marked block for
AGENTS.md, the whole file otherwise.Nonemeans the file — or the block — is absent. - render
- Substitute the landing parameters into a
renderedfile’s bytes: the repository’s owner — the project path’s first segment — replaces everyOWNERoccurrence. - repo_
unresolved - The refusal a verb answers when it needs the
repoparameter and neither a flag nor the remote supplies one. - resolve
- Resolve forge and repository in one pass: the flags override, the
originremote answers otherwise. - routing_
block - The routing block, markers included, without a trailing newline.
- splice_
block - The whole
AGENTS.mdcontent after splicing the block. - write_
destination - Land one entry: the whole file through the temp-plus-rename writer, or
the block spliced into
AGENTS.mdand the whole document rewritten the same way.