Fixes #757 ## Changes Separate operations from code into {project}-ops repo pattern. Added OPS_REPO_ROOT infrastructure (env.sh, load-project.sh, formula-session.sh with ensure_ops_repo helper). Updated all 8 agent scripts and 7 formulas to read/write vault items, journals, evidence, prerequisites, RESOURCES.md, and knowledge from the ops repo. Added setup_ops_repo() to disinto init for automatic ops repo creation and seeding. Removed migrated data from code repo (vault data dirs, planner journal/memory/prerequisites, supervisor journal/best-practices, evidence, RESOURCES.md). Updated all documentation. 55 files changed, ShellCheck clean, all 38 phase tests pass. Co-authored-by: openhands <openhands@all-hands.dev> Reviewed-on: https://codeberg.org/johba/disinto/pulls/767 Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
This commit is contained in:
parent
a899fd0733
commit
71fe89cdd0
55 changed files with 421 additions and 932 deletions
|
|
@ -43,6 +43,10 @@ emit('FORGE_URL', cfg.get('forge_url', ''))
|
|||
|
||||
if 'repo_root' in cfg:
|
||||
emit('PROJECT_REPO_ROOT', cfg['repo_root'])
|
||||
if 'ops_repo_root' in cfg:
|
||||
emit('OPS_REPO_ROOT', cfg['ops_repo_root'])
|
||||
if 'ops_repo' in cfg:
|
||||
emit('FORGE_OPS_REPO', cfg['ops_repo'])
|
||||
if 'primary_branch' in cfg:
|
||||
emit('PRIMARY_BRANCH', cfg['primary_branch'])
|
||||
|
||||
|
|
@ -99,4 +103,14 @@ if [ -z "${PROJECT_REPO_ROOT:-}" ] && [ -n "${PROJECT_NAME:-}" ]; then
|
|||
export PROJECT_REPO_ROOT="/home/${USER}/${PROJECT_NAME}"
|
||||
fi
|
||||
|
||||
# Derive OPS_REPO_ROOT if not explicitly set
|
||||
if [ -z "${OPS_REPO_ROOT:-}" ] && [ -n "${PROJECT_NAME:-}" ]; then
|
||||
export OPS_REPO_ROOT="/home/${USER}/${PROJECT_NAME}-ops"
|
||||
fi
|
||||
|
||||
# Derive FORGE_OPS_REPO if not explicitly set
|
||||
if [ -z "${FORGE_OPS_REPO:-}" ] && [ -n "${FORGE_REPO:-}" ]; then
|
||||
export FORGE_OPS_REPO="${FORGE_REPO}-ops"
|
||||
fi
|
||||
|
||||
unset _PROJECT_TOML _PROJECT_VARS _key _val
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue