-
Notifications
You must be signed in to change notification settings - Fork 0
feat(hris): bind Employment to employing legal organization #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
seonghobae
wants to merge
50
commits into
develop
Choose a base branch
from
feat/employment-employing-organization
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
42cef9f
test(hris): require employing organization bitemporal truth
seonghobae 4eb2886
test(hris): run employing organization PostgreSQL contract
seonghobae b8ac031
test(hris): harden employer scope regression
seonghobae 17adafc
feat(hris): persist employing legal organization
seonghobae 3c8a030
docs(adr): record employing organization boundary
seonghobae 871ec6c
docs(doctoring): ground employer scope decision
seonghobae d69639a
test(hris): isolate cross-tenant employer regression
seonghobae 59517e3
ci(hris): bind employer docs to focused gate
seonghobae f24d877
ci(foundation): require employer scope provenance
seonghobae 60fe5d7
ci(foundation): require employer scope provenance
seonghobae a44a565
ci(hris): expose exact provenance candidate
seonghobae 401b113
ci(hris): cover foundation migration changes
seonghobae c96a90e
fix(foundation): preserve canonical person-name trigger contract
seonghobae 88b102f
test(hris): prove positive tenant reads at system time
seonghobae ede293c
fix(foundation): seal employing-organization provenance
seonghobae 5873efd
fix(foundation): register employing organization evidence
seonghobae 33169e2
fix(sql): guard employing organization UUIDs
seonghobae 52f7320
fix(sql): enforce employing organization coverage
seonghobae 1f6e282
fix(ci): load UUID guard dependency
seonghobae 852dc9a
test(sql): isolate foreign-employer fixture
seonghobae a9fb199
test(sql): scope RLS correction assertion
seonghobae f7bb1e3
fix(people): materialize employing organization
seonghobae 93b1065
fix(people): enforce organization target scope
seonghobae 4172010
test(hris): require employer organization lookup index
seonghobae ac382dd
test(hris): exercise employer organization lookup index
seonghobae 092b4f3
fix(hris): index employing organization lookups
seonghobae 8c75bbc
test(hris): pin employer organization foundation contract
seonghobae ba43e76
test(hris): reject truncated postgres constraint names
seonghobae 9cc3468
test(hris): make identifier-length regression executable
seonghobae 138f054
fix(hris): keep postgres constraint names canonical
seonghobae a5fdab2
chore(provenance): reseal employer organization contract
seonghobae d399e69
test(hris): fold employer index proof into canonical contract
seonghobae f952257
test(hris): retire duplicate standalone employer index probe
seonghobae acbe4b3
chore(provenance): reseal employer postgres contract
seonghobae f190a1a
test(hris): restore employer lookup index regression
seonghobae e46c4b5
chore(provenance): repair ADR manifest digest
seonghobae b1f4523
test(auth): require target-specific denial guidance
seonghobae fb23014
test(hris): deduplicate employer index regression
seonghobae 5b8da31
test(hris): remove duplicate employer index contract
seonghobae 4d3ed04
fix(auth): explain missing governed target scope
seonghobae 48de156
test(authz): bind employing organization scope evidence
seonghobae ed4a7b2
fix(authz): preserve exact governed target scope
seonghobae 323d905
fix(authz): verify employer target at persistence boundary
seonghobae 459793a
fix(authz): bind confirmed hire to employer scope
seonghobae 5936a12
test: pin employing organization migration contract
seonghobae b27be87
test(hris): reproduce employer write-skew race
seonghobae db0e1a6
fix(hris): serialize employer exact-one mutations
seonghobae 7bf7acc
docs(hris): record employer invariant serialization
seonghobae 0d0a51e
docs(traceability): bind employer race regression
seonghobae 8d12ee7
chore(provenance): reseal employer concurrency repair
seonghobae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
.github/workflows/employment-employing-organization-quality.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| name: Employment Employing Organization Quality | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - develop | ||
| paths: | ||
| - "database/migrations/0001_foundation_schema.sql" | ||
| - "database/migrations/0002_sealed_evidence_digest.sql" | ||
| - "database/migrations/0040_employment_employing_organization.sql" | ||
| - "tests/test_employment_employing_organization_postgres.sh" | ||
| - "scripts/foundation-contract-core.mjs" | ||
| - "tests/validate_repository.py" | ||
| - ".github/workflows/employment-employing-organization-quality.yml" | ||
| - "docs/adr/0141-employment-employing-organization.md" | ||
| - "docs/doctoring/employment-employing-organization.md" | ||
| - "docs/DATA_MODEL.md" | ||
| - "docs/ERD.md" | ||
| - "docs/TRACEABILITY.md" | ||
| - "CHANGELOG.md" | ||
| - "manifest.json" | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: employment-employing-organization-quality-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| postgres: | ||
| name: Employer scope bitemporal and tenant boundaries | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| services: | ||
| postgres: | ||
| image: postgres:16.14@sha256:33f923b05f64ca54ac4401c01126a6b92afe839a0aa0a52bc5aeb5cc958e5f20 | ||
| env: | ||
| POSTGRES_USER: orgmetra | ||
| POSTGRES_PASSWORD: orgmetra | ||
| POSTGRES_DB: orgmetra | ||
| ports: | ||
| - 5432:5432 | ||
| options: >- | ||
| --health-cmd "pg_isready -U orgmetra -d orgmetra" | ||
| --health-interval 5s | ||
| --health-timeout 5s | ||
| --health-retries 10 | ||
| env: | ||
| DATABASE_URL: postgresql://orgmetra:orgmetra@localhost:5432/orgmetra | ||
| steps: | ||
| - name: Checkout exact candidate | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | ||
| persist-credentials: false | ||
| - name: Prove exact candidate checkout | ||
| env: | ||
| ORGMETRA_EXPECTED_HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }} | ||
| run: test "$(git rev-parse HEAD)" = "$ORGMETRA_EXPECTED_HEAD_SHA" | ||
| - name: Print exact foundation manifest candidate | ||
| run: python tests/validate_repository.py --print-manifest | ||
| - name: Prove Employment employing-organization contract | ||
| run: bash tests/test_employment_employing_organization_postgres.sh | ||
| - name: Require clean checkout | ||
| run: | | ||
| git diff --exit-code | ||
| test -z "$(git status --porcelain)" | ||
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.