fix: #20 Request-Identitätsprofile pro Proxy-Aufruf auswählbar machen #30
No reviewers
Labels
No labels
agent:done
agent:ready
agent:working
area/browser
area/cli
area/http
area/mcp
area/media
area/observability
area/proxy
area/security
area/testing
area/tunnel
priority/P0
priority/P1
priority/P2
type/chore
type/design
type/docs
type/epic
type/feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ai-tools/private-proxy-mcp!30
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/issue-20-request-identitätsprofile-pro-proxy-auf"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
client_profilefürhttp_getundhttp_requestTests:
go test ./...,go vet ./...Vier Commits wurden auf den Issue-Branch gepusht. Der Arbeitsbaum ist sauber.
Ich prüfe Branch, Tooloberfläche, Header-Policy, Tests und Dokumentation gegen die Akzeptanzkriterien und ergänze nur nachweisbare Lücken.Die implementierte Oberfläche deckt die Profile, Allowlist, Policy und Dokumentation bereits weitgehend ab. Ich prüfe jetzt die tatsächliche Ausführung inklusive vollständigem Testlauf und suche nach verbleibenden Schnittstellenlücken.Der Testlauf scheitert ausschließlich an der Sandbox beim Öffnen lokaler
httptest-Listener; ich wiederhole ihn mit der nötigen lokalen Netzwerkberechtigung.Die Ausführung ist vollständig vorhanden; ich ergänze noch eine fokussierte Regressionstabelle für alle ausdrücklich ausgeschlossenen Profil-Header (Authorization,Cookie,Host,Connection,Proxy-Authorization).Die Regressionen sichern jetzt die vollständige explizite Ausschlussliste für Profil-Header ab; der Pakettest besteht.Header-Policy-Regressionen ergänzt und als88ff545gepusht. Vollständiger Testlauf:go test ./...bestanden.Alles Implementiert
Closes #20
🚧 WIP pull request opened — linked to issue #20. Agent is working…
💭 Agent progress
Planning implementation and inspection
Ich prüfe zunächst HTTP-Ausführungsengine, MCP-Toolschemas, Header-Policy und bestehende Tests. Danach implementiere ich Profile in kleinen, jeweils getesteten Commits und pushe jeden Commit direkt.
💭 Agent progress
Inspecting hidden agent files
💭 Agent progress
Copying REST engine headers
💭 Agent progress
Verifying profile and proxy config alignment
💭 Agent progress
Designing versionless User-Agent profiles
Planning configurable UA version handling
Analyzing HTTP header handling and compression compatibility
Refining header override and connection handling policies
Planning structured client profile configuration
Defining restrictive client profile headers
Implementing merged client profile configuration
Defining client profile validation rules
Implementing client hints consistency validation
Adjusting functions to accept names
Die Auswahl wird bis zur privaten Ausführungsengine durchgereicht und dort nochmals gegen dieselbe Allowlist geprüft. Profile dürfen nur Identitätsheader enthalten; explizite Header überschreiben sie erst nach der bestehenden Policy-Prüfung, und widersprüchliche Mobile-Client-Hints werden abgewiesen.
💭 Agent progress
Implementing patch for profiles.go and engine config
💭 Agent progress
Verifying Go formatting and header keys
💭 Agent progress
Refactoring network policy handling
💭 Agent progress
Planning sandbox test escalation
💭 Agent progress
Planning profile engine test additions
💭 Agent progress
Adding tests for untracked profiles
💭 Agent progress
Adding viper config test
💭 Agent progress
Inspecting config validation differences
💭 Agent progress
Refining profile validation and config merging
Verifying redirect header handling and escalation
💭 Agent progress
Committing and pushing changes
Profilmodell und Engine-Pfad sind implementiert: vier Basisprofile, konfigurierbare Custom-Profile, Allowlist-Prüfung, sichere Headerbegrenzung, Override-Semantik und effektiver Profilname im Tunnel-Response. Die zugehörigen Engine- und Konfigurationstests sind grün.
Investigating .git write issue
💭 Agent progress
Confirming large push size
💭 Agent progress
Designing stable sorting for MCP tools
Implementing default builtin tools on nil config
Planning file splitting and spacing
💭 Agent progress
Serving exact snippet
💭 Agent progress
Verifying duplicate line occurrence
💭 Agent progress
Patching sed boundary duplication
💭 Agent progress
Updating and expanding tool and profile tests
Implementing e2e channel buffering
💭 Agent progress
Correcting enum type imports and JSON handling
💭 Agent progress
Running MCP tests
💭 Agent progress
Inspecting test type assertions
MCP-Schema und Tool-Ausführung unterstützen jetzt
client_profile:tools/listliefert ausschließlich die konfigurierte Enum samt Semantik, unbekannte Profile erzeugen einen handlungsfähigen Tool-Fehler, und Ergebnisse enthalten das effektiv ausgeführte Profil. Der Tunnel-E2E-Test bestätigt die mobilen Header.💭 Agent progress
Clarifying TLS browser backend and protocol documentation
Refining header handling and UA profiles
Adjusting atomic deployment strategy
💭 Agent progress
Reviewing README configuration details
💭 Agent progress
Applying protocol patch
💭 Agent progress
Verifying logging and config validation
Dokumentation und Beispielkonfiguration beschreiben Allowlist, Custom-Profile, Override- und Sicherheitsgrenzen sowie ausdrücklich den Unterschied zwischen Headerprofil und Browser-/TLS-Emulation. Basisprofile enthalten keine fest behaupteten Browserversionen.
💭 Agent progress
Inspecting client hint validation limitations
Planning stricter client hint validations
Refining client hint validation scope
Planning status update after tests
💭 Agent progress
Adjusting test command regex
💭 Agent progress
Planning full Go test and vet run
💭 Agent progress
Planning go vet with caching
💭 Agent progress
Separating commits for code and docs
Die vollständige Testsuite und
go vet ./...sind grün. Zusätzlich werden nun Browserfamilie, Plattform und Mobile-Flag der Client-Hints gegen den effektiven User-Agent validiert, einschließlich expliziter Header-Overrides.💭 Agent progress
Committing documentation updates
💭 Agent progress
Auditing git status and diffs
Validating logging and output details
🔍 Verifying implementation (attempt 1/3)
💭 Agent progress
Finalizing German PR comment style and tests
client_profilefürhttp_getundhttp_requestTests:
go test ./...,go vet ./...Vier Commits wurden auf den Issue-Branch gepusht. Der Arbeitsbaum ist sauber.
Planning GitHub issue review approach
Ich prüfe Branch, Tooloberfläche, Header-Policy, Tests und Dokumentation gegen die Akzeptanzkriterien und ergänze nur nachweisbare Lücken.
💭 Agent progress
Planning file diff inspection
💭 Agent progress
Assessing header requirements in profiles
💭 Agent progress
Identifying test command issue and header override bug
Die implementierte Oberfläche deckt die Profile, Allowlist, Policy und Dokumentation bereits weitgehend ab. Ich prüfe jetzt die tatsächliche Ausführung inklusive vollständigem Testlauf und suche nach verbleibenden Schnittstellenlücken.
Configuring Go cache directories without escalation
💭 Agent progress
Der Testlauf scheitert ausschließlich an der Sandbox beim Öffnen lokaler
httptest-Listener; ich wiederhole ihn mit der nötigen lokalen Netzwerkberechtigung.💭 Agent progress
Inspecting integration configuration mismatch
💭 Agent progress
Checking git branch push status
💭 Agent progress
Inspecting logging profile semantics
Planning expanded header profile tests
Die Ausführung ist vollständig vorhanden; ich ergänze noch eine fokussierte Regressionstabelle für alle ausdrücklich ausgeschlossenen Profil-Header (
Authorization,Cookie,Host,Connection,Proxy-Authorization).💭 Agent progress
Planning code formatting and testing
💭 Agent progress
Committing and pushing code changes
Die Regressionen sichern jetzt die vollständige explizite Ausschlussliste für Profil-Header ab; der Pakettest besteht.
💭 Agent progress
Planning full patch test run
✅ Verify OK — agent reported Alles Implementiert
WIP: #20 Request-Identitätsprofile pro Proxy-Aufruf auswählbar machento fix: #20 Request-Identitätsprofile pro Proxy-Aufruf auswählbar machen✅ forge agent finished implementation
test(http): cover forbidden client profile headersAgent output (tail)
⚠️ Merge conflict detected (attempt 1/3)
Re-running coding agent to merge/rebase and resolve conflicts…
💭 Agent progress
Planning precise PR title and summary rules
Drafting exact final PR title format
Header-Policy-Regressionen ergänzt und als
88ff545gepusht. Vollständiger Testlauf:go test ./...bestanden.I’ll merge
maininto the PR branch, resolve conflicts while preserving both changesets, then verify, commit, and push the resolution.💭 Agent progress
Planning git commits and pushes
Assessing need for elevated git fetch
💭 Agent progress
Inspecting merge-base and diff stats
Planning git merge escalation
💭 Agent progress
Examining conflict sources
mainintroduced observability and lifecycle changes. The merge conflicts are confined to README, CLI configuration, and MCP server wiring; I’m reconciling the profile feature with those additions.💭 Agent progress
Comparing full relevant stages
💭 Agent progress
Resolving function conflicts and verifying profile config handling
💭 Agent progress
Running gofmt and testing code
Identifying syntax error in view area
💭 Agent progress
Reordering health patch before MCP
💭 Agent progress
Verifying write permissions and test cache
Testing Go cache configuration
💭 Agent progress
Rerunning elevated network task
💭 Agent progress
Inspecting staged changes before commit
The resolution keeps both client-profile selection and the new readiness/logging behavior. The full Go test suite now passes.
💭 Agent progress
Merging main changes
🛠️ Pushed merge-conflict fix (attempt 1/3). Re-checking mergeability…
I’ll merge
maininto the PR branch, resolve conflicts while preserving both changesets, then verify, commit, and push the resolution.mainintroduced observability and lifecycle changes. The merge conflicts are confined to README, CLI configuration, and MCP server wiring; I’m reconciling the profile feature with those additions.The resolution keeps both client-profile selection and the new readiness/logging behavior. The full Go test suite now passes.Merged latestmaininto PR #30 and pushed6b16f34.Client-profile support now coexists with readiness checks, structured logging, observability, and CI changes.
go test ./...passes.🟢 CI green (attempt 2/3)
https://repository.hildebrandt.io/ai-tools/private-proxy-mcp/actions/runs/3
📊 Agent usage (
codex/ ACP)💭 Agent progress
Merged latest
maininto PR #30 and pushed6b16f34.Client-profile support now coexists with readiness checks, structured logging, observability, and CI changes.
go test ./...passes.