Skip to content

Round 44: surface-map-drift smell — hygiene #50 + map-completeness BACKLOG#140

Merged
AceHack merged 1 commit intomainfrom
surface-map-drift-smell-2026-04-22
Apr 24, 2026
Merged

Round 44: surface-map-drift smell — hygiene #50 + map-completeness BACKLOG#140
AceHack merged 1 commit intomainfrom
surface-map-drift-smell-2026-04-22

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented Apr 22, 2026

Summary

Test plan

  • Review the smell's name against docs/FACTORY-HYGIENE.md row style
  • Confirm the map-drift log path is the correct destination

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 22, 2026 15:58
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

This PR introduces the “surface-map-drift” hygiene smell and expands the repo’s operational documentation around supply-chain safety, GitHub-surface triage, and loop cadence/fire-history, alongside a backlog entry for proactive map-completeness auditing.

Changes:

  • Add new security guidance docs (supply-chain safe patterns, GitHub Actions injection safe patterns) and enrich the incident playbook with additional canonical cases.
  • Add/extend factory governance + cadence artifacts (autonomous loop discipline, GitHub surface triage playbook + skill, upstream rhythm) and update several hygiene/debt/vision documents.
  • Add issue templates for dual-track workflow (bug/backlog/human-ask) and tighten various doc formatting/consistency.

Reviewed changes

Copilot reviewed 43 out of 43 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
docs/templates/DMAIC-proposal-template.md Removes stray blank lines in template sections.
docs/security/SUPPLY-CHAIN-SAFE-PATTERNS.md Adds supply-chain “pre-add/pre-bump” checklist and threat-model framing.
docs/security/INCIDENT-PLAYBOOK.md Expands Playbook A with additional canonical cases and cross-refs.
docs/security/GITHUB-ACTIONS-SAFE-PATTERNS.md Introduces workflow-injection safe-patterns checklist and enforcement layers.
docs/research/lfg-only-capabilities-scout.md Adds inventory of LFG-only capabilities and experiment candidates.
docs/research/github-surface-map-complete-2026-04-22.md Adds drift notes + UI-only surfaces + drift log for GitHub surface map.
docs/factory-crons.md Documents a new “every-tick reconcile” lifetime and an autonomous-loop cron row.
docs/copilot-wins.md Adds a log entry capturing prior review findings and calibration notes.
docs/VISION.md Updates long-term vision details (multi-node, tooling stack, crystallization loop framing).
docs/UPSTREAM-RHYTHM.md Adds fork-first/batched upstreaming cadence and concrete gh command recipes.
docs/TECH-DEBT.md Removes extra blank lines in example blocks.
docs/SYSTEM-UNDER-TEST-TECH-DEBT.md Removes extra blank lines in example blocks.
docs/SHIPPED-VERIFICATION-CAPABILITIES.md Removes an MD024 suppression comment near duplicate headings.
docs/POST-SETUP-SCRIPT-STACK.md Wraps a long heading for readability.
docs/INTENTIONAL-DEBT.md Normalizes emphasis markup in “Resolved” placeholder note.
docs/HUMAN-BACKLOG.md Adds HB-002 entry describing backlog restructure decision questions.
docs/HARNESS-SURFACES.md Adjusts formatting around memory references.
docs/FACTORY-RESUME.md Removes a stray blank line in the experience section.
docs/FACTORY-METHODOLOGIES.md Removes a stray blank line in a checklist preface.
docs/FACTORY-HYGIENE.md Adds/expands several hygiene rows including surface-map-drift; updates shipped-summary table.
docs/DECISIONS/2026-04-22-backlog-per-row-file-restructure.md Adds a proposed ADR for backlog per-row-file restructure.
docs/CONTRIBUTOR-PERSONAS.md Adds contributor-persona inventory to guide first-contact UX.
docs/CONFLICT-RESOLUTION.md Updates standing-resolution ADR pointer for claims-vs-complexity pipeline.
docs/BACKLOG.md Adds map-completeness audit row + LFG-only experiment track section.
docs/AUTONOMOUS-LOOP.md Adds a full discipline/spec for the autonomous loop tick + cron behavior.
docs/AGENT-ISSUE-WORKFLOW.md Adds adapter-neutral dual-track + claim/lock protocol doc.
docs/AGENT-GITHUB-SURFACES.md Adds ten-surface GitHub playbook, cadence, shapes, and fire-history paths.
.github/ISSUE_TEMPLATE/human_ask.md Adds “human ask” issue template for sign-off decisions.
.github/ISSUE_TEMPLATE/config.yml Adds issue-template contact links routing to key docs.
.github/ISSUE_TEMPLATE/bug_report.md Replaces default bug template with Zeta-specific fields and dual-track guidance.
.github/ISSUE_TEMPLATE/backlog_item.md Adds backlog-item issue template with category/acceptance guidance.
.claude/skills/skill-documentation-standard/SKILL.md Adds frontmatter provenance fields to the skill doc.
.claude/skills/github-surface-triage/SKILL.md Adds executable checklist skill for GitHub-surface triage.
.claude/skills/alignment-observability/SKILL.md Adds frontmatter provenance fields.
.claude/skills/alignment-auditor/SKILL.md Adds frontmatter provenance fields.
.claude/skills/algebra-owner/SKILL.md Adds frontmatter provenance fields.
.claude/skills/alerting-expert/SKILL.md Adds frontmatter provenance fields.
.claude/skills/ai-researcher/SKILL.md Adds frontmatter provenance fields.
.claude/skills/ai-jailbreaker/SKILL.md Adds frontmatter provenance fields.
.claude/skills/ai-evals-expert/SKILL.md Adds frontmatter provenance fields.
.claude/skills/agent-qol/SKILL.md Adds frontmatter provenance fields.
.claude/skills/agent-experience-engineer/SKILL.md Adds frontmatter provenance fields.
.claude/skills/activity-schema-expert/SKILL.md Adds frontmatter provenance fields.

