Repository navigation
chore: patch critical/high CVEs (trivy 2026-10-26 sweep) - #26
Merged
Merged
Conversation
zod ^4.6.7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yong-opus
added a commit
that referenced
this pull request
Nov 19, 2026
The dependency update in #26 changed zod's export: nullable fields become a type array, and date-time patterns require seconds. The committed JSON schemas were not regenerated, so the schema drift check failed on any PR that touched the schemas. This regenerates them from the lockfile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yong-opus
added a commit
that referenced
this pull request
Nov 21, 2026
…ges (#30) * Record the source fingerprint in an Observation and warn when it changes An Observation named its source only by path. If the file at that path was re-encoded or replaced, observation query kept returning the old evidence with no sign that its timestamps no longer matched the file. observe now records the source's SHA-256, size and modification time under asset in manifest.json. query compares size and modification time first and rehashes only when they differ; if the hash no longer matches it prints a warning to stderr, and the MCP query tool adds that warning to its result. A missing file, or an Observation made before this field existed, stays quiet. The idea comes from VIVID's content-hash-keyed evidence memory. The SHA-256 helper moves from update.rs to util.rs so both use one copy. The schema gains three optional asset fields; the JSON schema is regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Regenerate JSON schemas with the locked zod 4.6.7 The dependency update in #26 changed zod's export: nullable fields become a type array, and date-time patterns require seconds. The committed JSON schemas were not regenerated, so the schema drift check failed on any PR that touched the schemas. This regenerates them from the lockfile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Record the source's absolute path and omit an unknown modification time Review findings on the fingerprint: - observe kept the video argument as given in asset.uri, so after observing a relative path, a query from another directory (including `query .` inside the Observation) could not find the source and skipped the warning. The fingerprint now records the canonical absolute path in asset.path, and the check uses it before uri. The docs note that this path contains directory names. - A modification time before the Unix epoch was written as null, which the schema rejects. The field is now left out when it is unknown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Trivy offline repo scan 2026-10-26 (org repo audit 2026-10-25): C=0 / H=1 → C=0 / H=0 on this branch (offline re-scan).
What
zod ^4.6.7.
Validation
npm ci --ignore-scripts— pass🤖 Generated with Claude Code