Skip to content

revert: remove direct Phase 2 commit from main - #144

Merged
zarfld merged 1 commit into
mainfrom
revert/143-direct-main
Jul 31, 2026
Merged

revert: remove direct Phase 2 commit from main#144
zarfld merged 1 commit into
mainfrom
revert/143-direct-main

Conversation

@zarfld

@zarfld zarfld commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Reverts the unreviewed direct-main commit 14aee4a.

Part of #143
Part of #140

Copilot AI review requested due to automatic review settings July 31, 2026 13:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR is titled as a revert of an unreviewed direct-to-main commit, but the actual changes substantially rewrite both Phase 2 prompt files into large, generic “spec-driven template” documents that reintroduce web-application stack assumptions (TypeScript/Jest/JWT/npm/REST/etc.), which conflicts with the stated goals and acceptance criteria of #143/#140.

Changes:

  • Replaces the PoKeysHal-specific tdd-compile prompt with an ~800-line generic TDD workflow containing TypeScript/Jest/JWT/npm examples.
  • Replaces the PoKeysHal-specific repository-audit prompt with an ~1900-line generic audit/migration template that assumes package.json, src/, REST, Java, etc.
  • Adjusts prompt applicability globs such that tdd-compile no longer targets C sources.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/prompts/tdd-compile.prompt.md Large rewrite; now includes generic web-stack TDD content and no longer applies to C files.
.github/prompts/repository-audit.prompt.md Large rewrite; now a generic audit/migration template with explicitly forbidden stack assumptions and far beyond line budget.
Suppressed comments (1)

.github/prompts/tdd-compile.prompt.md:103

  • This prompt now includes generic web-app authentication examples and tooling (TypeScript/Jest/JWT/bcrypt/npm) which is explicitly disallowed by #143/#140, and it also far exceeds the line budget (now >800 lines). It should be rewritten back to a PoKeysHal-specific, C99/LinuxCNC/HAL/async/HIL-oriented entry point and kept within the specified max length (180 lines).
```typescript
/**
 * Test Suite for User Authentication
 * 
 * Verifies: #25 (REQ-F-AUTH-001: User Login)

Comment on lines 3 to +6
applyTo:
- "**/*.c"
- "**/*.h"
- "**/*.md"
- "**/05-implementation/**/*"
- "**/user-story-*.md"
Comment on lines +289 to +291
*
* See: https://github.com/zarfld/IntelAvbFilter/issues/25
*/
Comment on lines +52 to +56
│ └── workflows/ # CI/CD with traceability validation
├── src/ # Source code (docstrings reference issues)
├── tests/ # Test code (tests reference issues)
└── package.json # Dependencies & scripts
```
@zarfld
zarfld merged commit 6cfa7a3 into main Jul 31, 2026
3 checks passed
@zarfld
zarfld deleted the revert/143-direct-main branch July 31, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants