Repository navigation
Agent MEMORY
Cross-session context for agents. Sections 1-6 are regenerated from the source tree with zero LLM tokens: declared rules are quoted verbatim with
file:line, measured baselines come from the scan. Section 7 is written by agents and humans and is preserved across rebuilds.
Generated from 567 files at commit 620275dbc842. Read this first, then readmenator-wiki/index.md, then readmenator . ask "<question>" for anything specific.
- What it is: I had some things programmed, a kernel, a C to ASM transpiler, compiler/linker, a browser, I had a beacon with an ELF loader which was basically the first prototype of CVM. (
README.md:10) - Domain vocabulary (term, files):
progs(308),free(238),any(232),without(228),program(219),can(218),under(208),see(190),doomgeneric(188),version(186),later(184),but(184),either(182),more(181),public(176) - Subsystem
headers: kernel: 143 files, coreheaders/kernel.h: The user-window memory layout (load base, stack, brk cap, graphics - Subsystem
progs/doomgeneric: d_englsh: 99 files, coreprogs/doomgeneric/d_englsh.h: Copyright(C) 1993-1996 Id Software, Inc. - Subsystem
progs/doomgeneric: p_spec: 69 files, coreprogs/doomgeneric/p_spec.h: Copyright(C) 1993-1996 Id Software, Inc. - Subsystem
progs/src: 68 files, coreprogs/vedit/vedit.c: vedit IDE build and run contract. - Subsystem
tools: lxabi: 29 files, coreprogs/src/lxabi.c: Linux process, thread and descriptor ABI probe (FreeDom - Subsystem
headers: vga_fb: 18 files, corekernel/vga_fb.c: wm_geom_cfg: /** Docstring: Focus ids share one space across terminals and graphics.... - Subsystem
headers: net: 17 files, corenet/net.c: MiniOS network stack: virtio-net preferred, rtl8139 fallback, under - Subsystem
progs/doomgeneric: net_defs: 13 files, coreprogs/doomgeneric/net_defs.h: Copyright(C) 2005-2014 Simon Howard This program is free software; you can redistribute it... - Business rules that the code cannot show live in section 7: record them there.
Detected commands:
-
python -m pytest -q(tests/ layout) -
make all(Makefile) -
make sources(Makefile) -
make sources-update(Makefile) -
make sources-status(Makefile) -
make addons(Makefile) -
make toolchain(Makefile) -
make pokemon-fetch(Makefile) -
make pokemon-clean(Makefile) -
make lisp-host(Makefile) -
make test-lisp(Makefile) -
make minicraft-host(Makefile)
Session protocol:
- Start: read this file, then
readmenator . fresh(exit 1 means runreadmenator . --rebuild). - Orient:
readmenator-wiki/index.md; for a question usereadmenator . ask "<question>"(local = entities + sources,--global= community reports). - Before editing a file:
grep -n '<file>' readmenator-agent/GOTCHAS.md readmenator-agent/SECURITY.md. - After the change: run the tests above, then
readmenator . --rebuildso the maps, wiki, and this file stay true. - End: record decisions, business rules, and gotchas with
readmenator . remember "<note>" --kind decision.
Declared:
-
Layout addresses live once in
progs/minios_abi.h; never hardcode one in (CLAUDE.md:43) -
Low 4 MB: user page-table zone stays at
0x10000; kernel image +.bss(CLAUDE.md:45) -
Kernel stacks: 16 KB per proc,
-Werror=frame-larger-than=2048; (CLAUDE.md:49) -
Syscalls take user pointers only through
SANITIZE_*(-EFAULTon (CLAUDE.md:51) -
SB16/DMA: never auto-init DMA; one single-cycle block per terminal-count (
CLAUDE.md:53) -
Build: per-object header deps live in the Makefile; a new
#include(CLAUDE.md:55) -
Graphics apps: present through
GFX_PRESENT; mouse via the origin the (CLAUDE.md:57) -
USB: PCI MMIO is mapped only through
kmm_map_uncached()(write-back (CLAUDE.md:60) -
Heavy ring-3 overlap (two big glibc processes) is known-red until (
CLAUDE.md:68) - Every loader input is validated before use: ELF headers, section and (
CLAUDE.md:146) - Size arithmetic is overflow checked before allocation (
size * nincluded). (CLAUDE.md:148) - Failure paths report and release; no silent partial state. (
CLAUDE.md:149) - No function symbol is ever resolved to a null address. (
CLAUDE.md:150) - User stack setup validates that argv writes stay within bounds. (
CLAUDE.md:151)
Measured baseline:
- Security findings at medium or above: 0 (see
readmenator-agent/SECURITY.md); do not add new ones. - Dependency cycles: 1; layer violations: 3 (see
readmenator-agent/GOTCHAS.md).
Declared:
- none declared in instruction files (add them to AGENTS.md or record them in section 7)
Measured baseline:
- c: 278 files, 6841 symbols; docstrings on 21% of symbols; functions snake_case (75%); types PascalCase (19%); median file 262 lines, max 4886.
- h: 193 files, 4548 symbols; docstrings on 17% of symbols; functions snake_case (70%); types PascalCase (7%); median file 69 lines, max 1331.
- py: 61 files, 689 symbols; docstrings on 35% of symbols; functions snake_case (97%); types PascalCase (99%); median file 130 lines, max 957.
- sh: 17 files, 45 symbols; docstrings on 18% of symbols; functions snake_case (100%); median file 80 lines, max 2215.
- Tests: 66 files under mcp, progs/src, tests; follow the existing naming (e.g.
test_minios_mcp.py).
Declared:
- none declared in instruction files (add them to AGENTS.md or record them in section 7)
Measured baseline:
- Tests pass:
python -m pytest -q. - Docstring coverage stays at or above 20%.
- No new security findings at medium or above (current: 0).
- No new dependency cycles (current: 1).
- Files stay under 300 lines where possible (
readmenator . lint). - Docs refreshed:
readmenator . --rebuild, and decisions recorded in section 7.
- God nodes (changes ripple widely):
kernel/string.c,progs/doomgeneric/doomtype.h,progs/doomgeneric/doomdef.h,progs/doomgeneric/doomstat.h,kernel/syscalls.c - Hotspots (complex and central):
kernel/syscalls.c,kernel/string.c,progs/doomgeneric/d_main.c,progs/doomgeneric/g_game.c,kernel/shell.c - Cycle:
progs/doomgeneric/r_data.h->progs/doomgeneric/r_state.h->progs/doomgeneric/r_data.h - Full blast radius:
readmenator-agent/GOTCHAS.md; findings:readmenator-agent/SECURITY.md.
Append with readmenator . remember "<note>" --kind <kind> (kinds: business, decision, rule, workflow, style, deliverable, gotcha, todo, note) or the MCP tool readmenator.remember. Record business rules, decisions and their reasons, workflow changes, and anything the next session must not rediscover.
Generated offline by readmenator from commit cd87980b5eb5. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_headers_kernel
- community_10_orphans
- community_1_progs_doomgeneric_d_englsh
- community_2_progs_src
- community_3_progs_doomgeneric_p_spec
- community_4_tools_tls_crypto
- community_5_headers_vga_fb
- community_6_progs_doomgeneric_net_defs
- community_7_headers_batch
- community_8_headers_tick
- community_9_tools_doom_pwad
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- KB_asm
- KB_boot
- KB_doomgeneric
- KB_doomgeneric_p10
- KB_doomgeneric_p11
- KB_doomgeneric_p12
- KB_doomgeneric_p2
- KB_doomgeneric_p3
- KB_doomgeneric_p4
- KB_doomgeneric_p5
- KB_doomgeneric_p6
- KB_doomgeneric_p7
- KB_doomgeneric_p8
- KB_doomgeneric_p9
- KB_drivers
- KB_drivers_p2
- KB_file
- KB_freedomui
- KB_fs
- KB_headers
- KB_headers_arch_x86
- KB_headers_drivers
- KB_headers_kernel
- KB_headers_p2
- KB_headers_p3
- KB_headers_p4
- KB_headers_p5
- KB_headers_p6
- KB_kernel
- KB_kernel_p2
- KB_kernel_p3
- KB_kernel_p4
- KB_lib
- KB_lisp
- KB_lua
- KB_mcp
- KB_minios
- KB_misc
- KB_misc_p2
- KB_misc_p3
- KB_mm
- KB_net
- KB_nuklear
- KB_pokemon
- KB_progs
- KB_quake2generic
- KB_root
- KB_src
- KB_src_p2
- KB_src_p3
- KB_tests
- KB_tests_p2
- KB_tls_u
- KB_tools
- KB_tools_p2
- KB_wl
- KB_x86
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p3
- SYMBOLS_p4
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes