pdftract/notes/pdftract-4618.md
jedarden 6000c654ce fix: resolve compilation errors across codebase
- Fixed missing fields in BlockJson, SpanJson, ExtractionOptions initializations
- Added feature gates to ocr_integration tests for conditional compilation
- Fixed McpServerState::new calls to include audit writer argument
- Fixed CCITTFaxDecoder::decode calls to use instance method
- Fixed type casts for ObjRef::new calls
- Fixed serde_json::Value method calls (is_some -> !is_null)
- Fixed ProfileType test feature gates
- Worked around lifetime issues in schema roundtrip tests

These changes fix numerous compilation errors that were blocking the
codebase from building. The main library and tests now compile successfully.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 08:38:04 -04:00

1.8 KiB

pdftract-4618: Adopt Contributor Covenant v2.1

Summary

Implemented CODE_OF_CONDUCT.md adoption per bead requirements.

Changes Made

1. CODE_OF_CONDUCT.md

  • Updated to official Contributor Covenant v2.1 text (fetched from contributor-covenant.org)
  • Substituted enforcement contact: community@jedarden.com
  • Removed "caste, color," from pledge (not in official v2.1)
  • Restored blank line after enforcement email
  • bug_report.yml: Added link to CODE_OF_CONDUCT.md in CoC checkbox description
  • feature_request.yml: Added link to CODE_OF_CONDUCT.md in CoC checkbox description
  • config.yml: Added new contact link for Code of Conduct

3. README.md

  • Added "By participating in this project, you agree to abide by our Code of Conduct." to Contributing section

Acceptance Criteria

PASS

  • CODE_OF_CONDUCT.md exists in repository root
  • File adopts Contributor Covenant v2.1 verbatim
  • Enforcement contact substituted with community@jedarden.com
  • Linked from README.md Contributing section
  • Linked from .github/ISSUE_TEMPLATE/bug_report.yml
  • Linked from .github/ISSUE_TEMPLATE/feature_request.yml
  • Linked from .github/ISSUE_TEMPLATE/config.yml
  • CONTRIBUTING.md already linked at line 35 (no change needed)

Verification

  • All links point to valid paths (relative links in docs, absolute URLs in templates)
  • Covenant text matches official v2.1 from contributor-covenant.org
  • Four-tier enforcement ladder present (Correction, Warning, Temporary Ban, Permanent Ban)

Commit

  • Hash: 5699998
  • Message: docs(pdftract-4618): adopt Contributor Covenant v2.1 and link from templates

Next Steps

  • GitHub Community Standards health check should now pass (CODE_OF_CONDUCT.md + links verified)