As Portland heads toward a pivotal election that will reshape its city government, conflicting ideologies over how to address unsheltered homelessness have opened potential legal and financial pitfalls in a key contract with Multnomah County.