Skip to main content

Module models

Module models 

Source
Expand description

Data models for GCC (arXiv:2508.00031v2).

Structs§

BranchMetadata
Branch metadata stored in metadata.yaml (paper §3.1). Records the intent and motivation of each branch.
CommitRecord
A commit checkpoint as described in paper §3.2. Fields: Branch Purpose, Previous Progress Summary, This Commit’s Contribution.
ContextResult
Result of the CONTEXT command (paper §3.5). The paper fixes K=1 in experiments (most recent commit record revealed).
OTARecord
A single Observation–Thought–Action step logged to log.md. The paper continuously logs OTA cycles as the agent executes.

Functions§

desanitize
Reverse the escaping applied by sanitize.
sanitize
Escape the --- block separator so user content cannot break parsers.
split_blocks
Split markdown text on ---\n separators while respecting escaped separators (\---\n produced by sanitize). After splitting, the escaped backslash is left in place; callers should apply desanitize on individual field values.