feat: sync and reference Very Good Engineering content

Aberta
#6 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
dart
Domínio
tooling

Direção de pesquisa

First confirm that Very Good Engineering has published versioned, downloadable FFCA bundles. Then inspect hooks/hooks.json, scripts/sync_reference.dart, the skills, ffca-layer-auditor, and validate_layers.dart. Done means the hook syncs minor updates, holds major ones, fails open, and consumers fall back to references/ffca_architecture.md.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

external dependency feature

What

Pull the latest published FFCA standard from Very Good Engineering at session start, and have skills and the auditor read that cache instead of the bundled copy in references/ffca_architecture.md.

Why

references/ffca_architecture.md is a hand-maintained mirror of the FFCA page, and scripts/sync_reference.dart is still a stub. Every change to the standard needs a manual edit plus a plugin release, and plugins are not updated reliably on local machines. The mirror drifts as soon as the source changes. Same approach as VeryGoodOpenSource/vgv-ai-flutter-plugin#158.

How

  • A SessionStart hook runs a sync script before any work begins.
  • The script compares the locally cached VGE version against the published one.
  • Minor difference: download and overwrite the cache.
  • Major difference: keep the cached copy and wait for a plugin release, since renamed or new sections may need skills rewired. Skills cite sections by name, such as Dependency Graph Rules and Naming Conventions (Enforced).
  • The cache lives outside the plugin directory so it survives reinstalls.
  • The bundled references/ffca_architecture.md stays as the fallback when no cache exists.

Sync must fail open. A network failure, a slow response, or an offline machine cannot block the session or the hook's time budget.

Sections

FFCA architecture. Layered Architecture too, since the skills defer to it for non-FFCA repos.

Tasks

  • Add the sync script and wire it to SessionStart in hooks/hooks.json
  • Pin the VGE version this plugin was built against
  • Hold on a major difference, sync on a minor one
  • Fail open on any network or parse error
  • Point skills and ffca-layer-auditor at the cache, falling back to the bundled reference
  • Replace or remove the scripts/sync_reference.dart stub
  • Check whether validate_layers.dart rules need to follow the synced standard

Blocked

Waiting on Very Good Engineering to publish FFCA and to ship versioned, downloadable bundles. Nothing here is implementable until that lands.

Linguagem predominante
Dart
Estrelas
7
Forks
2
Merge médio
2d 8h
PRs com merge (30d)
9

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de VeryGoodOpenSource/vgv-ffca-plugin

Todas as issues de VeryGoodOpenSource/vgv-ffca-plugin

Issues semelhantes

Mais issues de Dart

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.