Skip to content

Rename files to be Windows-compatible#6

Merged
mzargham merged 5 commits intomainfrom
davidfsol5
Jan 6, 2026
Merged

Rename files to be Windows-compatible#6
mzargham merged 5 commits intomainfrom
davidfsol5

Conversation

@davidfsol5
Copy link
Collaborator

Replace colons with underscores in 164 filenames across 01_edges/ and 02_faces/ directories. Colons are not allowed in Windows filenames.

Summary

  • Renamed 164 files replacing colons (:) with underscores (_) to ensure Windows compatibility
  • Affected directories: 01_edges/ (156 files) and 02_faces/ (8 files)
  • Colons are not allowed in Windows filenames

Test plan

  • [ Y ] --Verify renamed files are accessible on Windows systems-- (DFS 1/6/26)
  • Confirm no broken internal references (if any files reference these by name)

🤖 Generated with Claude Code

🤖 Generated with Claude Code

Replace colons with underscores in 164 filenames across 01_edges/ and
02_faces/ directories. Colons are not allowed in Windows filenames.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@davidfsol5 davidfsol5 requested a review from mzargham January 6, 2026 16:30
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✗ Accountability Check Failed

This PR modifies validation edge(s), but the commit was not made by the accountable party listed in the frontmatter.

Important: Validation edges can only be committed by:

  • For manual validation: the person listed in the validator field
  • For llm-assisted or automated: the person listed in the human_approver field

This ensures clear accountability and trust in the validation process.

Please ensure that:

  1. The validation edge is committed by the accountable party, OR
  2. The frontmatter is updated to list the actual committer as the accountable party (and they accept responsibility)

See the workflow logs for details on which file(s) failed the check.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✓ Assurance Audit Validation Passed

All assurance validation checks passed successfully!

Checks completed:

  • ✓ Audit tool regression tests (12 tests)
  • ✓ All chart/assurance_audit type charts validated

What was verified:

  • Assurance coverage: All audit targets have assurance faces
  • Root anchoring: All assurance traces to boundary complex
  • Chart structure: Valid frontmatter and elements

The assurance infrastructure is sound and ready to merge.

@davidfsol5 davidfsol5 marked this pull request as draft January 6, 2026 18:04
…ibility

Windows defaults to cp1252 encoding while macOS/Linux use UTF-8. Files
containing Unicode characters (✓, ✗, χ, emojis, box-drawing) fail to read
on Windows without explicit encoding specification.

Fixed 17 files:
- scripts/audit_assurance_chart.py
- scripts/compose_charts.py
- scripts/compose_charts_multi.py
- scripts/export_chart_direct.py
- scripts/generate_assurance_audit_elements.py
- scripts/generate_paper_figures.py
- scripts/hodge_analysis.py
- scripts/test_audit_assurance_chart.py
- scripts/test_generator_validation.py
- scripts/topology.py
- scripts/verify_chart.py
- scripts/verify_citations.py
- scripts/verify_dependency_hierarchy.py
- scripts/visualize_assured_signed.py
- scripts/visualize_chart.py
- scripts/visualize_syllabus.py
- tests/test_template_required_fields.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✓ Assurance Audit Validation Passed

All assurance validation checks passed successfully!

Checks completed:

  • ✓ Audit tool regression tests (12 tests)
  • ✓ All chart/assurance_audit type charts validated

What was verified:

  • Assurance coverage: All audit targets have assurance faces
  • Root anchoring: All assurance traces to boundary complex
  • Chart structure: Valid frontmatter and elements

The assurance infrastructure is sound and ready to merge.

When user A pushes a branch containing user B's validation edges,
the check was incorrectly using the commit author (A) for all files.
Now uses git log --follow to determine the actual author of each
validation edge file, ensuring proper accountability attribution.

Changes:
- Add get_file_author_from_blame() to find actual file author
- Update get_modified_validation_edges() to return (path, author) tuples
- Update check_commit_main() to use per-file author for accountability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✓ Assurance Audit Validation Passed

All assurance validation checks passed successfully!

Checks completed:

  • ✓ Audit tool regression tests (12 tests)
  • ✓ All chart/assurance_audit type charts validated

What was verified:

  • Assurance coverage: All audit targets have assurance faces
  • Root anchoring: All assurance traces to boundary complex
  • Chart structure: Valid frontmatter and elements

The assurance infrastructure is sound and ready to merge.

Tests the fix for the cross-user push issue where user A pushing
a branch containing user B's validation edges would incorrectly
fail because the check used commit author instead of file author.

New test class TestPerFileAuthorTracking with 8 tests:

POSITIVE TESTS (should pass):
- test_get_file_author_from_blame_returns_author: Verifies the new
  function returns actual file author for files with git history
- test_modified_validation_edges_returns_tuples: Verifies the new
  return type (path, author) tuples
- test_cross_user_push_scenario_correct_attribution: Core scenario -
  mzargham's edges checked against mzargham when davidfsol5 pushes
- test_effective_author_fallback_to_commit_author: Graceful fallback
  when file author can't be determined
- test_multiple_users_different_files: Multiple edges from different
  authors each validated against correct author

NEGATIVE TESTS (should fail):
- test_get_file_author_from_blame_nonexistent_file: Returns empty
  string for non-existent files instead of raising error
- test_cross_user_push_scenario_wrong_attribution_fails: Demonstrates
  the old broken behavior - pusher != accountable party
- test_multiple_users_wrong_attribution_fails: Swapped authors cause
  failures, proving per-file tracking is essential

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✓ Assurance Audit Validation Passed

All assurance validation checks passed successfully!

Checks completed:

  • ✓ Audit tool regression tests (12 tests)
  • ✓ All chart/assurance_audit type charts validated

What was verified:

  • Assurance coverage: All audit targets have assurance faces
  • Root anchoring: All assurance traces to boundary complex
  • Chart structure: Valid frontmatter and elements

The assurance infrastructure is sound and ready to merge.

@github-actions
Copy link

github-actions bot commented Jan 6, 2026

✓ Assurance Audit Validation Passed

All assurance validation checks passed successfully!

Checks completed:

  • ✓ Audit tool regression tests (12 tests)
  • ✓ All chart/assurance_audit type charts validated

What was verified:

  • Assurance coverage: All audit targets have assurance faces
  • Root anchoring: All assurance traces to boundary complex
  • Chart structure: Valid frontmatter and elements

The assurance infrastructure is sound and ready to merge.

@davidfsol5 davidfsol5 marked this pull request as ready for review January 6, 2026 22:35
Copy link
Contributor

@mzargham mzargham left a comment

Choose a reason for hiding this comment

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

This pull request contains work we did together:

  • David got rid of the colons in the filenames
  • then we still had issues so i had to run downt utf encoding issue which i fixed
  • then we were still failing CI so we ran down that issue and fixed with git blame
  • we added some tests to help stabilize our fix.

@mzargham mzargham merged commit d44d757 into main Jan 6, 2026
3 checks passed
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