petrvs-siape-integracao

Integrates tenant-aware SIAPE data into the Petrvs-PGD domain.

19|14|Updated Aug 6, 2024
One-click install
npx skills add https://github.com/gestaogovbr/pgd-petrvs-publico --skill petrvs-siape-integracao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: petrvs-siape-integracao
Source: https://github.com/gestaogovbr/pgd-petrvs-publico/tree/main/.agents/skills/petrvs-siape-integracao
Command: npx skills add https://github.com/gestaogovbr/pgd-petrvs-publico --skill petrvs-siape-integracao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill reduces the risk and effort of integrating SIAPE data into the Petrvs-PGD workflow by guiding tenant-aware processing for units, servers, managers, leadership, lotação, matricula, logs, and routing decisions.

Core Features & Use Cases

  • Tenant-aware SIAPE integration flows: Supports processing scenarios that depend on tenant context for correct business behavior and persistence.
  • Reliable logging and auditability with SiapeLog: Ensures visibility of processing outcomes while protecting personal data (e.g., CPF) from sensitive exposure in logs, tests, and responses.
  • Safe unit inactivation logic: Implements guarded rules for SIAPE unit inactivation using listaUorgs, dadosUorg, configurable prazo, SOAP fault handling, and transactional removal of related assignments/lotações.

Quick Start

Use this skill to design or update a Petrvs-PGD SIAPE integration change that touches units, lotação, matricula, logs, or tenant-aware routing while preserving legacy compatibility and strong validation.

Frequently Asked Questions about petrvs-siape-integracao

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure tenant-aware SIAPE data integration doesn't break legacy public service compatibility?

Safe SIAPE unit inactivation requires guarded logic using `listaUorgs` and `dadosUorg` data, configurable prazo settings, SOAP fault handling, and transactional removal of related assignments and lotações to prevent data inconsistency.

How do I apply data minimization for CPF in SIAPE processing logs and audit trails?

Testing SIAPE integration paths requires adding unit tests and IntegrationTenant tests using Pest and PHPStan. This validates tenant-aware processing for matricula, lotação, and SOAP fault protections before deployment.

What is the best way to handle SOAP faults and empty outputs during SIAPE unit inactivation?

Yes, SIAPE data integration supports both local files and API sources. The integration processes units, servers, leadership, and matricula updates while maintaining strict audit visibility and CPF data minimization across tenant boundaries.

Do I need PHPStan and Pest to validate tenant-aware SIAPE integration paths?

Yes, validating tenant-aware SIAPE integration paths requires adding unit tests and IntegrationTenant tests using Pest and PHPStan. This ensures correct processing logic, SOAP fault handling, and data minimization rules are enforced.