Repository navigation
Import FileMaker Personnel as facilitator affiliations; retire fm:import_affiliations (ADR-0011) - #3004
Open
maebeale wants to merge 15 commits into
Open
Import FileMaker Personnel as facilitator affiliations; retire fm:import_affiliations (ADR-0011)#3004maebeale wants to merge 15 commits into
maebeale wants to merge 15 commits into
Conversation
… with open questions ADR-0011 replaces ADR-0008's all-in-one affiliations pass with one table per round, shaped like fm:import_orgs. Round one brings in only Personnel rows every rule is sure of, so a wrong affiliation can't quietly change an org's program status; the rest are skipped with a reason for staff to review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-to-organizations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… not audience copies Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the affiliation Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It did every affiliation job in one run and, run after fm:import_personnel, would place by guessing the rows round one sends to staff. What it did that nothing replaces yet is listed in ADR-0011's later rounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…several orgs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
maebeale
marked this pull request as ready for review
November 16, 2026 14:12
…irst clue, Combined included Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eMaker recorded it Bulk runs shouldn't write thousands of activity events, but an affiliation's history should still show when FileMaker recorded it. The rest of the run's events are dropped and the task logs one summary event pointing at the saved report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…iliations Program status reads only dates, so an ended row with no end date reads as running. Pass two takes the first evidence that fits, else Dec 31 of the start year, and says which in a comment. Also: a Personnel row naming an agency card is skipped as such, and job rows whose notes say the person left get no start date (recorded in ADR-0011). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…filiations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The inferred end dates were a separate task only to keep them apart for review. With the rule settled, one task is simpler and leaves no window where ended rows read as running. Also names a person code with no Rolodex card in the archive as its own skip reason. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ng the lifecycle buffer With no Current.source the run's saves queue nothing, so there's nothing to discard; the import writes one create event per new affiliation itself. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ning's FA as the same stretch
The notes carry dated sign-offs ('1/5/2012: No longer at agency') for most rows that would
otherwise get the Dec 31 stand-in. And most 'two current stretches' were one 2026 training
entered in both systems a few days apart, so an Active row now links to a current FA starting
within 90 days and keeps the training's dates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 suggested review level: 5 Inspect 🔬 new import that writes facilitator affiliations, which drive org program status
Brings FileMaker's Personnel records in as facilitator affiliations, one table at a time, and retires the old all-in-one affiliations import. Only rows we're sure about are imported; the rest go to staff instead of being guessed.
What is the goal of this PR and why is this important?
fm:import_orgs(Fm org import min #2957).How did you approach the change?
fm:import_personnelplaces each row at the one org carrying its project code (never the umbrella).Features seed (optional)
Retires
fm:import_affiliationsAnything else to add?
🤖 Generated with Claude Code