Preprint / Versión 1

irpf-bridge: Controlled Writeback into Official IRPF Desktop Save-State Artifacts

article.authors6a050d4499564

  • David Barros Hulak Independent Researcher https://orcid.org/0009-0002-8056-1774
    • Conceptualization
    • Methodology
    • Software
    • Validation
    • Investigation
    • Writing – Original Draft Preparation
    • Writing – Review & Editing
  • Arthur Freitas Ramos Microsoft Corporation, Redmond, USA https://orcid.org/0009-0003-3568-0325
    • Software
    • Validation
    • Writing – Review & Editing

DOI:

https://doi.org/10.1590/SciELOPreprints.15845

Keywords:

IRPF, official artifacts, writeback, digital government, information systems, human review

Resumen

The Brazilian individual income-tax return (IRPF) is prepared in a desktop application distributed by the federal tax authority, the Programa Gerador da Declaração (PGD), which persists declaration state in structured local artifacts. Public automation efforts usually bypass these artifacts through GUI scripting, parallel declaration representations, or read-only inspection. This paper investigates a different objective: whether the official save-state family can be treated as the primary read-write object while keeping humans in control of every proposed change. We present irpf-bridge, a local Python research prototype that ingests baseline XML/BKP pairs, maps supporting-document evidence into candidate deltas, validates them, and writes back narrow 2026 declaration slices under explicit scope boundaries. Results from the public repository combine deterministic rerun-convergence checks, exercised preservation evidence, and bounded manual reopening and acceptance observations in the official PGD. The contribution is not broad tax automation; it is evidence that, for the tested scope, the official artifact boundary can be crossed programmatically in a safe, reviewable, and verifiable manner without making GUI automation the primary integration surface.

Downloads

Los datos de descarga aún no están disponibles.

Postado

04/05/2026

Cómo citar

irpf-bridge: Controlled Writeback into Official IRPF Desktop Save-State Artifacts. (2026). In SciELO Preprints. https://doi.org/10.1590/SciELOPreprints.15845

Serie

Ingeniería

Plaudit

Declaración de datos