HaughtStuff is two services, and the split is deliberate. HaughtAI is the account manager — identity, entitlement, metering and money. HaughtStuff is the storefront — listings, collections and ratings.
| Concern | Owner | Where it lives |
|---|---|---|
| Who a person is, their password, their credential | The account manager | HaughtAI, its own database |
| What has been submitted to the marketplace | The storefront | HaughtStuff, its own database |
Linked by value, not by a foreign key
A listing records its publisher as the account's id, and the display name copied from the sign-in token. That id is the only join key — which means the storefront never has to ask the account manager who someone is.
A REFERENCES cannot cross a database instance, so every link between the two is a value the application validates. Integrity across the boundary is the application's job.
Why the split matters
Two services with two lifecycles means a marketplace deploy cannot take the sign-in system for the whole domain down with it. The storefront stores no identities: a sign-in is verified against the account manager's public keys, and the resulting session lives in the storefront's own signed cookie.