Skip to content

Foreign artifact#28

Merged
dhh1128 merged 14 commits intomainfrom
foreign-artifact
Mar 17, 2026
Merged

Foreign artifact#28
dhh1128 merged 14 commits intomainfrom
foreign-artifact

Conversation

@dhh1128
Copy link
Member

@dhh1128 dhh1128 commented Mar 17, 2026

No description provided.

Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces the Foreign Artifact Affidavit (FAA), a new credential type designed to provide tamper-evident cryptographic identity and metadata for arbitrary binary data, allowing its inclusion in ACDC data graphs. Concurrently, it enhances the repository's development tooling by adding a robust schema validation script, ensuring the integrity and adherence to standards for all JSON schemas.

Highlights

  • New Foreign Artifact Affidavit (FAA) Schema: Introduced a comprehensive new schema for Foreign Artifact Affidavits (FAA), enabling arbitrary binary data to be wrapped with tamper-evident cryptographic identities and metadata for integration into ACDC data graphs.
  • Enhanced Schema Validation Tooling: Implemented a new Python script (check_schemas.py) and an associated ignore file to automate and enforce consistency and correctness across all JSON schemas within the repository, improving development workflow and data integrity.
  • Schema Registry and Identifier Updates: Updated the central registry.json to include the newly added FAA schema and reordered existing entries. Additionally, the $id fields in org-vet.schema.json were revised to reflect current standards.
Changelog
  • faa/example.json
    • Added a sample Foreign Artifact Affidavit JSON.
  • faa/example.json.new.bak
    • Added a backup sample Foreign Artifact Affidavit JSON.
  • faa/faa.schema.json
    • Added the JSON schema definition for the Foreign Artifact Affidavit.
  • faa/index.md
    • Added comprehensive documentation for the Foreign Artifact Affidavit.
  • org-vet/org-vet.schema.json
    • Updated the $id for the main schema and its attributes block.
  • registry.json
    • Updated the schema registry to include the new FAA schema and reordered existing entries.
  • tools/.ignore_check_schemas
    • Added a file to specify regex patterns for ignoring schema validation errors.
  • tools/check_schemas.py
    • Added a new Python script to perform automated JSON schema validation checks.
  • tools/requirements.txt
    • Added jsonschema as a dependency for the schema validation tool.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/check-schemas.yml
Activity
  • No human activity (comments, reviews, or progress updates) has been recorded for this pull request.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new schema for a "Foreign Artifact Affidavit" (FAA), along with documentation, examples, and a new Python script for schema validation. The changes are extensive and well-structured. My review focuses on ensuring consistency, correctness, and maintainability. I've identified a critical validation issue in the new schema, several high-severity inconsistencies between the schema, examples, and documentation, and a bug in the new validation script. Addressing these points will significantly improve the quality and robustness of this new feature.

dhh1128 added 5 commits March 17, 2026 13:32
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
Signed-off-by: Daniel Hardman <daniel.hardman@gmail.com>
@dhh1128 dhh1128 merged commit e3e32ea into main Mar 17, 2026
1 check failed
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