opencodecommit 1.9.9 → 1.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ occ evidence snapshot
|
|
|
83
83
|
- A terminal TUI with backend picks, diff view, output panels, and file staging.
|
|
84
84
|
- Local sensitive-content scanning with `warn`, `block-*`, and `strict-*` enforcement modes.
|
|
85
85
|
- A repo-local Git guard that routes raw `git commit` messages through OCC using `prepare-commit-msg`.
|
|
86
|
-
- Optional repo-local evidence sidecars for `samd` and all-in `defence` profiles,
|
|
86
|
+
- Optional repo-local evidence sidecars and `Assisted-by` AI attribution for `samd` and all-in `defence` profiles, linked by compact `OCC-Evidence` trailers.
|
|
87
87
|
- CI output as text, JSON, SARIF, or GitHub annotations.
|
|
88
88
|
- Built-in language templates for English, Finnish, Japanese, Chinese, Spanish, Portuguese, French, Korean, Russian, Vietnamese, and German.
|
|
89
89
|
|
|
@@ -95,6 +95,35 @@ The scanner can block provider tokens, webhooks, credential-bearing connection s
|
|
|
95
95
|
|
|
96
96
|
See [SECURITY.md](SECURITY.md) for vulnerability reporting and data-flow details.
|
|
97
97
|
|
|
98
|
+
## Evidence And Audit Trails
|
|
99
|
+
|
|
100
|
+
For regulated work — Software as a Medical Device (SaMD) and defence software — OpenCodeCommit can keep an optional, repo-local audit trail. It is off by default and enabled per repository with `occ evidence install`.
|
|
101
|
+
|
|
102
|
+
Each commit records a snapshot of the repository and build environment — branch, HEAD, index-tree hash, staged files, tool and AI-agent versions, and (by profile) network and security state. The snapshot is written as a versioned sidecar, scanned for secrets before it lands, and linked from the commit by a compact `OCC-Evidence` trailer.
|
|
103
|
+
|
|
104
|
+
- `samd` — strict redaction; safe to commit into the repository.
|
|
105
|
+
- `defence` — all-in cleartext machine and network state for private, access-controlled stores, gated behind an explicit acknowledgement before it can land in a repo.
|
|
106
|
+
|
|
107
|
+
Storage is `local` (uncommitted), `repo` (committed sidecars), or `artifact` (referenced by SHA-256 digest).
|
|
108
|
+
|
|
109
|
+
Commits can also carry `Assisted-by` trailers that attribute the AI harness and model — picked from the editor's Source Control menu or queued from the CLI.
|
|
110
|
+
|
|
111
|
+

|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
feat(monitor): clamp ECG sampling window
|
|
115
|
+
|
|
116
|
+
OCC-Evidence: repo:.occ/evidence/2026/06/20260623T091205Z-a1b2c3d.toml
|
|
117
|
+
Assisted-by: Codex 0.133.0:gpt-5.5
|
|
118
|
+
Assisted-by: Claude Code 2.1.0:claude-opus-4.8
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
occ evidence install --profile samd
|
|
123
|
+
occ evidence snapshot
|
|
124
|
+
occ evidence assist add --quick Opus
|
|
125
|
+
```
|
|
126
|
+
|
|
98
127
|
## Configuration
|
|
99
128
|
|
|
100
129
|
`~/.config/opencodecommit/config.toml` is the shared config for the CLI, TUI, and extension. The extension syncs VS Code / VSCodium settings with that file.
|
package/package.json
CHANGED
|
Binary file
|
package/platforms/darwin-x64/occ
CHANGED
|
Binary file
|
|
Binary file
|
package/platforms/linux-x64/occ
CHANGED
|
Binary file
|
|
Binary file
|