Skip to content

Release/v4#12

Merged
Tanishq1030 merged 4 commits intomainfrom
release/v4
Mar 23, 2026
Merged

Release/v4#12
Tanishq1030 merged 4 commits intomainfrom
release/v4

Conversation

@Tanishq1030
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings March 23, 2026 04:26
@github-actions
Copy link
Copy Markdown

Anchor AI Governance Check Failed

Summary

Category Count
Blockers / Errors 2
Warnings 0
Info 0
Suppressed 2
Files Scanned 44

Active Violations

ID Severity File Message
SEC-007 BLOCKER ./anchor/adapters/python.py:22 Native subprocess execution detected. Use Diamond Cage (WASM) sandboxing for agent tools.
SEC-007 BLOCKER ./anchor/core/sandbox.py:288 Native subprocess execution detected. Use Diamond Cage (WASM) sandboxing for agent tools.

@Tanishq1030 Tanishq1030 merged commit 96d3122 into main Mar 23, 2026
1 check passed
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to prep a v4 release by bumping the Python package version, adjusting the packaged governance constitution settings, and cleaning repository state related to local .anchor/ governance artifacts.

Changes:

  • Bump package version from 4.1.44.2.0 (setup + package __version__).
  • Update the baked-in constitution SHA-256 and change packaged constitution to disable the FINOS framework.
  • Simplify .gitignore for .anchor/ and remove committed .anchor/ generated/config files (reports, lockfile, domain/framework/regulator copies).

Reviewed changes

Copilot reviewed 27 out of 29 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
setup.py Package version bump to 4.2.0.
anchor/__init__.py Align package __version__ with release version.
anchor/core/constitution.py Update baked-in SHA for constitution integrity verification.
anchor/governance/constitution.anchor Disable FINOS framework in the packaged manifest.
.gitignore Ignore the entire /.anchor/ directory.
.anchor/** (deleted) Remove committed local workspace artifacts (generated reports/lockfiles and copied governance manifests).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

namespace: FINOS
source: "FINOS AI Governance Framework"
active: true
active: false
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

FINOS is now marked active: false, but legacy_aliases below still maps ANC-* IDs to FINOS-*. Since inactive frameworks are not loaded, the loader can't resolve the alias chain (ANC → FINOS → domain), which can break V3 compatibility (e.g., policy rules or in-line suppressions referencing ANC-* no longer resolve). Either keep the FINOS framework active, or change legacy_aliases to map ANC-* directly to the canonical domain IDs (SEC/ETH/…) so alias resolution works without loading FINOS rules.

Suggested change
active: false
active: true

Copilot uses AI. Check for mistakes.
Comment on lines 7 to 10
setup(
name="anchor-audit",
version="4.1.4",
version="4.2.2",
description="The Federated Governance Engine for AI (Universal Multi-Language)",
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The package version is bumped to 4.2.0 here, but anchor/cli.py still hard-codes __version__ = "4.1.4" (separate from anchor.__version__). That will make anchor --version report the wrong version. Consider removing the hard-coded CLI version and using from anchor import __version__ exclusively, or updating it as part of the release bump.

Copilot uses AI. Check for mistakes.
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.

2 participants