Skip to content

feat(fountain): the fountain lexicon — observation, rule pack, import, and a closed plugin surface (#1217) - #1253

Merged
lex00 merged 14 commits into
mainfrom
lexicon-fountain-observation
Jul 30, 2026
Merged

lex00 merged 14 commits into
mainfrom
lexicon-fountain-observation

Conversation

@lex00

@lex00 lex00 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Brings the fountain lexicon to parity with its peers and publishes it at 0.33.0.

fountain runs coding agents in sandboxed VMs. This lexicon declares its workload layer — Environment, Vault, Agent — as typed chant resources. Conversations are runs, not resources, so they are started by the fountainRun op rather than declared.

What lands

The earlier commits on this branch built the lexicon: codegen off the served OpenAPI with a committed snapshot fallback, the manifest + fountain-plan.json serializer, fountainApply/fountainRun, observation, the FTN rule pack, import, three skills, and the ConciergeStack composite.

The last four close the plugin surface and fix what filling it exposed.

Defects

  • The bundle shipped nothing. srcDir pointed at src/codegen, so collectRules globbed a directory that does not exist and silently continued, and collectSkills returned an empty Map. prepack runs bundle, so a published package would have carried 0 of 9 rules and 0 of 3 skills. The same bug was live in fly, which is published — it shipped 0 of 6 rules and 0 of 4 skills.
  • validate never gated. validate-cli awaited and discarded the result, so a failure exited 0 — and REQUIRED_NAMES was empty, so there was nothing to fail on. fly had the empty list too.
  • propertyConstraints was emitted as constraints. Core reserves bare constraints for the extension-constraint array and reads property names off propertyConstraints. Nothing read the divergent key, so it was invisible until LSP property completions came up empty.
  • docker's LSP tests asserted against a context shape the interface no longer has, and vitest strips types without checking them — the tests passed while exercising no completion or hover path.
  • fly's published metadata was copy-pasted from gcp — description "Google Cloud lexicon for chant", keywords google-cloud.

Plugin seams, adopted rather than re-derived

  • describeResources drives core's observeEntities harness (feat(core): native-observer harness + shared read-path contract #1201) instead of re-deriving its control flow. The adapter supplies transport and a per-entity read; the harness owns bind-or-not-observe, tri-state routing, bounded concurrency, and read-failed degradation. The list promise is cached per kind, so concurrent reads share one request.
  • auditCatalog for all 9 FTN rules, every entry yamlBased: false — fountain's checks read ctx.entities, not ctx.outputs, so they cannot fire on an audit of standalone YAML, and auditRule() hardcodes true.
  • initTemplates — the seam examples/getting-started was duplicating outside the interface.
  • coverage measures the generated surface against the upstream spec, which is what a rolling-spec lexicon needs; the shared computeCoverage scores CloudFormation-shaped dimensions that would read 0% here.
  • LSP completions and hover; MCP fountain:diff and fountain:resource-catalog.

Docs

The docs config used none of the generator's extension points, so the site was four thin pages and the hand-written resources.mdx was unreachable — the sidebar is rebuilt from generated pages every run. Now an overview, output format, and five extraPages, with basePath set. Root lexicons/overview gained fountain and fly, which was in neither table despite shipping describeResources.

Known gap, not addressed here

The weekly lexicon-upgrade matrix lists fly, but no fly-upgrade.op.ts exists and LexiconUpgradeOp's IN_SCOPE_LEXICONS rejects it at construction — that job fails every Monday. fountain has the same shape (a rolling spec with no release tag), so it is deliberately left out of that matrix until "detect a newer upstream spec" is defined for a versionless endpoint. Worth its own issue.

Verification

10041 tests, 17/17 tier-1 conformance across all twelve lexicons, docs site builds 9 pages, npm run prepack green end to end.

🤖 Generated with Claude Code

lex00 and others added 14 commits July 29, 2026 22:16
Types the workload layer of BinaryBourbon/fountain — the three kinds
'fountain apply' reconciles (Environment, Vault, Agent) — generated
from the served OpenAPI spec (rolling model, like fly). Conversations
are deliberately not declarables; they map to ops.

- spec: fetch from /api/openapi.json (live endpoint 404s on the
  currently deployed instance; cache seeded from a local checkout's
  'mix openapi.spec.json' until the endpoint ships)
- serializer: fountain-native multi-doc YAML (apiVersion
  fountain.dev/v1), fountain-apply-compatible for eject; cross-resource
  refs serialize to entity names
- lint: FTN001 no-secret-literals (AST, credential shapes inside
  fountain constructors); post-synth FTN010 networking-explicit and
  FTN012 no-cloud-credential-env
- docs: starlight site wired into the unified build and the core
  sidebar under Lexicons
- check-lexicon tier 1: 17/17; tests 22/22

Design source: #1217. Upstream deps tracked there (fountain#136-142,
fountain#148 token-only secrets).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The serializer gains a fountain-plan.json sidecar (entity name ->
{kind, spec}) beside the ejectable YAML, so the applier needs no YAML
parser — the fly plan.json pattern.

