Skip to content

Clean up#95

Open
gkostin1966 wants to merge 4 commits intoumichfrom
clean-up
Open

Clean up#95
gkostin1966 wants to merge 4 commits intoumichfrom
clean-up

Conversation

@gkostin1966
Copy link
Copy Markdown
Collaborator

clean-up — Generalize coding-agent markdown files

Summary

Converts the show-password-login-specific agent-guidance files into
repo-wide, feature-agnostic tooling that can support multiple plans and
work items running in parallel.

No source code is changed. All commits are documentation only.


Changes

PLAN_DSPACE_ANGULAR_PASSWORD_LOGIN.mdplans/PLAN_DSPACE_ANGULAR_PASSWORD_LOGIN.md

Moved the plan document into a new plans/ directory so all per-feature
design documents live in one place. Updated the file's own header to reflect
its new path and merged status.

plans/PLAN_TEMPLATE.md (new)

Blank plan template for future features. Sections: Problem, Chosen Solution,
Key Files, Exact Code Changes, Config / Environment Variables, Truth Table,
Verification Steps, Out-of-Band Tasks.

AGENTS.md

Rewritten as repo-wide coding-agent guidelines. Removed all
show-password-login-specific content. Now contains:

  • Repository overview (framework, language, conventions).
  • How to find work (TODO.mdplans/ document).
  • Six general coding guidelines (non-interactive CLI flags, get_errors
    after every TS edit, commit message convention, ng test flags, etc.).
  • Reusable codebase patterns: APP_CONFIG injection, adding a config flag,
    CUSTOM_ELEMENTS_SCHEMA behaviour, TestBed.overrideProvider() limitation.
  • Plans index table (one row per feature).

TODO.md

Rewritten to support multiple parallel work items. Each work item is a
top-level heading with its own subtask checklist and a reference to the
relevant plan document.

DONE.md

Rewritten as a general feature archive. Each completed feature is a
top-level heading with its plan reference, branch, PR number, and a
concise summary of what was done.


Why

The previous files were written during the show-password-login sprint and
were tightly coupled to that feature. As the next feature work starts, a
coding agent that reads AGENTS.md / TODO.md would be confused by
feature-specific instructions. This PR makes the system self-consistent and
ready for the next task.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Documentation-only cleanup to generalize the repo’s “coding agent” guidance and work-tracking markdown so it supports multiple concurrent work items and standardizes plan documents under plans/.

Changes:

  • Added a reusable plan template at plans/PLAN_TEMPLATE.md.
  • Moved/updated the existing password-login plan into plans/ and refreshed its header metadata.
  • Rewrote AGENTS.md, TODO.md, DONE.md, and PULL_REQUEST.md into repo-wide, feature-agnostic tracking/guidance docs.

Reviewed changes

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

Show a summary per file
File Description
plans/PLAN_TEMPLATE.md Adds a standardized template for future feature plans.
plans/PLAN_DSPACE_ANGULAR_PASSWORD_LOGIN.md Updates header metadata to reflect new location and merged status.
AGENTS.md Replaces feature-specific agent notes with repo-wide guidelines and reusable patterns.
TODO.md Restructures work tracking to support parallel work items.
DONE.md Restructures completed-work archive format by feature/work item.
PULL_REQUEST.md Updates PR template/content to match the new “clean-up” documentation focus.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md
| Active branch | `show-password-login` |
| Base branch | `umich` / `issue-working` |
| Primary branch | `umich` |
| Framework | Angular 14 / DSpace 7.6 |
Comment thread DONE.md
Comment on lines +46 to 49
## ✅ Task A — Generalize coding-agent markdown files

**Test result:** ✅ 3 specs, 0 failures
```
✔ should create LogInComponent
✔ should render a log-in container component for each auth method available
✔ should render only the password auth method when showPasswordLogin is enabled
TOTAL: 3 SUCCESS
```
**Branch:** `clean-up` → merged to `umich` as **PR #___**

Comment thread TODO.md
Comment on lines +10 to 48
## Task A — Generalize coding-agent markdown files

**Branch:** `clean-up`
**Goal:** Replace the `show-password-login`-specific agent files (`AGENTS.md`, `TODO.md`,
`DONE.md`) with general-purpose equivalents that can track multiple plans and work items
in parallel, and move plan documents into a dedicated `plans/` directory.

### Subtasks (in order)

- [x] **A1. Create `plans/` directory** — move `PLAN_DSPACE_ANGULAR_PASSWORD_LOGIN.md`
into `plans/` so all per-feature design documents live in one place.
Update any cross-references inside the file to reflect its new path.

- [x] **A2. Rewrite `AGENTS.md`** — strip out all `show-password-login`-specific content
and replace with repo-wide guidance:
- Repository overview (framework, language, conventions).
- How to find work: read `TODO.md`, read the relevant `plans/` document.
- General coding guidelines (currently guideline 9 about non-interactive CLI flags —
keep and expand as the canonical list for all agents).
- Reusable codebase patterns worth knowing (e.g. `APP_CONFIG` injection, Angular
testing patterns, `By.directive` vs `CUSTOM_ELEMENTS_SCHEMA`).
- Remove all references to a specific branch, ticket, or feature.

- [x] **A3. Rewrite `TODO.md`** (this file) — convert to the general format illustrated
here: tasks grouped by work item, each referencing its plan document, no hardcoded
branch or feature names in the file header.

- [x] **A4. Rewrite `DONE.md`** — convert to a general archive grouped by work item /
feature, each group headed by the feature name and merged-PR reference rather than
a flat chronological list tied to `show-password-login`.

- [x] **A5. Add a `plans/PLAN_TEMPLATE.md`** — a blank plan template that a human or
agent can copy when starting a new feature, with sections for: Problem, Chosen
Solution, Key Files, Truth Table / Example Config, Verification Steps.

- [x] **A6. Commit all changes** on `clean-up` and open a PR against `umich`.

---

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