feat: complete Milestone 1 & 2 — workflow_layer validation, compliance controls, ISO 27001 & EU AI Act tests - #23
Merged
Conversation
…e controls, ISO 27001 & EU AI Act tests Implements #11 #12 #13 #14 #15 - #11: workflow_layer schema validation tests (10 new test cases) covering required fields, step structure, depends_on, allowed_tools, and integration with tool_layer references - #12: action_pathway (workflow_layer) field descriptors added to SCHEMA_FIELDS_V0_1; all subfields documented (workflow_id, workflow_name, steps, step_id, action, allowed_tools) - #13: ControlResult type added to checkCompliance output — per-control pass/fail with control_id, description, errors, warnings, passed_checks - #14: compliance.test.ts expanded with ISO 27001:2022, EU AI Act Annex IV profiles end-to-end; ControlResult structure tests - #15: agentbom-autogen generateAgentBOM maps AutoGen workflow definitions to workflow_layer; 3 new test cases including multi-workflow AutoGen usage
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.
Implements #11 #12 #13 #14 #15
Completes Milestone 1 (core validator + compliance structured results) and Milestone 2 (autogen workflow adapter).
Changes
bun test packages/agentbom-core— AgentBOM v0.1 schema validation covers all... #11 & [milestone Milestone 1 ]packages/agentbom-core/src/index.ts:validateAgentBOM— addaction_pathway... #12: workflow_layer/action_pathway validation: 10 new schema tests, full SchemaFieldDescriptor entries for workflow_layer subfieldspackages/agentbom-core/src/index.ts:checkCompliance— compliance scoring ret... #13: ComplianceResult.controls — per-control ControlResult with pass/fail, errors, warningspackages/agentbom-core/src/compliance.test.tscovers SOC2, ISO27001,... #14: compliance.test.ts — ISO 27001:2022 and EU AI Act Annex IV end-to-end profiles (12 new test cases)packages/agentbom-autogen/src/index.ts:generateAgentBOM— adapter produces v... #15: agentbom-autogen generateAgentBOM maps workflows to workflow_layer; 3 new test cases698 tests pass (was 632)