Skip to content

feat: solution boundaries (odpi/egeria#9465) in pyegeria, Dr.Egeria boundary commands, Solution Role attribute fix - #612

Merged
dwolfson merged 17 commits into
odpi:mainfrom
dwolfson:claude/pyegeria-boundaries-batch
Nov 26, 2026
Merged

dwolfson merged 17 commits into
odpi:mainfrom
dwolfson:claude/pyegeria-boundaries-batch

Conversation

@dwolfson

@dwolfson dwolfson commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

pyegeria: solution boundaries (odpi/egeria#9465), Dr.Egeria boundary commands, Solution Role attributes

Support for the solution boundaries added in odpi/egeria#9465 (SolutionBoundary, DesignModelBoundary) in pyegeria
and Dr.Egeria, and a Dr.Egeria fix for Create Solution Role. The first platform build with #9465 is
odpi/egeria-platform@sha256:5a8d6a128e011db5d9eda698f8d46d3c389f59100d69eab31428a0390000309f.

Commits

Branch claude/pyegeria-boundaries-batch, HEAD 5601dc6579fadc75495d731cd4fbdc865c1ad8be, on 4cbb90d (6.3.3). Every
commit is signed and carries Signed-off-by: Dan Wolfson. No history was rewritten: every reviewed sha below is in the branch.

# sha What
B1 a3649ff SolutionBoundaryProperties, DesignModelBoundaryProperties in pyegeria.models
B2 43c7459 The 7 solution-boundary requests in SolutionArchitect (sync and _async_), the boundary output formatter
B3 a001f22 Report specs Solution-Boundary and Solution-Boundary-Mermaid, and the Member Hierarchy column
B3 fix 41b0596 A boundary's side links are shown only when they are not its parent (the shape seen in window P)
B3a-v2 0339197 Properties catalog regenerated at Egeria 2e22b1e85b; validate-map entry for find_solution_boundaries
B4 53b367b Dr.Egeria commands Create Solution Boundary and Create Design Model Boundary (specs, report specs, templates)
B6-v2 2109492 Create Solution Role: Title and Role Domain Identifier hidden, "accepted but not stored" (regenerated on top of B4)
B5 5b57ba4 Dr.Egeria routing and processor branches for the two boundary commands (on 0339197)
B5 guard f36a80f A boundary Update on an element of the other boundary type is refused
merge f6bff48 git merge --no-ff --signoff of B5 (f36a80f) into B6-v2 (2109492). No common file, no conflicts
test 3261cc2 Boundary routing with the real B4 specs (5 tests)
notes 7137fd4 docs/release-notes/next.md entries for B3a-v2, B4, B5 and B6-v2
probe fix 1f24490 Round-trip probe: send Status: DRAFT as Content Status for the commands whose Status attribute is element status (renamed status in 6.3.3, 761af03)
baseline 957a624 Round-trip probe baseline baseline/5a8d6a12.json for the #9465 platform digest, with a note
known gaps 5e817ec Round-trip probe: the Project Scope known gap removed from known-gaps.json (the 8 rows now MATCH)
status hint 1fdbd5f Dr.Egeria: when Status: DRAFT is refused as element status, the error says to use Content Status; release note under PY-68
merge 5601dc6 git merge --no-ff of the status hint (1fdbd5f) onto the known-gaps change (5e817ec). Different files, no conflicts

B3a-v2 comes before B5, which is built on it. B5 changes no generated file (git diff --stat 03391971 f36a80f3:
md_processing/dr_egeria.py, md_processing/v2/solution_architect.py, tests/micro-tests/test_b5_boundary_routing.py),
so B6-v2's regeneration of the generated files from the combined B4+B6 compact JSON still holds after the merge.

Superseded, not in this PR:

  • B6-v2 (2109492) supersedes db7d245 (claude/dre-solution-role-not-applied). It makes the same compact-JSON change, and
    its generated files are regenerated from the combined B4+B6 JSON. db7d245 must not be merged.
  • B3a-v2 (0339197) replaces 712207f (claude/py-boundary-catalog), which was built on B3 before its fix. It is the same
    change, re-applied on 41b0596 as a new commit.

What changes for users

  • pyegeria: create, update, delete, find and get solution boundaries, with report specs that show a member hierarchy.
  • Dr.Egeria boundary commands: Create Solution Boundary and Create Design Model Boundary in the Solution Architect
    family, each with an Update variant.
    • Members are added with the existing Collection Membership command.
    • DesignModelBoundary has no request of its own in the solution-architect view service, so it is created, read and
      updated through the generic collection requests.
  • Dr.Egeria: a boundary command never changes the other kind of boundary. The command is refused, naming both types and
    the GUID, and nothing is written.
  • Dr.Egeria: Create Solution Role no longer offers Title and Role Domain Identifier, because Egeria's
    SolutionActorRoleProperties has neither. They are still accepted when given, and reported as not stored.

What is and is not proven

Live evidence, all from before Dr.Egeria had the commands:

  • Window P (2026-11-25, scratch platform on 5a8d6a12). The pyegeria boundary methods were run once: create, get by name,
    find, get by guid, update and nest, plus a Design Model Boundary create through the collection request and a blueprint
    retrieve. Cleanup was a separate step. The B3 fix and its real-shape fixtures come from this run.
  • On the shared platform, the boundary methods are proven live only for one create, read and delete.
  • No live Dr.Egeria run of either boundary command, on any platform.

B4 (Dr.Egeria commands):

  • There has been no live Dr.Egeria run.
  • The Design Model Boundary find also returns solution boundaries, because SolutionBoundary is a subtype of
    DesignModelBoundary. This is from source (read in the Egeria Java) until a read-only live find is done. The Architect
    decided not to exclude solution boundaries from that find.
  • The 2 new Advanced templates come from one read-only connected generate_md_cmd_templates run, as garygeeke, at
    2026-11-26 01:37Z, which read the valid values. Every other generated file was produced offline. No offline
    "valid values not read" marker lines are committed.

B5 (routing, processor, type guard):

  1. Pinning tests. 2 of B5's original routing tests pass without the routing change, because names containing "Boundary"
    already reached SolutionArchitectProcessor. They pin that routing. So do the 5 real-spec routing tests in 3261cc2.
    The processor tests (create, update and read for each type) fail without B5.
  2. First live use must check that get_collection_by_guid on a DesignModelBoundary guid returns the properties class
    that update_collection expects. Window P exercised only create and delete for that type.
  3. Routing by name. Any future Solution Architect command with "Boundary" in its name goes to the generic
    SolutionArchitectProcessor. B4's two commands are the only such names today, and a test (3261cc2) checks that.
  4. Merge order: B3a-v2 before B5.
  5. The type guard.
    • An Update of a boundary goes ahead only on an element of exactly the command's type. The other boundary type, or an
      unreadable type, is refused before any request is built, and nothing is retyped.
    • The guard is tested with SYNTHETIC elements only.
    • B5's Design Model Boundary read-back test uses a SYNTHETIC shape; the Solution Boundary one uses the real window-P shape.
  6. First live use should include one read-only find, to confirm the subtype claim, and one deliberate wrong-type update on a
    scratch platform, to see the refusal. Both need a window and Dan's word.

B6-v2 (Create Solution Role):

  • Its generated files are valid for the combined B4+B6 state only.
  • The Advanced Create_Solution_Role.md is db7d245's committed file, generated at an earlier platform state. An offline
    regeneration differs from it only on the "valid values not read" marker line.
  • It supersedes db7d245.

Release notes

docs/release-notes/next.md: B1, B2, B3 and the B3 fix added their own entries. 7137fd4 adds four entries under New:

  • the catalog at Egeria 2e22b1e85b;
  • the two Dr.Egeria boundary commands;
  • the boundary type guard;
  • a Fixes entry for Create Solution Role.

It also changes B2's line "the Dr.Egeria commands come in a later change" to point to the new commands.

1fdbd5f adds a sub-bullet under PY-68: use Content Status for DRAFT.

Tests

  • Full micro-tests on the head, 5601dc6, under Python 3.13.18: 6157 tests, 0 failures, 0 errors, 14 skipped, with a
    clean tree. That is 6142 + 6 (probe fix) + 9 (status hint); the baseline and known-gaps commits add no tests.

  • Full micro-tests on 7137fd4 under Python 3.13, per RELEASING.md: 6142 tests, 0 failures, 0 errors, 14 skipped, exit 0.
    The tree was clean.

    • Command: uv run -p 3.13 pytest -p no:cacheprovider -q -rf --junitxml=batch-7137fd46-py313.xml tests/micro-tests/.
    • Python 3.13.18; pyegeria and md_processing were imported from the branch checkout.
  • Per branch, as the builders ran them:

    Branch Tests Failures Skipped Python
    B3a-v2 6099 0 14 3.14.10
    B5 with the guard (f36a80f) 6109 0 14 3.14.10

    The batch total is 6109 plus B4's 18, B6-v2's 10 and the 5 real-spec routing tests.

  • New test files:

    File From
    test_boundary_models.py B1
    test_solution_boundary_methods.py B2
    test_solution_boundary_formatters.py B3
    test_boundary_commands_spec.py (18) B4
    test_b5_boundary_routing.py (10) B5
    test_b6_solution_role_hidden_attributes.py (10) B6
    test_boundary_routing_real_specs.py (5) 3261cc2

Round-trip probe gate

Status: RUN, baseline committed (957a624). Cut on tree 1f24490 with gate.py --digest sha256:5a8d6a12…309f --rebaseline
on a scratch platform at 127.0.0.1:19443 (2026-11-26, 11:59:56–12:01:30Z), with postgres and 5 content packs.

  • First run (on 7137fd4): 4 regressions, all Status on the Schema Maker commands (Create Schema Type, Schema Attribute,
    Display Data Container, Display Data Field): CREATE-FAILED. Cause: since 6.3.3 (761af03) these commands' Status
    attribute is element status, and the probe sent DRAFT, which element status does not accept. The probe now sends DRAFT
    as Content Status for those commands (1f24490). This changes what the Status row means, and the gate no longer
    exercises Status: DRAFT on the 12 element_status commands; the baseline note says so.
  • Re-run (on 1f24490): 6537 rows, the same keys as the first run. Only the 4 Status rows changed verdict,
    CREATE-FAILED -> MATCH.
  • Against 002a3ef1: no regressions. 7 new failures, the same in both runs (4 Extended Properties REJECTED; Create Enum Def,
    Create Instance and Create Type Def CREATE-FAILED); 1 command gone (Subscription Type); 12 improvements (Project Scope on the 8
    project kinds, Default Value Override on 3 Schema Maker commands, Dashboard Sheet Additional Properties) and 1 change
    (Report Limit Result by Status NOT FOUND -> DROPPED); 198 new rows. Probes that differed were re-run on release/next
    832460b (6.2.40) for attribution; the Default Value Override rows are attributed to pyegeria.
  • The gate against the committed baseline: PASS.
  • laz: laz_started_at was the same before and after the re-run and the A2 attribution run; the scratch platform was removed afterwards.
  • DEFAULT_DIGEST stays 002a3ef1, the laz pin.

The Project Scope known gap is removed (5e817ec): the 8 rows now MATCH on 5a8d6a12, from a pyegeria change since
832460b (A3: pyegeria moved).

Status: DRAFT on the element-status commands: before 6.3.3, Status: DRAFT on these 12 commands was stored as content
status; since 6.3.3 (761af03, PY-68) their Status is the element status and DRAFT is refused. The 4 that have a Content
Status now say to use it (1fdbd5f), and the release note says so. This replaces the issue that was drafted and not opened.

No release.

🤖 Generated with Claude Code

https://claude.ai/code/session_015pdMuTAWWk1gWM4Krpnb4x

…undary

First of a stack for odpi/egeria#9465 (solution boundaries). Adds `SolutionBoundaryProperties` and `DesignModelBoundaryProperties`
to pyegeria.models, in the existing pattern of `SolutionBlueprintProperties` (hand-written pydantic with a `class` literal).

What #9465 defines, read in odpi/egeria main 2e22b1e85b: both Java property classes extend CollectionProperties and add no property
of their own, so neither do these; SolutionBoundary is a DesignModelBoundary (model 0740 on 0565). The solution-architect view
service has exactly 7 requests, all for /solution-boundaries; there are none for DesignModelBoundary.

The Architect asked for a command for each type. This stack gives DesignModelBoundary a properties class only for now, because it
has no request of its own: a Dr.Egeria "Create Design Model Boundary" depends on the generic collection create accepting that type
name (not yet verified; whether the type is concrete is for the platform probe), so that command waits. SolutionBoundary gets the
methods, formatters and command in the following changes.

Tests: tests/micro-tests/test_boundary_models.py (7: round trip with the class name, each class refuses the other's, the
inheritance, no fields beyond a blueprint's, the class name is required, the exports); the whole micro-tests directory passes
(6050 passed, 14 skipped). No platform was contacted. The release-notes line is in docs/release-notes/next.md (it exists on main at
4cbb90d).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Second of the stack for odpi/egeria#9465, on top of the property classes. Adds to SolutionArchitect, each as a sync and an
`_async_` pair, one method for each of the 7 requests the solution-architect view service has for /solution-boundaries
(read in odpi/egeria main 2e22b1e85b): create, create_from_template, update, delete, find (by-search-string), get_by_guid
(retrieve) and get_by_name. Membership of a boundary uses the Collection Manager's add and remove member calls, as blueprints do,
so there is no membership method here. The methods were written from the blueprint ones by an AST-driven rename and then read:
the copied blueprint-only history (ISSUE-84 notes, a nonexistent updateSolutionBoundaryStatus example) is removed, and a test
fails if any boundary method still mentions a blueprint or a supply chain.

Also here, because find and get need them: `generate_solution_boundary_output` and `_extract_solution_boundary_properties` (the
same common columns and mermaid graph as a blueprint). The boundary's own report spec and the validate-map entry come in the next
change. Where the copy would have repeated a blueprint wart it does not: find labels its output "SolutionBoundary" (the blueprint
find says GovernanceDefinition and uses the supply-chain formatter), get_by_name passes output_format by keyword (the blueprint one
passes it into the element-type slot), and update checks the guid (the blueprint one does not). The blueprint methods are
unchanged.

Not proven: no platform in reach has the #9465 build, so nothing here claims a live answer. Tests (16, tests/micro-tests/
test_solution_boundary_methods.py) record what each method SENDS (URL, verb, body) with `_async_make_request` replaced; response
bodies are SYNTHETIC and named so. The whole micro-tests directory passes (6066 passed, 14 skipped). delete sends the same body as
a blueprint delete, so the cascade field has the same open question (ISSUE-132).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…er hierarchy

Third of the stack for odpi/egeria#9465, on top of the 7 boundary requests. The boundary methods' default report_spec is
"Solution-Boundary", which did not exist until this change: DICT, MD, REPORT and LIST output with the default spec failed, so the
previous change must not be merged or released without this one.

- Report specs "Solution-Boundary" and "Solution-Boundary-Mermaid" (family Solution Architect), running
  SolutionArchitect.find_solution_boundaries. The mermaid column uses the element field solutionBlueprintMermaidGraph: Egeria's own doc
  comment for it now reads "solution blueprint (or solution boundary)". The built-in seed is regenerated with
  `python -m pyegeria.view.seed build` (2 specs added; the check passes).
- A "Member Hierarchy" column, filled by `solution_boundary_member_hierarchy`: the members with nested boundaries as indented lines.
  A member that is itself a boundary comes back with `nestedElements` and `sideLinks` (RelatedMetadataHierarchySummary in odpi/egeria
  main 2e22b1e85b; field names read in the Java, NOT yet seen on a platform). Membership can be shared and in principle cyclic, so
  the walk does not follow a member already above it, stops at 8 levels or 500 lines, and prints that it did. The column is declared
  in CLIENT_DERIVED_COLUMNS so strict validation accepts the spec.
- SolutionArchitect.find_solution_boundaries is added to the report-spec allowlist (FIND_METHOD_ADDITIONS, with its reason).

NOT in this change, on purpose: the validate-map entry for find_solution_boundaries. It needs "SolutionBoundary" in the generated
Properties catalog (md_processing/md_processing_utils/properties_class_fields.py), which is generated from Egeria at 90232870b2
(2026-11-21), before #9465. Regenerating it at 2e22b1e85b adds exactly the two new classes and their supertypes, but it moves the source
stamp that two guard tests tie to the checked-in fixtures (test_egeria_6_4_names, test_py59_class_subtypes), so it is a change of its
own with those fixtures regenerated: proposed as a separate branch.

Tests (17, tests/micro-tests/test_solution_boundary_formatters.py): the spec and its columns, the allowlist and derived column, the
hierarchy (empty, flat, three levels, side links, a cycle, a shared member, the depth and size limits, a headerless member) and the
extractor through DICT output. Every element is SYNTHETIC, built from the Java classes and the real element header shape. The whole
micro-tests directory passes (6083 passed, 14 skipped). No platform was contacted.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…they are not its parent

Window P (2026-11-25) ran the boundary methods against a scratch Egeria on odpi/egeria-platform@sha256:5a8d6a12...309f, the first build
with odpi/egeria#9465, and its raw retrievals show what the field names read in the Java really look like. The names are right:
`collectionMembers` items carry `relatedElement`, `nestedElements` and `sideLinks`, and `nestedElements` nest three levels (blueprint >
boundary > boundary > role). But every `sideLink` there is simply the member's link back up to the parent it is listed under, so
"also linked to:" printed the parent on every nested member, which is noise and not "shared elsewhere".

`solution_boundary_member_hierarchy` now shows a side link only when its guid is not the immediate parent's. The cycle guard and the
depth and line limits are unchanged.

Tests: the synthetic side-link tests are changed to the observed shape (a parent link is not shown; a link to another parent is), and a
new test runs the function on the REAL raw retrievals. Those are added unmodified as fixtures,
solution_blueprint_nested_boundaries_real_shape_2026_11_25_5a8d6a12.json and solution_boundary_retrieve_real_shape_2026_11_25_5a8d6a12.json,
with a SOURCE note; they hold only probe-* elements of the scratch platform and no password, token or host name (checked by grep).
The whole micro-tests directory passes (6085 passed, 14 skipped). With this, the condition that the nested field names are confirmed
on a platform is met for this change.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
… (#9465)

The Properties-class catalog was generated from Egeria 90232870b2, before
odpi/egeria#9465, so it lacked SolutionBoundary and DesignModelBoundary.

Generated (no hand edits):
- md_processing/md_processing_utils/properties_class_fields.py:
  scripts/gen_properties_class_fields.py --ref 2e22b1e85b adds
  SolutionBoundaryProperties, DesignModelBoundaryProperties and the two
  type chains; header stamp 90232870b2 -> 2e22b1e85b.
- pyegeria/view/egeria_relationship_fields.py:
  scripts/gen_egeria_relationship_fields.py --ref 2e22b1e85b952bbe;
  header stamp only (upstream change to the two Java files is comments).
- tests/fixtures/egeria-6.4/*.http: recopied with git show at 2e22b1e85b;
  byte-identical, no diff.

Hand edits, to keep the sha guard tests consistent:
- pyegeria/core/egeria_6_4_names.py: EGERIA_6_4_SOURCE_SHA -> 2e22b1e85b...;
  docstring records the move and that the fixtures are unchanged.
- tests/fixtures/egeria-6.4/SOURCE: head/merged -> 2e22b1e85b, keeps the
  #9463 head 0dbf468774 and 90232870b2 as the earlier source.
- test_py59 header literal and the EGERIA_6_4_REF defaults (py59, py61),
  and a section comment in test_gen_properties_class_fields.

Validate map: pyegeria/authoring/validate.py FIND_ELEMENT_TYPES gains
SolutionArchitect.find_solution_boundaries -> SolutionBoundary (Egeria's
SolutionArchitectInstance builds that handler for SOLUTION_BOUNDARY).

Egeria source read from a local odpi/egeria clone by git ref only; the
checkout (at 90232870b2) was not changed.

Upstream range 90232870b2..2e22b1e85b is 6 commits: the #9465 merge
(SolutionBoundary, 3f362c36a7) and the #9464 merge (Parquet Files plus
Liskov/Mendel/OpenLineage improvements, 190206874b), with their branch
merges. The generated tables change only by the two #9465 types.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…essor (#9465)

"Create Solution Boundary" (SolutionBoundary) and "Create Design Model
Boundary" (DesignModelBoundary) go to SolutionArchitectProcessor.

- md_processing/dr_egeria.py: register_solution_architect_processors
  routes Solution Architect commands whose name contains "Boundary" to
  SolutionArchitectProcessor, after the link-verb check (so "Link ... to
  Boundary" still goes to SolutionLinkProcessor). These names already
  fell through to that processor; the branch pins it ahead of the
  Blueprint/Component checks.
- md_processing/v2/solution_architect.py: SolutionArchitectProcessor
  reads, updates and creates SolutionBoundary with the solution-architect
  boundary requests (get/update/create_solution_boundary), and
  DesignModelBoundary with the generic collection requests
  (get_collection_by_guid, update_collection, create_collection with the
  body as given; prop=["DesignModelBoundaryProperties"], as in window P).
  Members are added with the existing Collection Membership command; no
  member sync here.

Tests: tests/micro-tests/test_b5_boundary_routing.py (8). Routing uses
synthetic specs (the command specs come with B4). The SolutionBoundary
read uses the real shape captured in window P (5a8d6a12); the
DesignModelBoundary read shape is SYNTHETIC.

Not proven: no live run. DesignModelBoundary get/update through the
collection requests were not exercised in window P (only create and
delete).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ary commands (odpi/egeria#9465)

Two commands in the Solution Architect family, added through the Spec Editor API
(compact JSON is the source; generated files come from the repo's generators):

- Create Solution Boundary: OM_TYPE SolutionBoundary, find SolutionArchitect.find_solution_boundaries.
- Create Design Model Boundary: OM_TYPE DesignModelBoundary, find CollectionManager.find_collections
  with metadata_element_type=DesignModelBoundary (the view service has no request of its own for it).

Both use the Collection Base bundle only, with no custom attributes (the Java types add no
property to a collection); their attribute lists equal Create Concept Model's.

The Design Model Boundary find returns solution boundaries too: the repository answers a type
search from each element's stored supertype chain, so SolutionBoundary rows match. Not set to
exclude them (decided by the Architect). Qualified names are unique, so upsert still reaches one
element. Read from the Egeria source, not observed live.

Generated: 4 report specs (Basic/Advanced x 2), base_report_formats.py/dr_egeria_reports.py
entries, the Solution Architect seed and manifest, and 4 templates. refresh_specs ran offline for
everything except the 2 new Advanced templates, which came from one read-only
generate_md_cmd_templates run against the platform for valid values; the 9 existing Advanced
templates are byte-identical to the base. No offline marker lines are committed.

Processor routing and handler branches are not here (separate change).

Tests: tests/micro-tests/test_boundary_commands_spec.py (18).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…oundary type

SolutionBoundary is a subtype of DesignModelBoundary, so a DesignModelBoundary
lookup can find a SolutionBoundary (from source; not yet seen in a live
find), and a SolutionBoundary read can be handed a DesignModelBoundary. The
upsert then became an Update through the wrong request with the wrong
properties class.

SolutionArchitectProcessor.apply_changes now checks, for SolutionBoundary and
DesignModelBoundary Updates, the element's elementHeader.type.typeName (the
as-is element when it is the target, otherwise a fetch_element read) against
the spec's OM_TYPE before any body is built:
- an exact match goes ahead as before;
- another type is refused with a ValueError naming both types and the guid;
  no update request, no journal note, no retype;
- an unreadable type is refused the same way ("nothing was written").
execute() reports the refusal as a failure row.

Tests (tests/micro-tests/test_b5_boundary_routing.py, now 10):
- a DesignModelBoundary upsert that found a SolutionBoundary is refused;
- a SolutionBoundary lookup that returned a DesignModelBoundary is refused;
- the two update tests now give the matching type to the read and expect
  read-then-update.
Without the guard, the 2 new tests and the 2 updated update tests fail.
No live run.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ion Role (B6, regenerated on top of B4)

SUPERSEDES db7d245 (claude/dre-solution-role-not-applied). The pull request must not carry both.

Re-applies the same compact-JSON change as db7d245 (git diff 4cbb90d..db7d245 on the
compact_commands folder, applied unchanged with git apply): Role Domain Identifier default ''
and min cardinality 0, Title and Role Domain Identifier level Invisible, and the descriptions
saying they are accepted but not stored (SolutionActorRoleProperties has no such properties).
The test file tests/micro-tests/test_b6_solution_role_hidden_attributes.py is byte-identical to db7d245's.

Stacked on 53b367b (B4: Create Solution Boundary / Create Design Model Boundary), which also edits the
Solution Architect compact JSON, so the generated files are regenerated here from the combined JSON
(refresh_specs --family "Solution Architect" --merge-reports, offline), not taken from db7d245.
Against db7d245's own generated files the only differences are B4's additions.
They are valid for the combined B4+B6 state only.

The Advanced Create_Solution_Role.md is db7d245's committed file: an offline regeneration differs from it
only on the "Valid Values" line that reads "valid values not read (no Egeria connection)", and that file was
generated at an earlier platform state. All other Advanced templates are byte-identical to 53b367b.
No platform connection was used for this commit.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…ting and the type guard

B5 (5b57ba4, f36a80f) sits on B3a-v2 0339197; this line (B4 53b367b, B6-v2 2109492) also sits on
0339197. The two touch no common file, so the merge has no conflicts. B5 changes no generated file, so
B6-v2's regeneration on the B4+B6 JSON still holds.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
test_b5_boundary_routing.py uses synthetic specs (B5 was built before B4's specs existed). This adds
tests/micro-tests/test_boundary_routing_real_specs.py (5): the real dispatcher on the real Solution Architect
specs resolves Create and Update Solution Boundary and Create and Update Design Model Boundary (the Update
variants are generated from the Create names) to SolutionArchitectProcessor, and the two boundary commands
are the only Solution Architect names containing "Boundary" (B5 routes by that word).

Like B5's two routing tests, these pin routing: the names reached SolutionArchitectProcessor before B5 too.
No platform contacted.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Adds entries for the catalog regeneration (B3a-v2), the two Dr.Egeria boundary commands (B4, B5), the boundary type
guard (B5), and the Create Solution Role fix (B6-v2, under Fixes). B2's line said the Dr.Egeria commands "come in a
later change"; it now points to them.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…e Status is the element status

The round-trip probe tests the generic Status on a second, Status-only element per command, with a
value valid in exactly one status enum (DRAFT for contentStatus). On four Schema Maker commands (Create
Schema Type, Schema Attribute, Display Data Container, Display Data Field) the command's Status is not its
own attribute but the element status Dr.Egeria adds by default (add_default_upsert_attributes, variable
element_status, style Valid Value). Since pyegeria 6.3.3 (761af03, PY-68), that attribute is looked up as
Egeria's valid-metadata property `status` (ACTIVE, DELETED, INVALID, OTHER, UNKNOWN), which has no DRAFT, so
Dr.Egeria refuses the create. The owner decided (2026-11-26) that the probe input is the fix: DRAFT goes to
Content Status on these commands.

- probe.py: status_sent_as() picks the attribute the Status-only element writes. It is Content Status when the
  command's Status has variable element_status, the planned field is contentStatus, and the command has a
  Content Status attribute; otherwise Status, as before. Status is then left to its default. The row keeps the
  key `Status` and records sent_as "Content Status".
- Checked offline: building every family's probe document before and after this change differs only in those
  four Status-only elements ("### Status" -> "### Content Status") and their plan rows (sent_as). No other row's
  input changes.
- tests/micro-tests/test_roundtrip_probe_gate.py: 6 new tests. For the four commands, DRAFT is sent as Content
  Status with no Status; for Create Collection and Create Glossary Term (their own Status), DRAFT is still sent
  as Status. The four fail without the probe change.

The row `Status` on those four commands now tests "Content Status: DRAFT reaches contentStatus", not
"Status: DRAFT is mapped to contentStatus" as in the 002a3ef1 baseline. It no longer exercises the element-status
path, so the gate no longer exercises `Status: DRAFT` on the 12 element_status commands (a draft issue covers that).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Adds scripts/dr_egeria_roundtrip_probe/baseline/5a8d6a12.json, cut by gate.py --rebaseline on scratch (postgres, 5 content
packs) with odpi/egeria-platform@sha256:5a8d6a128e011db5d9eda698f8d46d3c389f59100d69eab31428a0390000309f and this tree
(1f24490: pyegeria 6.3.3, the boundary batch and the probe-input fix), on 2026-11-26 11:59:56-12:01:30Z. It has 6537
rows. The rows and metadata are as the run wrote them; the only addition is the `note` field, and `changes` is {}
because there is no earlier 5a8d6a12 baseline.

Against 002a3ef1 there are no regressions: 13 changed rows (12 improvements, 1 change), 7 rows new on existing commands,
1 command removed on purpose (Create Subscription Type) and 198 rows of new commands. All changed rows are attributed
to pyegeria, using a re-run with 832460b on the same platform. The note records that the `Status` row on four Schema
Maker commands now tests Content Status: DRAFT, and that the gate no longer exercises Status: DRAFT on the 12
element_status commands. DEFAULT_DIGEST in scratch.py stays 002a3ef1.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
The round-trip gate kept one known gap, `*|Project Scope`, from the owner's 2026-11-12 decision that Dr.Egeria reports
Project Scope as not applied. Since Egeria 002a3ef1 (odpi/egeria#9448) added ProjectProperties.scope and pyegeria maps to
it, all 8 project kinds (Campaign, Experiment, Glossary Project, Governance Project, Personal Project, Project, Study
Project, Task) read MATCH, and the gate asks for the entry to be removed ("KNOWN GAPS NOW MATCH (8)").

The gaps list is now empty. Against the 5a8d6a12 baseline the 2026-11-26 run gates PASS with nothing to report; against
002a3ef1 the 8 rows show as improvements. A Project Scope that stops matching is now a regression, not an excused gap.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Since pyegeria 6.3.3 (761af03, PY-68) the Status that add_default_upsert_attributes adds (variable element_status,
style Valid Value) is checked against Egeria's valid metadata values for `status`: ACTIVE, DELETED, INVALID, OTHER,
UNKNOWN. `Status: DRAFT` on Create Schema Type, Schema Attribute, Display Data Container and Display Data Field was
accepted before and stored as the content status; it is now refused with "Value 'DRAFT' is not a valid metadata value
for 'Status' (Validated by Egeria)". The owner decided (2026-11-26) to keep the check, document it, and make the
error point users to Content Status.

- md_processing/v2/parsing.py: when the refused attribute is the element status, the error names the command's
  Content / Activity / Deployment Status attributes that accept the value: "... (Validated by Egeria). 'Status' here
  is the element status; to set DRAFT, use 'Content Status' instead". Other attributes, values no status attribute
  takes, and commands with no type-specific status (Create Rating, Create Like, the glossary Classify/Declassify
  commands) keep the message as it was. The parse result is unchanged.
- docs/release-notes/next.md: a behaviour-change line under the PY-68 entry.
- tests/micro-tests/test_element_status_content_status_hint.py: 9 tests with a stub valid-metadata client. The four
  pointer tests fail without the parser change.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…e/pyegeria-boundaries-batch

Brings in the Status hint: when a command refuses Status: DRAFT because its
Status attribute is element status, the error now points to the command's
Content Status (or Activity/Deployment Status) attribute, with a release-note
line under PY-68. Merged onto the known-gaps cleanup (5e817ec). The two
change different files.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson marked this pull request as ready for review November 26, 2026 12:35
@dwolfson
dwolfson merged commit 98837e0 into odpi:main Nov 26, 2026
7 checks passed
dwolfson added a commit that referenced this pull request Nov 26, 2026
* chore(release): bump version to 6.3.4

pyegeria 6.3.4: #612 (solution boundaries in pyegeria and Dr.Egeria, the Solution Role template fix and the
Status/Content Status pointer) and #614 (a boundary Update with an explicit GUID updates that element or is refused),
plus #608 (CI). The new docs/release-notes/6.3.4.md lists only what changed since v6.3.3, worked out from
`git log v6.3.3..` and the code. It states that the boundary features need an Egeria platform with odpi/egeria#9465
(6.4-SNAPSHOT 5a8d6a12 or later), and lists #613 (Update by Display Name only can create a duplicate) under
Known issues. next.md drops exactly the entries #612 and #614 added, and gains a pointer to the 6.3.4 notes; its
other entries are unchanged.

uv.lock regenerated with uv 0.13.10 (uvx uv@latest): the only change is the version.
Micro-tests on Python 3.13: 6171 run, 0 failed, 14 skipped.
The wheel was checked in a clean 3.13 venv: my_egeria at top level, and serve_my_profile, serve_my_egeria, my_profile
and my_egeria all load.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>

* docs(release): correct 6.3.4 notes

Three corrections to docs/release-notes/6.3.4.md from the Architect's read of 61e8992:
- Platform line: platforms without odpi/egeria#9465 do not have the boundary requests, so those calls fail. This
  replaces "On 6.3 the boundary calls return 404", which no boundary call against 6.3 ever showed.
- The wrong-type refusal no longer claims "(or a Create that found an existing element)"; that path was not shown
  live and has no test.
- New note, shown live on scratch 5a8d6a12 (live check 20261126T1346Z, C4): Egeria refuses to delete a solution
  boundary that still has members (OMAG-GENERIC-HANDLERS-403-005); remove its members first.
next.md is unchanged.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>

---------

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.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.

1 participant