Giao diện
Knowledge Transfer for AI & ML Engineering
1. Objective
To perform routine Knowledge Transfer within the AI & ML Engineering context.
2. When to use / When not to use
When to use:
- Periodic maintenance.
When not to use:
- During freeze.
3. Inputs (Required/Optional)
Required:
- Current State
Optional:
- Relevant documentation
4. Outputs (Artifacts)
- Updated State: Description of the Updated State artifact.
5. Operating Modes
| Mode | Description | Verification Level |
|---|---|---|
| Fast | Focus on speed, minimal validation. | Basic syntax/lint checks only. |
| Standard | Balanced approach. | Unit tests and standard linting. |
| Deep | Comprehensive analysis and optimization. | Full test suite, performance profiling, security scan. |
6. Constraints & Guardrails
- No Broken Builds: Ensure all changes pass the build process.
- Code Style: Strictly adhere to the project's linting and formatting rules.
- Security: Do not introduce new vulnerabilities; sanitize all inputs.
- Performance: Avoid O(n^2) or worse complexity unless strictly necessary and documented.
- Testing: Maintain or improve code coverage; do not degrade it.
7. Procedure
Phase 1: Review
- Audit AI & ML Engineering assets.
- Identify stale items.
Phase 2: Action
- Execute Knowledge Transfer.
- Verify changes.
Phase 3: Log
- Update changelog.
- Notify team.
8. Quality Gates (Definition of Done)
- [ ] code compiles/runs without errors.
- [ ] All new components include identical or improved test coverage.
- [ ] No new linting errors or warnings introduced.
- [ ] Documentation updated (inline and external).
- [ ] Security scan passes (no high/critical severities).
9. Failure Modes & Recovery
| Failure Mode | Recovery Action |
|---|---|
| Build Failure | Check error logs, revert recent changes, verify dependencies. |
| Test Failure | Isolate failing test, debug logic, or update test if requirements changed. |
| Linting Error | Run auto-formatter and manually fix remaining issues. |
| Merge Conflict | Rebase on main, resolve conflicts manually, run tests again. |
10. Copy-Paste Prompt
text
Role: Act as a Lead Engineer.
Task: Execute the Knowledge Transfer for AI & ML Engineering workflow.
## Objective & Scope
- **Goal**: Ensure seamless handover of technical ownership for AI/ML assets.
- **Scope**: Documentation review, Code walkthroughs, Access transfer, and Q&A sessions.
## Inputs
- [ ] ASSET: The Repo/Model/System being transferred.
- [ ] RECIPIENT: The receiving team or individual.
## Output Artifacts
- [ ] KT Documentation / Recording
- [ ] Access Grant Log
## Execution Steps
1. **Prepare**
- Audit documentation completeness. Identify gaps in "How-to-Run" or "Architecture".
2. **Conduct**
- Schedule walkthrough session. Record it. Walk through code structure, deployment, and failure modes.
3. **Handover**
- Transfer permissions (AWS/Repo). Recipient deploys/runs the system once to verify access.
## Quality Gates
- [ ] Documentation gap filled.
- [ ] Session recorded.
- [ ] Recipient successfully ran the system.
## Failure Handling
- If blocked, output a "Clarification Brief" detailing missing info or blockers.
## Constraints
- **Security**: Revoke old access after handover is confirmed.
## Command
Now execute this workflow step-by-step.