[EPIC] IaC Workflow — .gitignore fix, stale PR closer, FEATURES.yaml, CONTRIBUTING.md #1254

Merged
Timmy merged 4 commits from epic/iac-workflow-1248 into main 2026-04-12 04:51:45 +00:00
Member

[EPIC] IaC Workflow — Eliminate Stale PR Race Conditions

Closes #1248, #1249, #1250, #1251, #1252

Changes

Commit 1: Fix .gitignore + purge pycache (#1249)

  • Replace path-specific __pycache__ entries with recursive **/__pycache__/
  • Add *.pyc and *.pyo globs
  • Remove 22 tracked .pyc files from bin/, nexus/evennia_mempalace/, nexus/mempalace/, nexus/mnemosyne/

Commit 2: Stale PR closer script (#1250)

  • .githooks/stale-pr-closer.sh — Shell/Python cron script
  • Identifies PRs that are both conflicted AND superseded (by issue reference or 60%+ title word overlap)
  • Configurable GRACE_HOURS (default 24h), DRY_RUN mode
  • Designed for 6-hourly cron on Hermes

Commit 3: Mnemosyne FEATURES.yaml (#1251)

  • Declarative manifest at nexus/mnemosyne/FEATURES.yaml
  • Documents all shipped backend modules and frontend components
  • Lists planned/unshipped features (decay, pulse, embeddings, consolidation)
  • References merged PRs for audit trail

Commit 4: CONTRIBUTING.md — Assignment-Lock Protocol (#1252)

  • Replaces the old duplicated/messy CONTRIBUTING.md with a clean version
  • Preserves all policy info (reviewer assignments, CI status, branch protection)
  • Adds: assignment-as-lock protocol for humans and agents
  • Adds: path conventions table
  • Adds: feature manifest workflow
  • Adds: stale PR policy documentation

Not included (requires admin)

  • #1253 (Branch protection) — The perplexity user lacks admin access. rockachopa needs to configure rebase-before-merge in Gitea Settings → Branches → main.
## [EPIC] IaC Workflow — Eliminate Stale PR Race Conditions Closes #1248, #1249, #1250, #1251, #1252 ### Changes **Commit 1: Fix .gitignore + purge __pycache__ (#1249)** - Replace path-specific `__pycache__` entries with recursive `**/__pycache__/` - Add `*.pyc` and `*.pyo` globs - Remove 22 tracked `.pyc` files from `bin/`, `nexus/evennia_mempalace/`, `nexus/mempalace/`, `nexus/mnemosyne/` **Commit 2: Stale PR closer script (#1250)** - `.githooks/stale-pr-closer.sh` — Shell/Python cron script - Identifies PRs that are both conflicted AND superseded (by issue reference or 60%+ title word overlap) - Configurable `GRACE_HOURS` (default 24h), `DRY_RUN` mode - Designed for 6-hourly cron on Hermes **Commit 3: Mnemosyne FEATURES.yaml (#1251)** - Declarative manifest at `nexus/mnemosyne/FEATURES.yaml` - Documents all shipped backend modules and frontend components - Lists planned/unshipped features (decay, pulse, embeddings, consolidation) - References merged PRs for audit trail **Commit 4: CONTRIBUTING.md — Assignment-Lock Protocol (#1252)** - Replaces the old duplicated/messy CONTRIBUTING.md with a clean version - Preserves all policy info (reviewer assignments, CI status, branch protection) - Adds: assignment-as-lock protocol for humans and agents - Adds: path conventions table - Adds: feature manifest workflow - Adds: stale PR policy documentation ### Not included (requires admin) - **#1253 (Branch protection)** — The `perplexity` user lacks admin access. `rockachopa` needs to configure rebase-before-merge in Gitea Settings → Branches → main.
perplexity added 4 commits 2026-04-12 03:53:18 +00:00
Closes #1249

- Replace path-specific __pycache__ entries with recursive **/__pycache__/
- Add *.pyc and *.pyo globs
- Remove 22 tracked .pyc files from bin/, nexus/evennia_mempalace/,
  nexus/mempalace/, and nexus/mnemosyne/
- Reorganize .gitignore with section comments for clarity
Closes #1250

- Shell/Python script for cron on Hermes (every 6h)
- Identifies PRs that are both conflicted AND superseded
- Matches by Closes #NNN references and title similarity (60%+ overlap)
- Configurable grace period via GRACE_HOURS env var
- DRY_RUN mode for safe testing
- Idempotent — safe to re-run
Closes #1251

- Documents all shipped backend modules (archive, entry, ingest, linker, cli, tests)
- Documents all shipped frontend components (11 components)
- Lists planned/unshipped features (decay, pulse, embeddings, consolidation)
- References merged PRs for each feature
- Enforces canon_path: nexus/mnemosyne/
[IaC] Add CONTRIBUTING.md — assignment-lock protocol and workflow conventions
Some checks failed
CI / test (pull_request) Failing after 9s
CI / validate (pull_request) Failing after 13s
Review Approval Gate / verify-review (pull_request) Failing after 3s
55f0bbe97e
Closes #1252

- Assignment-as-lock protocol for humans and agents
- Branch naming conventions
- PR requirements (rebase, reference issues, no bytecode)
- Path conventions table
- Feature manifest workflow
- Stale PR policy documentation
Timmy merged commit eeba35b3a9 into main 2026-04-12 04:51:45 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#1254