All checks were successful
KB Lint / validate (push) Successful in 3s
- Create kb/01_projects/test/2025-11-11--runner-test--note.md - Include all 18 required frontmatter fields - Proper filename pattern, date, and type matching - routing_confidence: 0.95 (valid, not in review queue) - Test workflow fix for git revision error - Verify KB lint workflow executes correctly
2.8 KiB
2.8 KiB
title, date, captured_at, author, source, source_type, project, related_projects, topics, tags, type, status, phase_relevance, routing_hint, proposed_path, routing_confidence, related, summary, key_takeaways, action_candidates
| title | date | captured_at | author | source | source_type | project | related_projects | topics | tags | type | status | phase_relevance | routing_hint | proposed_path | routing_confidence | related | summary | key_takeaways | action_candidates | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Runner Test - KB Workflow Validation | 2025-11-11 | 2025-11-11 |
|
|
chat |
|
|
|
|
note | draft |
|
Test file for Gitea Actions runner and workflow validation - will be deleted after testing | kb/01_projects/test/ | 0.95 | Test KB file created to validate Gitea Actions runner setup and KB lint workflow functionality. This file will be deleted after successful workflow validation. |
Runner Test - KB Workflow Validation
This is a test file created to validate that the Gitea Actions runner setup and KB lint workflow (kb-lint.yml) are working correctly on the current branch.
Purpose
- Test KB file naming validation
- Test frontmatter validation with all required fields
- Test workflow triggers on push events
- Verify workflow provides clear validation results
- Test that the git revision error fix is working
Expected Behavior
When this file is committed and pushed to the current branch:
- KB lint workflow should trigger (because
kb/**/*.mdchanged) - Workflow should validate the file without git revision errors
- Workflow should pass (file follows all rules)
- No
fatal: bad revision 'HEAD~1...HEAD'error should appear
File Details
- Filename:
2025-11-11--runner-test--note.md - Type: note
- Date: 2025-11-11
- Location:
kb/01_projects/test/ - Routing Confidence: 0.95 (high confidence, not in review queue)
Validation Rules Tested
✅ Filename pattern: YYYY-MM-DD--slug--type.md
✅ Frontmatter exists and is valid YAML
✅ All 18 required fields present:
- title, date, captured_at, author, source, source_type
- project, related_projects, topics, tags
- type, status, phase_relevance
- routing_hint, proposed_path, routing_confidence
- related, summary, key_takeaways, action_candidates
✅ Date in frontmatter matches filename date (2025-11-11)
✅ Type in frontmatter matches filename type (note)
✅ routing_confidence is numeric 0.00-1.00 (0.95)
✅ routing_confidence >= 0.60 (not in _review_queue/)
Workflow Fix Validation
This file also tests that the workflow fix for the git revision error is working:
- Uses
github.event.beforeandgithub.event.afterinstead ofHEAD~1...HEAD - Should work correctly with shallow clones
- Should not produce
fatal: bad revisionerrors
Note: This file will be deleted after workflow validation is confirmed successful.