Skip to content

update task documentation#2

Merged
wangqianqianjun merged 1 commit intomainfrom
codex/merge-pull-request-1-fro-20260506-224312
May 6, 2026
Merged

update task documentation#2
wangqianqianjun merged 1 commit intomainfrom
codex/merge-pull-request-1-fro-20260506-224312

Conversation

@wangqianqianjun
Copy link
Copy Markdown
Contributor

Background

  • This PR packages the current branch changes for review.
  • It focuses on task documentation.

Solution

  • Documented the implementation background, current status, and follow-up work for this task.

Affected Files

  • .gitignore
  • CONTRIBUTING.md
  • LICENSE
  • NOTICE
  • README.md
  • SECURITY.md
  • cmd/futrix-audit-verify/main.go
  • cmd/futrix-evidence-verify/main.go
  • docs/agent-protocol.md
  • docs/assets/futrix-security-package-flow.svg
  • docs/assurance-matrix.md
  • docs/audit-chain.md

@wangqianqianjun
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f9c548b6ee

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +93 to +95
if os.IsNotExist(err) {
return result, nil
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Treat missing audit log as verification failure

VerifyFile currently returns a passing result when os.Open fails with os.IsNotExist, so both futrix-audit-verify and VerifyBundle can report success even when audit-log.jsonl is absent. This makes the audit-chain proof optional in practice (e.g., a bundle with no audit file still passes), which undermines the primary integrity check and can let incomplete evidence be accepted.

Useful? React with 👍 / 👎.

Comment thread pkg/evidence/evidence.go
Comment on lines +109 to +111
value, ok := row[col]
if !ok {
return false, fmt.Sprintf("masked column %q missing from row", col), nil
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Resolve dotted masked columns when validating masked rows

verifyMaskedQuery only checks top-level keys via row[col], but MaskRows can emit dotted paths (for nested fields) in maskedColumns and mask values in nested objects. With a valid masked row like { "user": { "email": "masked:..." } } and maskedColumns=["user.email"], verification fails as “missing from row,” causing false negatives for legitimate nested exports.

Useful? React with 👍 / 👎.

@wangqianqianjun wangqianqianjun merged commit 753371c into main May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant