Directories
¶
| Path | Synopsis |
|---|---|
|
Package client is the public way into the engine's local API, for views, harnesses and other programs outside Physa's module: it dials the engine's socket under the physa.v1 subprotocol, calls methods by name, receives the messages the engine sends of its own, and holds the input and output types of the methods for ideas, pursuits and evidence.
|
Package client is the public way into the engine's local API, for views, harnesses and other programs outside Physa's module: it dials the engine's socket under the physa.v1 subprotocol, calls methods by name, receives the messages the engine sends of its own, and holds the input and output types of the methods for ideas, pursuits and evidence. |
|
cmd
|
|
|
physa
command
Command physa is Physa's command line, a tree of grouped commands: check checks the map and a range of changes; map reads the map, slices it, lists changes and records, formats it and learns from merged changes; init gathers a repo's sources and proposes its first map; idea adds, lists and shows ideas; pursue starts a pursuit of an idea against a signal; pursuit lists, shows and stops pursuits and holds their plans; evidence lists the facts observed in version control and the forge; skill prints Physa's skill guide for a person's agent; engine starts, checks and stops the machine's engine; api calls the engine's API by name; sync is not built yet; version prints the build's version and help the commands.
|
Command physa is Physa's command line, a tree of grouped commands: check checks the map and a range of changes; map reads the map, slices it, lists changes and records, formats it and learns from merged changes; init gathers a repo's sources and proposes its first map; idea adds, lists and shows ideas; pursue starts a pursuit of an idea against a signal; pursuit lists, shows and stops pursuits and holds their plans; evidence lists the facts observed in version control and the forge; skill prints Physa's skill guide for a person's agent; engine starts, checks and stops the machine's engine; api calls the engine's API by name; sync is not built yet; version prints the build's version and help the commands. |
|
internal
|
|
|
adapter
Package adapter is what Physa needs from an agent: start a headless session with a prompt in a directory, optionally under an id assigned by whoever starts it, wait for its result, the tokens it used and what it cost, and read a session's log for what learning needs from it (answered asks, interventions and checks' reports), redacted.
|
Package adapter is what Physa needs from an agent: start a headless session with a prompt in a directory, optionally under an id assigned by whoever starts it, wait for its result, the tokens it used and what it cost, and read a session's log for what learning needs from it (answered asks, interventions and checks' reports), redacted. |
|
adapter/claude
Package claude is the Claude Code adapter: it starts sessions with claude -p and streamed JSON output, optionally under an id assigned by whoever starts them (--session-id, so the session keeps its log) or continuing one (--resume <id>, which works with -p, as claude --help shows, in the same directory the session ran in), and reads the result, the tokens and what the session cost from the stream.
|
Package claude is the Claude Code adapter: it starts sessions with claude -p and streamed JSON output, optionally under an id assigned by whoever starts them (--session-id, so the session keeps its log) or continuing one (--resume <id>, which works with -p, as claude --help shows, in the same directory the session ran in), and reads the result, the tokens and what the session cost from the stream. |
|
adapter/claude/claudelog
Package claudelog is the Claude Code adapter's reader of session logs: it finds a session's transcript under Claude Code's config directory and returns what learning needs from it and its subagents, redacted, never writing anything there.
|
Package claudelog is the Claude Code adapter's reader of session logs: it finds a session's transcript under Claude Code's config directory and returns what learning needs from it and its subagents, redacted, never writing anything there. |
|
agentenv
Package agentenv says whether Physa is running inside an agent's session, from the markers each adapter knows, so commands only a person may run can refuse deterministically.
|
Package agentenv says whether Physa is running inside an agent's session, from the markers each adapter knows, so commands only a person may run can refuse deterministically. |
|
api
Package api is the engine's local API: methods called by name with JSON in and out over a WebSocket on a Unix socket, each with a JSON schema for its input and output, under the physa.v1 subprotocol and one API revision; the engine may send messages of its own on the same connection.
|
Package api is the engine's local API: methods called by name with JSON in and out over a WebSocket on a Unix socket, each with a JSON schema for its input and output, under the physa.v1 subprotocol and one API revision; the engine may send messages of its own on the same connection. |
|
apischema
Package apischema derives the JSON schema of an API method's input and output from its Go type, and checks a JSON value against it, so every method is typed once.
|
Package apischema derives the JSON schema of an API method's input and output from its Go type, and checks a JSON value against it, so every method is typed once. |
|
areas
Package areas divides a repo's source files into areas by promise for init: one session names the repo's test, doc and other files as patterns, then one session (one per part on a large repo) places every source file in exactly one area.
|
Package areas divides a repo's source files into areas by promise for init: one session names the repo's test, doc and other files as patterns, then one session (one per part on a large repo) places every source file in exactly one area. |
|
command
Package command runs physa's commands on Cobra.
|
Package command runs physa's commands on Cobra. |
|
configdir
Package configdir finds the machine's Physa settings directory: $XDG_CONFIG_HOME/physa when that is an absolute path, else ~/.config/physa.
|
Package configdir finds the machine's Physa settings directory: $XDG_CONFIG_HOME/physa when that is an absolute path, else ~/.config/physa. |
|
coverage
Package coverage places each gathered PR and change with its nearest proposed capability, by the files it touches against the files and clusters the capability's own citations touch, so recovery reads them and not only what propose cited.
|
Package coverage places each gathered PR and change with its nearest proposed capability, by the files it touches against the files and clusters the capability's own citations touch, so recovery reads them and not only what propose cited. |
|
design
Package design is Physa's look, the same in every view: its tokens, its component styles, its fonts and its brand book, embedded so the views serve them with no network and no third party.
|
Package design is Physa's look, the same in every view: its tokens, its component styles, its fonts and its brand book, embedded so the views serve them with no network and no third party. |
|
discovery
Package discovery starts one read-only agent session in the repo that names the sources a map should be built from, each with a kind and a reason.
|
Package discovery starts one read-only agent session in the repo that names the sources a map should be built from, each with a kind and a reason. |
|
draft
Package draft is learning's third stage (design 08 section 2): one prompt-only session per run turns a batch of signals into proposed map entries, with the learning skill, under an appetite whose circuit breaker stops the session and keeps nothing.
|
Package draft is learning's third stage (design 08 section 2): one prompt-only session per run turns a batch of signals into proposed map entries, with the learning skill, under an appetite whose circuit breaker stops the session and keeps nothing. |
|
engine
Package engine is the one engine per machine: it holds the machine's lock, serves the local API on its socket, and exits when nothing is pending or when asked to stop.
|
Package engine is the one engine per machine: it holds the machine's lock, serves the local API on its socket, and exits when nothing is pending or when asked to stop. |
|
enginecli
Package enginecli holds the engine and api command groups: starting, checking and stopping the machine's engine, and calling its API by name for debugging.
|
Package enginecli holds the engine and api command groups: starting, checking and stopping the machine's engine, and calling its API by name for debugging. |
|
enginestart
Package enginestart gives a command a client connected to the machine's engine, starting the engine first when it is not running, and stops it on request.
|
Package enginestart gives a command a client connected to the machine's engine, starting the engine first when it is not running, and stops it on request. |
|
evidence
Package evidence turns what version control and the forge show into evidence facts: a change landing, a change reverted, a merged PR's lead time and its CI result.
|
Package evidence turns what version control and the forge show into evidence facts: a change landing, a change reverted, a merged PR's lead time and its CI result. |
|
evidencecli
Package evidencecli is the evidence command: it lists the facts the engine observed in version control and the forge, newest first, for the repo or narrowed to a capability or a pursuit.
|
Package evidencecli is the evidence command: it lists the facts the engine observed in version control and the forge, newest first, for the repo or narrowed to a capability or a pursuit. |
|
forge
Package forge is what Physa needs from the forge that hosts a repo's PRs, when there is one: whether a PR exists, and for a change the PR it came from with its review, discussion and commits.
|
Package forge is what Physa needs from the forge that hosts a repo's PRs, when there is one: whether a PR exists, and for a change the PR it came from with its review, discussion and commits. |
|
forge/github
Package github is the GitHub adapter of the forge interface: it reads GitHub through the gh command, and opens or refreshes a PR only through the forge.PRs methods in pulls.go; it never merges.
|
Package github is the GitHub adapter of the forge interface: it reads GitHub through the gh command, and opens or refreshes a PR only through the forge.PRs methods in pulls.go; it never merges. |
|
gather
Package gather collects the sources init reads, within a bound, and summarises what it found: a repo's docs (agent docs, contributing guides, readmes, decision records), its history through version control, and its merged PRs through the forge when there is one, page by page, waiting out the forge's rate limits (internal/gather/merged).
|
Package gather collects the sources init reads, within a bound, and summarises what it found: a repo's docs (agent docs, contributing guides, readmes, decision records), its history through version control, and its merged PRs through the forge when there is one, page by page, waiting out the forge's rate limits (internal/gather/merged). |
|
gather/merged
Package merged lists a forge's merged PRs page by page within gather's bound, and waits out the forge's rate limits as GitHub says: its retry-after, else until its primary limit resets, else a minute doubling on each repeat, up to a total wait limit.
|
Package merged lists a forge's merged PRs page by page within gather's bound, and waits out the forge's rate limits as GitHub says: its retry-after, else until its primary limit resets, else a minute doubling on each repeat, up to a total wait limit. |
|
history
Package history reads anchors from the history of changes, through version control: the changes of a range with the capability each one's Capability trailer names and the sessions its Session trailers name, and checks the capabilities as design 07 section 5 asks.
|
Package history reads anchors from the history of changes, through version control: the changes of a range with the capability each one's Capability trailer names and the sessions its Session trailers name, and checks the capabilities as design 07 section 5 asks. |
|
ideacli
Package ideacli is the idea commands and what the pursuit commands share: talking to the engine, the one interactive test, choosing a slug, opening an editor, and styles.
|
Package ideacli is the idea commands and what the pursuit commands share: talking to the engine, the one interactive test, choosing a slug, opening an editor, and styles. |
|
initbranch
Package initbranch writes init's map to the branch physa/init (design 02 section 2.6) in an isolated working copy: the map's files and the AGENTS.md pointer, and nothing else.
|
Package initbranch writes init's map to the branch physa/init (design 02 section 2.6) in an isolated working copy: the map's files and the AGENTS.md pointer, and nothing else. |
|
initcost
Package initcost is init being up front about its cost, since it is never bounded (design 10 Q6, Q10, Q10a): what a token of its spend is worth, the estimate of the rest of a run once it has gathered, with propose in one session or in shares (design 02 §2.3.1), the yes it waits for, the one warning when the spend passes the estimate's top, the table of what each phase spent, and what a run measured, kept for the next estimate.
|
Package initcost is init being up front about its cost, since it is never bounded (design 10 Q6, Q10, Q10a): what a token of its spend is worth, the estimate of the rest of a run once it has gathered, with propose in one session or in shares (design 02 §2.3.1), the yes it waits for, the one warning when the spend passes the estimate's top, the table of what each phase spent, and what a run measured, kept for the next estimate. |
|
initrecord
Package initrecord keeps init's record in .git/physa: the areas a repo was divided into, the one init proposal, the capabilities' recoveries and what each init phase spent.
|
Package initrecord keeps init's record in .git/physa: the areas a repo was divided into, the one init proposal, the capabilities' recoveries and what each init phase spent. |
|
initrun
Package initrun is physa init as a command: it reads init's flags, runs the phases asked for against the repo's store, and prints what it did.
|
Package initrun is physa init as a command: it reads init's flags, runs the phases asked for against the repo's store, and prints what it did. |
|
jsonblock
Package jsonblock finds the last closed json fence of an agent's answer, so every phase that asks an agent for json reads its reply the same way.
|
Package jsonblock finds the last closed json fence of an agent's answer, so every phase that asks an agent for json reads its reply the same way. |
|
learn
Package learn is learning's first two stages (design 08 section 2): it collects the merged changes not yet learned from, finds the signals each one carries, and triages them into changes with a signal and changes with nothing to learn.
|
Package learn is learning's first two stages (design 08 section 2): it collects the merged changes not yet learned from, finds the signals each one carries, and triages them into changes with a signal and changes with nothing to learn. |
|
learnbranch
Package learnbranch writes one learning run to the physa/learn branch (design 08 section 6): it rebuilds the branch on the default branch in an isolated working copy, applies the run's kept proposals there and commits them with the record of what was learned (the Learned-through watermark and the Learned ids).
|
Package learnbranch writes one learning run to the physa/learn branch (design 08 section 6): it rebuilds the branch on the default branch in an isolated working copy, applies the run's kept proposals there and commits them with the record of what was learned (the Learned-through watermark and the Learned ids). |
|
learnreport
Package learnreport prints what learning found, as text for people or as one JSON object for tools.
|
Package learnreport prints what learning found, as text for people or as one JSON object for tools. |
|
learnsession
Package learnsession finds learning's signals in the sessions behind a change (design 08 section 3): its answered asks, its interventions and its fixed findings.
|
Package learnsession finds learning's signals in the sessions behind a change (design 08 section 3): its answered asks, its interventions and its fixed findings. |
|
mapcheck
Package mapcheck checks a product's map against its format and size limits: the rules `physa check map` enforces.
|
Package mapcheck checks a product's map against its format and size limits: the rules `physa check map` enforces. |
|
mapfile
Package mapfile reads a product's map from its .physa directory: the product's folder, each capability's folder and the glossary.
|
Package mapfile reads a product's map from its .physa directory: the product's folder, each capability's folder and the glossary. |
|
mapfolder
Package mapfolder knows where each part of a capability lives in its folder and writes the contents that link to its entries: index.md with the promise, overview and links, and one file of entries per kind.
|
Package mapfolder knows where each part of a capability lives in its folder and writes the contents that link to its entries: index.md with the promise, overview and links, and one file of entries per kind. |
|
mapindex
Package mapindex builds the index: every capability with its one-line promise and its counts of rules, decisions and questions.
|
Package mapindex builds the index: every capability with its one-line promise and its counts of rules, decisions and questions. |
|
mapped
Package mapped says whether a repo already holds a Physa map, on its default branch or, with no default branch to be found, in its working tree, so that init refuses to start a second one and --gather alone starts no discovery agent on a mapped repo.
|
Package mapped says whether a repo already holds a Physa map, on its default branch or, with no default branch to be found, in its working tree, so that init refuses to start a second one and --gather alone starts no discovery agent on a mapped repo. |
|
mapping
Package mapping proposes a product's promise and capabilities from the gathered sources, read whole, in one prompt-only session with no appetite, and checks the reply against the gather.
|
Package mapping proposes a product's promise and capabilities from the gathered sources, read whole, in one prompt-only session with no appetite, and checks the reply against the gather. |
|
mapping/shareview
Package shareview shows what a proposal made in shares read and used: each share's sources and session and the merge's, in the text and JSON forms of the proposal's Read and Session sections.
|
Package shareview shows what a proposal made in shares read and used: each share's sources and session and the merge's, in the text and JSON forms of the proposal's Read and Session sections. |
|
mapslice
Package mapslice assembles a slice: the part of the map one task needs.
|
Package mapslice assembles a slice: the part of the map one task needs. |
|
newcodebase
Package newcodebase is how Physa starts a map when there is nothing to recover (design 02 §2.8).
|
Package newcodebase is how Physa starts a map when there is nothing to recover (design 02 §2.8). |
|
output
Package output prints what a command has to say: styled with Lip Gloss on a terminal, plain text in a pipe, in CI or for an agent, and JSON when asked, so every command speaks the same way.
|
Package output prints what a command has to say: styled with Lip Gloss on a terminal, plain text in a pipe, in CI or for an agent, and JSON when asked, so every command speaks the same way. |
|
pathlint
Package pathlint finds the file paths a recovered capability text names outside its anchors.
|
Package pathlint finds the file paths a recovered capability text names outside its anchors. |
|
person
Package person names the person running Physa.
|
Package person names the person running Physa. |
|
picker
Package picker asks a person at a terminal: choose one item from a filterable list, confirm, or type a value; it is used only when output.Interactive says a person is there.
|
Package picker asks a person at a terminal: choose one item from a filterable list, confirm, or type a value; it is used only when output.Interactive says a person is there. |
|
place
Package place puts each gathered PR and change on the capabilities that own most of its files.
|
Package place puts each gathered PR and change on the capabilities that own most of its files. |
|
plan
Package plan reads a pursuit's plan: the changes a pursuit will land, each anchored to one capability with its acceptance, checked before the engine stores it.
|
Package plan reads a pursuit's plan: the changes a pursuit will land, each anchored to one capability with its acceptance, checked before the engine stores it. |
|
prcheck
Package prcheck runs the PR check of design 07 section 5 on a range: every change names exactly one capability whose slug is in the map as that change leaves it, and the map passes physa check map.
|
Package prcheck runs the PR check of design 07 section 5 on a range: every change names exactly one capability whose slug is in the map as that change leaves it, and the map passes physa check map. |
|
preflight
Package preflight says, before init spends, what would fail its agent's sessions or thin the map it builds: the agent's own warnings about the machine's setup, a gather missing full history or PRs, and a stored gather the forge stopped short, which a later phase still runs on.
|
Package preflight says, before init spends, what would fail its agent's sessions or thin the map it builds: the agent's own warnings about the machine's setup, a gather missing full history or PRs, and a stored gather the forge stopped short, which a later phase still runs on. |
|
progress
Package progress reads which of a pursuit's planned changes have landed: merged changes on the default branch carrying the pursuit's Change: trailers, read through the version-control interface.
|
Package progress reads which of a pursuit's planned changes have landed: merged changes on the default branch carrying the pursuit's Change: trailers, read through the version-control interface. |
|
propose
Package propose is learning's fourth stage (design 08 section 2): every proposed map entry is checked against the signals it claims and, on a scratch copy of the map, with the map check; those that pass are kept and every other one is dropped with its reason, never silently.
|
Package propose is learning's fourth stage (design 08 section 2): every proposed map entry is checked against the signals it claims and, on a scratch copy of the map, with the map check; those that pass are kept and every other one is dropped with its reason, never silently. |
|
pursuitcli
Package pursuitcli is the pursuit commands: a person pursues an idea against a signal, with an appetite or none, and lists, shows and stops pursuits; inside an agent's session starting or stopping one is refused.
|
Package pursuitcli is the pursuit commands: a person pursues an idea against a signal, with an appetite or none, and lists, shows and stops pursuits; inside an agent's session starting or stopping one is refused. |
|
quiet
Package quiet reaches into the areas of a repo that the gathered PRs miss.
|
Package quiet reaches into the areas of a repo that the gathered PRs miss. |
|
reading
Package reading shapes a gather into what one session reads, whole and deterministically, and estimates its tokens.
|
Package reading shapes a gather into what one session reads, whole and deterministically, and estimates its tokens. |
|
recovering
Package recovering holds the recovering skill and what surrounds one session of it: the prompt for one capability, or for one share of its sources when they are more than one session holds, reading the capability's single text (which Physa splits into its folder) and the terms the session writes, and dropping the entries, overview and terms the map check fails.
|
Package recovering holds the recovering skill and what surrounds one session of it: the prompt for one capability, or for one share of its sources when they are more than one session holds, reading the capability's single text (which Physa splits into its folder) and the terms the session writes, and dropping the entries, overview and terms the map check fails. |
|
recoverinput
Package recoverinput is what each capability's recovery reads and in what order: from the stored proposal and coverage as before, or from the walk's footprints and the placements, in a seeded order across areas.
|
Package recoverinput is what each capability's recovery reads and in what order: from the stored proposal and coverage as before, or from the walk's footprints and the placements, in a seeded order across areas. |
|
recovery
Package recovery is init's recover and check phases: one session per capability, read-only over the repo, or one per share, one after another, when its sources are more than one session holds, at most Concurrency capabilities at once.
|
Package recovery is init's recover and check phases: one session per capability, read-only over the repo, or one per share, one after another, when its sources are more than one session holds, at most Concurrency capabilities at once. |
|
recoveryreport
Package recoveryreport prints what recovering a map's capabilities did, as text for people or as one JSON document for tools, and the exit code it ends with.
|
Package recoveryreport prints what recovering a map's capabilities did, as text for people or as one JSON document for tools, and the exit code it ends with. |
|
repos
Package repos keeps the repos registered on this machine, the ones the engine serves, one absolute path per line in the repos file of Physa's settings directory, and opens their state.
|
Package repos keeps the repos registered on this machine, the ones the engine serves, one absolute path per line in the repos file of Physa's settings directory, and opens their state. |
|
sessionhook
Package sessionhook installs the hook that stamps Session: on changes made in a Claude Code session, so that learning can join each change to the session that made it (design 07 section 4.1), and it never disables a hook.
|
Package sessionhook installs the hook that stamps Session: on changes made in a Claude Code session, so that learning can join each change to the session that made it (design 07 section 4.1), and it never disables a hook. |
|
shares
Package shares reads init's sources in shares when they are more than one session holds: propose's (design 02 §2.3.1), and one capability's in recovery (§2.4).
|
Package shares reads init's sources in shares when they are more than one session holds: propose's (design 02 §2.3.1), and one capability's in recovery (§2.4). |
|
signal
Package signal writes and reads a pursuit's signal as markdown: its claim, its direction (what counts for and what counts against), the window it is read in and its resolver, every part checked present and every problem reported together on one line.
|
Package signal writes and reads a pursuit's signal as markdown: its claim, its direction (what counts for and what counts against), the window it is read in and its resolver, every part checked present and every problem reported together on one line. |
|
skillagent
Package skillagent is the agents Physa's skill is set up for: where each keeps Physa's stub and session hook, and whether it is found on this account, by its config directory or its binary on PATH.
|
Package skillagent is the agents Physa's skill is set up for: where each keeps Physa's stub and session hook, and whether it is found on this account, by its config directory or its binary on PATH. |
|
skillcli
Package skillcli holds Physa's skill for a person's agent: the guide that teaches it to use Physa's commands and terms as Physa means them, embedded in the binary and never read from the repo, so upgrading Physa updates what every agent is told.
|
Package skillcli holds Physa's skill for a person's agent: the guide that teaches it to use Physa's commands and terms as Physa means them, embedded in the binary and never read from the repo, so upgrading Physa updates what every agent is told. |
|
skillhook
Package skillhook is Physa's session hook in a hooks file of Claude Code's settings shape, which Claude Code's settings.json and Codex's hooks.json share: one SessionStart entry that runs "physa skill session" at the start of every session, and whether the entry at a path is current, stale, missing or not safe to edit.
|
Package skillhook is Physa's session hook in a hooks file of Claude Code's settings shape, which Claude Code's settings.json and Codex's hooks.json share: one SessionStart entry that runs "physa skill session" at the start of every session, and whether the entry at a path is current, stale, missing or not safe to edit. |
|
skillstub
Package skillstub is the stub of Physa's skill that setup writes into an agent's skills directory: its text, and whether the stub at a path is current, stale, missing or not Physa's.
|
Package skillstub is the stub of Physa's skill that setup writes into an agent's skills directory: its text, and whether the stub at a path is current, stale, missing or not Physa's. |
|
sourceset
Package sourceset says which of a repo's tracked files are source for init: it leaves out what git or the repo marks (vendored, generated), binary files and lock files, applies the test, doc and other patterns a session named, and resolves path claims so each file goes to the most specific one.
|
Package sourceset says which of a repo's tracked files are source for init: it leaves out what git or the repo marks (vendored, generated), binary files and lock files, applies the test, doc and other patterns a session named, and resolves path claims so each file goes to the most specific one. |
|
spend
Package spend weighs what sessions spend (design 10 §1): each kind of token counts by its price relative to input, and one weighted token is worth the input price of the adapter's default model.
|
Package spend weighs what sessions spend (design 10 §1): each kind of token counts by its price relative to input, and one weighted token is worth the input price of the adapter's default model. |
|
state
Package state is the engine's one writer for a repo's store: every change to ideas, pursuits, plans, intents and timers is a command applied one at a time in one transaction that appends its event.
|
Package state is the engine's one writer for a repo's store: every change to ideas, pursuits, plans, intents and timers is a command applied one at a time in one transaction that appends its event. |
|
state/evidence
Package evidence is the engine's record of engineering evidence: a durable poll that observes version control, and the forge when there is one, and keeps each fact once in the store, with the facts' retention and their reads.
|
Package evidence is the engine's record of engineering evidence: a durable poll that observes version control, and the forge when there is one, and keeps each fact once in the store, with the facts' retention and their reads. |
|
state/plan
Package plan is the engine's commands and reads on a pursuit's plan and its progress: each revision kept with its reason, which change a session works on, tokens spent added and checked against the appetite in the same transaction, the circuit breaker, and the Needs you items they raise; each change one command with its event.
|
Package plan is the engine's commands and reads on a pursuit's plan and its progress: each revision kept with its reason, which change a session works on, tokens spent added and checked against the appetite in the same transaction, the circuit breaker, and the Needs you items they raise; each change one command with its event. |
|
state/work
Package work is the engine's commands and reads on ideas and pursuits: each change one command in one transaction with its event.
|
Package work is the engine's commands and reads on ideas and pursuits: each change one command in one transaction with its event. |
|
store
Package store keeps Physa's local records for the repo in one SQLite database, physa.db in the store directory the version-control interface names (shared by every worktree, never committed).
|
Package store keeps Physa's local records for the repo in one SQLite database, physa.db in the store directory the version-control interface names (shared by every worktree, never committed). |
|
tokens
Package tokens reads and writes an appetite the way people say it: a number of tokens such as 200k or 1.5m.
|
Package tokens reads and writes an appetite the way people say it: a number of tokens such as 200k or 1.5m. |
|
vcs
Package vcs is what Physa needs from version control, whatever holds the history: the changes of a range with their messages and times, the newest changes of a ref, whether a change exists, which change a change says it reverts, the shared default branch and the refs that hold a named branch, whether the history is incomplete, where Physa's store lives, the files a change leaves in a directory, the change a ref names, the newest change carrying a trailer, whether one change is part of another's history, the changes committed after a time, and the paths a change altered.
|
Package vcs is what Physa needs from version control, whatever holds the history: the changes of a range with their messages and times, the newest changes of a ref, whether a change exists, which change a change says it reverts, the shared default branch and the refs that hold a named branch, whether the history is incomplete, where Physa's store lives, the files a change leaves in a directory, the change a ref names, the newest change carrying a trailer, whether one change is part of another's history, the changes committed after a time, and the paths a change altered. |
|
vcs/git
Package git is the git adapter of the version-control interface: it reads the history of a git repository for Physa through the git command.
|
Package git is the git adapter of the version-control interface: it reads the history of a git repository for Physa through the git command. |
|
walk
Package walk holds the skill for init's walk: one session reads an area's code, tests and docs and names its capabilities, each a promise with a footprint, and marks every other source file of the area shared with a reason.
|
Package walk holds the skill for init's walk: one session reads an area's code, tests and docs and names its capabilities, each a promise with a footprint, and marks every other source file of the area shared with a reason. |
|
workapi
Package workapi is the engine's API for ideas, pursuits and evidence: twelve methods, typed once, each change one command with its event.
|
Package workapi is the engine's API for ideas, pursuits and evidence: twelve methods, typed once, each change one command with its event. |
|
writereport
Package writereport says what writing physa/init did: the text a person reads, ending with the PR body, and the value --json prints.
|
Package writereport says what writing physa/init did: the text a person reads, ending with the PR body, and the value --json prints. |
|
tools
|
|
|
codecheck
command
Command codecheck checks that the core imports nothing above it, that the map's side never imports the engine's, and that every package stays within its size budget and has a doc comment stating its promise.
|
Command codecheck checks that the core imports nothing above it, that the map's side never imports the engine's, and that every package stays within its size budget and has a doc comment stating its promise. |
|
initstats
command
Command initstats measures a run of physa init on a repo whose map and code must stay where they are, and prints a record of numbers that can leave it.
|
Command initstats measures a run of physa init on a repo whose map and code must stay where they are, and prints a record of numbers that can leave it. |
Click to show internal directories.
Click to hide internal directories.