---
title: "Downward / RSD Inference — the Pedagogical Engine"
description: "An organization authors a competency framework in its own words: broad capabilities at the top, sharper ones below. At some point the authors stop — not because the capabilities are atomic, but because decomposing…"
created: 2026-11-27
updated: 2026-11-27
authors: ThinkingCap
topics: [Research And Development]
status: published
canonical: https://console.thinkingcap.com/guest/Research-and-Development/Skills/Inference/02-downward-rsd-inference
service: "tc-case-inferral — downward worker (case_downward_inferral)"
repo: "/home/thinkingcap/tc-case-inferral"
commit: 386c0a6bdface08e87298503edcd70254fc11e9d
queuetype: case_downward_inferral
source_revision: 386c0a6bdface08e87298503edcd70254fc11e9d
documented: 2026-11-26
order: 5
---

# Downward / RSD Inference — the Pedagogical Engine

## The question it answers

An organization authors a competency framework in its own words: broad capabilities at the top, sharper
ones below. At some point the authors stop — not because the capabilities are atomic, but because
decomposing expertise into teachable units is exactly the hard part. The downward service answers the
question the authors left open:

**Given what this organization says this capability means, what are its constituent skills — and at what
point is a skill small enough to be observed, assessed, and remediated on its own?**

The endpoint of that walk is the Rich Skill Descriptor (RSD): the smallest useful unit of skill —
observable, independently demonstrable, independently assessable, independently remediable. The service
walks *downward only*, from authored intent toward RSDs, and it treats everything it builds as a
proposal a human can kill.

## How it understands a node

The unit of work is one organization node — a CFItem in a branch-owned CASE framework. Before any
reasoning, the service assembles the node's *context*:

- **The node itself is authoritative intent.** Its name and definition are what the organization means;
  everything external is evidence about that meaning, never a replacement for it.
- **The ancestor chain says where the capability lives.** A node named "Communication" means something
  different under "Clinical Nursing" than under "Retail Sales," so the root-to-parent path travels with
  the node into every judgment. Ancestors are explicitly framed as *context only* — never permission to
  add scope beside or above the node.
- **Existing children are shown up front** so the model builds on what is already there instead of
  re-proposing it.

## Finding conceptual parallels

