Skip to content

modules: finance and jobs test fixtures still use stock company names instead of the Odysseus world #2787

Closed

Description

@schlessera

Context

docs/decisions/example-corpus.md:3-13 makes Odysseus the sole example world for fixtures, demonstrations, docs, templates and examples, and rules out any "invented startup ... or additional example persona". #625 carried out that migration and is closed. Several test fixtures and one template comment still use stock sitcom company names (counts are matching lines on main a6b945bd9):

  • packages/module-finance/tests/fixtures/clients/{acme-corp,globex,initech}/ledger.md (16), with the matching assertions in packages/module-finance/tests/finance.test.ts:42-58 and :183 (25).
  • packages/module-finance/templates/ledger.md:10, which is shipped into generated brains: # legal_name: Acme Corporation LLC.
  • packages/module-jobs/tests/jobs-ingest-refresh.test.ts (37), jobs-dedup.test.ts (6), board-selection-runtime.test.ts (2), jobs-score.test.ts (1), jobs-fts.test.ts (1).
  • Single path or name literals in packages/core/tests/reranker-helpers.test.ts:49-50, packages/core/tests/taxonomy.test.ts:133 and :158, packages/scrape/tests/adapter.test.ts, packages/ui-react/tests/file-link-detection.test.ts and packages/ui-server/tests/backend-registry.test.ts.

docs/extending/agent-backends.md:606-642 uses @acme/brain-backend-acme as the placeholder name of a third-party backend package. That stands for the reader's own package, not an example persona, so it is listed here only so the implementer records a deliberate keep-or-rename choice.

Find the full set with git grep -inE "acme|globex|initech" -- packages docs template website.

Scope

  • Rename the finance client fixtures and their assertions to Odysseus-world clients, using the established cast and organisations from docs/decisions/example-corpus.md. Keep each fixture's numbers, currencies, terms and invoice structure, so every computed expectation stays the same apart from names and slugs.
  • Replace the template comment in packages/module-finance/templates/ledger.md with an Odysseus-world example.
  • Rename the company names and slugs in the jobs, core, scrape, ui-react and ui-server test literals listed above, keeping each test's behaviour and assertions.
  • Decide whether the @acme/brain-backend-acme placeholder in docs/extending/agent-backends.md stays (a generic third-party package name) or is renamed, and say which in the PR.

Out of scope

Acceptance criteria

  • git grep -inE "acme|globex|initech" -- packages template website returns nothing, or only lines the PR explicitly justifies.
  • The finance suite still checks the same computed values (totals, overdue status, generated regions) under the new client slugs.
  • The shipped templates/ledger.md example uses an Odysseus-world name.
  • The decision on docs/extending/agent-backends.md is recorded in the PR body.
  • The leakage gate (bun run lint) passes.

Verification

bun run test packages/module-finance packages/module-jobs packages/core/tests/reranker-helpers.test.ts packages/core/tests/taxonomy.test.ts packages/scrape packages/ui-react/tests/file-link-detection.test.ts packages/ui-server/tests/backend-registry.test.ts, bun run lint, and bun run check:pr --base origin/main.

Contract impact

None. Test fixtures and a comment in a template example. The template line is a comment, so generated brains see no behaviour change.

Activity

  1. added
    type: test
    area: core
    area: modules
    priority: p3
    agent-ready
    on Oct 24, 2026
  2. added this to the 0.45.0 milestone on Nov 10, 2026
  3. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    Test-health push (epic #3855), batch e3855-module-jobs-01, run th-20261110201428-8c4366: the module-jobs part of this issue.

    • board-selection-runtime, jobs-dedup, jobs-fts and jobs-score now use Ithaca Fleet (and Ithaca Fleet Inc. where jobs-dedup tests suffix normalisation). jobs-ingest-refresh uses Ithaca Shipwrights (and Ithaca Shipwrights GmbH) and Phaeacian Fleet; its FTS query follows the new token (company:shipwrights) and its acme helper is renamed listing.
    • Every assertion and every derived value is kept; each changed file passes its after-measure, and test counts are unchanged.
    • git grep -inE "acme|globex|initech" -- packages/module-jobs now returns nothing.

    The finance, core, scrape, ui-react, ui-server and template parts, and the docs/extending/agent-backends.md decision, remain. The batch PR says Refs #2787.

  4. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    Test-health push (epic #3855), batch e3855-scrape-01, run th-20261110210631-dee915: the scrape part of this issue, in #3926.

    • packages/scrape/tests/adapter.test.ts: the listing fixture's Acme GmbH and Beta AG are now Ithaca Shipwrights GmbH and Phaeacian Fleet AG. Every assertion is kept, and the after-measure passes with an unchanged test count.
    • git grep -inE "acme|globex|initech" -- packages/scrape now returns nothing.

    The finance, core, ui-react, ui-server and template parts, and the docs/extending/agent-backends.md decision, remain. The batch PR says Refs #2787.

  5. self-assigned this
    on Nov 15, 2026
  6. schlessera commented on Nov 15, 2026

    @schlessera
    OwnerAuthor

    Claimed for implementation. Claim token: claim-edb597a1. Branch: test/2787-odysseus-fixtures.

  7. schlessera commented on Nov 15, 2026

    @schlessera
    OwnerAuthor

    Implementation is in draft #4070 for the orchestrator's merge queue. The remaining finance fixtures, starter-template comment and UI test literals now use the Odysseus world; jobs/scrape/core migrations were already present on the fetched base. Generic third-party package/environment placeholders under docs are deliberately retained, with rationale in the PR.

    The requested issue test command passed 681 tests (20 existing Chrome-dependent skips). Lint/leakage and changeset checks passed. The initial check:pr invariant batch failed; its exact batch subsequently passed 280 tests on both the fetched base and unchanged PR head. The original failed receipt and diagnostic recovery are both recorded; #4069 tracks the unexplained transient without a milestone. Failing-first and restored-mutation evidence is in the PR. Open-PR dependency-closure overlaps were detected by the pre-claim collision check; the final PR collision report is being recorded in its body.

    Milestone 0.45.0 is verified on the issue and PR. Retaining the claim for orchestrated confirmation and landing.

  8. schlessera commented on Nov 16, 2026

    @schlessera
    OwnerAuthor

    Merged in #4070 as 16724d7d0 through the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-readyarea: corearea: modulespriority: p3type: test

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions