Skip to content

Sync ProcessMapping registry: add DocumentType (closes #10)#11

Merged
ProfessorPolymorphic merged 1 commit into
mainfrom
feat/processmapping-documenttype-registry-sync
May 1, 2026
Merged

Sync ProcessMapping registry: add DocumentType (closes #10)#11
ProfessorPolymorphic merged 1 commit into
mainfrom
feat/processmapping-documenttype-registry-sync

Conversation

@ProfessorPolymorphic
Copy link
Copy Markdown
Contributor

Summary

Resolves the registry drift documented in #10 — ProcessMapping's live data/allowed_values.json carries a 10th vocabulary group (DocumentType, 8 values) that the vendored registry was missing, so the cross-repo drift validator correctly fails on every downstream CI run (ui-insight/AISPEG#64).

DocumentType covers award documents, funding announcements, budget forms, proposal narratives, subaward agreements, compliance records, and sponsor correspondence — research-administration document classifications materialized in ProcessMapping's process-map / workflow extraction pipeline.

Changes

File Change
vocabularies/processmapping/allowed_values.json Insert DocumentType group with all 8 values (alphabetical between ActorType and FileType); bump version 1.0.01.1.0; update last_updated
catalog/processmapping.json Register DocumentType in controlled_vocabularies map
scripts/check_governance_drift.py Update hardcoded totals: 56 → 57 groups, 315 → 323 values, and the ProcessMapping expected counts 9/70 → 10/78
docs/index.md Aggregate summary 56 / 315 → 57 / 323
docs/vocabulary/index.md ProcessMapping row 9 (JSON-managed) / 70 → 10 (JSON-managed) / 78
docs/domains/process-mapping.md Stat block 9 (70 codes) → 10 (78 codes)

Verification

$ python3 scripts/check_governance_drift.py
... 36 PASS lines, 0 FAIL, exit 0

Specifically the previously failing line:

PASS ProcessMapping remote controlled-value counts match local governance registry

Source for the 8 new values

Pulled directly from ui-insight/ProcessMapping/data/allowed_values.json, translated from the live Allowed_Value_* field naming to the registry's Code/Label/Description convention. Group description added as part of this PR (the live file does not carry per-group descriptions).

Downstream

After this merges, ui-insight/AISPEG#64 bumps its vendor/data-governance submodule pointer and the held-pending CI drift workflow flips green.

Closes #10.

🤖 Generated with Claude Code

ProcessMapping's live data/allowed_values.json shipped a 10th vocabulary
group (DocumentType, 8 values) covering award documents, funding
opportunities, budget forms, proposal narratives, subaward agreements,
and sponsor correspondence. The vendored registry was still pinned at
the prior 9/70 state.

The drift validator at scripts/check_governance_drift.py was correctly
flagging this on every CI run downstream (ui-insight/AISPEG#64). After
this change the validator passes 36/36 locally with exit 0.

Changes:
- vocabularies/processmapping/allowed_values.json: insert DocumentType
  group (alphabetical between ActorType and FileType); bump version
  to 1.1.0; update last_updated
- catalog/processmapping.json: register the new group in
  controlled_vocabularies
- scripts/check_governance_drift.py: bump hardcoded totals
  (56 -> 57 groups, 315 -> 323 values) and update the ProcessMapping
  expected-values literals (9/70 -> 10/78)
- docs/index.md: aggregate vocabulary count summary (56/315 -> 57/323)
- docs/vocabulary/index.md: ProcessMapping row (9/70 -> 10/78)
- docs/domains/process-mapping.md: stat block (9 (70 codes) ->
  10 (78 codes))

Closes #10.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ProfessorPolymorphic ProfessorPolymorphic merged commit 5e811f7 into main May 1, 2026
1 check passed
@ProfessorPolymorphic ProfessorPolymorphic deleted the feat/processmapping-documenttype-registry-sync branch May 1, 2026 23:08
ProfessorPolymorphic added a commit to ui-insight/AISPEG that referenced this pull request May 1, 2026
ui-insight/data-governance#11 merged the ProcessMapping registry sync
that adds the DocumentType vocabulary group (8 values). Bumping the
submodule pointer + regenerating lib/governance/vocabularies.ts
(48 → 49 vocabulary groups) so this branch's drift workflow will pass
on the next CI run.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ProcessMapping registry drift: live catalog has 10 groups / 78 values; vendored expects 9 / 70

1 participant