cjm-context-graph-projection
Projection and navigation core for context graphs: bounded, ranked, provenance-carrying reads (schema / state / relevance / show) over any cjm-substrate context graph, with a CLI driver. The agent-facing read layer of the self-hosting graph arc.
Modules
cjm_context_graph_projection.__init__cjm_context_graph_projection.agentlayer— The post page's AGENT LAYER (design 39c51c15 (7), amendment 23a49667, under the redesign buildcjm_context_graph_projection.archive— Retiring an archive source, restoring it from git, and moving a page's path between holderscjm_context_graph_projection.artifacts— Observed-source ARTIFACTS (design 9a7224a7, work item 4765b699): files the graph VERSIONScjm_context_graph_projection.authoring— The B write surface: AUTHOR a verbatim-text slot on-graph, emit the canonical artifact.cjm_context_graph_projection.claims— The claims the site may make about the user's work, and the deliverables that back themcjm_context_graph_projection.cli— Thecjm-context-graphCLI — first driver of the projection core.cjm_context_graph_projection.code_edges— Orphaned code-target edge detector: journaled links whose endpoint no longer resolves.cjm_context_graph_projection.codefold— The code lane as a FOLD over the source journal (design amendment 2cc81d3b to 8f6f2343).cjm_context_graph_projection.cohesion— Module cohesion audit over the code graph — the read-only cohesion ORACLE (N+1).cjm_context_graph_projection.comments— The post page's comments (design 39c51c15 (1), rulings 98d33f9e (2) + 86f4a34d, under thecjm_context_graph_projection.config— Graph-sibling config discovery — the DEFAULT_* hardcodes retired to DATAcjm_context_graph_projection.contradictions— The standing dedup query: slots whose ACTIVE assertions disagree.cjm_context_graph_projection.conventions— Structural convention audit over the code/notebook graph (the enforcement nbdev lacks).cjm_context_graph_projection.coverage— The Tutorials matrix: its vocabulary as graph data and the task x stage projectioncjm_context_graph_projection.derivedblocks— Derived blocks leave the RENDER; the post navigation replaces them (design 253ac996, amendmentcjm_context_graph_projection.devgraph— Build the dev graph's nodes + edges from its sources (the dev-graph DRIVER).cjm_context_graph_projection.display— Graph-carried display rules: the presentation vocabulary (DEC16bcd96e).cjm_context_graph_projection.explorer_page— The graph EXPLORER client page — the first client of theservedata API.cjm_context_graph_projection.factlayer— Shared fine-tier reads over the fact-layering schema (slots + assertions).cjm_context_graph_projection.filing— Filing reconciler: propose PART_OF program anchors for unfiled work items.cjm_context_graph_projection.gitfold— Ingested sources' times from git history (design amendment 19edbe97 to 8f6f2343; leg C 7ddcea72).cjm_context_graph_projection.hybrid_page— The HYBRID graph explorer client — GPU physics canvas + DOM overlay (check-in 1233ab46).cjm_context_graph_projection.journal— The write journal: the durable, replayable source of truth for born-on-graph writes.cjm_context_graph_projection.judging— Judged related posts (design e09e262b, answering ruling 98d33f9e (1); the spike 245fb5b3).cjm_context_graph_projection.lens— Lenses: graph-carried, parameterized views (DECf1b02b95— tier 2 of thecjm_context_graph_projection.library— The Library's provenance (design 5de7fae9, design leg 4a4ef27e).cjm_context_graph_projection.librarypage— The Library's pages: the index a Lens with thelibraryview layout projects, and a work pagecjm_context_graph_projection.linkaudit— Link liveness audit — the derived worklist for the EXTERNAL links a note carriescjm_context_graph_projection.listing— Structured enumeration: every node of a LABEL / assertion of a PREDICATE / edge of a RELATION.cjm_context_graph_projection.module_ops— Module-edit ops — create / rename / delete / regroup a module as graph edge ops.cjm_context_graph_projection.notes_outline— The OUTLINE PASS of the notes lane — the first of the standalone lecture resource's passescjm_context_graph_projection.notes_place— The PLACEMENT PASS of the notes lane — the second of the standalone lecture resource'scjm_context_graph_projection.onboarding— Project the MEMORY onboarding surface from the graph's ASSERTED lead structure.cjm_context_graph_projection.oracle— The version oracle: a programmatic Procedure that keepsversionslots fresh.cjm_context_graph_projection.postpage— The post page's projected parts (the post page of de808eae (2); its rest designed as 39c51c15cjm_context_graph_projection.projection— The projection core: schema / show / relevance / state over a context graph.cjm_context_graph_projection.propose— Triage proposals: an agent DRAFTS the update for a stale deliverable (work item bb015d12).cjm_context_graph_projection.prose_refs— Prose-ref drift: id-shaped tokens in asserted prose vs the edge layer.cjm_context_graph_projection.pull_transcript— The transcript pull verb: harness-transcript messages onto the session spine.cjm_context_graph_projection.purenotes— The pure-notes lane (ruling a7262fe7; work item fdafeed9): a typed deliverable whosecjm_context_graph_projection.readiness— The readiness frontier: which work-items are READY vs BLOCKED — derived, never stored.cjm_context_graph_projection.readme— README-as-projection (v1, STRUCTURAL-ONLY): generate a repo's README FROM THE GRAPH.cjm_context_graph_projection.reads— The content-access READS ledger: which nodes each read delivered into context.cjm_context_graph_projection.rebuilddiff— A live graph against its own rebuild, property for property (design 8f6f2343, finding fbce0173).cjm_context_graph_projection.reconcile— M2b shadow-phase RECONCILE — surface + (explicitly) absorb out-of-band.mdedits.cjm_context_graph_projection.refactor— Refactoring-candidate identification over the code graph (the IDENTIFY half of move).cjm_context_graph_projection.refactor_ops—move— relocate a symbol between modules (the EXECUTE half of refactor-candidates).cjm_context_graph_projection.registers— Register drift-check: each hub note's member-cache vs the activeroleassertions.cjm_context_graph_projection.relive— The LIVE half of the code fold (design amendment 2cc81d3b, build B2 of leg B 0e3508fd).cjm_context_graph_projection.rename_ops— Symbolrename— the Ext-B increment: scoped identifier substitution INTO bodies.cjm_context_graph_projection.render— Render projection results for a consumer: agent (JSON) or human (markdown).cjm_context_graph_projection.review— The review frontier: which APPROVED deliverables have stale upstream — derived, never stored.cjm_context_graph_projection.runtime— Open a context graph for reading/writing (domain-neutral runtime wiring).cjm_context_graph_projection.scratchpad_export— Scratchpad session .md exporter — the projection lens (increment iv of thecjm_context_graph_projection.seeds— Hand-seeded load-bearing slots + the rename-stable repo-key machinery.cjm_context_graph_projection.series— Series born on-graph: the node, its membership and its ORDER as journaled intentcjm_context_graph_projection.serve— A served, read-only graph EXPLORER data API over the read verbs — the richer-viz INSTRUMENT.cjm_context_graph_projection.site— The public site's BUILD: one verb, run where the graph is (ruling 941f7f13; DEC 98293e72 (2)).cjm_context_graph_projection.sitelinks— In-body site links, RESOLVED through site_path facts (DEC 72d669c5 (1); the step, 9ee4e346).cjm_context_graph_projection.sitepages— The site's PROJECTED pages: every series page from its Series, every topic page from its Lenscjm_context_graph_projection.source_state— N+3 Phase 1 (SHADOW): capture a module's canonical source into a SOURCE journal andcjm_context_graph_projection.sourcemoves— Which rows a moved source accounts for (design amendment a9176261 to 19edbe97 (6)).cjm_context_graph_projection.sources— The post page's sources (design 39c51c15 (3), amendment 722a8232, under the redesign buildcjm_context_graph_projection.structure— M2a GRADIENT — structural memory authoring: create a note / add a section, born on-graph.cjm_context_graph_projection.tutorialspage— The Tutorials page: a Lens whose view layout iscoverage-matrixprojects the task x stagecjm_context_graph_projection.viz— A minimal READ-ONLY visualization: the readiness frontier + its dependency DAG, as HTML.cjm_context_graph_projection.workbench— Workbench lens layer: the front-door / pin-tree / session-feed derived views.cjm_context_graph_projection.worklist— The propose/confirm worklist: candidate fixes that need a human decision.cjm_context_graph_projection.write— The write surface:asserta slot value,decidea conclusion.
API
cjm_context_graph_projection.agentlayer
agent_planfunction — The agent layer's plan: each licensed post's JSON-LD and llms.txt. A page's title andbased_onfunction — What the post draws on, as structured data (design 37f82f72 (5)): a work typed by its form,build_linesfunction — What the build knows and the author never types: how the links work, the licenses from thecheck_jsonldfunction — After the render: every planned post page carries exactly one JSON-LD object, equal to thecheck_llms_fragmentsfunction — After the anchors (design b82d2a98 (2)), failing closed: every fragment a.llms.mdlinksdirectory_authorfunction — The page's author as Quarto merges it: its own front matter, else the nearest directory'sjsonld_scriptfunctionllms_indexfunction — llms.txt (amendment 23a49667 (2), 465ab923): the author's intro, the build's own lines,llms_pathfunctionload_index_copyfunction — llms.txt's intro copy from the site config: a missing key or summary refuses (the buildmap_outside_codefunction — The ONE walker of the markdown layer's code regions (design b82d2a98 (3)), shared by theplainfunction — A description in llms.txt or JSON-LD is text: the page's link is the only link there, and apost_jsonldfunction — A post's structured data (39c51c15 (7), amendment 23a49667 (4)): a draft has noread_jsonldfunctionrestore_llms_anchorsfunction — The markdown layer carries the ids its page carries (design b82d2a98 (1)): each anchorrewrite_llms_linksfunction — Keep an agent in the markdown layer (amendment 23a49667 (3)): every internal link in arewrite_markdown_linksfunction — Rewrite each link targetresolvemaps, outside fenced code and inline code spans.write_llms_txtfunction — Write llms.txt over Quarto's flat list -- only when every link names a.llms.mdthe
cjm_context_graph_projection.archive
git_blobfunctiongit_headfunctionis_retiredfunction — A retired node is never listed, linked to or rendered, under any profile.path_ownersfunction — The page each site_path value now belongs to: follow the supersession chain UP from therestore_retiredfunction — Rebuild each retired archive source from git, under its original path and slug. A missingretire_sourcefunction — Retire an archive source (journaledretire-source). LIVE, the source must be committedretired_sourcesfunction — What the ingest restores before replay: every archive source a retire op names.transfer_site_pathfunction — Move a page's ACTIVE site_path to another node (journaledtransfer-path): the target
cjm_context_graph_projection.artifacts
ArtifactFoldclass — The artifact lane folded over the source journal: one node per live artifact identity,ArtifactKindclass — One kind of observed artifact: where its files sit, how a file reads canonically (andappend_artifactfunction — Append anartifactrecord, skipping a capture identical to the key's latest state.append_artifact_retirefunction — Append anartifact-retirerecord ending a key's life.apply_artifacts_livefunction — THE SAME FOLD a rebuild runs, committed in place: artifact nodes the fold no longerartifact_checkfunction — Every live artifact against its file: DRIFT = the file's canonical text is not thecapture_artifactfunction — Capture the file's current version (validated, canonical) or retire its key, then thefold_artifactsfunctionlatest_artifact_opsfunction — The LATEST capture per live key (last record wins; a retire ends the key).uncaptured_artifactsfunction — Every file a kind's pattern matches, in every on-graph repo, that no record holds.
cjm_context_graph_projection.authoring
add_symbolfunction — Mint a NEW top-level CodeSymbol into a module, then emit its canonical artifact.add_textfunction — Mint a NEW CodeText region (imports/constants/docstring/__all__) into a module, then emit.authorfunction — Author a node's verbatim-text slot, then emit its canonical artifact to disk.emit_artifactfunction — Emit a container's canonical artifact FROM THE GRAPH (graph -> .py / .ipynb / .md).emit_postfunction — Emit a born post to the PUBLIC website clone — GATED on publish_state=published.file_section_rawsfunction — Each of a note's sections'rawspan as the FILE currently decomposes (the othergraph_section_rawsfunction — Each of a note's sections' on-graphrawspan, keyed by anchor (the divergence/read_nodefunction — Deliver a node's verbatim CONTENT — the read DUAL ofauthor/emit.read_slotfunction — Read a node's current verbatim-slot text (the--editorpop / preview input).reharvest_note_relationsfunction — Re-run the relationship harvest on an EDITED note and apply the edge DIFF (finding cbde404c).section_divergencefunction — Read-only: detect, at SECTION grain, where a note's.mdhas drifted from the graph.
cjm_context_graph_projection.claims
claims_reportfunction — The claims over the live graph: every claim Entity with its state and backing.load_claim_statesfunction — Every claim's active state(s); more than one is a conflict the report refuses.load_claimsfunction — The claim Entities in display order.load_supportsfunction — The support edges (deliverable -> claim) with their kind and note.project_claimsfunction — The pure projection (no graph access): see the module docstring for the rules.public_viewfunction — The public profile's filter (676bac8e (4)): building and retired claims, and supportsrecord_supportfunction — Write one SUPPORTS edge with its kind (journaledsupports), or retract it. A pair has
cjm_context_graph_projection.cli
mainfunctionrenderfunction — The read-delivery seam: tap the reads ledger, then delegate to the real
cjm_context_graph_projection.code_edges
classify_orphaned_linksfunction — Pure: the journaled links the next replay will silently drop.orphaned_edgesfunction — The derived orphan report over journallinkops + the current graph.
cjm_context_graph_projection.codefold
CodeFoldclass — The projected code corpus as a fold over source-journal records (see module docstring).fold_source_journalfunction — Fold every record of the source journal, in append order (the rebuild's code lane).
cjm_context_graph_projection.cohesion
cohesionfunction — Audit module cohesion: grab-bag (under_split) + scattered-helper (over_split) candidates.compute_cohesionfunction — Compute module cohesion candidates from the code graph slices (pure).
cjm_context_graph_projection.comments
apply_harvestfunction — Land one harvest: each Note's winning thread stands (superseding a different activefetch_threadsfunction — Every comment thread on the repo: the utterances issues, and the discussions of thegh_graphqlfunction — One GraphQL request through the GitHub CLI (its own authentication).harvest_discussionsfunction — The harvest verb: read every comment thread, map it to a Note, land the facts. All orload_comments_configfunction — The widget's settings from the site config (post-comments) and the site's title (theload_threadsfunction — Every Note's comment threads: the active discussion fact and the superseded ones.map_threadsfunction — Each thread's Note: an authored map wins; a path-era title by the page's site_pathpage_commentsfunction — What a page's block loads: its one active thread, else its canonical path as the term.path_keyfunction — A pathname (utterances, 'posts/x/' or 'posts/x/index') or a giscus term ('/posts/x/')plan_threadsfunction — Per Note, the thread with the MOST comments stands; the others are earlier threadsrender_commentsfunction — The comments block: the questions line, the earlier threads, and the giscus widget --thread_urlfunction — A thread's page: comment threads are discussions once the publish converts them.
cjm_context_graph_projection.config
load_graph_configfunction — Read the graph-sibling config. Absent = {} (fallback to DEFAULT_*);sibling_graphsfunction — Thesibling_graphsregistry as DATA: which other graphs a<key>:<id>reference
cjm_context_graph_projection.contradictions
contradictionsfunction — All slots whose active assertions form a hard contradiction (optionally scoped).
cjm_context_graph_projection.conventions
compute_conventionsfunction — Compute convention findings from CodeSymbol nodes + the documented-id set (pure).compute_untestedfunction — The untested-symbol audit (pure): every public top-level PACKAGE symbol (testconventionsfunction — Audit notebook-sourced symbols for missing prose/docstrings + non-granular cells,
cjm_context_graph_projection.coverage
check_coverage_valuefunction — A coverage value must name a live vocabulary entry of the predicate's kind, so acoverage_matrixfunction — The Tutorials matrix over the graph: every deliverable whose type's kind isfield_format_errorfunction — The formats some fields carry beyond their type (design leg 4a4ef27e):publishedis anload_coverage_factsfunction — Every subject's ACTIVE coverage values (both predicates, supersession applied).load_hardwarefunction — Every hardware Entity with its ACTIVE standing (None if never asserted; two activeload_verificationsfunction — The verification edges (deliverable -> device) with their evidence.load_vocabfunction — The live (unretired) vocabulary of both axes, each entry its properties plusid.mint_entityfunction — Mint or update a typed Entity from its WHOLE record (journaledentity; upsert byproject_matrixfunction — The pure projection (no graph access): see the module docstring for the rules. A filterrecord_verificationfunction — Write one VERIFIED_ON edge with its evidence (journaledverified-on), or retract it.resolve_deliverablefunction — Resolve a deliverable argument to its Note id (an id first, then a slug).validate_entityfunction — Check oneentityrecord against its kind's declared fields.
cjm_context_graph_projection.derivedblocks
check_derivedfunction — After the render: every planned post reported, each named block dropped exactly once, andcheck_end_placementfunction — After the render: every post's end matter -- the author strip, and the comments andderived_planfunction — Plan every rendered post's drops and navigation. A derived block with no link targetrender_navfunction — The post navigation: the series position, then the collections line, as simple callouts.write_derivedfunction — Write the data file and the filter (only what changed) and clear the report.
cjm_context_graph_projection.devgraph
ArchiveSourceclass — The archive's kept paths and their decomposition — ONE definition for the ingest thatbuild_dev_graph_elementsfunction — Assemble the full dev graph: memory notes (+ refs), the repo map (+ deps),memory_elementsfunction — Decompose every memory markdown file (except MEMORY.md) into graph elements.notes_corpus_elementsfunction — Decompose a git-held<dir>/index.md/index.qmdmarkdown corpus into graph elements.parse_source_idfunctionrepo_entityfunctionrepo_map_elementsfunction — One repo Entity per cjm-* repo (RENAME-STABLE keys) + DEPENDS_ON from pyproject.site_page_slugfunction — A site page's slug — "about.qmd" -> "about", "series/notes/index.md" -> "series/notes";source_idfunction — An ingested git source's id (DEC a9176261): its kind and where it lives — the root astamp_note_profilefunction — Record the relationship-harvest profile on every Note wire dict (in place).
cjm_context_graph_projection.display
Displayerclass — The rule interpreter: loads a graph's DisplayRules once, then batch-annotates.annotate_displayfunction — Load this graph's rules + annotatenodes(the one-call seam for read verbs).display_rule_node_idfunction — Deterministic DisplayRule id — one rule per kind, so re-authoring converges.first_clausefunction — A long statement's leading clause — the Decision-title extractor.node_titlefunction — Best display label for a node: the stored/cascade tiers of the resolution order.parse_templatefunction — Parse a display template into literal / property / edge parts.set_display_rulefunction — Author/update the graph-carried DisplayRule for a kind (presentation vocabulary).
cjm_context_graph_projection.factlayer
active_assertionsfunction — The active assertions in a slot under append-only supersession.alias_indexfunction — Build the entity alias index + an id->entity lookup (rename-stable subjects).count_labelfunction — Count nodes of a label (optionally predicate-filtered) —NodeQuery(count=True).group_by_slotfunction — Group assertion nodes by theirslot_idproperty.labelfunction — A node's label / kind (typed GraphNode or wire dict) — the sibling ofnid/props.load_assertionsfunction — All Assertion nodes.load_contradictsfunction — All CONTRADICTS pairs already recorded (for write idempotency / reporting).load_edge_pairsfunction — All (source, target) pairs for an edge relation type.load_labelfunction — All nodes of a label (bounded bylimit).load_label_wherefunction — Nodes of a label filtered by property predicates, SERVER-SIDE (NodeQuery.where).load_nodesfunction — Batch-fetch nodes by id in ONE worker round-trip (NodeQuery.ids).load_supersedesfunction — All SUPERSEDES (superseder, superseded) pairs (the resolve_active input).nidfunction — A node's id (typed GraphNode or wire dict).note_alias_mapfunction — Confirmed note aliases as a {drifted-slug: canonical-slug} map.propfunction — One property value off a node.propsfunction — A node's properties dict (typed GraphNode or wire dict).
cjm_context_graph_projection.filing
classify_filingfunction — Pure: partition open items into filed/unfiled and score anchor proposals.derive_anchorsfunction — The program-anchor set: subjects whose ACTIVEroleis one of ANCHOR_ROLES.filingfunction — The derived filing report over task_state subjects + PART_OF/REFERENCES/SHAPES edges.near_duplicate_scoresfunction — IDF-weighted token-set cosine between a new statement and existing items.near_duplicatesfunction — Mint-time near-duplicate proposals over the OPEN work-item population.
cjm_context_graph_projection.gitfold
ElementFoldclass — Element times over file versions: runs by holder count, content changes by wire.FoldedHistoryclass — One work tree's kept paths folded to HEAD: the HEAD-state per-path payloads + the times.blobs_atfunction — Several paths' contents at one commit through one ls-tree + one cat-file batch.cjm_dep_namesfunction — The cjm-* dependencies a pyproject declares (an unparseable file declares none).commit_existsfunctionfold_historyfunction — Walk the kept paths' versions, decompose each, fold the element times, check the endgit_toplevelfunction — The work treepathbelongs to (None = no git history: no durable time).git_versionsfunction — Every commit in HEAD's ancestry, reverse topological order, with the kept paths it set.head_commitfunctionhead_treefunction — Every file HEAD holds.paths_betweenfunction — What moved between two commits of one source (renames are a delete + an add: identityread_blobsfunction — Many blobs through onegit cat-file --batch.root_commit_timefunction — When a repo began: its root commit (the earliest, when several histories were joined).unquote_pathfunction — Undo git's C-style path quoting (core.quotePath=false leaves UTF-8 bare, not"/\).worktree_changesfunction — What HEAD does not carry: reported by the ingest, never read from the tree.
cjm_context_graph_projection.journal
journal_sourced_note_pathsfunction — The memory.mdfilesingestmust NOT read — they're journal-sourced now.journal_touch_rowsfunction — A journal's touch rows across its whole segment family (cold first,journal_windowfunction — The journal-window projection: which nodes a window/session touched, when, how.journal_window_viewfunction — The SESSION LENS read verb:journal_window+ graph join (title/label per ref).m3_baseline_importfunction — One-time M3 GENESIS IMPORT: emit a per-notenew-notebaseline op into the journal.node_journal_tracefunction — One node's journal TRACE: created/updated + session keys + actors (axis D).replay_journalfunction — Re-apply every journaled write through its core verb (idempotent).touched_node_idsfunction — Best-effort node refs a journaled op touched — the session-lens feed (2f51ff5d).
cjm_context_graph_projection.judging
apply_judgmentsfunction — Land one judge run: every stored judgment touching a re-judged post is replaced by thehttp_askfunction — The HTTP judge: one POST per pair, retried with backoff on overload and network faults.judge_pairsfunction — Both directions for every stale post, against every other judged post.judge_relatedfunction — The judge verb: find the stale posts, judge every pair touching them, land the run.judgment_offunction — The judgment as the edge stores it, from the service's typed answers.load_judgedfunction — Every stored judgment.load_post_viewsfunction — The judged state of every public post (the audience rule: only public posts are sent).load_recordsfunction — What each judged post's judgments were made against.post_viewfunction — What the judge sees of a post -- and what its staleness is measured against.question_hashfunction — The questions' identity: a changed question makes every judgment stale.read_keyfunction — The key from KEY_ENV, else KEY_FILE -- never printed, never journaled.related_stalefunction — The public posts whose related judgments are missing or stale -- the build's report.run_judgefunction — Ask the judge about every pair; every answer is kept (the caller applies the floor).stale_postsfunction — A post is stale when it has no record or its record names another state or question.state_hashfunction — A post's judged-state identity.
cjm_context_graph_projection.lens
apply_lensfunction — APPLY a lens: bind params -> run each selection clause through the realbind_paramsfunction — Bind an application's params: defaults + provided, typed, loud on gaps.lens_node_idfunction — Deterministic Lens id — one lens per slug, so re-authoring converges.load_lensesfunction — Every well-formed Lens on this graph (the shelf feed), slug-sorted.set_lensfunction — Author/update a graph-carried Lens (journaled upsert-by-slug).validate_lens_specfunction — Parse-validate a lens spec against the v1 shape; a bad spec NEVER lands.
cjm_context_graph_projection.library
check_survey_targetsfunction — The graph half of the survey check, run before anything is written: each row'slibrary_indexfunction — Load what the Library derives from and project it: the Library entities, the assertedload_library_entitiesfunction — Every work, unit and output-class Entity on the graph, keyed by sub-kind then key.plan_surveyfunction — The pure plan of a survey batch: the works and units to mint and the provenance edge perproject_libraryfunction — The Library as data, deriving everything and storing nothing (design 5de7fae9 (3), legread_surveyfunction — Read the reviewed survey table.record_provenancefunction — Write an ARCHIVE deliverable's one DERIVED_FROM edge to its work or unit (journaledrecord_work_memberfunction — Place a metabolized source in its work (journaledwork-member): a Source Referencesource_entity_idfunction — The Entity a provenance key names: a key carrying the unit separator is a unit's.
cjm_context_graph_projection.librarypage
form_namefunction — A form key as a reader reads it ("lecture-series" -> "lecture series").plan_library_pagesfunction — Plan the Library index and every work page it links: the Library under the profile, arender_indexfunction — The topic line, then one section per form: each work's name (linked to its work page whenrender_workfunction — The card, the units grouped by part, and the outputs on the whole work. A unit with onetopic_pagesfunction — The topical Lens pages: a Lens page whose listed members are all notes; one mixing notesunit_anchorfunctionwork_descriptionfunctionyearfunction
cjm_context_graph_projection.linkaudit
bracket_from_cdxfunction — Bracket the rot from a Wayback capture list: the last capture that answeredclassify_linkfunction — Classify a probe: a hop leaving the registrable domain isoffsite(the hijackextract_external_linksfunction — Pull the external URLs out of markdown text.link_auditfunction — The audit: enumerate Notes (frontmatter + every Section's raw), extract theprobe_urlfunction — Fetch a URL following redirects ONE HOP AT A TIME (GET with a browser-likeregistrable_domainfunction — The registrable (owner-level) domain of a URL — the unit a hijack crosses.wayback_bracketfunction — Ask the Wayback CDX index for the URL's capture history and bracket the rot.
cjm_context_graph_projection.listing
list_graphfunction — Enumerate one CLASS of the graph: nodes by label / assertions by predicate / edgesparse_wherefunction — Parse--where PROP=VALUEclauses into property predicates (opeq, AND).
cjm_context_graph_projection.module_ops
delete_modulefunction — Delete a module — retire its journal key, drop its file, and let the code fold's stepflip_notebook_to_pyfunction — The golden-reference flip, ONE LOUD VERB (DEC b2c5363d): notebook -> plain.py.new_modulefunction — Mint an EMPTY module, graph-sourced from birth (the target add-text / add-symbol /regroupfunction — Gather symbols into a module — the EXECUTE verb for anunder_split(extract arename_modulefunction — Rename a.pymodule — re-emit its content at the new path, drop the old file, andrewrite_module_importfunction — Rewrite a module-RENAME across an importer: everyfrom old import …and
cjm_context_graph_projection.notes_outline
apply_outlinefunction — Turn the outline pass's answers into STRUCTURE rows on a proposal SET (ruling bc62c727 (A);apply_outline_planfunction — Land a plan as the journaled ops it names, in an order every step of which stands on itsoutline_offunction — The draft's STANDING outline as rows in the pass's own contract, so a reader can keep,plan_outlinefunction — The DRAFT mode's plan (81d6e669 (3); rulings 96be1528 (11) — a pass is a proposal set and arender_outline_brieffunction — The brief of the whole-source OUTLINE PASS (ruling bc62c727 (A); parents per 776c13d3 (a)):
cjm_context_graph_projection.notes_place
apply_placement_planfunction — Land a plan as the journaled ops it names: each role as ONEassertofpoint_roleongx_note_missingfunction — Whether the draft exists — the one graph read the apply makes before its first op.plan_placementfunction — The pass's plan, mutating nothing: each row resolved to a point key and compared with whatrender_place_brieffunction — The brief of the PLACEMENT PASS (rulings 96be1528 (1)/(3)): the keyed points laid out
cjm_context_graph_projection.onboarding
project_onboardingfunction — Project the onboarding surface by WALKING the asserted lead structure.surface_budgetfunction — Pure: the lock budget MEASURED from this projection, never remembered.
cjm_context_graph_projection.oracle
procedure_nodefunction — The oracle's Procedure node (the programmatic value-source for its assertions).read_repo_versionfunction — Read a repo's version: installed metadata first, else__version__on disk.run_version_oraclefunction — Refreshversionslots for repo entities; report what changed.
cjm_context_graph_projection.postpage
display_datefunction — Quarto formats a page's dates BEFORE user filters run, so a date the filter sets mustend_planfunction — Every post's end matter. A Note of no post kind (a site page, an untyped Note) has none.fill_copyfunction — Copy names the site author through {name} / {role}; any other placeholder refuses.header_factsfunction — The header's dated facts (39c51c15 (2)): when a deliverable'spublishedstate was asserted,header_metafunction — The header's projected metadata (39c51c15 (2)): the kind label; a born post's date is itslicense_factsfunction — The license facts (39c51c15 (6)): per deliverable class on the DeliverableType, perload_holderfunction — The copyright holder the footer names (copyright-holderin the site config): a missingload_site_authorfunction — The site's one statement of its author (site-authorin the site config, amendmentload_strip_copyfunction — The strip's copy from the site config: a missing key or field refuses (the build neveroffered_backingfunction — The posts that back an OFFERED claim through a backing kind, read through the publicpitch_targetfunction — The page the pitch points at: the Work-with-me page (903bc108 (5)). It is not on-graphpost_datesfunction — A post's public dates (39c51c15 (2)): an archive post's own date, a born post's publication;post_licensesfunction — A post's licenses: its own override, else its class's. A post with none, or with an idrelated_contextfunction — The relations related posts rank by (39c51c15 (4), amendment e09e262b): post-to-post linksrelated_postsfunction — Related posts by relation, each with its reason (39c51c15 (4), amendment e09e262b):render_endfunction — What the post draws on, related posts, the author strip (with the pitch line when given) and the comments block.render_relatedfunction — Related posts, each with its reason, as a plain classed div (styled by the site).render_reusefunction — The license line, as Quarto's own Reuse section (a filter-setlicensenever reachessite_footerfunction — The footer, derived (39c51c15 (6)): the copyright years run from the first publication to
cjm_context_graph_projection.projection
ambiguity_errorfunction — One-line error naming the candidates, so the caller's next call can be exact.explorefunction — Descend into one cluster of a query: its members, BOUNDED, re-faceting if large.find_seedsfunction — Find seed nodes by term overlap with their text fields (accept misses).full_graph_viewfunction — The WHOLE graph as one canvas payload: every node (cheap-title tier) + every edge.get_schemafunction — The graph's ontology: node labels, edge types, per-label counts.graph_overviewfunction — The whole-graph orientation view — the facets of the DEFAULT (empty) query.grepfunction — Exact-substring CONTENT search over every node's text fields — the literal third leg.locatefunction — Resolve a human HANDLE to node(s) + their on-disk path — the inverse ofshow.node_summaryfunction — Compact, provenance-carrying summary of a node (the unit of a bounded read).relevantfunction — The bounded level-0 pull: the full reached set's SHAPE + a top-k teaser.resolve_node_reffunction — Resolve a node reference: exact id first, then unique id-prefix.showfunction — One node in full, with its immediate neighbours + the relation to each.statefunction — Graph overview (no subject) or a subject's effective view (show).subgraph_viewfunction — The BULK read verb: a node SET -> nodes + interconnecting edges, batched.
cjm_context_graph_projection.propose
draft_code_block_updatefunction — Pure: re-render the fenced code block that carriesname's body from the live body.propose_updatesfunction — Draft a proposal for every actionable, unacknowledged, not-yet-proposed change on thesymbol_baseline_bodyfunction — The approval-time body: the module's lastsourcesnapshot at/before T (else the
cjm_context_graph_projection.prose_refs
extract_id_tokensfunction — Id-shaped tokens in prose: 8-hex prefixes / full UUIDs, ordered, deduped.prose_refsfunction — The prose-ref drift audit over asserted Decisions + Notes (pure read).
cjm_context_graph_projection.pull_transcript
build_derived_edgesfunction — The pure aggregation-seam assembly: sent Message DERIVED_FROM each part,build_mint_batchfunction — The pure node/edge assembly the live mint AND replay share.build_pull_payloadfunction — The journalable payload for an extraction sequence.derive_messagefunction — The compose-send aggregation seam (DEC fc6a0cdc pt 5): the sent messageedit_messagefunction — In-place body edit of a Message — the journaled edit-op half of themint_pulled_messagesfunction — Land pulled messages on the spine — the code path live pull AND replay share.pull_transcriptfunction — The live pull: derive the mapping, extract the active path, mint the delta.stale_next_edgesfunction — The chain re-link plan (finding e358fe97) — pure, so the live pull and
cjm_context_graph_projection.purenotes
accept_pointfunction — Land ONE accepted point: the Point node, its segment References (from observations —apply_judgementsfunction — THE FOLD (ruling 1798a796 (3)): apply a judge's answers mechanically, loud on the firstborn_notes_by_unitfunction — Which source UNITS carry a born deliverable on this graph, with its state and synopsis:build_notes_packfunction — Apply the type's INFORMATION POLICY (a stratum query read as ROLES — ruling e1e096fa)build_point_treefunction — Nest byparent_key(second-read ruling (4): depth TWO in practice, the tree is generic).choose_spinefunction — Pick the SKELETON spine to read (the correction core'sspine_where_forrule, pure):close_open_refsfunction — Apply a reconciler's answers to a set's hinted references — mechanically checked, loudcoverage_gapsfunction — Pure: the unreferenced-lines query — every content line the type includes that nodate_phrasefunction — A date as the card prints it, at the precision it is KNOWN to (ruling de9c4cda (H7)):daydeliverable_ownsfunction — Ruling 96be1528 (P): a source's points are the source's points — a SUBSTANCE point isderive_frontmatterfunction — The type may OWN the title and the description — the rest of the authored frontmatterderive_work_frontmatterfunction — The work-page type OWNS the title and description:notes-on-work= "Notes on "derived_descriptionfunction — What the unit CONTAINS, from data the rendering already uses: the work (when theedit_pointfunction — Edit an accepted point IN PLACE — the per-point repair the ch. 2 staging read demandedeffective_rolesfunction — Each point's role (ruling 96be1528 (1)): its own fact, else its parent's effectiveelided_pointfunction — A point the TYPE elides by kind (ruling 15657521 (2)): the standalone lecture resourceensure_point_setfunction — Mint the (Source, unit)'s PointSet on first use and assert the Note RENDERS it — bothextra_listfunction — Every EXTRA still pending in a set, keyedx001… in the set's order — the ids the judgegroup_pointsfunction — The page's sections. SYNTHESIZED (ruling bc62c727 (A)): when the points includejudge_pointsfunction — Apply an overlap judge's answers to an ACCEPTED draft (ruling 1798a796; work itemkey_ownerfunction — Cross-point keys name SUBSTANCE points: for a set-owned point that is its own set; forlecture_titlefunction — The title a reader knows the lecture by. The URL binding kept the playlist row's title asload_deliverable_typefunction — Read a DeliverableType profile off the graph (None =notes-type <key>first).load_notes_propsetsfunction — Every notes proposal set underroot(optionally for one source), newest first.load_owned_pointsfunction — The points ONE owner holds (HAS_POINT owner -> point), in source order — the owner'sload_placementsfunction — The deliverable's PER-POINT OVERLAY (ruling 96be1528 (3)/(7)): every PLACED edge from aload_point_rolesfunction — Thepoint_rolefacts on the draft's points (ruling 96be1528 (1)): the active value perload_pointsfunction — What a Note RENDERS (ruling 96be1528 (P)): its OWN points (sections, research) plus themerge_point_blocksfunction — The BLOCK merge (ruling 1798a796, fork 1; work item 1561551e): the unit of agreement ismerge_point_proposalsfunction — The ROW-LEVEL merge (work item 3a2c94eb (2); the filter lane'smerge_filter_proposalsmint_deliverable_typefunction — UPSERT a DeliverableType by slug (the display-rule pattern: last journaled op wins).nest_pointsfunction — The one-level view ofbuild_point_tree(kept for callers that only need parent -> children).note_deliverable_typefunction — The Note's bound type slug (the activedeliverable_typefact).note_publish_statesfunction — The publish_state facts as a map: every deliverable's active values. One value is thenote_typesfunction — Every typed Note's active type with that type's kind and origin (design amendmentobserve_segmentsfunction — Observe each segment in the sibling READ-ONLY (label + properties hash + title) — theopen_reference_listfunction — Every hinted reference still open in a set, keyedr01… in the order ofpoints_indexoverlapping_pointsfunction — Pure: the duplication candidates — two points deriving from a shared segment — andpack_digestfunction — Digest the READ content (source binding + numbered lines + headers) — what a proposalpick_propsetfunction — Choose a proposal set: newest by default, else the unique id/prefix match.place_pointfunction — Land the deliverable's overlay on ONE point (ruling 96be1528 (3)/(7)): ONEPLACEDedgeplan_notes_blocksfunction — Cut the whole pack into BLOCKS (ruling 1798a796, fork 1): a block runs between COMMONplan_notes_windowsfunction — Cut a whole-unit pack intocountwindows of near-equal line count at MECHANICALpoint_checkfunction — The CHECK review: one point beside its segments' LIVE text from the sibling — thepoint_coveragefunction — The COVERAGE review: re-read the unit per the Note's type policy and list the contentpoint_from_argsfunction — The op-args -> PointNode mapping the live accept, the replay AND the re-home share.point_set_offunction — The PointSet a unit snapshot addresses (ruling 96be1528 (P)): identity = (sibling graphpoints_as_proposalsfunction — An accepted draft read as a proposal set — a point's key IS its accepted proposal id, sopoints_indexfunction — Key a set of proposal rows for a reader that cannot see their lines:p001… in sourceproposals_from_point_rowsfunction — Resolve validated rows to proposal rows: a minted proposal id (the point's futurepublic_deliverablesfunction — The public rule the publish guard enforces, as a set: a Note is public when its activepure_notes_typefunction — The pure-notes profile as data: information policy = a stratum query, presentationread_source_factsfunction — The Source-level facts a rendering's title and card read LIVE from the sibling (findingread_source_referencesfunction — The Source's human-added resource links (Referencenodes minted by the transcriptionread_source_unitfunction — Read one source unit: the EFFECTIVE spine (layer-0 + applied corrections, via theread_work_structurefunction — The WORK as the sibling holds it: every Source whose structure map names the work, inrehead_pointsfunction — Re-derive every Point's captured heading / heading_index from its segment run against arehome_pointsfunction — THE RE-HOME (ruling 96be1528 (P); the migration of a deliverable born before PointSets):render_judge_brieffunction — The brief of the bounded JUDGEMENT (ruling 1798a796 (2)): ONE whole-source reader worksrender_notesfunction — Derive the Note's body from its Points and APPLY it: the authored preamble stays, therender_notes_packfunction — Render a pack as the brief a proposer reads: the unit, the kind slate, the headersrender_pairs_brieffunction — The brief of the judgement over what standing detection flags (ruling 1798a796 (1)-(2)):render_pointsfunction — Render the body from the Points — deterministic, so a replayedrender-notesderivesrender_points_indexfunction — The index as a reader sees it:p017 [claim] 12:03 **lead** — text, nested by depth.render_reconcile_brieffunction — The brief of the pass that closes hinted references (work item 3a2c94eb (3)): arender_source_cardfunction — The reader-facing provenance (second-read ruling (1)): a derived one-line callout underrender_work_cardfunction — The work page's reader-facing card (check 2d01fe1e): the work-level content — neverrender_work_chaptersfunction — The TOC that is also the executive summary (checks 2d01fe1e + 34f73e46): the units inrender_work_pagefunction — Derive the WORK PAGE's body and APPLY it (item ebb77107; ruling a7ca900d (2)): therender_works_tablefunction — Pure: the per-work promotion condition as the staging site's works table (itemrendered_setsfunction — The Note's RENDERS edges (ruling 96be1528 (P)) — where its substance lives. A node thatrenderers_offunction — The inverse ofrendered_sets: every deliverable sharing the set's substance — what aresolve_referencesfunction — Resolve human-added links for rendering (ae103970): a cross-work link naming aresolve_sibling_sourcefunction — Resolve a Source in the sibling graph: id prefix first (the shared seam), then aretract_note_pointsfunction — Retract EVERY point a Note renders (the re-drive's clean slate — ruling e1fd4d64 (5)):retract_pointfunction — Retract a point: delete the node (its edges cascade). The compensating op of accept —speaker_labelsfunction — Ruling bc62c727 (B): a speaker reads as its NAME, else its ROLE in the role's own wordsstaging_indexfunction — Project the staging site's LISTINGS from the publish_state facts (item 140981e9 (b)):stratum_role_policyfunction — Read a type's stratum policy as ROLES (ruling e1e096fa).stratum_rolesis the onesynopsis_offunctionunit_labelfunction — The short unit handle the title carries (second-read ruling (1): the short shape).unit_title_headerfunction — Ruling e1fd4d64 (C): the first read-aloud header of a chapter file is the chapter's ownunjudged_pairsfunction — STANDING DETECTION (ruling 1798a796 (1)): the pairs of points that leave a draftvalidate_point_rowsfunction — Validate + normalize proposer rows against their pack — loud on the first bad row.with_points_indexfunction — The SEQUENTIAL arm's pack (design 6752db0a (11)): the window pack plus a running indexwork_of_notefunction — Which WORK a typed deliverable belongs to — read from its Points' unit (the structurework_page_notesfunction — The WORK PAGES on this graph: every Note bound to the work-page type, keyed by the workwork_page_typefunction — The WORK PAGE profile as data: one page per Source work, the directory index above itswork_promotion_statusfunction — The WORK-PAGE promotion condition (ruling a7ca900d (1)/(4); item 140981e9 (c)) as awork_reference_of_notefunction — The work a WORK PAGE stands for, read off its edges: the page is linked DERIVED_FROM awrite_notes_propsetfunction — Write one notes proposal set:<out_root>/<set_id>/manifest.json+proposals.jsonl
cjm_context_graph_projection.readiness
anchor_matchesfunction — Pure: does an--anchorquery name this anchor? id prefix, title substring, or slug.classify_readinessfunction — Pure: partition work-items into done / ready / blocked from authored ground truth.honored_closablefunction — Pure: open items a DONE Decision points at via EVIDENCE_FOR / SUPERSEDES — closablereadinessfunction — The derived ready/blocked/done frontier over authoredtask_state+GATED_BYedges.summarize_checksfunction — Pure: per-item DoD summary from the checks' own task_states.
cjm_context_graph_projection.readme
project_readmefunction — Project a repo's README markdown from the graph (structural-only v1).repo_purposefunction — The repo's intro/"why" prose: the activepurposeassertion on the repo Entity.
cjm_context_graph_projection.reads
append_readfunction — Append one read event;ts/sessionstamping ridesappend_op.configure_readsfunction — Arm (or disarm, path=None) read recording for this process.delivered_idsfunction — Node ids a rendered result delivered into the consumer's context.record_readfunction — The render-boundary tap: no-op unarmed, FAIL-OPEN armed.
cjm_context_graph_projection.rebuilddiff
diff_graphsfunction — The pure comparison: node and edge id sets, then every field on each shared id.parse_path_mapfunction — Parse--path-map OLD=NEWflags; a pair without=is refused loudly.rebuild_difffunction — Compare two graph dbs property for property — the live-versus-rebuild standing check.render_rebuild_difffunction — Markdown by class and field (the drift map), or the report as JSON for agents. Rows a
cjm_context_graph_projection.reconcile
reconcile_memoryfunction — Report.md<->graph section drift across the corpus; optionally absorb hand-edits.
cjm_context_graph_projection.refactor
compute_refactor_candidatesfunction — Compute refactoring candidates from the code graph slices (pure).refactor_candidatesfunction — Identify relocation / dead-code / consolidation / split candidates over the code graph.
cjm_context_graph_projection.refactor_ops
movefunction — Relocate a single top-level symbol from its module to another, graph-driven.rewrite_symbol_importfunction — Rewritefrom old_module import ... S ...-> import S from new_module instead.
cjm_context_graph_projection.registers
classify_register_driftfunction — Pure: reconcile each register's cache against its membership ground truth.register_driftfunction — The derived register-cache reconciliation overroleassertions + hub edges.
cjm_context_graph_projection.relive
apply_livefunction — Apply the code fold's step to the db for the records a live verb just appended.
cjm_context_graph_projection.rename_ops
rename_symbolfunction — Rename a top-level free function/class everywhere it is referenced, graph-driven.rename_symbolsfunction — Batch top-level renames in ONE emit set (finding 889b3025).rewrite_import_for_renamefunction — Re-point an importer'sfrom src_module import old [as a]at the new name.scoped_renamefunction — Rename references to the module-globalold->new, scope-aware, by exact position.
cjm_context_graph_projection.render
renderfunction — Render a projection result in the requested format.
cjm_context_graph_projection.review
approvals_offunction — Pure: the ACTIVE approval-class assertions (the roots the frontier walks from).change_keyfunction — The change KEY an acknowledgment binds to:<upstream 8>@<token 12>(a hash tokenclassify_reference_changefunction — Pure: a foreign node changed when its live hash is not the observed one; a foreignclassify_text_changefunction — Pure, revert-aware: compare the live content against its approval-time baseline.reference_baselinefunction — Pure: the observation an approval at T saw — the last journaled observation at orreview_frontierfunction — The derived review frontier: approved deliverables whose upstream changed since approval.walk_upstreamfunction — Pure: BFS upstream from the deliverable's components along the dependency edges.
cjm_context_graph_projection.runtime
GraphHandleclass — A live, started graph: the queue + the capability id to address it.open_graphfunction — Load the graph-storage capability ongraph_db_pathand yield a started handle.
cjm_context_graph_projection.scratchpad_export
derive_entriesfunction — Chronological entries with derivedon_active_path(transcript tipexport_session_markdownfunction — Gather the session's message graph and render the .md projection.read_session_messagesfunction — A session spine's Message BODIES in chain order — theread --sessionverb.render_session_markdownfunction — The pure renderer: one portable markdown document from derived entries.
cjm_context_graph_projection.seeds
aliases_forfunction — Prior names that should resolve to this repo (empty unless it was renamed).class_subject_elementsfunction — Class-subject entities + PART_OF-style membership edges (ABOUT member->class).conceptual_keyfunction — The durable conceptual key for a repo (rename-aware; defaults to the name).rename_contradiction_elementsfunction — The torch/hf-utilsrename-dispositionslots with BOTH claims active.repo_dir_namefunction — The CURRENT repo dir name for a conceptual key (identity unless renamed).seed_elementsfunction — All hand-seeded elements (rename contradiction + stale version + class subjects).stale_version_seed_elementsfunction — Acjm-substrateversion slot seeded BEHIND the real version (oracle bumps it).
cjm_context_graph_projection.series
mint_seriesfunction — Mint or update a Series from its page's record (journaledseries; upsert by key).order_membersfunction — Walk theafterchain from the head; report forks and unreached members.place_in_seriesfunction — Splice ONE member (journaledplace-in-series): insert, move, or remove.series_orderfunction — The series in its AUTHORED order, with whatever breaks the chain (the read verb).set_series_membersfunction — Set a series' WHOLE ordered membership (journaledseries-members).
cjm_context_graph_projection.serve
build_appfunction — Build the read-only API app over already-open graph handles.graph_namesfunction — Derive a stable short name per db (its file stem; collisions suffixed-2,-3, …).serve_graphsfunction — Open every graph once, hold the handles, and serve the API until interrupted.
cjm_context_graph_projection.site
check_source_aliasesfunction — Every front-matter alias must be a supersededsite_pathof the page that declares it:output_hreffunction — Quarto's aliasfixupHref: a trailing slash or an extension-less path names thepage_outputsfunctionpublish_guardfunction — Refuse public output that carries a draft (design 13753cbf (1)): no drafts tree, no linkquarto_inspectfunction — The profile's output dir and input documents, read from Quarto itself.redirect_pagefunction — Quarto's redirect page for one alias location.redirect_planfunction — The redirect projection from thesite_pathfacts: one stub per superseded path, tosite_buildfunction — Build the site under one profile: generated inputs, render, the redirect projection,statedfunction — The ONE reader of what a post's page states (finding 12d98020): its front matter first,write_redirectsfunction — Write each redirect page; a stub landing on a rendered page is an error (Quarto skips it
cjm_context_graph_projection.sitelinks
resolve_site_linksfunction — Reconcile thesite_linkREFERENCES edges of the scoped notes against the facts.site_link_windowfunction — Observe the block's writes, then run the step once at its close (a live write window —site_path_holdersfunction — Every site_path value on the graph, keyed for resolution, plus each page's ACTIVE path.site_path_keyfunction — The key two URLs of one page share under Quarto's URL rules (the facts stay verbatim).step_site_linksfunction — THE STEP (design amendment 9ee4e346): one whole-graph resolve at a window's close, runtouches_inputsfunction — Whether a window moved an input of the resolve (design amendment 9ee4e346 (3)).
cjm_context_graph_projection.sitepages
check_page_outputsfunction — Every Series or Lens page the build projected has its rendered page (the guard's check,group_through_seriesfunction — A Lens with view.group_by "series" lists a member THROUGH its Series page (design 7657c4a5is_generatedfunctionis_publicfunction — A publish_state decides (public only whenpublished); with none, a Note of an ARCHIVEmember_updatedfunction —last-modifiedis a file mtime (a checkout time, not an edit), so it never counts.page_planfunction — Plan every projected page: a Series or Lens with an active site_path gets one; a brokenpage_sourcefunction — The source a page's output is rendered from: Quarto's output file with.qmd.parse_datefunctionproject_pagesfunction — Write the planned pages into the source tree (only those whose text changed), removerender_pagefunction
cjm_context_graph_projection.source_state
IdentityWalkclass — The identity map's walk ONE RECORD AT A TIME — the stepsymbol_identity_mapfoldsSymbolIdentityclass — Container-independent CodeSymbol identity, DERIVED from the source journal (36f649d3).absorb_authored_textfunction — Absorb anauthoredit of a GRAPH-SOURCED module into the source journal.append_registerfunction — Append aregisterevent — repo inventory as JOURNAL DATA (DEC c47912f6).append_retirefunction — Append aretireop ending a module key's journal life.append_sourcefunction — Append asourceop, skipping a write identical to the module's current latest state.canonical_emitfunction — Decompose source text and re-emit it canonically — the exact graph→.pyPhase 2 yields.canonical_emit_notebookfunction — The notebook analogue ofcanonical_emit: parse to cells, re-render canonically.collect_appendsfunction — Collect every source-journal record appended inside the block, as it landed on disk.cutover_modulefunction — Phase 2: make the JOURNAL the module's source of truth (the persistence flip).emit_source_artifactfunction — (Re)generate a module's file artifact from its journaled source (the recovery /flip_modulefunction — Capture a module's CANONICAL source into the shadow source journal (Phase 1).graph_sourced_modulesfunction — The modules whose ingest source IS the journal (acutoverop exists for them).is_test_module_pathfunction — Whether a module path denotes TEST source (tests/ortests_manual/).journal_reposfunction — The on-graph repos — DERIVED from the journal (finding 7a2d54ae): a repo is on-graphjournaled_emitfunction — The ops seam (pillar 1 of DEC 6ee4b4f2): events BEFORE files — THE file-write path.latest_source_opsfunction — The LATEST source state per module (last write wins — the 'journal STATE, not diff'notebook_to_py_sourcefunction — Build a plain-.pymodule source from a notebook's EXPORT cells (the flip transform).read_source_journalfunction — Read everysourceop across the rotated SEGMENT FAMILY (one JSON object persource_checkfunction — The soak instrument: for each shadow-sourced module, check two things.symbol_identity_mapfunction — Derive the container-independent symbol identity map from the source journal (36f649d3).uncaptured_modulesfunction — The uncaptured-module audit (build a6453f70) — the ac3d52f4 recipe as a verb.
cjm_context_graph_projection.sourcemoves
attribute_moved_sourcesfunction — Every source whose HEAD differs between the two records, with the element ids its movedmoved_element_idsfunction — Decompose every kept path that changed betweenaandb, at both versions; a sourcesource_lanefunction — The ingest's own view of one source: which paths it reads and what each version of a
cjm_context_graph_projection.sources
apply_source_factsfunction — Land an observation's facts on its Reference -- live and replay alike. An unchanged valuecitation_textfunction — A citation's parts as one line, in the order a reader reads them.collection_membersfunction — A Collection's member Sources in the sibling, read with the observation.draws_planfunction — Each rendered post's draws-on block; every source a post derives from that the Libraryload_sourcesfunction — Every Note's sources -- its DERIVED_FROM References to a Source or a Collection, eachobserved_factsfunction — The facts a source states about itself, read at observation (722a8232 (1), (2)); itsrender_drawsfunction — What the post draws on (design 37f82f72 (2)): each work or unit named from the Library'ssource_textfunction
cjm_context_graph_projection.structure
add_sectionfunction — Add a section to an existing note (append, or insert after an anchor), born on-graph.born_post_pathfunction — Where a born post's file lives — DERIVED from the config's emit root and the slug, nevernew_notefunction — Create a brand-new note, born on-graph (write the.md+ ingest it this session).reconstruct_notefunction — Reconstruct a whole note (Note + ordered Section nodes) FROM JOURNALED text — the M3
cjm_context_graph_projection.tutorialspage
anchorfunction — A section anchor from vocabulary keys (never a node id).hardware_marksfunction — The verification marks per deliverable: STATED evidence under every profile, thelearning_pathsfunction — The collection pages whose listed members are ALL tutorials; a collection mixingplan_matrix_pagefunction — Plan the Tutorials page: the listed population under the profile, the matrix over it,render_bodyfunction — The grid, the learning-paths slot, the tutorials by task, the off-grid list, and (staging)
cjm_context_graph_projection.viz
project_vizfunction — Project the readiness frontier into a self-contained interactive HTML page.render_viz_htmlfunction — Render the elements into one self-contained interactive HTML page (Cytoscape + dagre).viz_elementsfunction — Pure: turn a readiness frontier into Cytoscape elements — the whole data model.
cjm_context_graph_projection.workbench
anchor_lead_viewfunction — One anchor's LEAD as STRUCTURE (DEC ee9e9be6): the navigable pin tree.journal_opsfunction — The feed's OP-LEDGER zoom (DEC ee9e9be6): one row per journaled op.portfolio_viewfunction — The workbench FRONT DOOR (DEC ee9e9be6): every role-asserted anchor, one row.session_feedfunction — The TWO-ZOOM session feed (DEC ee9e9be6): op ledger + touched-node cards.
cjm_context_graph_projection.worklist
dangling_reference_proposalsfunction — Referenced[[slugs]]with no note, each with a fuzzy suggestion (no auto-fix).dangling_reference_sourcesfunction — The note ids whose[[wiki-links]]includedrifted_slug(alias evidence).worklistfunction — Assemble the propose/confirm worklist (graph signals + optional corpus triage).
cjm_context_graph_projection.write
add_checkfunction — Attach a definition-of-done check to a work item (DoD-as-graph-objects).aliasfunction — Confirm a drifted link slug as an alias OF a real note (the worklist payoff).assert_valuefunction — Write one value to a(subject, predicate)slot, recording any conflict.author_sectionfunction — Apply a memory section's verbatimrawSTATE to the graph — the born-on-graph legconfirm_proposalfunction — CONFIRM a proposal: apply its drafted section raw to the deliverable, then re-assertcontent_hash_offunction — The content an approval binds to (design 40622922): a Note hashes as its losslessdecidefunction — Record a Decision + itsSUPPORTED_BYpremise edges (reasoning substrate).linkfunction — Mint a deliberate edge between two EXISTING nodes (heterogeneous interlink).mint_procedurefunction — Upsert a Procedure node by deterministic (method) id — the programmatic value-sourcemint_proposalfunction — Mint a PROPOSAL — an agent-drafted update for ONE section of a stale deliverableobserve_foreignfunction — Open the sibling graph READ-ONLY, resolve the foreign node, and take the observation.register_sessionfunction — Register/update a timestamp-keyed Session node — the session SPINE (DEC 6124d8bf).resolve_subjectfunction — Resolve a subject to an entity id (rename-stable), minting atermentityretract_sessionfunction — RETRACT a Session spine node — the write dual ofregister_session, onunlinkfunction — RETRACT a deliberate edge — the write dual oflink(finding 2f1d9382).
Dependencies
Depends on: cjm-context-graph-layer, cjm-context-graph-primitives, cjm-design-system, cjm-dev-graph-schema, cjm-harness-transcripts, cjm-markdown-decompose-core, cjm-notebook-decompose-core, cjm-python-decompose-core, cjm-substrate, pyyaml
Used by: cjm-graph-workbench-qt, cjm-notebook-decompose-core, cjm-session-scratchpad-qt
Metadata
Release files for cjm-context-graph-projection 0.0.77
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cjm_context_graph_projection-0.0.77.tar.gz | 880.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cjm_context_graph_projection-0.0.77-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / cjm_context_graph_projection-0.0.77.tar.gz
| Download URL | cjm_context_graph_projection-0.0.77.tar.gz |
|---|---|
| Size | 880.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
128bc950b342afac91eda93f6ed3cd53cf7b9bc03d621d7ca40b48daed7299ed
|
|
BLAKE2b-256 checksum How to use checksums |
05bbfa2c47eb9c45087af369dc9cbaa88740c65961b9b158bfb5f27607b19c72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / cjm_context_graph_projection-0.0.77-py3-none-any.whl
| Download URL | cjm_context_graph_projection-0.0.77-py3-none-any.whl |
|---|---|
| Size | 661.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4aae840249a68d44f5c47c784bb055252ce4d08c5c61d1bbf8bff29b99979247
|
|
BLAKE2b-256 checksum How to use checksums |
c4dd9f2496f2163b195ec5212c8836ed4b1e83b6f4c71439294b161cd8bf7f7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|