fountainApply: direct-REST reconciler (create-if-new / update-by-name),
Environment -> Vault -> Agent order with agent environment refs resolved
entity-name -> live id (mirroring the CLI's apply.go). spec.secrets
upsert through the sub-resource, upsert-always since values are
write-only upstream (fountain#148's reference model would make this a
plain diff). Owned-only prune behind an opt-in flag, keyed on the
metadata managed-by=chant marker, reverse kind order.

fountainRun: conversations as ops, not declarables — resolve agent by
name, POST the conversation, poll to a terminal status, terminate on
deadline so a hung run never outlives the op.

Endpoint/token: args > FOUNTAIN_ENDPOINT/FOUNTAIN_TOKEN > hosted
default. Injectable http for tests: 33/33, tier 1 still 17/17.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Adds the package-cli/bundle entry the surface machinery shells out to,
and seeds surface.snapshot.json at fountain main 4c06dff — including
the just-merged allowed_vault_ids (fountain#136). This is the baseline
the weekly rolling check diffs against once fountain joins the upgrade
matrix (after #1218's consistency check lands).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…pstream

fountain#139 merged (9e6b605): networking_config gains an
allowed_hosts schema. Second live exercise of the rolling model.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
CI's docs build and check jobs run the lexicon's generate, which
fetched the live spec: the hosted instance currently 404s the endpoint
(deploy lag) behind a self-signed cert, so every CI run failed. The
spec now falls back to a committed snapshot
(src/spec/fountain-openapi.snapshot.json, refreshed alongside
surface.snapshot.json when upstream moves), and a live fetch that
returns a non-JSON body is rejected rather than silently replacing it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…nifest.json

Matches fly's prepack sequence (generate, bundle, validate, build).
CI's docs build runs prepack then docs-cli from a clean checkout;
without the bundle step dist/manifest.json does not exist and the
docs generator ENOENTs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…1217)

Live read-back for chant's plan/drift machinery: one list per declared
kind, name-keyed, standard tri-state (no-credentials / read-failed /
unsupported-kind are holes, never phantom creates; a failed kind list
marks only that kind). Ownership verdicts from the managed-by: chant
metadata marker — fountain#137 gave all three kinds the channel, so
owned-only filtering withholds foreign resources as 'filtered'.
Secret values never appear on this path (write-only upstream; the
secrets sub-resource is not read at all).

Reference catalog: Agent -> Environment via environment_id (surfaced in
the agent's observed attributes), so chant graph --live draws the
workload topology. Vaults are deliberately edge-free — vault-agent
binding is a conversation-time choice, not standing topology.

Conformance suite registered; 51/51 tests, tier 1 17/17.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Completes the designed rule set: FTN011 unrestricted-networking warns
(projects promote to error for concierge-class environments), FTN013
moves fountain's spawn-time fail-complete substitution check to build
time (warn — a vault can legitimately supply keys at conversation
create), FTN014 surfaces vault keys shadowing environment keys (the
merge is silent at spawn; review should see it), FTN015 requires
${VAR} references under secret-shaped MCP env keys, FTN016 backstops
runtime/model validity for untyped construction, FTN017 rejects two
same-kind declarations resolving to one fountain name (apply
reconciles by name — they would fight over one live resource).

8 post-synth checks total, all tested positive+negative. 63/63.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The adoption path. FountainParser turns fountain apply -f YAML (single
or multi-doc) or the fountain-plan.json sidecar into import IR, server
fields stripped to the authored shape. FountainGenerator emits typed
constructors (repositories wrapped in new Repository). detectTemplate
recognizes both input shapes. exportResources reads live state back as
IR for chant import --from: owned filtering on the marker, agent
environment_id resolved to the exported environment's logical name so
generated code carries a reviewable reference, and secrets never
exported — values are write-only upstream and keys are not on the typed
surface (fountain#148 territory); environments carrying secrets warn.

69/69 tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…#1217)

Three agent skills (core authoring loop, secrets/substitution, locked
sandboxes + conversation runs) via createSkillsLoader. ConciergeStack
composite: Environment + Agent secure by construction — limited
networking with deny-all default, allowed_vault_ids: [], the ownership
marker on both; loosening is an explicit, reviewable parameter.

Also fixes a real bug the composite's tests exposed: runtime instances
keep authored props under non-enumerable .props (enumerating an
instance yields AttrRefs), so the serializer and every post-synth check
read nothing on real entities — test fixtures were flat objects and
masked it. All consumers now go through a shared propsOf() that handles
both shapes; real-instance serialization verified end to end including
cross-resource ref resolution.

71/71 tests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…tes, coverage, LSP, MCP (#1217)

Fills every scaffold stub the lexicon still carried, adopts the plugin
seams it was missing, and fixes three defects the fill exposed.

Defects:

- The bundle shipped nothing. srcDir pointed at src/codegen, so
  collectRules globbed a directory that does not exist and silently
  continued, and collectSkills returned an empty Map. prepack runs
  bundle, so a published package would have carried 0 of 9 rules and 0
  of 3 skills. Now 9 and 3, verified in dist/.
- validate never gated. validate-cli awaited and discarded the result,
  so a failure exited 0 — and REQUIRED_NAMES was empty, so there was
  nothing to fail on. It now prints its checks, exits 1, and requires
  the curated surface (Environment, Vault, Agent, Repository).
- propertyConstraints was emitted as `constraints`. Core reserves bare
  `constraints` for the extension-constraint array and reads property
  names off propertyConstraints (as aws/azure emit). Nothing read the
  divergent key, so it was invisible until LSP property completions came
  up empty.

Also regenerates the post-synth barrel, which was hand-written with
per-check re-exports and failed core's freshness guard on this branch
before any of this work; post-synth.test.ts now imports the checks from
their modules, as the k8s peer does.

Plugin seams adopted rather than re-derived:

- describeResources drives core's observeEntities harness (#1201)
  instead of re-deriving its control flow. The adapter supplies the
  transport and a per-entity read; the harness owns bind-or-not-observe,
  tri-state routing, bounded concurrency, and read-failed degradation.
  The list promise is cached per kind, so concurrent reads share one
  request and a failed list marks only that kind.
- auditCatalog for all 9 FTN rules. Every entry is yamlBased: false —
  fountain's checks read ctx.entities, not ctx.outputs, so they cannot
  fire on an audit of standalone YAML, and auditRule() hardcodes true.
- initTemplates: a closed ConciergeStack sandbox by default, `open` for
  a research sandbox. This is the seam examples/getting-started was
  duplicating outside the interface.
- coverage measures the generated surface against the upstream spec —
  the signal a rolling-spec lexicon needs — rather than the shared
  computeCoverage, whose CloudFormation-shaped dimensions would score 0%
  on everything. Reports missing/stale properties per kind and the
  request schemas deliberately left unmodeled, and fails an unaccounted
  new kind.
- LSP completions and hover on the docker pattern. Hover carries what
  the property names hide: deny-all egress, vault precedence,
  allowed_vault_ids' three states.
- MCP: fountain:diff and fountain:resource-catalog.

Docs:

- The docs config used none of the generator's extension points, so the
  site was four thin pages and the hand-written resources.mdx was
  unreachable — the sidebar is rebuilt from generated pages every run.
  Now overview, output format, and five extraPages (resources,
  composites, ops, adoption, skills), with basePath set so the back-link
  resolves under /chant/lexicons/fountain/. Site builds: 9 pages.
- Dropped a dead `resourceTypeUrl` config key: DocsConfig has no such
  field, and the untyped config object hid it.
- Root lexicons/overview: fountain was in the sidebar but in neither the
  available-lexicons nor the observation-coverage table.
- Rules pages had said 3 rules since before the rule pack landed; now 9.
- README replaced the scaffold template.

92 fountain tests, 10041 repo-wide, 17/17 tier-1 conformance.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ntain audit surfaced

Checking whether fountain's defects existed in the peers it was scaffolded
alongside found two of them live in fly, which is published at 0.33.0.

fly — the bundle shipped nothing. srcDir pointed at src/codegen, so
collectRules globbed a directory that does not exist and silently
continued, and collectSkills returned an empty Map. `npx tsx
src/package-cli.ts` printed "41 resources, 0 rules" and never mentioned
skills; dist/rules and dist/skills were both empty. prepack runs bundle,
so the published package carries none of its 6 rules and none of its 4
skills. Now 6 and 4, verified in dist/. REQUIRED_NAMES was also empty, so
validation passed vacuously — it now requires the six curated Machines
API resources.

docker — the LSP tests asserted against a CompletionContext/HoverContext
shape the interface no longer has (word / isConstructorContext / prefix /
fileContent). vitest strips types without checking them, so the tests
passed while exercising no completion or hover path, and the assertions
were written to hold either way ("undefined or an object", "if result !==
undefined"). Rewritten against the real contexts with assertions that
fail if the providers return nothing.

temporal — `resourceTypeUrl` in the docs config is not a DocsConfig field
and did nothing. The config object was unannotated, so the excess-property
check never ran. Removed, and the object is now annotated so the next dead
key is a type error.

Root lexicons/overview — fly was in the sidebar and in build-docs.sh but
in neither the available-lexicons table nor the observation-coverage
table, despite shipping describeResources with two-tier ownership.

10041 tests, 17/17 tier-1 conformance across all twelve lexicons.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…package list

Drops `private: true`, aligns the version with core and the other eleven
lexicons (0.33.0), and adds the publish metadata the peers carry:
description, license, repository.directory, publishConfig.access.

CI lists fountain now belongs to:

- publish.yml — a publish step (the OIDC trusted-publisher path, with the
  same version-skip guard as its peers) and a prepack in the test gate.
- chant.yml — all three lexicon lists: the check and test jobs' prepack
  blocks, and the validate job's per-lexicon named steps. fly was missing
  from that last one and is added too.
- The Docker smoke set (smoke.sh, Dockerfile.smoke-npm, npm-smoke.sh) —
  three parallel lists that must agree. This is the loop verifying a
  tarball ships dist/manifest.json, dist/meta.json, dist/types/index.d.ts
  and src/index.ts, which is the failure mode a first publish actually
  has. Confirmed fountain's tarball has all four.

Also fixes fly's published package metadata, copy-pasted from gcp: its
description read "Google Cloud lexicon for chant" and its keywords listed
"google-cloud". Both are live on npm at 0.33.0.

Verified: `npm run prepack` green end to end (generate, bundle, validate,
build), `npm pack --dry-run` produces a 0.33.0 tarball, 17/17 tier-1
conformance, 10041 tests.

Not done, and it needs a decision rather than a patch: the weekly
lexicon-upgrade matrix lists `fly`, but no ops/lexicon-upgrade/fly-upgrade.op.ts
exists and LexiconUpgradeOp's IN_SCOPE_LEXICONS rejects "fly" at
construction, so that job has been failing every Monday. fountain has the
same shape (a rolling spec with no release tag to pin), so it is
deliberately left out of that matrix until "detect a newer upstream spec"
is defined for a versionless rolling endpoint — surface-diff against the
committed baseline rather than a version comparison.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Every other lexicon declares `@intentius/chant` and `typescript` as peers;
fountain declared neither, while importing @intentius/chant/* throughout
its plugin, serializer, lint rules and observation path. Published as-is,
a consumer installing the package would get imports that resolve only by
luck, with no npm warning on a version mismatch.

Caught before the first publish, which is the only time it is cheap to
fix — 0.33.0 is consumed once it ships.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@lex00
lex00 merged commit 68197af into main Jul 30, 2026
6 checks passed
@lex00
lex00 deleted the lexicon-fountain-observation branch July 30, 2026 18:46
lex00 added a commit that referenced this pull request Jul 31, 2026
…rd stranding a release (#1278)

* fix(ci): publish every workspace package, and stop a missing npm record stranding a release

Every publish run since chant-v0.33.0 has failed. @intentius/chant-k8s-client
(#1177) and @intentius/chant-lexicon-fountain (#1253) each landed a publish
step in publish.yml but neither package ever got an npm trusted-publisher
record, so `npm publish` fell through to ENEEDAUTH while the other twelve
published over OIDC in the same job on the same token. The proof is in the
registry: every chant-lexicon-fly version carries a SLSA attestation, and
those two carry none — they only ever went out by hand. Both are still
stranded, k8s-client at 0.32.0 and fountain at 0.33.0 against 0.33.1
everywhere else, and on chant-v0.33.0 the failure skipped all twelve lexicons
behind it and half-published the release.

Replace the fourteen copy-pasted steps with scripts/publish-packages.sh. It
enumerates every non-private workspace package, so a newly added package is
published the moment it exists rather than waiting on someone to remember the
step. Order is core, then the k8s API client (the k8s lexicon declares it
optional, #1074), then the rest. A package already at its version is skipped,
which keeps re-runs idempotent and makes a partial release recoverable by
dispatching the workflow again. Failures no longer stop the loop; every
package gets its attempt and the run exits non-zero at the end with a summary
table.

On an auth failure — and only an auth failure, never a build error — it
retries with the NPM_TOKEN secret that was already in the repo and unused,
via a throwaway userconfig so the token never reaches the process table. That
is a fallback, not the path: a package with a trusted-publisher record still
publishes over OIDC and never touches the token.

`chant onboard` no longer adds a per-lexicon publish step, since enumeration
makes it unnecessary, and the two docs tables describing it are updated.

Also fix emulator-freshness, red every week since 2026-07-20. `gh issue
create --label chore` failed with "could not add label: 'chore' not found",
and gh declines to create the issue at all when a label is missing, so the
advisory issue was never filed. Create the label idempotently first.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* fix(ci): name the EOTP case, and stop misreading npm's provenance narration

Dispatching publish on this branch (run 30610577415) proved the script's
control flow and turned up two things the stubbed tests could not.

The trusted-publisher records for chant-k8s-client and chant-lexicon-fountain
are genuinely absent — the OIDC attempt still returns ENEEDAUTH. The token
fallback then authenticated but failed EOTP: the NPM_TOKEN secret is a
classic publish or granular token, not an automation token, so npm demands a
one-time password that no one is present to type. That is indistinguishable
from a permissions problem in the raw log, so say it outright and name both
ways out.

The provenance retry also misfired. It scanned the whole publish output, and
`npm notice` narrates provenance on every run — so an EOTP failure looked
like a provenance rejection and got retried for nothing. Match npm's `npm
error` lines instead, which is what the check meant all along.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* fix(ci): ask the registry why it refused OIDC, instead of assuming

npm's oidc helper is written never to throw: when the token exchange fails it
logs at verbose level and returns undefined, so `npm publish` falls through to
ordinary auth and reports a bare ENEEDAUTH. That one error covers two very
different situations — no trusted-publisher record at all, versus a record
that exists but does not match this workflow's OIDC claims. The previous
message asserted the first, which is a guess.

Replay the exchange against
/-/npm/v1/oidc/token/exchange/package/<name> and print the registry's own
status and message. Neither the GitHub id-token nor the publish token a
successful exchange returns is ever printed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* fix(ci): a successful OIDC exchange answers 201, not 200

A controlled probe run from inside publish.yml settled which packages
actually have trusted-publisher records:

  @intentius/chant-lexicon-fly       HTTP 201 accepted
  @intentius/chant                   HTTP 201 accepted
  @intentius/chant-k8s-client        HTTP 404 package not found
  @intentius/chant-lexicon-fountain  HTTP 404 package not found

Same workflow, same ref, same run — so the split is per package, and the two
that fail have no record rather than a mismatched one. Probing from any other
workflow file 404s for all four, since the record is tied to a workflow
filename; that is why the diagnostic lives here and not in a scratch workflow.

The probe also caught a bug in the diagnostic added a commit ago: it treated
only HTTP 200 as success, so a working record would have been reported as
refused. Accept any 2xx.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* docs(lexicon-authoring): the release page never said to create the npm record

Audited every workspace package's trusted-publisher record from inside
publish.yml, where the workflow filename matches and the answer is therefore
meaningful. Twelve are configured; @intentius/chant-k8s-client and
@intentius/chant-lexicon-fountain are not. Those are exactly the two that
cannot publish.

The reason they were missed is here: the onboarding page walks through every
file `chant dev onboard` patches and every manual step after it, and never
mentions that a new package needs its own trusted-publisher record on npm.
The record is per package, is not inherited from the org, and nothing in the
repo can create it — so a new lexicon ships unpublishable and the failure
surfaces as a bare ENEEDAUTH much later, at release time.

Two further things on that page were simply wrong:

  * It said releases are triggered by pushing a `v*` tag. The workflow matches
    `chant-v*` and `lexicon-*-v*`; a bare `v<version>` tag triggers nothing.
    Point at `just release` / `just release-lexicon`, which push the real tags.
  * It said the workflow passes `--tolerate-republish`. No such flag is used
    anywhere, and npm has no such option. The actual behaviour is the
    skip-if-already-at-this-version check in scripts/publish-packages.sh.
    TESTING.md repeated the same claim in its risk table; corrected there too.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* docs(lexicon-authoring): an onboarding skill an agent can be pointed at

The trusted-publisher step went missing because the knowledge was spread
across a page about what `chant dev onboard` patches, a release section that
was itself wrong, and nothing at all. An author working with an agent had no
single thing to hand it.

Add Lexicon Onboarding Skill: one self-contained ordered checklist from
scaffold through first publish, written to stand alone so an agent pointed at
just that URL can finish the job. It leads with the step nothing in the repo
can automate — creating the npm trusted-publisher record — because that is
the one whose absence merges cleanly and only surfaces at release time.

The overview and CI pages now lead agents into it rather than expecting them
to assemble the sequence from the section.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* ci(publish): report trusted-publisher coverage on every run

Twice now a package has shipped without an npm trusted-publisher record and
nobody found out until a release went red, because the only symptom is a bare
ENEEDAUTH at publish time. Verifying it by hand means hand-editing publish.yml
each time, since npm matches the record against the workflow FILENAME and a
probe from anywhere else reports every package as missing.

Add an audit job with no `needs:`, so dispatching the workflow puts a coverage
table in the run summary within about forty seconds, well before the test gate
finishes. Informational only — the publish job remains what fails a release.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

* fix(workspace): list every lexicon in the root deps, and gate the list

`chant dev onboard` adds `@intentius/chant-lexicon-<name>` to the root
package.json dependencies, but fly, forgejo and fountain were never added.
Nine lexicons were listed, three were not, and nothing checked — the same
shape as the lexicon-upgrade miswiring (#1218/#1226) and the publish steps
that stranded two packages.

Nothing broke, because resolution never depended on that list:
`workspaces: ["lexicons/*"]` symlinks every lexicon into node_modules whether
it is listed or not, which is exactly why three omissions survived unnoticed.
The entry is an explicit declaration of what core may import, not the
mechanism that makes the import work.

Complete the list and add lexicon-wiring.test.ts so it either covers every
lexicon or fails. Verified the test catches the real drift by removing
fountain again and watching it go red.

The CI page claimed the dependency was what made workspace resolution work,
and that a lexicon missing from it "fails when loaded by the CLI". Neither is
true. Corrected to describe what the entry is actually for.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHr67zuAjGHJAX6gF5tYA

---------

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
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