code.manage.automation

Machine-readable incomplete-test reporting for CI and repair workers.

+config-path+

+schema-version+

-main

added in 4.1

(-main & [section output policy])

writes the configured section report for CI

baseline-diff

added in 4.1

(baseline-diff baseline-ids findings)

classifies current finding ids against a baseline

finding-id

added in 4.1

(finding-id kind refer)

returns a stable finding id independent of file line numbers

incomplete-report

added in 4.1

(incomplete-report _target {:keys [section output write-baseline], :as opts})

CLI-facing report writer; returns the report including its exit code

load-config

added in 4.1

(load-config)(load-config path)

loads and validates the code.manage automation config

load-edn

added in 4.1

(load-edn path fallback)

reads an EDN file, returning the fallback when absent

namespace-findings

added in 4.1

(namespace-findings source-ns lookup project)

returns typed missing and TODO findings for one source namespace

report

added in 4.1

(report section)(report section {:keys [config-path baseline-path policy project], :or {config-path +config-path+}})

creates a versioned incomplete-test report for one configured section

section-config

added in 4.1

(section-config config section)

returns one configured section

section-namespaces

added in 4.1

(section-namespaces selector project)

selects source namespaces for a configured section

sha256

added in 4.1

(sha256 value)

returns a lowercase SHA-256 digest

write-baseline!

added in 4.1

(write-baseline! path section findings)

updates one section in the reviewed baseline

write-json!

added in 4.1

(write-json! path value)

writes a report as pretty JSON