Directories
¶
| Path | Synopsis |
|---|---|
|
adk
|
|
|
go/agent
Package agent is the Go Agent Development Kit runtime.
|
Package agent is the Go Agent Development Kit runtime. |
|
cmd
|
|
|
gapictl
command
|
|
|
gapid
command
|
|
|
core
|
|
|
adkpath
Package adkpath locates the Python ADK on the system it is running on.
|
Package adkpath locates the Python ADK on the system it is running on. |
|
checkpoint
Package checkpoint dumps and restores process trees with CRIU (GOBLIN-DIV-018, research section 4.4/4.5).
|
Package checkpoint dumps and restores process trees with CRIU (GOBLIN-DIV-018, research section 4.4/4.5). |
|
logging
Package logging is the one place log handlers are built.
|
Package logging is the one place log handlers are built. |
|
mounts
Package mounts bootstraps the virtual filesystem hierarchy during Phase 0 of a PID-1 boot (GAPI-DIV-027), before cgroups or the event bus exist.
|
Package mounts bootstraps the virtual filesystem hierarchy during Phase 0 of a PID-1 boot (GAPI-DIV-027), before cgroups or the event bus exist. |
|
pid1
Package pid1 installs the explicit PID-1 signal semantics (GAPI-DIV-027).
|
Package pid1 installs the explicit PID-1 signal semantics (GAPI-DIV-027). |
|
procsig
Package procsig delivers signals to agent processes guarded by their start epoch (DDR-5, GAPI-DIV-016): a signal aimed at a dead process whose PID was recycled must never hit the new occupant.
|
Package procsig delivers signals to agent processes guarded by their start epoch (DDR-5, GAPI-DIV-016): a signal aimed at a dead process whose PID was recycled must never hit the new occupant. |
|
product
Package product carries the identity of the product whose process the kernel is running inside.
|
Package product carries the identity of the product whose process the kernel is running inside. |
|
shutdown
Package shutdown is the PID-1 teardown executor (GAPI-DIV-027): a correct init shutdown is StopAll -> sync -> reverse umount -> reboot(2), replacing the naive grace + SIGKILL pattern.
|
Package shutdown is the PID-1 teardown executor (GAPI-DIV-027): a correct init shutdown is StopAll -> sync -> reverse umount -> reboot(2), replacing the naive grace + SIGKILL pattern. |
|
subreaper
Package subreaper implements the PID-1 orphan-reaping obligation (GAPI-DIV-027): the supervisor registers as a child subreaper so orphaned descendants reparent to it instead of pid 1, and a reap loop collects their exit statuses - zombie accumulation is a kernel obligation, not an optimization.
|
Package subreaper implements the PID-1 orphan-reaping obligation (GAPI-DIV-027): the supervisor registers as a child subreaper so orphaned descendants reparent to it instead of pid 1, and a reap loop collects their exit statuses - zombie accumulation is a kernel obligation, not an optimization. |
|
watchdog
Package watchdog keeps a hardware (or software) watchdog timer fed (GAPI-DIV-027): if the supervisor hangs, the kicks stop and the device resets the machine.
|
Package watchdog keeps a hardware (or software) watchdog timer fed (GAPI-DIV-027): if the supervisor hangs, the kicks stop and the device resets the machine. |
|
examples
|
|
|
standalone
command
|
|
|
internal
|
|
|
ident
Package ident mints the UUIDv7 identifiers used for kernel events, lifecycle runs, and capability tokens (operator decision 2026-07-28: all ids are UUIDv7 where reasonable).
|
Package ident mints the UUIDv7 identifiers used for kernel events, lifecycle runs, and capability tokens (operator decision 2026-07-28: all ids are UUIDv7 where reasonable). |
|
logattr
Package logattr holds gapi's typed log attribute constructors: each pins one key to one value type, so a dropped value, swapped pair, or wrong type is a compile error instead of a quietly wrong JSON field (go-manifesto section 8).
|
Package logattr holds gapi's typed log attribute constructors: each pins one key to one value type, so a dropped value, swapped pair, or wrong type is a compile error instead of a quietly wrong JSON field (go-manifesto section 8). |
|
safeio
Package safeio centralizes every variable-path file open in gapi.
|
Package safeio centralizes every variable-path file open in gapi. |
|
toposort
Package toposort is the one dependency-ordering implementation shared by the agent registry and the agent manager (review R5: centralize; R14: soft-dependency semantics).
|
Package toposort is the one dependency-ordering implementation shared by the agent registry and the agent manager (review R5: centralize; R14: soft-dependency semantics). |
|
pkg
|
|
|
docsgen
Package docsgen renders reference documentation from the things that define it: the cobra command trees, and the configuration schema.
|
Package docsgen renders reference documentation from the things that define it: the cobra command trees, and the configuration schema. |
|
test
|
|
|
adk/fixtures/go
command
|
|
|
adk/fixtures/go/capabilities_agent
command
Capabilities agent with capability detection
|
Capabilities agent with capability detection |
|
adk/fixtures/go/hash_agent
command
Hash agent for testing schema hashing
|
Hash agent for testing schema hashing |
|
adk/fixtures/go/lifecycle_agent
command
Lifecycle agent demonstrating full lifecycle support
|
Lifecycle agent demonstrating full lifecycle support |
|
adk/fixtures/go/simple_service
command
Simple service agent for cross-ADK testing
|
Simple service agent for cross-ADK testing |
|
pid1/fixtures/orphanmaker
command
Orphanmaker is the PID-1 e2e fixture agent: on start it double-forks so a grandchild is orphaned onto the container's init (gapid), which must reap it - the kernel obligation the harness asserts.
|
Orphanmaker is the PID-1 e2e fixture agent: on start it double-forks so a grandchild is orphaned onto the container's init (gapid), which must reap it - the kernel obligation the harness asserts. |
|
tools
|
|
|
gendocs
command
Command gendocs renders gapi's reference documentation.
|
Command gendocs renders gapi's reference documentation. |
Click to show internal directories.
Click to hide internal directories.