Comment thread docs/security/INCIDENT-PLAYBOOK.md Outdated
Comment thread docs/UPSTREAM-RHYTHM.md Outdated
Comment thread docs/security/SUPPLY-CHAIN-SAFE-PATTERNS.md Outdated
Comment thread docs/security/SUPPLY-CHAIN-SAFE-PATTERNS.md Outdated
Comment thread docs/SHIPPED-VERIFICATION-CAPABILITIES.md
Comment thread docs/FACTORY-HYGIENE.md Outdated
Comment thread docs/HARNESS-SURFACES.md Outdated
Comment thread docs/UPSTREAM-RHYTHM.md Outdated
Comment thread docs/research/lfg-only-capabilities-scout.md Outdated
Comment thread docs/security/SUPPLY-CHAIN-SAFE-PATTERNS.md Outdated
@AceHack AceHack enabled auto-merge (squash) April 24, 2026 14:55
…CKLOG + map-drift log

Aaron 2026-04-22 flagged two related smells during LFG budget audit:

(1) "i'm supprised you got the url wrong given you mapped it" +
    "that should be a smell when that happen to a surface you
    already have mapped"

    Agent invented /orgs/.../billing/budgets (404) despite
    docs/research/github-surface-map-complete-2026-04-22.md
    already being the complete mapping. FACTORY-HYGIENE row #50
    codifies the smell as:
    - Pre-call: grep the map before `gh api <path>`.
    - Post-call: 410/301 on a mapped endpoint auto-proposes a
      map-update.
    - Cadenced: 5-10 round replay of mapped endpoints to catch
      silent renames.

(2) "missing map hygene on backlog?"

    Complementary proactive audit that row #50 doesn't cover:
    "does the map cover all surfaces we actually touch?".
    Filed as P1 BACKLOG row under factory/tooling section.
    Known gaps surfaced by the triggering incident: GitHub
    org spending-budget UI (now mapped as `ui-only`); Copilot
    Business per-feature toggle state; coding-agent / internet-
    search enablement flags.

Same incident revealed separate map-drift:
/orgs/{org}/settings/billing/actions returned 410 with
documentation_url: https://gh.io/billing-api-updates-org.
Logged in new "Map drift log" section of the research doc;
old-path preserved, successor TBD per GitHub's migration doc.

New "UI-only surfaces" subsection in the research doc
documents surfaces with no REST equivalent (budget management,
audit-log on Team plan) so agents don't waste attempts on
non-existent paths. Budget management stays in the *forbidden*
class per the LFG paid-Copilot memory.

Memory:
- memory/feedback_surface_map_consultation_before_guessing_urls.md
- MEMORY.md index entry added.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@AceHack AceHack force-pushed the surface-map-drift-smell-2026-04-22 branch from 1d976ad to 7be5235 Compare April 24, 2026 16:18
@AceHack AceHack merged commit 875eeec into main Apr 24, 2026
10 checks passed
@AceHack AceHack deleted the surface-map-drift-smell-2026-04-22 branch April 24, 2026 16:19
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7be5235952

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +777 to +778
log is the **post-call arm of FACTORY-HYGIENE row #50**
(surface-map-drift smell). Agents encountering a drift on any
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Fix surface-map-drift row number references

This text points the map-drift workflow at FACTORY-HYGIENE row #50, but the same commit actually introduces the surface-map-drift smell as row #60, while related BACKLOG text also mentions a future row #51; those numbers currently map to unrelated hygiene items. In practice, reviewers following these references will inspect/update the wrong rule and miss the intended cadence, so the cross-references should be aligned to the actual row number introduced here.

Useful? React with 👍 / 👎.

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