Skip to content

Implement period close reconciliation markers #359

Description

@edehvictor

Summary

Add period close markers that record whether expected payroll batches, reservations, holds, and audit references are reconciled.

Why This Matters

Teams need a reliable way to know a payroll period is operationally complete before archiving or reporting.

Suggested Files

  • contracts/src/reconciliation.rs
  • contracts/src/payroll.rs
  • contracts/src/audit.rs
  • contracts/tests/period_close.rs

Tasks

  • Create period close record structure.
  • Validate unresolved holds, reservations, and disputes before close.
  • Emit period closed events with safe counts.
  • Add tests for complete and incomplete periods.

Acceptance Criteria

  • Complete periods can be closed once.
  • Incomplete periods report the blocking category.
  • Period close events avoid private payroll amounts.
  • Tests cover holds, reservations, disputes, and success.

Coordination

Join the Telegram channel for proper coordination: https://t.me/zkpayroll

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions