You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd0da4f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1125,6 +1125,8 @@ Rust CVE observations now check same-run stability of RustSec crates/rust conten
1125
1125
1126
1126
`codeguard comments c api.c --clang-tool /absolute/clang --standard c11 --format=json`; C++ selects `comments cpp api.cpp --standard c++17` with the same tool argument. The measured Apple Clang 21 documentation profile requires an explicit tool and matching standard, without installation. Three precise native SARIF rules cover empty command descriptions, unknown parameter names and return tags on void functions, with repair steps, comment-only scope and original-tool verification argv. Unknown rules remain separate. Invalid reports, changed inputs, cancellation and unresolved preprocessing cannot become source violations.
1127
1127
1128
-
The dedicated `c_family_comments_feedback` 0.1 observation leaves project configuration unknown and detailed-contract qualification ungranted. Completely missing comments may yield zero native diagnostics. Without a workspace, feedback remains 0.1 with `next=null`. An existing workspace now receives feedback0.3, stable file/language/standard/native-rule tasks and next0.29 with all current positions and original-tool rescan argv. Input/tool changes withdraw repair locations; clean rescans keep tasks open. Dedicated task verification now binds the first tool, standard and rule and records local observations while keeping tasks open. Dedicated attempt journals, project checks and Hooks remain unintegrated. Exit3 or cancellation130 persists, without automatic closure or delivery permission. See the [16-case native evidence, execution path and remaining gaps](tests/acceptance/c-family-comments-native.md).
1128
+
The dedicated `c_family_comments_feedback` 0.1 observation leaves project configuration unknown and detailed-contract qualification ungranted. Completely missing comments may yield zero native diagnostics. Without a workspace, feedback remains 0.1 with `next=null`. An existing workspace now receives feedback0.4, stable file/language/standard/native-rule tasks and next0.30 with all current positions and original-tool rescan argv. Input/tool changes withdraw repair locations; clean rescans keep tasks open. Dedicated task verification now binds the first tool, standard and rule and records local observations while keeping tasks open. Dedicated attempt journals now retain failures and budgets under the current source/tool context. Project checks and Hooks remain unintegrated. Exit3 or cancellation130 persists, without automatic closure or delivery permission. See the [16-case native evidence, execution path and remaining gaps](tests/acceptance/c-family-comments-native.md).
1129
1129
1130
1130
See [C/C++ original-task recheck acceptance](tests/acceptance/c-family-comments-task-recheck.md) for current closed protocols and evidence. Full four-core production qualification remains ungranted.
1131
+
1132
+
See [C/C++ controlled attempt acceptance](tests/acceptance/c-family-comments-attempt-history.md) for current repair history and protocols. Local history does not replace full four-core production acceptance.
let payload = json!({"version":"clang-documentation-attempt-input-v1","scope":path,"language":first["language"],"standard":first["standard"],"profile":first["profile"],"source_sha256":format!("{:x}",Sha256::digest(bytes)),"selected_tool":first["selected_tool"],"canonical_tool":canonical,"tool_state":state,"tool_sha256":tool_bytes.as_ref().map(|b|format!("{:x}",Sha256::digest(b)))});
329
+
let bytes = serde_json::to_vec(&payload).map_err(|_| "attempt_input_encoding_failed")?;
"schema_version":if brief["schema_version"] == "0.29.0"{json!("0.29.0")}else if brief["schema_version"] == "0.28.0"{json!("0.28.0")}else if brief["schema_version"] == "0.27.0"{json!("0.27.0")}else if brief["schema_version"] == "0.26.0"{json!("0.26.0")}else if brief["schema_version"] == "0.25.0"{json!("0.25.0")}else if brief["schema_version"] == "0.24.0"{json!("0.24.0")}else if brief["schema_version"] == "0.23.0"{json!("0.23.0")}else if brief["schema_version"] == "0.22.0"{json!("0.22.0")}else if brief["schema_version"] == "0.21.0"{json!("0.21.0")}else if brief["schema_version"] == "0.20.0"{json!("0.20.0")}else if brief["checker_id"] == "shell.shellcheck"{json!("0.17.0")} else if brief["checker_id"] == "go.vet"{json!("0.13.0")} else if brief["checker_id"] == "syntax.native_confirmation"{brief["schema_version"].clone()} else {json!("0.1.0")},"report_type":"repair_brief_preview",
2432
+
"schema_version":if brief["schema_version"] == "0.30.0"{json!("0.30.0")}else if brief["schema_version"] == "0.29.0"{json!("0.29.0")}else if brief["schema_version"] == "0.28.0"{json!("0.28.0")}else if brief["schema_version"] == "0.27.0"{json!("0.27.0")}else if brief["schema_version"] == "0.26.0"{json!("0.26.0")}else if brief["schema_version"] == "0.25.0"{json!("0.25.0")}else if brief["schema_version"] == "0.24.0"{json!("0.24.0")}else if brief["schema_version"] == "0.23.0"{json!("0.23.0")}else if brief["schema_version"] == "0.22.0"{json!("0.22.0")}else if brief["schema_version"] == "0.21.0"{json!("0.21.0")}else if brief["schema_version"] == "0.20.0"{json!("0.20.0")}else if brief["checker_id"] == "shell.shellcheck"{json!("0.17.0")} else if brief["checker_id"] == "go.vet"{json!("0.13.0")} else if brief["checker_id"] == "syntax.native_confirmation"{brief["schema_version"].clone()} else {json!("0.1.0")},"report_type":"repair_brief_preview",
let actionable = source_actionable || environment_actionable;
157
162
let guidance = codeguard_adapters::clang_documentation_guidance(rule).unwrap_or(json!({"rule_summary":"原生文档检查未完成或存在未适配规则","repair_steps":["核对原生原因、工具与源码范围,再运行原文档检查。"]}));
158
-
let brief = json!({"schema_version":"0.29.0","task_id":id,"kind":kind,"checker_id":checker(&first),"scope":first["path"],"source_sha256":latest["source_sha256"],"native_rule_id":if kind == "finding"{json!(rule)} else {Value::Null},
0 commit comments