projects-setup
Projects Setup
Initialize a new cogni-projects portfolio: a self-contained directory holding consultants, projects, and assignments that later skills (staffing match, backfilling recommender, partner-meeting dashboard) read and write. This skill is the foundation entry point — run it once per portfolio before any staffing logic exists.
Core concept
A portfolio is one cogni-projects/<portfolio-slug>/ directory rooted by a
projects-portfolio.json manifest. The manifest is the source of truth for the
portfolio's identity and holds the (initially empty) consultants[],
projects[], and assignments[] entity lists that downstream skills populate.
A .metadata/ directory carries the append-only logs those skills write to.
Setup is idempotent: re-running against an already-initialized portfolio
returns {"success": false, ...} with an "already initialized" message and
never overwrites existing data.