detached 602baa7

AGENTS.md RawHistoryFolder

Repository rules

  • Go 1.27; builds use CGO_ENABLED=0. Race tests alone use CGO_ENABLED=1.
  • Dependencies: standard library and golang.org/x/sys only.
  • Steady-state request/reply/event/error hot paths must allocate zero times; enforce with testing.AllocsPerRun tests and benchmarks. Setup and amortized buffer growth may allocate. Caller-owned buffers and borrowed views are preferred.
  • Root never imports generated packages. Generated packages import root and, for extensions, xproto. Wire format is little-endian.
  • Requests return Seq (0 invalid); sticky Buf errors stop encoding. Reply views live only through the callback. Event Raw is copied; Tail is borrowed.
  • Generate bindings from the pinned manifest; do not hand-edit generated code.
  • Run make check before committing. Use signed conventional commits: type(scope): description. Feature work belongs in .worktrees/; do not merge without review. Forge is ermite only; never add or push a GitHub remote.
  • The binding spec is private; the above summarizes its key public contracts. Stop and ask before making an unspecified public-contract decision.
source
1# Repository rules
2
3- Go 1.27; builds use CGO_ENABLED=0. Race tests alone use CGO_ENABLED=1.
4- Dependencies: standard library and golang.org/x/sys only.
5- Steady-state request/reply/event/error hot paths must allocate zero times;
6  enforce with testing.AllocsPerRun tests and benchmarks. Setup and amortized
7  buffer growth may allocate. Caller-owned buffers and borrowed views are preferred.
8- Root never imports generated packages. Generated packages import root and,
9  for extensions, xproto. Wire format is little-endian.
10- Requests return Seq (0 invalid); sticky Buf errors stop encoding. Reply views
11  live only through the callback. Event Raw is copied; Tail is borrowed.
12- Generate bindings from the pinned manifest; do not hand-edit generated code.
13- Run make check before committing. Use signed conventional commits:
14  type(scope): description. Feature work belongs in .worktrees/; do not merge
15  without review. Forge is ermite only; never add or push a GitHub remote.
16- The binding spec is private; the above summarizes its key public contracts.
17  Stop and ask before making an unspecified public-contract decision.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 1

↑↓ moveenter openesc close