3.9 KiB
Workflow
1. Model Extraction Workflow
For detailed model extraction gates, see docs/MODEL_EXTRACTION_WORKFLOW.md.
The project follows this flow:
Original article / representative text
-> source article record
-> source evidence excerpts
-> human-readable model card
-> machine-readable model JSON
-> regression cases
-> selector examples
-> validation report
2. Development Workflow
For each task:
- Read
README.mdandAGENTS.md. - Check
docs/PROJECT_BRIEF.md. - Modify the smallest necessary set of files.
- Keep JSON and Markdown versions consistent.
- Run or update validation.
- Update reports or handoff notes.
- Do not expand scope without confirmation.
3. Model Addition Workflow
When adding a new model:
- Create a model JSON file in
models/. - Create a human-readable card in
cards/. - Add source article records.
- Add source evidence excerpts.
- Add regression cases.
- Add selector examples if relevant.
- Run
python scripts\rebuild_indexes.py --write. - Run validation.
- Update documentation.
4. Stabilization Workflow
If a model is unstable:
- Mark
needs_stabilization: true. - Add risks in
stability_profile.main_risks. - Add boundary and misuse regression cases.
- Do not upgrade to stability level A until tests pass.
5. Handoff Workflow
For ChatGPT-specific handoff rules, see docs/CHATGPT_HANDOFF_RULES.md.
At the end of each work session:
- Summarize what changed.
- List created and modified files.
- Record validation status.
- Separate assumptions from verified facts.
- List questions that require product or CCRA judgment.
- Suggest the smallest useful next tasks.
If the owner is going from Codex to ChatGPT, create a reports/ChatGPT交接文档_<topic>_<YYYY-MM-DD>.md file before ending the work session.
Before handoff, run:
python scripts\rebuild_indexes.py --check
python scripts\validate_model_library.py
6. Supplier Request Workflow
When this repository needs a capability owned by a neighboring repository:
- Classify the need.
- Use
requirements/ccpe/for expert-agent, runtime, model-governance, invocation, evaluation, or integration-registration needs. - Use
requirements/skills-vault/for deterministic automation, reusable scripts, validation helpers, extraction helpers, or installable Skill needs. - Write one request file per missing capability.
- Pause the dependent model extraction or implementation step unless the project owner explicitly says to solve the need locally.
- Resume after the supplier artifact, installed Skill, or owner decision is available.
7. Duplex Model Extraction Workflow
Model extraction has two concurrent tracks:
Workflow/tooling track -> request or build the process and supporting capabilities.
Content-processing track -> use available capabilities to extract, validate, and stabilize models.
Do not let the content-processing track silently absorb missing tooling work.
If a tool gap appears, record it as a supplier request and stop the blocked extraction step.
8. Framework Adoption Workflow
Third-party agentic frameworks such as CrewAI or LangGraph may be introduced only for concrete product implementation.
Before adoption:
- Record the product reason.
- Identify whether CCPE needs to supply an Agent Spec, Runtime Spec, authority rule, evaluation rule, or integration registration.
- Identify whether skills-vault needs to supply reusable deterministic helpers.
- Keep framework adapters, state, deployment, and product-specific behavior in this repository.
- Record the boundary decision in
docs/DECISIONS.md.
9. Knowledge Asset Workflow
For long-term reusable knowledge rules, see docs/KNOWLEDGE_ASSET_RULES.md.
When a rule, model map, schema explanation, workflow summary, or product context becomes stable enough to reuse across sessions, create or update a file under knowledge_assets/.
Do not leave durable knowledge only in temporary reports.