2.7 KiB
2.7 KiB
GroundRecall Bridge
This documents the smallest end-to-end path for carrying reviewed
GroundRecall concept context into a Didactopus draft pack.
Purpose
Use this when:
- the source material began as legacy office documents
doclifthas already normalized those documents into a bundleGroundRecallalready contains a reviewed concept you want to carry into the learner-facing pack as grounded context
The bridge does not replace Didactopus pack generation. It enriches it with a
pack-ready groundrecall_query_bundle.json artifact.
Inputs
You need:
- a
GroundRecallcanonical store directory - a concept reference resolvable in that store
- a
docliftbundle directory - an output directory for the generated
Didactopuspack
Command
didactopus doclift-bundle-groundrecall \
/path/to/groundrecall-store \
channel-capacity \
/tmp/doclift-bundle \
/tmp/didactopus-pack \
--course-title "Example Course"
Arguments:
groundrecall_store_dir: canonical GroundRecall storegroundrecall_concept_ref: concept id, short id, or matching concept textbundle_dir:docliftbundle rootpack_dir: output directory for the generated pack--course-title: display title for the generated pack
Optional:
--author--license-name
What It Does
The command performs four steps:
- exports a pack-ready
groundrecall_query_bundle.jsonfrom the GroundRecall store - places that artifact in a temporary
_groundrecallarea under the target pack - runs the normal
docliftbundle demo pack generation flow - writes the resulting pack with
groundrecall_query_bundle.jsonincluded as a declared supporting artifact
Outputs
The generated pack directory contains the normal Didactopus draft-pack files,
plus:
groundrecall_query_bundle.jsondoclift_bundle_summary.json
The pack summary also records:
groundrecall_bundle_includedgroundrecall_concept_refgroundrecall_query_bundle_path
Why This Matters
This bridge keeps the responsibilities distinct:
docliftnormalizes documentsGroundRecallstores canonical reviewed concept contextDidactopusbuilds learner-facing packs and workbench flows
But it removes the manual handoff step where a user previously had to export
and place groundrecall_query_bundle.json by hand.
Related Commands
Export the pack-ready query bundle directly from GroundRecall:
python -m groundrecall.export /path/to/groundrecall-store /tmp/groundrecall-export \
--pack-ready-concept channel-capacity
Run the plain doclift bundle conversion without GroundRecall:
didactopus doclift-bundle /tmp/doclift-bundle /tmp/didactopus-pack --course-title "Example Course"