CodeTodo
A TODO or FIXME comment found in a repository's code, and whether it has been turned into a
work item.
Shape
- content_digeststringThe TODO's identifier: a SHA-256 digest of its keyword and text, without the
(@owner)or(#id)part or the comment syntax. It holds no path or line number, so moving the comment keeps the same TODO. - first_seen_atstring
- first_seen_shaCommitHash (string)The commit (push head) that first added this marker.
- lineinteger · int320–∞
- markerMarkerKindTODOFIXMEHACKXXXBUGOPTIMIZEThe marker keywords the scanner recognises. Uppercase only —
todo:andTodo:are everywhere in prose, README files and variable names, and lowering the case sensitivity to be "helpful" is how a scanner becomes a noise generator. - pathRepoPath (string)Where the TODO was last seen. It changes as the comment moves;
content_digestdoes not. - region_digeststringA digest of the TODO's source line as a code region — what the anchor created on promotion starts with as its
content_digest. Unlikecontent_digest, it includes any(#id). - repository_idRepositoryId (string · uuid)
- textstringThe TODO's text, normalised, at most 255 characters.
authorActorSummaryoptionalThe author of the commit that added the TODO — the work item's creator if it is promoted.
- The ActorSummary schema
- emailstring
- idstring
- usernamestring
- avatar_urlstring or nulloptional
- issue_iidIssueId (integer · int64) or nulloptionalThe number of the work item this TODO was promoted into, in the same repository. Absent until it is promoted.
gitmoap todo syncwrites it back into the comment as(#id). - ownerstring or nulloptionalThe
@usernamean author wrote in the marker (without the@), a suggested assignee on promotion. Absent when the marker named no owner. - promoted_atstring or nulloptional
Example
Synthesized example{
"content_digest": "content-digest-dcff",
"first_seen_at": "2026-10-16T20:01:59Z",
"first_seen_sha": "cf036ec74c6ac745d8f3951c75dff11741ad49fa",
"line": 21,
"marker": "TODO",
"path": "path-5305",
"region_digest": "region-digest-f3a4",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"text": "text-328f",
"author": {
"email": "lin@acme.example",
"id": "id-b142",
"username": "lin",
"avatar_url": "https://gitmoap.example/acme/569db1e9"
},
"issue_iid": 2,
"owner": "owner-1ecb",
"promoted_at": "2026-10-14T09:17:57Z"
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 1 operation