Expand description
Data models for GCC (arXiv:2508.00031v2).
Structs§
- Branch
Metadata - Branch metadata stored in
metadata.yaml(paper §3.1). Records the intent and motivation of each branch. - Commit
Record - A commit checkpoint as described in paper §3.2. Fields: Branch Purpose, Previous Progress Summary, This Commit’s Contribution.
- Context
Result - 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
---\nseparators while respecting escaped separators (\---\nproduced bysanitize). After splitting, the escaped backslash is left in place; callers should applydesanitizeon individual field values.