Skip to content

Commit 00fd867

Browse files
committed
make docs OK
LiveReview Pre-Commit Check: skipped (iter:1, coverage:0%)
1 parent 5a48256 commit 00fd867

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

network/network_status.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ This document tracks network-side operations in git-lrc as an auditable inventor
7272
| Client.DoJSON | api | Request/response JSON payload bytes | Standard JSON HTTP call wrapper | Medium | Medium risk from broad transport usage and status-handling variance | Compensated by centralized transport wrapper with timeout controls; acceptable risk | [network/http_client.go](http_client.go#L43) |
7373
| Client.Do | api | Raw HTTP request/response bytes | Generic HTTP call wrapper for non-JSON/raw workflows | Medium | Medium risk from raw payload handling flexibility | Partially compensated by shared client boundary; Suggestion: document callsite expectations for raw bodies | [network/http_client.go](http_client.go#L89) |
7474
| SetupEnsureCloudUserURL | api | Base URL plus endpoint normalization inputs | Normalize endpoint composition and reduce path ambiguity | Medium | Medium risk if normalization logic diverges from endpoint assumptions | Compensated by centralized URL builder utility; acceptable risk | [network/endpoints.go](endpoints.go#L13) |
75-
| PollReview | api | Review IDs, status payloads, timeout state | Timeout-bounded polling orchestration in review runtime | High | High availability/latency risk if review service is degraded | Compensated by bounded timeout and interval controls; residual risk acceptable | [internal/reviewapi/helpers.go](../internal/reviewapi/helpers.go#L175) |
76-
| formatJSONParseError | api | Response body text for parse diagnostics | Improve operator diagnostics when endpoint/port mismatches occur | Low | Low risk diagnostic utility behavior | Compensated by safer error interpretation path; acceptable risk | [internal/reviewapi/helpers.go](../internal/reviewapi/helpers.go#L103) |
75+
| PollReview | api | Review IDs, status payloads, timeout state | Timeout-bounded polling orchestration in review runtime | High | High availability/latency risk if review service is degraded | Compensated by bounded timeout and interval controls; residual risk acceptable | [internal/reviewapi/helpers.go](../internal/reviewapi/helpers.go#L201) |
76+
| formatJSONParseError | api | Response body text for parse diagnostics | Improve operator diagnostics when endpoint/port mismatches occur | Low | Low risk diagnostic utility behavior | Compensated by safer error interpretation path; acceptable risk | [internal/reviewapi/helpers.go](../internal/reviewapi/helpers.go#L129) |
7777

7878
## Control Signals For Security Review
7979

storage/storage_status.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ This document tracks storage-side operations in git-lrc as an auditable inventor
3838
| --- | --- | --- | --- | --- | --- | --- | --- |
3939
| ReadConfigFile | file | TOML config bytes including API key and connector state | Load CLI configuration from ~/.lrc.toml | High | Credential disclosure risk if file is too permissive | Compensated by strict mode enforcement via chmod path; residual risk acceptable with 0600 policy | [storage/config_io.go](config_io.go#L9) |
4040
| WriteFileAtomically | file | Generic file bytes (used for durable state/config writes) | Persist file content using temp-and-rename pattern | High | Integrity risk from partial/truncated writes | Compensated by atomic temp-then-rename; residual risk acceptable for local FS assumptions | [storage/files.go](files.go#L29) |
41-
| Chmod | file | File mode bits (0600/0755 style permissions) | Enforce permission model on config and scripts | High | Misconfiguration risk if wrong mode is applied | Compensated by centralized wrapper plus mode-specific tests for secret and executable paths; residual risk acceptable | [storage/files.go](files.go#L119) |
42-
| MkdirAll | file | Directory paths | Create required storage folders safely | Low | Low risk of directory sprawl/path misuse | Compensated by controlled internal callsites; acceptable risk | [storage/files.go](files.go#L87) |
41+
| Chmod | file | File mode bits (0600/0755 style permissions) | Enforce permission model on config and scripts | High | Misconfiguration risk if wrong mode is applied | Compensated by centralized wrapper plus mode-specific tests for secret and executable paths; residual risk acceptable | [storage/files.go](files.go#L128) |
42+
| MkdirAll | file | Directory paths | Create required storage folders safely | Low | Low risk of directory sprawl/path misuse | Compensated by controlled internal callsites; acceptable risk | [storage/files.go](files.go#L96) |
4343

4444
## Inventory: Review And Attestation Database
4545

@@ -52,8 +52,8 @@ This document tracks storage-side operations in git-lrc as an auditable inventor
5252
| QueryAttestationReviewedSessionsByBranch | db | Ordered review session rows | Retrieve historical review evidence by branch | Medium | Evidence retrieval ordering/completeness risk | Compensated by explicit ordering query; acceptable risk | [storage/attestation_review_db_io.go](attestation_review_db_io.go#L93) |
5353
| DeleteAttestationReviewSessionsByBranch | db | Branch-scoped review rows | Purge branch review history | High | Data loss and forensic gap risk | Compensated by scoped delete API plus optional (opt-in) dry-run and audit logging options; default path has no additional logging overhead | [storage/attestation_review_db_io.go](attestation_review_db_io.go#L111) |
5454
| DeleteAllAttestationReviewSessions | db | Entire review_sessions table | Administrative full wipe of review history | High | High-impact irreversible evidence loss risk | Partially compensated by optional caller confirmation gate API with legacy delete path preserved for backward compatibility; residual risk remains high unless callers adopt confirmation policy | [storage/attestation_review_db_io.go](attestation_review_db_io.go#L148) |
55-
| OpenSQLite | db | Generic SQLite connection and PRAGMA state | Standardized DB opener utility | High | Broad DB behavior risk if PRAGMA policy regresses | Compensated by centralized opener policy and wrapped errors; residual risk acceptable | [storage/files.go](files.go#L145) |
56-
| ExecSQL | db | SQL statement plus args | Execute SQL with wrapped errors | High | SQL misuse risk from broad execution capability | Compensated by using ExecSQL for all review_sessions mutation paths in storage (schema init, insert, branch delete, full delete); direct db.Exec remains only inside ExecSQL wrapper | [storage/files.go](files.go#L161) |
55+
| OpenSQLite | db | Generic SQLite connection and PRAGMA state | Standardized DB opener utility | High | Broad DB behavior risk if PRAGMA policy regresses | Compensated by centralized opener policy and wrapped errors; residual risk acceptable | [storage/files.go](files.go#L154) |
56+
| ExecSQL | db | SQL statement plus args | Execute SQL with wrapped errors | High | SQL misuse risk from broad execution capability | Compensated by using ExecSQL for all review_sessions mutation paths in storage (schema init, insert, branch delete, full delete); direct db.Exec remains only inside ExecSQL wrapper | [storage/files.go](files.go#L170) |
5757

5858
## Inventory: Hook Lifecycle Storage
5959

0 commit comments

Comments
 (0)