Pack: code-text

The text of every text file in git-code's repository (code, Markdown, YAML, scripts, configuration), with Python cut into one chunk per function or class and files holding a literal secret left out.

Field Value
Kind context
Version 0.2.0
Needs a credential to publish no
Okg modules it needs document_starter, person, extraction, git_graph
Packs it needs git-code

In which bundles

Add it to an instance with archi add code-text.

Sources

  • code-text.code_text

Questions

archi init asks these. Answer one with --answer code_text_<id>=VALUE.

Id Type Required Default Prompt
extractors_dir string no ${deployment_dir} directory holding extractors.yaml for the code-text source (leave the default)

Credentials

The manifest names no credential variable.

Freshness limits

archi doctor compares each source's age with its limit.

Source Longest acceptable age
code-text.code_text 7d

Invariants

The pack owns these checks. They leave with it.

Name Severity What it checks
code_text_coverage error The code-text source must have live code documents and chunks. Required live subtypes: document, document_chunk. A missing one means the input was empty or the connector regressed.

Playbooks

The pack ships no playbook.