Commit Graph
15 Commits
Author SHA1 Message Date
Claude 0bcdf417d1 Integrate the French HR compliance matrix
Adds matrice-conformite-rh-france-2026.md to the repo and rewrites
section 12 around it. Also fixes the link in Audit Combo/INDEX.md,
which pointed one level above the repo root.

The matrix changes the design in four places:

- Time has three states, not two. Planned, actual and paid must be
  distinguishable, and payment may never be made conditional on a
  manager's validation, nor may an authorisation workflow delete
  hours actually worked.
- The rule engine must be effective-dated, not merely versioned: a
  prior payroll has to replay identically after a rule change.
- Retention is per object with a documented start point and
  justification, explicitly not "5 years everywhere". Adds
  RetentionPolicy and the duration table.
- Control features need a server-side gate that stays closed until
  the employee notice and the CSE opinion are recorded. FeatureFlag
  carries those fields.

Adds paid-leave accrual, the 15-month carry-over, and the
obligation to inform an employee of their rights within a month of
returning from sick leave.

Scopes out payslips, DSN and geolocation, and flags on-call duty and
forfait jours as open questions. Notes that the matrix covers adult
employees only, so the MINOR_* rules remain unsourced and are now a
stop signal.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 17:16:06 +00:00
LogiFlow df0a7a782e Merge pull request #4 — retirer la note obsolète sur le doublon
Retirer la note obsolète sur le doublon de l'audit des menus
2026-08-07 19:09:41 +02:00
Claude 7f2ac627f8 Drop the stale note about the duplicated dropdown audit
The root dropdowns/ tree was deduplicated in 52ac285, so the header
note telling the reader to remove it no longer describes the repo.
Only Audit Combo/dropdowns/ remains, which is what the plan already
references throughout.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 17:09:26 +00:00
LogiFlow 750799ef70 Merge pull request #3 — paramètres de la convention IDCC 1517
Renseigner les paramètres de la convention IDCC 1517
2026-08-07 19:08:47 +02:00
Claude 5877efb0f2 Populate the IDCC 1517 rule parameters
Replaces the blanket stop signal in section 6.3 with the actual
parameter set, each value tagged with its origin: ordre public,
collective agreement, or company-level agreement.

Covers daily/weekly maxima (10h, 48h, 44h averaged over 12 weeks),
rest periods, the 10-consecutive-day limit, part-time minima
(24h, with the 21h and 6h derogations), complementary-hour rates
(+10%/+25%), overtime brackets (+25% to the 43rd hour, +50%
beyond), the 180-hour contingent and its rest counterpart,
modulation caps, night-work window, and the public-holiday rules
the "JF 50%" label refers to.

Key correction: the "Dimanche 100%" in the account configuration is
NOT a convention rule. IDCC 1517 sets no Sunday rate and defers to
company agreement, so SUNDAY_WORK reads an account-level override
rather than the agreement parameters, and Account gains
agreementOverrides for it.

The values come from secondary public sources, not the consolidated
Legifrance text, so a narrower validation requirement remains:
cross-check on Legifrance, obtain the company agreement, confirm
with the Silae payroll manager.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 17:05:51 +00:00
MichaelandClaude Opus 5 52ac285b94 Deduplicate the dropdown audit into a single tree
The root dropdowns/ copy held 21 screenshots that were missing from
Audit Combo/dropdowns/, so the two trees were not the exact duplicate
PLAN.md assumed. Move those screenshots under Audit Combo/dropdowns/
and drop the root copy, leaving one source of truth as the plan
prescribes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 17:06:00 +02:00
LogiFlow 82f5cc96f3 Merge pull request #2 — corriger la spécification depuis l'audit des menus
Corriger la spécification à partir de l'audit des menus déroulants
2026-08-07 17:00:33 +02:00
Claude 334da9bc59 Fix inconsistencies left by the dropdown-audit corrections
The targeted edits in the previous commit left the document
self-contradictory in places. This reconciles it.

- The stale-export rule contradicted the append-only invariant on
  PayrollExport. Staleness is now derived from
  PayPeriod.unlockedAt rather than written as a flag, and the
  period gains unlockedAt/unlockedBy to support it.
