Skip to content

Bundle 2026-11-22: RE Files TR-113 + TR-109, Open Data TR-54 A1 + A2 - #1127

Merged
dwolfson merged 12 commits into
mainfrom
claude/bundle-2026-11-22
Nov 22, 2026
Merged

dwolfson merged 12 commits into
mainfrom
claude/bundle-2026-11-22

Conversation

@dwolfson

Copy link
Copy Markdown
Owner

Bundle 2026-11-22: Resource Explorer Files follow-ups (TR-113, TR-109) and Open Data item A (TR-54 A1 + A2)

This bundle merges three reviewed branches onto fork main 13caf6f, each as a signed --no-ff merge.

TR-113: activity summaries name the walk they're aged at (c2f4e3d)

The fs_activity bands are aged at the walk, but the summary said only "derived ". So "read within 7 days" looked relative to today. Both summaries now say "on the walk of ".

TR-109: Request action never sends file names (e274f4d)

A guard and a test ensure the world-readable-sensitive request never sends file names. That matches what fs_permissions promises: the names stay in Resource Explorer and aren't published. Also in this change:

  • the local RFA dedupe queries by key instead of scanning 500 entries;
  • times are timezone-aware.

TR-54 A1: an imported open-data dataset joins its investigation (4072057)

  • The investigation add-member picker offers Open data.
  • Import, and adding an existing dataset, make the dataset an investigation member, not just a tagged work list.
  • POST /investigations/{slug}/members refuses an unknown entity_type with a 422.

TR-54 A2: a dataset is a resource kind with its own stage strip (40bca49)

  • On a fresh install, "Find open data" offers the suggested portals, each with a one-press Add. They are never auto-applied.
  • A dataset's page asks the generic questions that apply to it (M = 20, including Q-0041 and Q-0055). Q-0005 shows "no reader yet", because the import's Egeria match isn't stored on the dataset row.
  • An already-in-catalog dataset joins the investigation, or says why not.
  • The open-data notes and docstrings now say what is true.

Deferred, as ruled: TR-119 (full promotion of open_data to a surveyed kind) and TR-120 ("Create in Egeria" wording, its own branch).

Checks

  • Gate b484: PASS. The gated tree d5da73b5 is identical to this branch.
    • Main suite: 15872 passed, 0 failed.
    • JS harness: 2137 passed, 0 failed.
    • trellis-analytics: 294 passed, 0 failed.
    • Every other package: 0 new failures.
  • Read-back: independent read-backs passed each branch. The bundle's structure and tips were also passed: each merge's diff is byte-identical to its branch's diff, and all 12 commits are signed with Signed-off-by.

🤖 Generated with Claude Code

…member

Import (import_datasets, import_from_repository) only tagged the work list with
investigation=, so the dataset never entered the investigation's scope. It now also
adds an open_data member to the investigation's Folio (keep_existing, so a repeat
import never overwrites a person's rationale). The result says how many members were
added, and says so when the named investigation does not exist instead of dropping it.

POST /investigations/{slug}/members refuses a kind outside MEMBER_ENTITY_TYPES with a
422 naming the kinds. The add-member picker offers "Open data" and its datalist reads
state.openData.

test_unknown_kind_has_its_own_reason now writes its widget row through the registry,
since the route no longer accepts that kind.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
… or says why not

A chosen dataset that came back already_in_catalog never joined the investigation,
even with investigation= set. Now: when RE's own store holds it (it has a slug), it
joins as an open_data member like an imported one. When only Egeria holds it, RE has
nothing to add, and the row says so. The import result names the investigation and
how many were added, and the import dialog shows "N added to <investigation>" plus
each row's own reason, so nothing drops silently.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…tals, one Add each

With no portal registered, the dialog only said to go to Admin. It now lists the
shipped suggestions (open_data_portal_seeds.yaml) with one Add per row, using the
same table and Add wiring Admin has (wirePortalSeedAdd, shared). Nothing is added
without a press; after an Add the dialog becomes the search. Admin's own table
still starts folded.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
The walkthrough sent a reader to guide section 8 for registering a portal, and section
8 never mentioned Open data. It now has the fourth picker (Data portals, Portal
directories, Open data), Register and Check, the Suggested portals list (one Add each,
never applied) and the fresh-install door in Find open data. Stale statements fixed:
the walkthrough and guide said OD3/OD4 were still to ship (they are on the base), the
OD1 DDL record said "branch pushed, not merged", and the member_assets note said
nothing publishes an open_data row. OD4 does, but records the GUID in its step-run proof
rather than on the dataset row; that is said instead. A docs test pins each pointer.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…en one from it

test_the_screen_draws_a_folded_section_with_the_help_and_no_bulk_add pins that Admin's
Suggested portals table starts closed with the literal `<details data-od-seeds-fold>`.
The open option added for the Find dialog broke that literal; it is now derived from it,
so the pinned test passes unchanged.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
The bands are aged at the walk's own time, but the row reads 'derived <today>', so
'read within 7 days' looked relative to today. Both summaries now end 'on the walk of MM-DD HH:MM'.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
W1: a finding carries names to Egeria only if its spec says so (none does). The reader and the
sender both check, so a file list in a stored result still goes nowhere. fs_permissions promises
'the names are in Resource Explorer, not published'; the RFA now says so, and fs_activity's says 'no file list'.
W3: the local RFA row check asks the registry by key instead of scanning the newest 500 entries.
Nit: the request time is timezone-aware UTC (was utcnow).

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
…t (ruling (b))

open_data answers the generic (`*`) questions on its own page and stays out of every
survey, coverage, export and import loop; full promotion to a surveyed kind is TR-119.

- resource_types.GENERIC_QUESTION_KINDS names the capability, with the TR-119 pointer. A test
  pins that only resource_types and dataset_questions use it, so each of the ~39 call sites
  stays excluded on purpose.
- dataset_questions: each of the 19 generic questions has one recorded decision
  (GENERIC_APPLIES / GENERIC_DOES_NOT_APPLY with a reason each); a new generic question fails
  a test until it is decided. The page asks the 15 that apply plus its own three; the four
  that cannot apply are left out of "N of M answered" and listed, folded, with why. What the
  publisher's record states (description, publisher, licence) is partial; the rest is
  "no reader yet", never none or 0. The stage strip covers all five stages.
- Tests pin that `*`, the catalog sections, coverage_sweep, export_inventory and the batch
  import give the same with an open_data row in the registry, and that batch import refuses
  an open_data row.
- Two existing tests that said "exactly three rows" now scope to the three open-data
  questions; their assertions about those rows are unchanged.
- user-guide section 8: any signed-in user can add a suggested portal from Find.

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

Q-0041 (how much has changed since the last survey) and Q-0055 (physical location,
jurisdiction, residency) move to GENERIC_APPLIES and count in "N of M". Q-0054 and Q-0098
stay excluded, so two are not asked and M is 20.

- Q-0041 is no_reader, with the ruled words (OD4's look-again re-reads the record;
  comparing it with the record at import is not built).
- Q-0055 is partial when the publisher's record states a place (country, spatial,
  geographic coverage, jurisdiction, or a CKAN extra of that kind), and says where it came
  from and that jurisdiction and transfer terms are not read from it. Otherwise no_reader,
  with the ruled words. A structured value is not read.
- Q-0005 stays no_reader: the import's Egeria match result is not kept on the dataset row, so
  there is nothing cheap to read it from; a test pins that.

Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
Signed-off-by: Dan Wolfson <dan.wolfson@pdr-associates.com>
@dwolfson
dwolfson merged commit f9e1553 into main Nov 22, 2026
4 checks passed
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