Two Catalogs

PARTIAL

noetl/catalog is one of two things NoETL calls a catalog. The README at git 473b2d5 draws the line, and says conflating the two is the mistake that page exists to prevent.

Internal catalog — this repositoryBusiness catalog — not this repository
What it holdsNoETL's own objectsDomain data: hotels, flights, trips, items, orders, translations
Storage, as this repo states itEHDB only. No external datastoreExternal Postgres, a third-party API, an object store
Interface/api/catalog/*A playbook step, under that playbook's policy
Who owns itThe platformThe domain

The sentence the README asks the reader to keep:

The internal catalog holds the playbook that reads the business data. It never holds the business data.

Its concrete example is from noetl/travel. The playbook adiona/playbooks/catalog_list.yaml is an internal object. The tables it reads, adiona.items, adiona.item_content and adiona.item_category, stay in external Postgres and are reached by a kind: postgres step. The README says none of that business data enters EHDB, and that it must not be pushed into this store as a resource type, an attribute or a relation.

The same page says the business catalog is already the playbook pattern, not a component to build. It gives one count this chapter did not re-count: 53 files under adiona/playbooks/*.yaml in that travel example. Treat 53 as the README's figure, not a measurement repeated here.

The repository is still marked design phase in that README, and AC10 in the design spec is open (Chapter 16). The table above is the repository's rule for its own store. It is not a claim that a deployment serves this binary.

What the internal side says it holds

The README names six types: playbook, credential, mcp, agent, memory and subscription. The code seed is noetl_resource_types in crates/catalog-model/src/noetl_types.rs. All six are constructed with catalogued: true, and the test in that file asserts every seed has catalogued: true. subscription is included with a module note that it is not a seeded noetl.resource row. The function's own comment says the list is a convenience seed, not an allowlist: an unknown name is reported, not refused.

ResourceType::new lowercases the name (resource_type.rs). The wiki and the test comment state a production count of mixed-case catalog rows (875 of one spelling, 650 of the other) and attribute a partial query result to that. This chapter did not re-count those rows. The lowercase constructor is what the code at 473b2d5 does.

A resource type is not a tool kind. The model module says agent and mcp are resource types, and that they are rejected as step tool kinds. This chapter did not re-read the server's tool-kind enum. The catalog's own test only checks that those two names are known resource types.

Where the documents disagree about credential

credential is catalogued in the seed and excluded in the spec

At 473b2d5 the repository says both of the following.

  • The README, the wiki scope table, design spec §2.10, and noetl_types.rs include credential with catalogued: true. The seed test requires that flag.
  • Design spec §1.1, §4.1 and §12 say credential is deliberately not catalogued, because the CLI diverts credentials elsewhere. catalog-extract records a Requires edge whose target type is credential and comments that the type is deliberately not held (crates/catalog-extract/src/lib.rs). The wiki's invariant list repeats "not catalogued". A unit test in resource_type.rs builds ResourceType::new("credential", false, false) to show the two booleans are independent. That call is not the seed.

This page follows the seed the API actually constructs, and it leaves the exclusion as an open disagreement inside one commit. It does not treat either sentence as overturned.

lang is on the model and idle for NoETL objects

Attribute::new sets lang to None (crates/catalog-model/src/attribute.rs). The store's neutral read keeps only those language-neutral values (crates/catalog-store/src/store.rs, the attributes fold). The README says this dimension was added from a business-catalog translation pattern, that no internal consumer was found, and that it is not built on further. Localized writes exist on the model (Attribute::localized) and on the API; the README's "inert" is about NoETL's own objects, which use Attribute::new.

Check your understanding