GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — commitwork/schema/daily-ledger.schema.json at main · Portll/commitwork

Expand file tree

/

daily-ledger.schema.json

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
50 lines (50 loc) · 2.58 KB
/

daily-ledger.schema.json

Copy path

File metadata and controls

50 lines (50 loc) · 2.58 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "commitwork.daily-ledger/1",
"title": "Daily todo ledger",
"description": "reports/<out>/daily/ledger.json: the record of which findings the daily run has filed on the todo list, kept by planTodos() in monitor/daily-todos.mjs and written by bin/daily-run.mjs. It, not the todo list, decides whether a finding is filed again: a todo the operator closed is not refiled while its finding persists. Finding ids are place-keyed and never include a line number.",
"type": "object",
"additionalProperties": false,
"required": ["schema", "configSha256", "findings"],
"properties": {
"schema": { "const": "commitwork.daily-ledger/1" },
"configSha256": {
"type": ["string", "null"],
"pattern": "^[0-9a-f]{64}$",
"description": "sha256 of the area's daily config the last run read; null before any run. A change makes the next comparison a baseline."
},
"findings": {
"type": "object",
"description": "Keyed by the daily digest's finding id: the first 16 hex characters of sha256(repo|category|rule|file).",
"propertyNames": { "pattern": "^[0-9a-f]{16}$" },
"additionalProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": ["repo", "state", "todoId", "closedByUser", "firstSeenBatch", "lastSeenBatch"],
"properties": {
"repo": { "type": "string" },
"state": { "enum": ["open", "fixed"] },
"todoId": { "type": ["string", "null"], "description": "The todo filed for the finding; null until one is." },
"closedByUser": { "type": "boolean", "description": "The filed todo was closed or deleted while the finding persisted." },
"firstSeenBatch": { "type": "string", "pattern": "^sweep-[0-9]{14}$" },
"lastSeenBatch": { "type": "string", "pattern": "^sweep-[0-9]{14}$" },
"fixedBatch": { "type": "string", "pattern": "^sweep-[0-9]{14}$", "description": "The batch in which the finding was last reported fixed." }
}
},
{
"type": "object",
"additionalProperties": false,
"required": ["repo", "state", "renamedTo"],
"properties": {
"repo": { "type": "string" },
"state": { "const": "renamed" },
"renamedTo": { "type": "string", "pattern": "^[0-9a-f]{16}$", "description": "The finding's id after its file was renamed; its todo moved with it." }
}
}
]
}
}
}
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.