Skip to content

feat: deepen repo profiler context#78

Merged
fazxes merged 1 commit intomainfrom
feat/profiler-deeper-analysis
Apr 5, 2026
Merged

feat: deepen repo profiler context#78
fazxes merged 1 commit intomainfrom
feat/profiler-deeper-analysis

Conversation

@fazxes
Copy link
Copy Markdown
Member

@fazxes fazxes commented Apr 5, 2026

Summary

  • expand Loop 2 repo profiling with dependency and convention analysis
  • scan nested package.json files and Python manifests, and pass the richer RepoProfile into planner/work-order prompts
  • update tests, tracker, changelog, learning log, handoff, and follow-up tasks

Test plan

  • make check
  • bash scripts/validate-docs.sh
  • python3 - <<'PY'
    import json
    import tempfile
    from pathlib import Path
    from nightshift.profiler import profile_repo
    with tempfile.TemporaryDirectory() as tmp:
    repo = Path(tmp)
    (repo / 'src').mkdir()
    (repo / 'src' / 'user_service.py').write_text('from app.core import run\n', encoding='utf-8')
    (repo / 'src' / 'billing_service.py').write_text('import pathlib\n', encoding='utf-8')
    (repo / 'requirements.txt').write_text('fastapi>=0.110\npytest==8.2.0\n', encoding='utf-8')
    web = repo / 'apps' / 'web'
    web.mkdir(parents=True)
    (web / 'package.json').write_text(json.dumps({'dependencies': {'react': '^18.2.0'}}), encoding='utf-8')
    profile = profile_repo(repo)
    print(profile['dependencies'])
    print(profile['conventions'])
    print([fw['name'] for fw in profile['frameworks']])
    PY

@fazxes fazxes merged commit 5cc11a3 into main Apr 5, 2026
5 checks passed
@fazxes fazxes deleted the feat/profiler-deeper-analysis branch April 5, 2026 10:37
fazxes added a commit that referenced this pull request Apr 7, 2026
Closed 20 tasks with evidence:
- DONE (2): #73 (AGENTS.md created), #181 (docs/prompt/ deleted)
- WONTFIX-OBSOLETE (5): #78, #89, #128, #141, #157
  (reference docs/prompt/ or docs/ops/ paths deleted in session #103)
- WONTFIX-DUPLICATE (1): #88 (subset of #69)
- WONTFIX-NEVER-PICKED (12): #66, #69, #90, #96, #112,
  #114, #120, #123, #132, #133, #138, #145
  (low priority, 20-80+ sessions without being picked, speculative)

Priority fix: #103 downgraded from urgent to normal (umbrella epic,
not an actionable urgent fix).
fazxes added a commit that referenced this pull request Apr 9, 2026
…one)

Queue before: 72 pending + 9 wontfix-in-active-dir
Queue after: 65 pending + 0 wontfix (all converted to done for archiving)

Merged into primary tasks (5 closures):
- #175 -> #174: both add tests to TestAuthFailureDetection, same PR
- #163 -> #162: both are scoring module tests from PR #158 review, same PR
- #124 -> #122: both validate doc snapshot consistency, same PR scope
- #196 -> #173: both add entries to PROMPT_GUARD_FILES in lib-agent.sh
- #180 -> #179: both touch _is_valid_eval_file() in pick-role.py, same PR

Closed as obsolete (1):
- #78: references non-existent "evolve.md Step 8" and the multi-agent
  review panel replaced by unified review in PR #107

Closed as low-value (1):
- #230: _DELEGATION_ROLE_MAP covers all 8 current agent types; new agent
  types require major framework work making the map update obvious

Converted wontfix -> done for archiving (9):
- #77, #80, #107, #111, #115, #119, #127, #129, #134
  All had wontfix status with rationale already documented; changed to
  done so daemon's archive_done_tasks() housekeeping removes them
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.

1 participant