The organization wrote in its private vocabulary. Outside, several public frameworks describe the same
capability space in their own words: the base three (Canada's SCT, ESCO, O*NET) are always on, and any
canonical frameworks the tenant has enabled (Red Seal, OaSIS, …) join them.

The service does not ask the model to recall these frameworks — that would invite invention. Instead,
deterministic full-text search over each enabled framework retrieves candidate concepts for the node's
text, and the model's job is only to *rerank and select from what it was shown*. The response schema
constrains every id to the candidate list, and the parser re-validates membership: the model can no more
cite a skill that was not retrieved than a student can bubble a nonexistent answer on a Scantron sheet.

Parallels are plural by design. SCT, O*NET, and a sector framework may all legitimately match one node —
they are parallel vocabularies, not competitors, so every plausible match is kept and attached to the
node as an overlay mapping (born active but *pending review*: provisional truth, with humans as the kill
switch). A confidence floor keeps weak matches off the node.

And when nothing in any enabled framework plausibly maps? That is a finding, not a failure: the node is
marked *unresolved* and exposed. The service never manufactures descendants to paper over a gap.

## Deciding to subdivide — and deriving children

For each solidly matched parallel, the service retrieves what lies *below* that concept in its own
framework — the narrower skills the wider world has already identified under it. These retrieved
descendants are the raw material, and the only permitted raw material, for the next step.

The model then clusters them into proposed children of the org node, following two pedagogical rules:

- **Convergence:** when several frameworks describe substantially the same sub-capability, that is one
  child, carrying all the frameworks' concepts as overlays. Agreement across independent taxonomies is
  the strongest signal that a decomposition is real.
- **Divergence:** when frameworks cut the capability in materially different but useful ways, the
  alternative cuts are proposed as sibling branches — all preserved, none forced to win. The
  organization keeps both maps of its own territory.

Every proposed child must cite at least one retrieved descendant as ground. A child with no overlay does
not exist; ungrounded proposals are dropped at parse time. Inserted children are born *inferred* and
*pending review*, with their rationale recorded at decision time.

## Recognizing the basement

After each child is placed, the service asks the judgment question — the same question a good
instructional designer asks of any outline:

**Would splitting this further materially improve our ability to independently observe, assess, or
remediate the capability?**

Crucially, the model is shown the node's bound overlays *and what still lies below them* in the external
frameworks, so the judgment is about whether the world has more structure to offer, not about whether
the model feels like continuing. Three verdicts:

- **SUBDIVIDE** — it still meaningfully subdivides and the frameworks can support the split. The child
  gets its own follow-on job and the walk continues (bounded by a depth guard).
- **RSD_CANDIDATE** — actionable as a distinct skill *now*. The contract demands positive reasons: what
  makes it observable, assessable, remediable. "Nothing is below it" is not a reason — a candidate
  verdict without substance is automatically downgraded to unresolved.
- **UNRESOLVED** — it likely subdivides, but the permitted frameworks run out here. This is an honest
  claim left standing for a person, and it is *never* converted into an RSD just because the search ran
  out.

A candidate is then materialized: the service synthesizes the descriptor — skill statement, keywords,
performance criteria, evidence of attainment, knowledge, learning outcomes, tools, occupational context
— derived from the node, its ancestry, and its bound concepts, never copied wholesale from any source.
Empty fields stay empty rather than being padded, and the provenance notes say which bound concepts
informed which field. If synthesis fails, the node simply remains a candidate for a later pass; the run
is not ruined. The node flips to terminal `rsd` only when the descriptor is actually written.

## Refusing to invent structure

The service's integrity rules are the pedagogy:

- Children appear **only under** the processed node — decomposition goes down, never sideways or up.
- The model may **only cite ids it was shown**; schema and parser both enforce it.
- **Ungrounded children are dropped.** No retrieved evidence, no node.
- A **no-match node is exposed as unresolved**, never back-filled with invented skills.
- **UNRESOLVED stays unresolved.** A dead end in the frameworks is information, not embarrassment.
- **Guards are stops, not verdicts.** Depth, children-per-node, cost, and tree-size limits end a run as
  *incomplete* — never as an RSD determination.
- **Everything is provisional.** Mappings and inferred nodes are born pending human review, and an
  append-only provenance trail records *why* every proposal and verdict was made, at the moment it was
  made.

## What a reviewer receives

The result is not a single yes/no answer. A reviewer receives a proposed, inspectable decomposition:

- New child nodes only where a retrieved concept supports them, each with its rationale and mappings.
- Overlay mappings to the external concepts that support a node, all born pending review.
- An RSD descriptor when a node is genuinely small enough to observe, assess, and remediate independently.
- An explicit **unresolved** outcome when the evidence runs out, plus the provenance needed to continue the work honestly.

Nothing is presented as final truth simply because the model proposed it.

## A worked example (sanitized)

A healthcare training provider authors a framework; under `Clinical Practice` they write one node:

```json
{ "name": "Medication Administration",
  "description": "Safely prepare, administer, and document patient medications." }
```

The walk over that node, one job deep:

1. **Parallels.** FTS across SCT, ESCO, and O*NET returns candidates; the model accepts, say, an O*NET
   "Administer Medications" work activity (closeMatch, 0.91) and an SCT descriptor (overlaps, 0.74).
   Both attach as pending overlays.
2. **Descendants.** Beneath those concepts sit narrower skills — dosage calculation, route-specific
   administration, verification, documentation — retrieved with their density features.
3. **Children.** The model converges several into one child, `Verify medication against the order`
   (overlays from two frameworks), and diverges on administration routes: two branch-labelled siblings
   such as `Administer oral medications` and `Administer injectable medications`. A fourth proposal
   citing no retrieved concept is silently dropped.
4. **Judgment.** `Verify medication against the order` — observable, checklist-assessable, remediable in
   isolation, with positive reasons stated: **RSD_CANDIDATE**. The oral/injectable pair still subdivide
   into technique and safety checks: **SUBDIVIDE**, one follow-on job each.
5. **Basement.** The descriptor for verification is synthesized — statement "Ability to verify a
   medication against the prescriber's order before administration," performance criteria drawn from the
   bound concepts, provenance notes naming them — and the node becomes the framework's first RSD.

One authored paragraph became a reviewable decomposition with its first terminal skill, and every step
of it can be audited back to the evidence that produced it.

## Evidence and source note

This account is read from the worker source at commit `386c0a6bdface08e87298503edcd70254fc11e9d` —
principally the pipeline orchestrator (`src/downward/inferDown.ts`), the prompt contracts and parsers
(`src/downward/prompts.ts`), and the persistence layer (`src/downward/store.ts`), with the org-node,
overlay, provenance, and RSD tables defined in `schema/004_org_frameworks.sql`,
`schema/005_org_node_rsd.sql`, and `schema/008_org_node_provenance.sql`. Operational mechanics (queue
leasing, retries, deployment) are documented separately in the ops-facing companion notes; current code
wins over any README.
