Skip to content

Step 73: two findings from the Drupal module's review, recorded - #182

Merged
Maurice1969DB merged 1 commit into
mainfrom
notes-step-73
Oct 13, 2026
Merged

Maurice1969DB merged 1 commit into
mainfrom
notes-step-73

Conversation

@Maurice1969DB

Copy link
Copy Markdown
Contributor

Records two findings from an independent review of the Drupal module content_credentials (its NOTES Step 35, L3 and L4) that belong in this library. Notes only: no code, no spec yet; each needs a draft spec before code.

  • L3, reasoned: ManifestStoreParser stops at MAX_INGREDIENTS = 64 and MAX_INGREDIENT_DEPTH = 8 (SPEC-045 AC5), and a caller cannot tell a cut-off tree from a complete one. Proposal: ManifestReport::ingredientsTruncated().
  • L4, measured on 0.19.1: softwareAgents() and digitalSourceTypes() de-duplicate with in_array over entries the uploader controls: 40,000 actions take about 1.9 s per call. The verifier route is bounded by its CBOR cap; the service and extension routes are not measured.

Written 2026-10-11, committed now.

A cut-off ingredient tree looks complete to a caller (L3, reasoned), and softwareAgents()/digitalSourceTypes() de-duplicate in quadratic time over entries the uploader controls (L4, measured on 0.19.1). Notes only; each needs a draft spec before code.
@Maurice1969DB
Maurice1969DB merged commit 060f861 into main Oct 13, 2026
20 checks passed
@Maurice1969DB
Maurice1969DB deleted the notes-step-73 branch October 13, 2026 13:14
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