implementado graphify.sh
This commit is contained in:
parent
65a7aeb275
commit
cb90e4d858
11 changed files with 261 additions and 26 deletions
|
|
@ -182,14 +182,25 @@ else
|
|||
echo -e " ${AZUL}ℹ${RESET} .agent-local/ ausente (usando 100% regras e skills globais)."
|
||||
fi
|
||||
|
||||
# 6. Validar Limite de Linhas (Governança de Código)
|
||||
echo -e "\n${NEGRITO}[6/6] Governança de Código (verificar-linhas.sh)${RESET}"
|
||||
# 6. Validar Limite de Linhas e Grafo de Conhecimento (Governança de Código)
|
||||
echo -e "\n${NEGRITO}[6/6] Governança de Código & Graphify (verificar-linhas.sh / graphify.sh)${RESET}"
|
||||
if [ -f "$ROOT_DIR/.agent/verificar-linhas.sh" ]; then
|
||||
sh "$ROOT_DIR/.agent/verificar-linhas.sh" > /dev/null 2>&1 && \
|
||||
echo -e " ${VERDE}✓${RESET} 100% dos arquivos dentro do limite de 250 linhas." || \
|
||||
echo -e " ${AMARELO}⚠${RESET} Há arquivos excedendo 250 linhas (execute sh .agent/verificar-linhas.sh)."
|
||||
fi
|
||||
|
||||
if [ -f "$ROOT_DIR/.agent/scripts/graphify.sh" ]; then
|
||||
bash "$ROOT_DIR/.agent/scripts/graphify.sh" gitignore > /dev/null 2>&1 || true
|
||||
echo -e " ${VERDE}✓${RESET} .gitignore configurado para Graphify (.graphify/, .engram/, graphify-out/)."
|
||||
export PATH="$HOME/.bun/bin:$PATH"
|
||||
if command -v graphify >/dev/null 2>&1 || command -v engram >/dev/null 2>&1; then
|
||||
echo -e " ${VERDE}✓${RESET} CLI Graphify instalado na máquina."
|
||||
else
|
||||
echo -e " ${AZUL}ℹ${RESET} CLI Graphify será instalado automaticamente via Bun no primeiro uso de graphify.sh."
|
||||
fi
|
||||
fi
|
||||
|
||||
# Resumo Final
|
||||
echo -e "\n${AZUL}${NEGRITO}======================================================${RESET}"
|
||||
if [ "$TOTAL_ERROS" -eq 0 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue