Skip to main content

Codebase observation graph and mapping tools

Project description

eforge

Codebase observation graph for developers. Map your codebase. Track concepts. Find relationships.

Install

pip install eforge

Project bootstrap (manifest + tasks)

For declaration-graph workflows, initialize the project once:

cd your-project
eforge init
eforge task add --title "Map auth module" -y
eforge task list

eforge console (declare / search / status on the manifest graph) needs the full forge compiler runtime — monorepo checkout or a future eforge[compiler] extra. The PyPI wheel is standalone for init, task, node, schema, and error.

No setup needed

Just start adding nodes. .forge/observations/ is created automatically on first use.

cd your-project
eforge node add "AuthSystem" --kind concept/feature -y
eforge node add "auth.py" --kind core/file \
  --file src/auth.py -y
eforge node link "AuthSystem" "auth.py" \
  --rel housed-in \
  --note "core auth logic" -y
eforge node show "AuthSystem"

Commands

eforge node     add, show, list, find, link,
                note, tag, mark, edit, inspect
eforge schema   list, show, create, edit,
                validate, copy, restore
eforge error    lookup, search, list, stats

Your own schemas

eforge ships with built-in schemas for common node types. Add project-specific schemas without touching forge:

eforge schema create game/canvas

This creates .eforge/schemas/domain/game/canvas.yaml. Your schema is immediately available:

eforge node add "PixelCanvas" --kind game/canvas
# SchemaPrompt uses YOUR schema properties

Schema search order:

  1. .eforge/schemas/ (your project)
  2. forge built-ins

Built-in kinds: concept/feature, core/file, ui/screen, ui/variant, ui/component, architecture/session, architecture/boundary, data/model, data/table, data/rpc, code/class, code/function, code/module

Node types

concept/feature planned features, systems, capabilities
core/file       source files

Relationship types

housed-in       concept → file
relates-to      concept → concept
depends-on      A needs B
implements      code implements concept
raises          code raises error

Storage

.eforge/schemas/           project type schemas
.forge/observations/
  nodes/                   one yaml per node
  .cache/                  SQLite index (auto-rebuilt)

No AI required

Works without any AI assistant. Map your codebase manually, one node at a time.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eforge-1.0.6.tar.gz (12.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eforge-1.0.6-py3-none-any.whl (109.0 kB view details)

Uploaded Python 3

File details

Details for the file eforge-1.0.6.tar.gz.

File metadata

  • Download URL: eforge-1.0.6.tar.gz
  • Upload date:
  • Size: 12.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for eforge-1.0.6.tar.gz
Algorithm Hash digest
SHA256 9b947141a55c769d89f0e5dba30b2295f891075f28627977e3c6a697b0de3d54
MD5 764adaddfc9adbc3eb13e3161ca3a7ee
BLAKE2b-256 feee83a91adaaeb1ca4b1f4a94b6661cb6e2ee98ff58315b230dd94f65d392a2

See more details on using hashes here.

File details

Details for the file eforge-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: eforge-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 109.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for eforge-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 491313e88446838e9af665f5905d77a9a25c9c27bbd7d2b40401b7939f7c5980
MD5 b4b8346361b920adc36c84f33af45670
BLAKE2b-256 d8698a0c69665d43a7b9f92c26857092bd28c17827c36b8d0eb394333dd0e7f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page