Thought Matching: Template
For every team franchise in the source list:
- Search the Baseball brain for the exact franchise name.
- Prefer an existing franchise-level thought whose name does not include a season or year.
- Never use a thought named in the form
Team Name - YEARas the franchise link when a franchise-level thought exists. - If the franchise-level thought does not exist, create a new thought using the team franchise name exactly as listed by the source, without appending a year.
- Link the franchise-level thought as a child of the location thought.
- Preserve any existing relationships the franchise thought already has.
- Do not delete, rename, or replace existing year-specific team thoughts.
- Link each applicable year-specific thought beneath its corresponding franchise-level thought as a child. Year-specific thoughts should remain named with their appended year, such as
Team Name - 1904. - If an existing franchise thought is already a child of the location thought, do not create a duplicate link.
- If an existing year-specific thought is already a child of the franchise thought, do not create a duplicate link.
- Generate a valid internal thought link for the franchise-level thought.
- Place the internal franchise link in the first column of the final table, not in the League column.
Internal Thought Links
Use TheBrain’s generated internal thought URL format:
brain://api.thebrain.com/[brain-id]/[thought-id]/[thought-name]
Mandatory Internal-Link Safeguards
- Never manually construct, guess, edit, or infer a
brain://URL. - Always call TheBrain’s thought-link URL generator for every internal thought link.
- Use the generator’s returned Markdown link exactly as provided; do not modify its brain ID, thought ID, slug, or formatting.
- Treat a generated link as valid only when the URL generator returns a complete URL and Markdown link for the intended thought.
- If the generator fails, returns an incomplete result, or does not return a link for the intended thought, do not create or insert a substitute URL.
- Do not use a year-specific thought’s generated link when a franchise-level thought is required.
- If a valid internal link cannot be generated, leave the team name as plain text temporarily and report the unresolved franchise clearly.
- Before writing the final note, verify that every internal table link came directly from a successful URL-generator result.
Example:
[Pawtucket Red Sox](https://app.thebrain.com/brain/7f601502-fd8b-40ea-ba42-6843c4d95fbd/00000000-0000-0000-0000-000000000000)
The generated internal link belongs in the Team column of the final table.