- Invariant count was still seven after an eighth was added.
- Lot references were a mix of the old Lot 0-4 numbering and the
  current WP-xx packages; all now use WP-xx.
- Articles/conversations were said to be deferred to "lot 5" while
  HR analytics were wrongly listed as deferred too.
- Section 1 now carries all five audit findings, including the
  non-terminal pay-period lock and the closed enumerations.

Adds the matching tests: the unlock/re-export cycle, cross-view
consistency, mutation refusal while locked, and CSP enforcement.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 14:56:51 +00:00
Claude f74acaf000 Correct the spec against the dropdown audit
The dropdown audit enumerates values the earlier spec had guessed.
Replaces the guesses with the observed lists and adds what they imply.

- Roles: five, not the six invented ones (owner, admin, director,
  manager, employee).
- Contract types: nine observed values, including the two dirigeant
  types that were missing; professionnalisation was never observed and
  is dropped.
- Planning has five views, not three: month and presence/absence were
  missing. All five read one model.
- Pay periods can be unlocked, and deleted while locked. Locking is
  therefore not terminal: re-locking recomputes snapshots, so exports
  from a since-unlocked period must be flagged stale or a file sent to
  Silae silently stops matching the data.
- Absence types carry a social-security flag; incomplete-profile
  filtering needs separate RUP and DPAE required-field sets.
- Document templates resolve variables per location.

Adds a telemetry invariant: the audit intercepted 2102 third-party
tracking requests and no business calls. An HR app must not leak
employee-context navigation to ad networks, so trackers are banned and
a restrictive CSP ships in WP-00 to make that testable.

Notes that the root dropdowns/ directory duplicates the copy under
Audit Combo/ byte for byte.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 14:51:07 +00:00
LogiFlow 6d8897f987 Add files via upload 2026-08-07 16:45:54 +02:00
LogiFlow 2bcc195d3d Add files via upload 2026-08-07 16:42:54 +02:00
LogiFlow 1efe8d80c9 Merge pull request #1 from R0m1k3/claude/combohr-app-recreation-plan-yu7wre
Claude/combohr app recreation plan yu7wre
2026-08-07 16:39:22 +02:00
Claude d45d623259 Turn the plan into an executable build specification
Rewrites PLAN.md as a normative spec an orchestrator can build from
end to end, rather than a proposal.

Scope locked per owner decision: multi-location, Silae as the
downstream payroll system, no time clock. Timeclock entities are
dropped; actual hours are now manager-entered on the shift, with
planned hours authoritative when absent.

Adds the full Prisma schema, the permission catalogue, 17 compliance
rule codes, the leave ledger contract, the Silae CSV format
(UTF-8, semicolon, HS-/AB-/EV- prefixes), the route inventory, and
12 work packages with testable acceptance criteria.

Collective-agreement values and Silae rubric codes are declared stop
signals: the spec forbids inventing them and requires human input
before production.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 13:38:10 +00:00
Claude eed8a982c0 Add PlanFlow reimplementation plan grounded in the Combo audit
Rewrites the plan against the audit bundle rather than public docs.
Three findings changed the design:

- The audited account runs IDCC 1517 (commerces de detail non
  alimentaires), not HCR. The rules engine seeds from that agreement.
- Authorization is capability-based with separate scopes, and roles are
  customer-configurable, so Role/Permission/Scope are split from day one.
- Leave counters are a ledger of operations, not a stored balance.

Scope, stack and deployment are stated as assumptions pending
confirmation. Payroll stays export-only; DSN, eIDAS signature and DPAE
transmission are delegated.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cr9dkEHwbDgkWPnyGj1Rjv
2026-08-07 13:28:54 +00:00
MichaelandClaude Opus 5 98c0c06107 Add Combo functional audit bundle
Screenshots, contact sheets, inventory and page-by-page audit notes
for the Combo HR platform, used as the reference for the PlanFlow
reimplementation. Personal data in the captures is blurred.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 15:23:03 +02:00