Files
ai-passport/docs/development/project-completion.md
T
Shinku 1658cc22db docs(project-completion): resolve conflicts and restore verification
Address review feedback:

- Make all six actions optional; README update (E) is the default companion
  of archiving (D), not a standalone requirement.
- Restore the post-release full-build hardware verification that the old
  after-release flow carried and was dropped in the rework.
- Align archive path with the plays convention (plays/<username>/<app-name>/).
- Align the three text-only rules: plays/README, plays-archive skill, and the
  archive-plays action now all record the cover by file name/format only.
- Build the merged full image with ./tools/validate.sh --firmware (not idf.py
  build); confirm commit/push/tag/release separately in action B.
- Rename the entry point from post-release follow-up to project completion in
  AGENTS, the indexes, and cross-references.
2026-08-28 16:58:44 +08:00

5.7 KiB

简体中文 · English

Project Completion

When development on a project is finished, the completion flow offers a menu of six optional closing actions. This page is the single authoritative index: it describes the trigger, the six actions grouped by purpose, the shared safety and consent gates, and the shared publish profile.

The completion flow is not a fixed pipeline and is not tied to a release. The developer selects any one or a combination of the six actions, in any order. Each action runs only after the developer confirms it.

All six actions are optional — none is mandatory. The README update (action E) is one of the six; it runs when selected, and it also accompanies archiving (action D) by default, so archiving a project also refreshes the README.

When the completion flow is offered

Offer the six-action menu when either signal occurs:

  • The developer says the project is complete (development is done).
  • The developer asks to run any one of the six actions directly.

In both cases, remind the developer that the following six closing actions are available, each selectable on its own or with others.

The six actions

The actions are grouped by purpose. Delivery actions publish the result of the project; recording actions capture documentation and open collaboration.

Delivery

ID Action Reference
A Publish to the community market publish-to-community.md
B Publish to Git and update the release release-update.md

Recording

ID Action Reference
C Publish experience experience.md
D Archive the application to plays archive-plays.md
E Update the root README readme-update.md
F File an issue file-issue.md

Each action points to a dedicated document in project-completion/ that names the repository skill or authoritative document that drives it. The skills are not rewritten here; the action documents reference them.

Trigger flow

flowchart TD
    T1["Developer: the project is complete"]
    T2["Developer: run one of the six actions"]

    T1 --> OFFER
    T2 --> OFFER

    OFFER["Offer the six closing actions (single or multiple)"] --> CHOOSE{"Developer selects"}

    subgraph DELIVERY["Delivery"]
        CHOOSE -- A --> A["Publish to community market"]
        CHOOSE -- B --> B["Publish to Git / update release"]
    end

    subgraph RECORDING["Recording"]
        CHOOSE -- C --> C["Publish experience"]
        CHOOSE -- D --> D["Archive to plays"]
        CHOOSE -- E --> E["Update root README"]
        CHOOSE -- F --> F["File an issue"]
    end

    A --> CONFIRM["Developer confirms"] --> DONE(["Done"])
    B --> CONFIRM
    C --> CONFIRM
    D --> CONFIRM
    E --> CONFIRM
    F --> CONFIRM

    classDef trigger fill:#f3e8ff,stroke:#8a5bd0,color:#333;
    classDef offer fill:#fff3cd,stroke:#e6a817,color:#333;
    classDef action fill:#e7f0ff,stroke:#4a74b8,color:#333;
    classDef done fill:#e6f7e6,stroke:#4a9e4a,color:#333;
    class T1,T2 trigger;
    class OFFER,CHOOSE offer;
    class A,B,C,D,E,F action;
    class DONE done;

Published profile

Publishing to the community collects a set of project attributes. Keep these as a shared profile so actions C, D, E, and F can reuse the same values instead of collecting them again:

  • Application name (lowercase-kebab-case).
  • Bilingual publish title and description.
  • Cover image (<app-name>-cover.<webp|png|jpg>, up to 10 MiB).
  • Source address: the HTTPS Git page the developer submitted, resolved from git remote -v.
  • Firmware path / merged .bin.

At execution, reuse the profile where it was already collected. If the profile was not collected, fetch the values through the relevant action skill.

Post-release hardware verification

When a delivery action (A or B) produced a merged full build, verify it on real hardware before treating the project as complete. Download the release's merged full firmware (FoloToy-AI-Passport-full.bin, the flashable complete build from 0x0), flash it to a device, and confirm it runs normally. Do not treat a successful build or upload as hardware validation: this step proves the artifact the release actually points to boots and works on real hardware. The artifact comes from the release assets (the CI/CD full.bin) or, for a Git release with no CI artifact, the local full.bin the developer built. If it does not run, stop and fix before closing out. See CI-build-and-release.md for the artifact and flashing.

Every action follows the same non-negotiable rules:

  • Confirm consent before starting; this work touches project-private content.
  • Confirm a GitHub channel (GitHub MCP, a GitHub skill, or gh) before any submission; if none is available, generate content for manual pasting and stop.
  • Do not submit (issue or PR) until the developer has reviewed and authorized it.
  • Do not commit on or modify the developer's current branch; carry the change on a dedicated branch or worktree.
  • Never include credentials, device QR secrets, private device links, personal data, or unsanitized logs.